project QadFinancials > class BDInvoice > business logic query DInvoiceBySelected


Parameters


iiCompanyIdintegerCompany id
iiDInvoiceIDintegerDebtor Invoice ID


query condition


  each DInvoice where
DInvoice.Company_Id = iiCompanyId AND
DInvoice.DInvoice_ID = iiDInvoiceID


query resultset tqDInvoiceBySelected


field namedata typedb fielddescription
tiDInvoice_IDintegerDInvoice.DInvoice_IDRecord ID
ttDInvoiceDatedateDInvoice.DInvoiceDateInvoice Date. This field indicates the invoice creation date.This field is normallly prior to the posting date and within the same accounting period as the posting date. The date must be within the upper and lower date limits of an open GL period.
The system uses the invoice date with the credit terms to calculate due date and discount date.
api annotation:This field defaults to the DInvoicePostingDate.
tlDInvoiceIsSelectedlogicalDInvoice.DInvoiceIsSelectedSelected. This field indicates whether the invoice is included in a payment selection.
This field is read-only.
api annotation:PartialUpdate = yes - defaults to false
ttDInvoicePostingDatedateDInvoice.DInvoicePostingDatePosting Date. This field displays the date the sales-related invoice was generated by Invoice Post and Print.
This field is updated when the invoice is validated and saved.
api annotation:This field defaults from the invoice creation date.


Internal usage


QadFinancials
method BPaymentSelection.ValidateComponentPost
method BPaymentSelection.ValidateComponentPostLine1