project QadFinancials > class BCDocumentReport > business logic query GetPayFormatByPaySelCode

Description

Retrieve the Pay Format with the Payment Selection Code


Parameters


iiCompanyIdintegerCompany id
icPaySelCodecharacter


query condition


  each PaySel where
PaySel.Company_Id = iiCompanyId AND
PaySel.PaySelCode = icPaySelCode

      first BankPayFormat (inner-join) where
BankPayFormat.BankPayFormat_ID = PaySel.BankPayFormat_ID AND

          first BankNumber (inner-join) where
BankNumber.BankNumber_ID = BankPayFormat.BankNumber_ID AND


query resultset tqGetPayFormatByPaySelCode


field namedata typedb fielddescription
tcBankNumbercharacterBankNumber.BankNumberBank Number
tiBankPayFormat_IDintegerBankPayFormat.BankPayFormat_IDRecord ID
tcPayFormatTypeCodecharacterBankPayFormat.PayFormatTypeCodePayment Format
tiPaySel_IDintegerPaySel.PaySel_IDRecord ID
tcPaySelCodecharacterPaySel.PaySelCodeCode


Internal usage


QadFinancials
method BCDocumentReport.CDocumentReportAll