project QadFinancials > class BBillReport > business logic query GetDDocInvXrefByDinvoiceId


Parameters


iiCompanyIdintegerCompany id
iiDInvoiceIdinteger


query condition


  each DDocumentInvoiceXref where
DDocumentInvoiceXref.DInvoice_ID = iiDInvoiceId

      first DDocument (inner-join) where
DDocument.Company_Id = iiCompanyId AND
DDocument.DDocument_ID = DDocumentInvoiceXref.DDocument_ID AND


query resultset tqGetDDocInvXrefByDinvoiceId


field namedata typedb fielddescription
tiDDocument_IDintegerDDocument.DDocument_IDRecord ID
tiDDocumentInvoiceXref_IDintegerDDocumentInvoiceXref.DDocumentInvoiceXref_IDRecord ID


Internal usage


QadFinancials
method BBillReport.GetBillReportPayment