project QadFinancials > class BDInvoice > business logic query DInvoiceByBillId


Parameters


iiCompanyIdintegerCompany id
iiBill_IDinteger


query condition


  each DInvoice where
DInvoice.Company_Id = iiCompanyId AND
DInvoice.Bill_ID = iiBill_ID


query resultset tqDInvoiceByBillId


field namedata typedb fielddescription
tiDInvoice_IDintegerDInvoice.DInvoice_IDRecord ID
ttDInvoiceDueDatedateDInvoice.DInvoiceDueDateDue Date. This field displays the date when payment is due, calculated by the system based on the credit terms and the invoice date. User can modify the due date without affecting the credit terms.
If the credit terms have a base date specified, this is used in the due date calculations rather than the invoice creation date.


Internal usage


QadFinancials
method BBill.PostSave