Пример #1
0
 public frmSalesOrderAddEdit()
 {
     InitializeComponent();
     _bDTaxTypeWrapper      = new BDTaxTypeWrapper();
     _paymentTypeWrapper    = new PaymentTypeWrapper();
     _bDCustomerWrapper     = new BDCustomerWrapper();
     sALSalesLineCollection = new SALSalesLineCollection();
     _sALSalesHeader        = new SALSalesHeader();
     _sALSalesLinerWrapper  = new SALSalesLinerWrapper();
     _iNVInventoryWrapper   = new INVInventoryWrapper();
     FillCustomerCBX();
     FillPaymentTypeCBX();
     FillTaxTypeCBX();
     FillInventoryCBX();
 }
Пример #2
0
 public frmSalesOrderAddEdit(int salesHeaderID)
 {
     InitializeComponent();
     _bDTaxTypeWrapper      = new BDTaxTypeWrapper();
     _paymentTypeWrapper    = new PaymentTypeWrapper();
     _bDCustomerWrapper     = new BDCustomerWrapper();
     _sALSalesLinerWrapper  = new SALSalesLinerWrapper();
     _sALSalesHeaderWrapper = new SALSalesHeaderWrapper();
     _iNVInventoryWrapper   = new INVInventoryWrapper();
     FillCustomerCBX();
     FillPaymentTypeCBX();
     FillTaxTypeCBX();
     FillInventoryCBX();
     GetSalesOrderData(salesHeaderID);
     FillHeaderData();
     BindGrid();
 }