예제 #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();
 }