project QadFinancials > class BDDocument > business logic query DocumentByDpaySelID


Parameters


iiCompanyIdintegerCompany id
iiDPaySelIDinteger


query condition


  each DDocument where
DDocument.Company_Id = iiCompanyId AND
DDocument.DPaySel_ID = iiDPaySelID

      first DPaySel (inner-join) where
DPaySel.Company_Id = iiCompanyId AND
DPaySel.DPaySel_ID = DDocument.DPaySel_ID AND


query resultset tqDocumentByDPaySelID


field namedata typedb fielddescription
tiCompany_IDintegerDPaySel.Company_IDLink to Company
tiDPaySel_IDintegerDDocument.DPaySel_IDLink to DPaySel
tiDPaySel_ID1integerDPaySel.DPaySel_IDRecord ID
tcDPaySelCodecharacterDPaySel.DPaySelCodePayment Selection
tcDPaySelStatuscharacterDPaySel.DPaySelStatusStatus


Internal usage


QadFinancials
method BDPaymentSelection.RemoveEmptyPaySel