/// <summary> /// To list snap shot items collection. /// </summary> /// <param name="snapShotId">The snap shot id.</param> /// <returns>Typed dataset containing the snap shot items collection</returns> public static F1013BatchPaymentMgmtData F1013_ListSnapShotItems(int snapShotId) { F1013BatchPaymentMgmtData form1013BatchPaymentMgmtData = new F1013BatchPaymentMgmtData(); Hashtable ht = new Hashtable(); ht.Add("@SnapShotID", snapShotId); Utility.LoadDataSet(form1013BatchPaymentMgmtData.ListSnapShotItems, "f1013_pclst_SnapShotItems", ht); return(form1013BatchPaymentMgmtData); }
/// <summary> /// F1013_s the list unpaid receipts. /// </summary> /// <param name="userId">userId.</param> /// <returns>returns BatchPaymentMgmtDataSet.</returns> public static F1013BatchPaymentMgmtData F1013_ListUnpaidReceipts(int?userId) { Hashtable ht = new Hashtable(); ht.Add("@UserID", userId); F1013BatchPaymentMgmtData batchPaymentMgmtData = new F1013BatchPaymentMgmtData(); string[] tableName = new string[] { batchPaymentMgmtData.ListUnpaidReceiptUsers.TableName, batchPaymentMgmtData.ListUnpaidReceipts.TableName, batchPaymentMgmtData.ListDateReciepts.TableName }; Utility.LoadDataSet(batchPaymentMgmtData, "f1013_pclst_Receipts", ht, tableName); return(batchPaymentMgmtData); }