Ejemplo n.º 1
0
 /// <summary>
 /// 設置資料
 /// </summary>
 /// <param name="set"></param>
 /// <param name="action"></param>
 public static void SetData(BillSet set, string progId, ApplicationDbContext dataAccess)
 {
     //SetBillDetail(set.Bill, set.BillDetail);
     SetBillReceiptDetail(set.Bill, set.BillReceiptDetail);
     SetBankCode(set.Bill);
     BizVirtualAccountCode.AddVirtualAccountCode(dataAccess, progId, set.Bill.BillNo, set.Bill.VirtualAccountCode);
     ResetPayEndDateAndCollectionType(set.Bill);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 設置資料
 /// </summary>
 /// <param name="set"></param>
 /// <param name="action"></param>
 public static void SetData(AutoDebitBillSet set, string progId, ApplicationDbContext dataAccess)
 {
     BizVirtualAccountCode.AddVirtualAccountCode(dataAccess, progId, set.AutoDebitBill.BillNo, set.AutoDebitBill.VirtualAccountCode);
     SetBankCode(set.AutoDebitBill);
 }
 /// <summary>
 /// 設置資料
 /// </summary>
 /// <param name="set"></param>
 /// <param name="action"></param>
 public static void SetData(DepositBillSet set, string progId, ApplicationDbContext dataAccess)
 {
     BizVirtualAccountCode.AddVirtualAccountCode(dataAccess, progId, set.DepositBill.BillNo, set.DepositBill.VirtualAccountCode);
 }