using System; using System.Data; using System.Linq; using System.Data.SqlClient; using Ease.CoreV35.DataAccess; using System.Collections.Generic; using HRM.BO; using Ease.Core.DataAccess; namespace HRM.DA { public class AttnMonthlyBenefitDA { #region Constructor public AttnMonthlyBenefitDA() { } #endregion #region Insert function public static void Insert(TransactionContext tc, AttnMonthlyBenefit oItem) { tc.ExecuteNonQuery(@"INSERT INTO AttnMonthlyBenefit(AttnMonthlyBenefitID, EmployeeID, SalaryMonth, ItemType, ItemID, IsAddition, Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8, Value9, Value10, Value11, Value12, Value13, Value14, Value15, Value16, Value17, Value18, Value19, Value20, Value21, Value22, Value23, Value24, Value25, Value26, Value27, Value28, Value29, Value30, Value31, Adjustment, IsEditable, IsValue1, IsValue2, IsValue3, IsValue4, IsValue5, IsValue6, IsValue7, IsValue8, IsValue9, IsValue10, IsValue11, IsValue12, IsValue13, IsValue14, IsValue15, IsValue16, IsValue17, IsValue18, IsValue19, IsValue20, IsValue21, IsValue22, IsValue23, IsValue24, IsValue25, IsValue26, IsValue27, IsValue28, IsValue29, IsValue30, IsValue31, Total) VALUES(%n, %n, %d, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n, %n)", oItem.ID, oItem.EmployeeID, oItem.SalaryMonth, oItem.ItemType, oItem.ItemID, oItem.IsAddition, oItem.Value1, oItem.Value2, oItem.Value3, oItem.Value4, oItem.Value5, oItem.Value6, oItem.Value7, oItem.Value8, oItem.Value9, oItem.Value10, oItem.Value11, oItem.Value12, oItem.Value13, oItem.Value14, oItem.Value15, oItem.Value16, oItem.Value17, oItem.Value18, oItem.Value19, oItem.Value20, oItem.Value21, oItem.Value22, oItem.Value23, oItem.Value24, oItem.Value25, oItem.Value26, oItem.Value27, oItem.Value28, oItem.Value29, oItem.Value30, oItem.Value31, oItem.Adjustment, oItem.IsEditable, oItem.IsValue1, oItem.IsValue2, oItem.IsValue3, oItem.IsValue4, oItem.IsValue5, oItem.IsValue6, oItem.IsValue7, oItem.IsValue8, oItem.IsValue9, oItem.IsValue10, oItem.IsValue11, oItem.IsValue12, oItem.IsValue13, oItem.IsValue14, oItem.IsValue15, oItem.IsValue16, oItem.IsValue17, oItem.IsValue18, oItem.IsValue19, oItem.IsValue20, oItem.IsValue21, oItem.IsValue22, oItem.IsValue23, oItem.IsValue24, oItem.IsValue25, oItem.IsValue26, oItem.IsValue27, oItem.IsValue28, oItem.IsValue29, oItem.IsValue30, oItem.IsValue31, oItem.Total); } #endregion #region Update function public static void Update(TransactionContext tc, AttnMonthlyBenefit oItem) { string sSql = SQLParser.MakeSQL( "UPDATE AttnMonthlyBenefit SET EmployeeID=%n, SalaryMonth=%d, ItemType=%n, ItemID=%n, IsAddition=%n, Value1 =%n, Value2 =%n, Value3 =%n, Value4 =%n, Value5=%n, Value6=%n, Value7=%n, Value8=%n, Value9=%n, Value10=%n, Value11=%n, Value12=%n, Value13=%n, Value14=%n, Value15=%n, Value16=%n, Value17=%n, Value18=%n, Value19=%n, Value20=%n, Value21=%n, Value22=%n, Value23=%n, Value24=%n, Value25=%n, Value26=%n, Value27=%n, Value28=%n, Value29=%n, Value30=%n, Value31=%n, Adjustment=%n, IsEditable=%n, IsValue1 =%n, IsValue2 =%n, IsValue3 =%n, IsValue4 =%n, IsValue5=%n, IsValue6=%n, IsValue7=%n, IsValue8=%n, IsValue9=%n, IsValue10=%n, IsValue11=%n, IsValue12=%n, IsValue13=%n, IsValue14=%n, IsValue15=%n, IsValue16=%n, IsValue17=%n, IsValue18=%n, IsValue19=%n, IsValue20=%n, IsValue21=%n, IsValue22=%n, IsValue23=%n, IsValue24=%n, IsValue25=%n, IsValue26=%n, IsValue27=%n, IsValue28=%n, IsValue29=%n, IsValue30=%n, IsValue31=%n, Total=%n" + " WHERE AttnMonthlyBenefitID=%n", oItem.EmployeeID, oItem.SalaryMonth, oItem.ItemType, oItem.ItemID, oItem.IsAddition, oItem.Value1, oItem.Value2, oItem.Value3, oItem.Value4, oItem.Value5, oItem.Value6, oItem.Value7, oItem.Value8, oItem.Value9, oItem.Value10, oItem.Value11, oItem.Value12, oItem.Value13, oItem.Value14, oItem.Value15, oItem.Value16, oItem.Value17, oItem.Value18, oItem.Value19, oItem.Value20, oItem.Value21, oItem.Value22, oItem.Value23, oItem.Value24, oItem.Value25, oItem.Value26, oItem.Value27, oItem.Value28, oItem.Value29, oItem.Value30, oItem.Value31, oItem.Adjustment, oItem.IsEditable, oItem.IsValue1, oItem.IsValue2, oItem.IsValue3, oItem.IsValue4, oItem.IsValue5, oItem.IsValue6, oItem.IsValue7, oItem.IsValue8, oItem.IsValue9, oItem.IsValue10, oItem.IsValue11, oItem.IsValue12, oItem.IsValue13, oItem.IsValue14, oItem.IsValue15, oItem.IsValue16, oItem.IsValue17, oItem.IsValue18, oItem.IsValue19, oItem.IsValue20, oItem.IsValue21, oItem.IsValue22, oItem.IsValue23, oItem.IsValue24, oItem.IsValue25, oItem.IsValue26, oItem.IsValue27, oItem.IsValue28, oItem.IsValue29, oItem.IsValue30, oItem.IsValue31, oItem.Total, oItem.ID); tc.ExecuteNonQuery(sSql); } #endregion #region Get function public static IDataReader GetWithPayrollType(TransactionContext tc, int payrollTypeID) { return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 Inner Join Employee e on e.employeeID= AttnMonthlyBenefit.employeeID LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Where e.Status=%n and e.PayrollTypeID=%n", EnumStatus.Active, payrollTypeID); } public static IDataReader Get(TransactionContext tc, int empID) { return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Where EmployeeID = %n Order By AttnMonthlyBenefit.ITEMTYPE asc", empID); } public static IDataReader GetWithSalaryMonth(TransactionContext tc, DateTime sMonth, int PayrollTypeID) { return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 Inner Join Employee e on e.employeeID= AttnMonthlyBenefit.employeeID LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Where SalaryMonth =%d AND e.Status=%n and e.PayrollTypeID=%n Order By AttnMonthlyBenefit.Employeeid asc", sMonth, EnumStatus.Active, PayrollTypeID); } public static IDataReader Get(TransactionContext tc, int empID, DateTime sMonth) { DateTime firstDate = GlobalFunctions.FirstDateOfMonth(sMonth); DateTime lastDate = GlobalFunctions.LastDateOfMonth(sMonth); return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Where EmployeeID = %n and SalaryMonth BETWEEN %d AND %d Order By ItemName asc", empID, firstDate, lastDate); } public static IDataReader GetWithSalaryMonthRange(TransactionContext tc, DateTime fromSMonth, DateTime toSMonth, int PayrollTypeID) { var attnMonthlyBenefitService = new AttnMonthlyBenefitService(); DateTime fSalaryMonth = attnMonthlyBenefitService.GetAttandaceSalaryMonth(fromSMonth); DateTime tSalaryMonth = attnMonthlyBenefitService.GetAttandaceSalaryMonth(toSMonth); return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Inner Join Employee e on e.employeeID= AttnMonthlyBenefit.employeeID Where SalaryMonth BETWEEN %d AND %d AND e.Status=%n and e.PayrollTypeID=%n Order By ItemName asc", fSalaryMonth, tSalaryMonth, EnumStatus.Active, PayrollTypeID); } public static IDataReader Get(TransactionContext tc, int empID, DateTime fromMonth, DateTime toMonth) { return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Where EmployeeID = %n and SalaryMonth BETWEEN %d AND %d", empID, fromMonth, toMonth); } public static IDataReader Get(TransactionContext tc, string empIDs, DateTime fromMonth, DateTime toMonth) { return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Where EmployeeID in (%q) and SalaryMonth BETWEEN %d AND %d", empIDs, fromMonth, toMonth); } public static IDataReader Get(TransactionContext tc, string empIDs, DateTime sMonth) { DateTime firstDate = GlobalFunctions.FirstDateOfMonth(sMonth); DateTime lastDate = GlobalFunctions.LastDateOfMonth(sMonth); return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Where EmployeeID in (%q) and SalaryMonth BETWEEN %d AND %d ORDER BY ITEMTYPE desc", empIDs, firstDate, lastDate); } public static IDataReader GetByDept(TransactionContext tc, string deptID, DateTime sMonth, int PayrollTypeID) { return tc.ExecuteReader(@"SELECT AttnMonthlyBenefit.* ,CASE WHEN AttnMonthlyBenefit.ITEMTYPE = 1 THEN 'Ordinary Hour Deduct' WHEN AttnMonthlyBenefit.ITEMTYPE = 22 THEN 'Ordinary Hour Extra' WHEN AttnMonthlyBenefit.ITEMTYPE = 23 THEN 'Badli Shift Allowance' ELSE COALESCE(ALLOWANCEDEDUCTION.NAME,TERM.NAME) END ItemName FROM AttnMonthlyBenefit LEFT JOIN ALLOWANCEDEDUCTION ON AttnMonthlyBenefit.ITEMID =ALLOWANCEDEDUCTION.ALLOWDEDUCTID AND AttnMonthlyBenefit.ITEMTYPE = 2 Inner Join Employee e on e.employeeID=AttnMonthlyBenefit.EmployeeID LEFT JOIN TERM ON AttnMonthlyBenefit.ITEMID = TERM.TERMID AND AttnMonthlyBenefit.ITEMTYPE = 4 Where e.PayrollTypeID=%n and AttnMonthlyBenefit.EmployeeID in (Select EmployeeID from Employee Where DepartmentID in (%q)) and AttnMonthlyBenefit.SalaryMonth= %d", PayrollTypeID, deptID, sMonth); } #endregion #region Other function public static bool IsExist(TransactionContext tc, int empId, DateTime sMomnth, enumPayrollComponentType provisionType, int itemId) { bool Exist = false; Object obj = tc.ExecuteScalar(@"Select COUNT (*) FROM AttnMonthlyBenefit WHERE EmployeeID=%n AND SalaryMonth=%d AND ItemType=%n AND ItemID=%n", empId, sMomnth, provisionType, itemId); Exist = Convert.ToInt32(obj) > 0 ? true : false; return Exist; } public static void UpdateOverTimeData(TransactionContext tc, DateTime salaryMonth, enumPayrollComponentType itemType, string value, string isValue, DateTime attnDate) { string sSql1 = SQLParser.MakeSQL("UPDATE DAILYATTNPROCESS SET OThour=0 WHERE ATTNDATE = %d", attnDate); string sSql2 = SQLParser.MakeSQL("UPDATE AttnMonthlyBenefit SET %q=0, Total=0" + " WHERE %q=0 AND SalaryMonth=%d AND ItemType=%n", value, isValue, salaryMonth, itemType); string sSql3 = SQLParser.MakeSQL(@"UPDATE AttnMonthlyBenefit SET Total=(Value1 + Value2 + Value3 + Value4 + Value5 + Value6 + Value7 + Value8 + Value9 + Value10 + Value11 + Value12 + Value13 + Value14 + Value15 + Value16 + Value17 + Value18 + Value19 + Value20 + Value21 + Value22 + Value23 + Value24 + Value25 + Value26 + Value27 + Value28 + Value29 + Value30 + Value31 + Adjustment) WHERE %q=0 AND SalaryMonth=%d AND ItemType=%n", isValue, salaryMonth, itemType); tc.ExecuteNonQuery(sSql1); tc.ExecuteNonQuery(sSql2); tc.ExecuteNonQuery(sSql3); } #endregion #region public static void Delete(TransactionContext tc, AttnMonthlyBenefit oItem) { tc.ExecuteNonQuery(@"Delete from AttnMonthlyBenefit Where EmployeeID=%n AND SalaryMonth=%d AND ItemType=%n AND ItemID=%n", oItem.EmployeeID, oItem.SalaryMonth, oItem.ItemType, oItem.ItemID); } public static void FixOverTimeData(TransactionContext tc) { string sSql1 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 8.00 ,VALUE18 = 14.00 ,VALUE19 = 8.00 ,VALUE20 = 0.00 ,VALUE21 = 8.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 1 ,ISVALUE18 = 1 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+ value8+value9+value10+value11+value12+ value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+ value24+value25+value26+value27+value28+value29+value30+value31+ Adjustment WHERE EMPLOYEEID = 1691 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 AND ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql1); string sSql2 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7 +value8+value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 30 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql2); string sSql3 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 8.00 ,VALUE2 = 0.00 ,VALUE3 = 8.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 8.00 ,VALUE15 = 8.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 1 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 1 ,ISVALUE15 = 1 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+ value8+value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 761 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql3); string sSql4 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 2.50 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+ value8+value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1638 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql4); string sSql5 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 2.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 1 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7 +value8+value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 14 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql5); string sSql6 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 3.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+value9+ value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+ value24+value25+value26+value27+value28+value29+value30+ value31+Adjustment WHERE EMPLOYEEID = 2721 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql6); string sSql7 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 8.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 8.00 ,VALUE5 = 0.00 ,VALUE6 = 8.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 14.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 3.50 ,VALUE17 = 16.00 ,VALUE18 = 8.00 ,VALUE19 = 16.00 ,VALUE20 = 8.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 1 ,ISVALUE5 = 0 ,ISVALUE6 = 1 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 1 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 1 ,ISVALUE17 = 1 ,ISVALUE18 = 1 ,ISVALUE19 = 1 ,ISVALUE20 = 1 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1706 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql7); string sSql8 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 8.00 ,VALUE4 = 0.00 ,VALUE5 = 8.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 8.00 ,VALUE10 = 8.00 ,VALUE11 = 14.00 ,VALUE12 = 8.00 ,VALUE13 = 0.00 ,VALUE14 = 8.00 ,VALUE15 = 8.00 ,VALUE16 = 0.00 ,VALUE17 = 8.00 ,VALUE18 = 0.00 ,VALUE19 = 8.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 1 ,ISVALUE4 = 0 ,ISVALUE5 = 1 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 1 ,ISVALUE10 = 1 ,ISVALUE11 = 1 ,ISVALUE12 = 1 ,ISVALUE13 = 0 ,ISVALUE14 = 1 ,ISVALUE15 = 1 ,ISVALUE16 = 0 ,ISVALUE17 = 1 ,ISVALUE18 = 0 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 2203 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql8); string sSql9 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 2.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 2.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 8.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 1 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 1 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 1 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+ value8+value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+value25+ value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 2128 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql9); string sSql10 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 8.00 ,VALUE5 = 8.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 8.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 3.50 ,VALUE17 = 1.00 ,VALUE18 = 8.00 ,VALUE19 = 8.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 8.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 1 ,ISVALUE5 = 1 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 1 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 1 ,ISVALUE17 = 0 ,ISVALUE18 = 1 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 1 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1897 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql10); string sSql11 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 9.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 8.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 1 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 262 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql11); string sSql12 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 1.00 ,VALUE15 = 1.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 2.00 ,VALUE19 = 2.50 ,VALUE20 = 1.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 1 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 2214 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql12); string sSql13 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1534 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql13); string sSql14 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 1.00 ,VALUE21 = 8.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 1 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 273 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql14); string sSql15 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 4.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 2.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 1 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 42 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql15); string sSql16 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 24.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 8.00 ,VALUE5 = 8.00 ,VALUE6 = 8.00 ,VALUE7 = 8.00 ,VALUE8 = 16.00 ,VALUE9 = 8.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 8.00 ,VALUE13 = 8.00 ,VALUE14 = 8.00 ,VALUE15 = 8.00 ,VALUE16 = 8.00 ,VALUE17 = 16.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 9.00 ,VALUE21 = 8.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 8.00 ,VALUE28 = 17.00 ,VALUE29 = 17.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 1 ,ISVALUE5 = 1 ,ISVALUE6 = 1 ,ISVALUE7 = 1 ,ISVALUE8 = 1 ,ISVALUE9 = 1 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 1 ,ISVALUE13 = 1 ,ISVALUE14 = 1 ,ISVALUE15 = 1 ,ISVALUE16 = 1 ,ISVALUE17 = 1 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 1 ,ISVALUE21 = 1 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 1 ,ISVALUE28 = 1 ,ISVALUE29 = 1 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1837 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql16); string sSql17 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 8.00 ,VALUE6 = 0.00 ,VALUE7 = 8.00 ,VALUE8 = 8.00 ,VALUE9 = 8.00 ,VALUE10 = 8.00 ,VALUE11 = 8.00 ,VALUE12 = 8.00 ,VALUE13 = 0.00 ,VALUE14 = 8.00 ,VALUE15 = 8.00 ,VALUE16 = 3.50 ,VALUE17 = 8.00 ,VALUE18 = 16.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 1 ,ISVALUE6 = 0 ,ISVALUE7 = 1 ,ISVALUE8 = 1 ,ISVALUE9 = 1 ,ISVALUE10 = 1 ,ISVALUE11 = 1 ,ISVALUE12 = 1 ,ISVALUE13 = 0 ,ISVALUE14 = 1 ,ISVALUE15 = 1 ,ISVALUE16 = 1 ,ISVALUE17 = 1 ,ISVALUE18 = 1 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 863 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql17); string sSql18 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 8.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 8.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 8.00 ,VALUE9 = 8.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 1 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 1 ,ISVALUE9 = 1 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1922 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql18); string sSql19 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 8.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 8.00 ,VALUE5 = 0.00 ,VALUE6 = 8.00 ,VALUE7 = 0.00 ,VALUE8 = 8.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 14.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 3.50 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 8.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 1 ,ISVALUE5 = 0 ,ISVALUE6 = 1 ,ISVALUE7 = 0 ,ISVALUE8 = 1 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 1 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 1 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1506 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql19); string sSql20 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 2.50 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1052 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql20); string sSql21 = SQLParser.MakeSQL(@" UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 2.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 8.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 2.50 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 1 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 1 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1660 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql21); string sSql22 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 8.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 2694 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql22); string sSql23 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 6.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 1.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 2.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 1 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 1 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 2091 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql23); string sSql24 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 1 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 13 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql24); string sSql25 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 1 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 2003 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql25); string sSql26 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 8.00 ,VALUE6 = 8.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 1 ,ISVALUE6 = 1 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1697 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql26); string sSql27 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 4.00 ,VALUE4 = 8.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,VALUE30 = 0.00 ,VALUE31 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 1 ,ISVALUE4 = 1 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1620 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql27); string sSql28 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 2.50 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 1 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1678 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql28); string sSql29 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 2.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 8.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 1 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 1 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1782 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql29); string sSql30 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 6.00 ,VALUE2 = 6.00 ,VALUE3 = 6.00 ,VALUE4 = 6.00 ,VALUE5 = 6.00 ,VALUE6 = 6.00 ,VALUE7 = 3.00 ,VALUE8 = 4.00 ,VALUE9 = 4.00 ,VALUE10 = 6.00 ,VALUE11 = 6.00 ,VALUE12 = 6.00 ,VALUE13 = 20.00 ,VALUE14 = 4.00 ,VALUE15 = 4.00 ,VALUE16 = 6.00 ,VALUE17 = 6.00 ,VALUE18 = 4.00 ,VALUE19 = 0.00 ,VALUE20 = 14.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 1 ,ISVALUE3 = 1 ,ISVALUE4 = 1 ,ISVALUE5 = 1 ,ISVALUE6 = 1 ,ISVALUE7 = 1 ,ISVALUE8 = 1 ,ISVALUE9 = 1 ,ISVALUE10 = 1 ,ISVALUE11 = 1 ,ISVALUE12 = 1 ,ISVALUE13 = 1 ,ISVALUE14 = 1 ,ISVALUE15 = 1 ,ISVALUE16 = 1 ,ISVALUE17 = 1 ,ISVALUE18 = 1 ,ISVALUE19 = 0 ,ISVALUE20 = 1 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1861 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql30); string sSql31 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 6.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 8.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 8.00 ,VALUE28 = 8.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 1 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 1 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 1 ,ISVALUE28 = 1 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1531 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql31); string sSql32 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 2719 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql32); string sSql33 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 1811 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql33); string sSql34 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 8.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 0.00 ,VALUE13 = 0.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 1 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 0 ,ISVALUE13 = 0 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 0 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 2650 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql34); string sSql35 = SQLParser.MakeSQL(@"UPDATE ATTNMONTHLYBENEFIT SET ISADDITION = 1 ,VALUE1 = 0.00 ,VALUE2 = 0.00 ,VALUE3 = 0.00 ,VALUE4 = 0.00 ,VALUE5 = 0.00 ,VALUE6 = 0.00 ,VALUE7 = 0.00 ,VALUE8 = 0.00 ,VALUE9 = 0.00 ,VALUE10 = 0.00 ,VALUE11 = 0.00 ,VALUE12 = 8.00 ,VALUE13 = 8.00 ,VALUE14 = 0.00 ,VALUE15 = 0.00 ,VALUE16 = 0.00 ,VALUE17 = 0.00 ,VALUE18 = 0.00 ,VALUE19 = 0.00 ,VALUE20 = 0.00 ,VALUE21 = 0.00 ,VALUE22 = 0.00 ,VALUE23 = 0.00 ,VALUE24 = 0.00 ,VALUE25 = 0.00 ,VALUE26 = 0.00 ,VALUE27 = 0.00 ,VALUE28 = 0.00 ,VALUE29 = 0.00 ,ISEDITABLE = 1 ,ISVALUE1 = 0 ,ISVALUE2 = 0 ,ISVALUE3 = 0 ,ISVALUE4 = 0 ,ISVALUE5 = 0 ,ISVALUE6 = 0 ,ISVALUE7 = 0 ,ISVALUE8 = 0 ,ISVALUE9 = 0 ,ISVALUE10 = 0 ,ISVALUE11 = 0 ,ISVALUE12 = 1 ,ISVALUE13 = 1 ,ISVALUE14 = 0 ,ISVALUE15 = 0 ,ISVALUE16 = 0 ,ISVALUE17 = 0 ,ISVALUE18 = 0 ,ISVALUE19 = 0 ,ISVALUE20 = 0 ,ISVALUE21 = 1 ,ISVALUE22 = 0 ,ISVALUE23 = 0 ,ISVALUE24 = 0 ,ISVALUE25 = 0 ,ISVALUE26 = 0 ,ISVALUE27 = 0 ,ISVALUE28 = 0 ,ISVALUE29 = 0 ,total = value1+value2+value3+value4+value5+value6+value7+value8+ value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+ value25+value26+value27+value28+value29+value30+value31+Adjustment WHERE EMPLOYEEID = 63 AND SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 and ITEMID = 1 AND ADJUSTMENT=total"); tc.ExecuteNonQuery(sSql35); string ssql0 = SQLParser.MakeSQL( @"UPDATE ATTNMONTHLYBENEFIT SET total = value1+value2+value3+value4+value5+value6+ value7+value8+value9+value10+value11+value12+value13+value14+value15+value16+ value17+value18+value19+value20+value21+value22+value23+value24+value25+ value26+value27+value28+value29+value30+value31+Adjustment WHERE SALARYMONTH = TO_DATE ('09/30/2016 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND ITEMTYPE = 4 AND ITEMID = 1"); tc.ExecuteNonQuery(ssql0); } #endregion } }