internal static void AddItemTable(DataTable itemTable, DataTable cRTable, DataListEdit dataForm)
 {
     if (GetExpenseTypeResult(itemTable))
     {
         foreach (DataRow dr in cRTable.Rows)
         {
             DataRow newdr = itemTable.Rows.Add();
             newdr["ExpenseType"] = dr["ExpenseType"].ToString();
             newdr["CostCenter"] = dr["CostCenter"].ToString();
             newdr["ItemAmount"] = dr["ItemAmount"].ToString();
             newdr["GLAccount"] = dr["GLAccount"].ToString();
             newdr["EmployeeID"] = dr["EmployeeID"].ToString();
             newdr["EmployeeName"] = dr["EmployeeName"].ToString();
             newdr["EECWWorkflowNumber"] = dr["EECWWorkflowNumber"].ToString();
             newdr["CashAmount"] = dr["CashAmount"].ToString();
         }
         dataForm.ItemTable = itemTable;
     }
 }
 internal static void SaveSAPItemsDetails(DataListEdit dataForm, string workflowNumber)
 {
     BatchInsertSAPItems("EmployeeExpenseClaimSAPItemsWorkFlow", workflowNumber, dataForm.ItemTable);
 }
 internal static void AddItemTable(DataListEdit dataForm)
 {
     AddItemTable(dataForm.ItemTable, dataForm.CRTable, dataForm);
 }