public static string GetOrganizationOnFull(string mSubsidiaryCode, string mBranchCode, string mDepartmentCode, string mGroupCode)
        {
            int    num = 0;
            string str = "";

            if (mBranchCode != "")
            {
                if (!(mDepartmentCode != ""))
                {
                    num = 2;
                    str = mBranchCode;
                }
                else if (!(mGroupCode != ""))
                {
                    num = 3;
                    str = mDepartmentCode;
                }
                else
                {
                    num = 4;
                    str = mGroupCode;
                }
            }
            else if (!(mDepartmentCode != ""))
            {
                num = 1;
                str = mSubsidiaryCode;
            }
            else if (!(mGroupCode != ""))
            {
                num = 3;
                str = mDepartmentCode;
            }
            else
            {
                num = 4;
                str = mGroupCode;
            }
            return(HRM_ORGANIZATION.GetOrganization(num, str, true));
        }
 public static string GetOrganizationOnReport(int mLevel, string mCode)
 {
     return(HRM_ORGANIZATION.GetOrganization(mLevel, mCode, false));
 }
 public static string GetOrganizationOnFull(int mLevel, string mCode)
 {
     return(HRM_ORGANIZATION.GetOrganization(mLevel, mCode, true));
 }
 public static string GetOrganizationByMyLogin()
 {
     return(HRM_ORGANIZATION.GetOrganization(MyLogin.Level, MyLogin.Code, true));
 }