private string CreateFilter(int chainNo, int loanReturnNo) { var colChainNo = _invoiceComp.bcGetTableObjectName((int)CustomerOrderCopy_Properties.COP_ChainNo); var colLoanReturnNo = _invoiceComp.bcGetTableObjectName((int)CustomerOrderCopy_Properties.COP_LoanReturnNo); var colInvoiceNo = _invoiceComp.bcGetTableObjectName((int)CustomerOrderCopy_Properties.COP_InvoiceNo); return(string.Format("{0} = {1} AND NOT {2} = {3} AND {4} <> 0", colChainNo, chainNo, colLoanReturnNo, loanReturnNo, colInvoiceNo)); }
private void InitializeComponents() { _invoiceComp = _vgConnection.GetBusinessComponent(GLOBAL_Components.BC_CustomerOrderCopy); _lineComp = _vgConnection.GetBusinessComponent(GLOBAL_Components.BC_CustomerOrderLineCopy); _colClpInvoiceNo = _lineComp.bcGetTableObjectName((int)CustomerOrderLineCopy_Properties.CLP_InvoiceNo); }
public InvoiceManager(GlobalServerComponent vgConnection) { _invoiceComp = vgConnection.GetBusinessComponent(GLOBAL_Components.BC_CustomerOrderCopy); _colInvoiceNo = _invoiceComp.bcGetTableObjectName((int)CustomerOrderCopy_Properties.COP_InvoiceNo); }
public CustomerQuery(GlobalServerComponent vgConnection) { _vgConnection = vgConnection; _customerComponent = _vgConnection.GetBusinessComponent(GLOBAL_Components.BC_Customer); _colCustomerNo = _customerComponent.bcGetTableObjectName((int)Customer_Properties.CUS_CustomerNo); }