Exemplo n.º 1
0
        public static string GetProjectCodeBySalProjectCode(string SalProjectCode)
        {
            string text2;

            try
            {
                string text = "";
                if (SalProjectCode == "")
                {
                    return(text);
                }
                EntityData projectBySalProjectCode = ProjectDAO.GetProjectBySalProjectCode(SalProjectCode);
                if (projectBySalProjectCode.HasRecord())
                {
                    text = projectBySalProjectCode.GetString("ProjectCode");
                }
                projectBySalProjectCode.Dispose();
                text2 = text;
            }
            catch (Exception exception)
            {
                throw exception;
            }
            return(text2);
        }