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); }
private void bbeTimeKeeperTableListName_EditValueChanged(object sender, EventArgs e) { HRM_TIMEKEEPER_TABLELIST hRMTIMEKEEPERTABLELIST = new HRM_TIMEKEEPER_TABLELIST(); HRM_TIMEKEEPER_TABLEHOUR hRMTIMEKEEPERTABLEHOUR = new HRM_TIMEKEEPER_TABLEHOUR(); Guid mTimeKeeperTableListID = this.m_TimeKeeperTableListID; this.gcList.DataSource = hRMTIMEKEEPERTABLEHOUR.GetList(this.m_Level, this.m_Code, mTimeKeeperTableListID); hRMTIMEKEEPERTABLELIST.GetByID(mTimeKeeperTableListID); this.m_Month = hRMTIMEKEEPERTABLELIST.Month; this.m_Year = hRMTIMEKEEPERTABLELIST.Year; LabelControl labelControl = this.lbTimeKeeperOverTimeName; string[] str = new string[] { "Bảng Chấm Công Tháng ", this.m_Month.ToString(), " - ", this.m_Year.ToString(), " (Theo Giờ Công)" }; labelControl.Text = string.Concat(str); this.m_IsLock = hRMTIMEKEEPERTABLELIST.IsLock; this.m_IsFinish = hRMTIMEKEEPERTABLELIST.IsFinish; this.InitInterface(); }