Beispiel #1
0
 public VoucherDetailUI(string pDetailId, string pAccountId, decimal pDebit, decimal pCredit, string pSubsidiary, string pSubsidiaryId, string pDescription, string pRemarks)
 {
     InitializeComponent();
     loChartOfAccount = new ChartOfAccount();
     loBank           = new Bank();
     loCustomer       = new Customer();
     loSupplier       = new Supplier();
     loSalesPerson    = new SalesPerson();
     loEquipment      = new Equipment();
     loBuilding       = new Building();
     loLookUp         = new LookUpAccountUI();
     lDetailId        = pDetailId;
     lAccountId       = pAccountId;
     lDebit           = pDebit;
     lCredit          = pCredit;
     lSubsidiary      = pSubsidiary;
     lSubsidiaryId    = pSubsidiaryId;
     lDescription     = pDescription;
     lRemarks         = pRemarks;
     lOperator        = "Edit";
 }
Beispiel #2
0
 public VoucherDetailUI()
 {
     InitializeComponent();
     loChartOfAccount = new ChartOfAccount();
     loBank           = new Bank();
     loCustomer       = new Customer();
     loSupplier       = new Supplier();
     loSalesPerson    = new SalesPerson();
     loEquipment      = new Equipment();
     loBuilding       = new Building();
     loLookUp         = new LookUpAccountUI();
     lDetailId        = "";
     lAccountId       = "";
     lDebit           = 0;
     lCredit          = 0;
     lSubsidiary      = "";
     lSubsidiaryId    = "";
     lDescription     = "";
     lRemarks         = "";
     lOperator        = "Add";
 }