Пример #1
0
 public void DataBind()
 {
     if (BillId != null)
     {
         SaleInvoiceTransactionBO saleInvoiceTransactionBO = new SaleInvoiceTransactionBO();
         GridPlanning.DataSource = saleInvoiceTransactionBO.GetPlanningTransactionsOfBill(session, BillId);
         GridPlanning.DataBind();
         ReceiptVoucherTransactionBO receiptVoucherTransactionBO = new ReceiptVoucherTransactionBO();
         GridActual.DataSource   = receiptVoucherTransactionBO.GetActuallyCollectedOfBill(session, BillId);
         GridActual.KeyFieldName = "GeneralJournalId";
         GridActual.DataBind();
     }
 }
Пример #2
0
 public void DataBind()
 {
     if (BillId != null)
     {
         PurchaseInvoiceTransactionBO purchaseInvoiceTransactionBO = new PurchaseInvoiceTransactionBO();
         GridPlanning.DataSource = purchaseInvoiceTransactionBO.GetPlanningTransactionsOfBill(session, BillId);
         GridPlanning.DataBind();
         PaymentVoucherTransactionBO paymentVoucherTransactionBO = new PaymentVoucherTransactionBO();
         GridActual.DataSource   = paymentVoucherTransactionBO.GetActuallyCollectedOfBill(session, BillId);
         GridActual.KeyFieldName = "GeneralJournalId";
         GridActual.DataBind();
     }
 }