Beispiel #1
0
        private void UpdateEmployeeSalary()
        {
            HRM_TIMEKEEPER_TABLELIST hRMTIMEKEEPERTABLELIST = new HRM_TIMEKEEPER_TABLELIST();
            HRM_SALARY_TABLELIST     hRMSALARYTABLELIST     = new HRM_SALARY_TABLELIST();

            hRMSALARYTABLELIST.GetByID(this.m_SalaryTableListID);
            hRMTIMEKEEPERTABLELIST.Get(hRMSALARYTABLELIST.Month, hRMSALARYTABLELIST.Year);
            Guid timeKeeperTableListID = hRMTIMEKEEPERTABLELIST.TimeKeeperTableListID;

            HRM_SALARY.EmployeeUpdate(timeKeeperTableListID.ToString(), this.m_SalaryTableListID.ToString(), hRMSALARYTABLELIST.Month, hRMSALARYTABLELIST.Year, this.m_EmployeeCode);
        }
        private void UpdateEmployeeSalary()
        {
            HRM_TIMEKEEPER_TABLELIST hRMTIMEKEEPERTABLELIST = new HRM_TIMEKEEPER_TABLELIST();
            HRM_SALARY_TABLELIST     hRMSALARYTABLELIST     = new HRM_SALARY_TABLELIST();

            hRMTIMEKEEPERTABLELIST.Get(this.m_Month, this.m_Year);
            hRMSALARYTABLELIST.Get(this.m_Month, this.m_Year);
            string str = hRMTIMEKEEPERTABLELIST.TimeKeeperTableListID.ToString();
            Guid   salaryTableListID = hRMSALARYTABLELIST.SalaryTableListID;

            HRM_SALARY.EmployeeUpdate(str, salaryTableListID.ToString(), this.m_Month, this.m_Year, this.m_EmployeeCode);
        }