public apDocsPopup(client.financial.accountsPayable.input.voucherAndAdjustmentEntry.Form1 inParentForm, String inRefNbr) { InitializeComponent(); parentForm = inParentForm; myAPDocs = parentForm.myVAObj.getAPDocsByBatNbrAndRefNbr(parentForm.tbBatNbr.Text, inRefNbr); this.gvapDocs.DataSource = myAPDocs; }
public batchesPopup(client.financial.accountsPayable.input.voucherAndAdjustmentEntry.Form1 inParentForm, String inBatNbr) { InitializeComponent(); parentForm = inParentForm; this.gvBatches.DataSource = parentForm.myVAObj.getBatchesByBatNbr(inBatNbr); }
public vendorsPopup(client.financial.accountsPayable.input.voucherAndAdjustmentEntry.Form1 inParentForm, String inVendID) { InitializeComponent(); parentForm = inParentForm; this.gvVendIDs.DataSource = parentForm.myVAObj.getVendorsByID(inVendID); }