project QadFinancials > class BBankPayFormat > business logic query BankPayFormatByID


Parameters


iiBankPayFormatIdinteger
iiCompanyIdintegerCompany id


query condition


  each BankPayFormat where
BankPayFormat.BankPayFormat_ID = iiBankPayFormatId

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

          first CompanySharedSet (inner-join) where
CompanySharedSet.Company_Id = iiCompanyId AND
CompanySharedSet.CompanySharedSet_ID = BankNumber.CompanySharedSet_ID AND

              first Company (inner-join) where
Company.Company_Id = iiCompanyId AND
Company.Company_ID = CompanySharedSet.Company_ID AND

          first GL (outer-join) where
GL.SharedSet_Id = vi_GL_sharedset(iiCompanyId) AND
GL.GL_ID = BankNumber.ParentObject_ID AND

      first PayFormatType (inner-join) where
PayFormatType.PayFormatTypeCode = BankPayFormat.PayFormatTypeCode AND


query resultset tqBankPayFormatByID


field namedata typedb fielddescription
tiBankAccFormat_IDintegerBankNumber.BankAccFormat_IDBank Account Format
tcBankNumbercharacterBankNumber.BankNumberBank Number
tiBankNumber_IDintegerBankPayFormat.BankNumber_IDBank Number
tiBankNumber_ID1integerBankNumber.BankNumber_IDRecord ID
tiBankNumberBankChargeGL_IDintegerBankNumber.BankNumberBankChargeGL_IDLink to GL for Bank Charges
tcBankNumberFormattedcharacterBankNumber.BankNumberFormattedFormatted Bank Account No
tlBankNumberIsBankChargelogicalBankNumber.BankNumberIsBankChargeBank Charge
tiBankPayFormat_IDintegerBankPayFormat.BankPayFormat_IDRecord ID
tlBankPayFormatIsBankChargelogicalBankPayFormat.BankPayFormatIsBankChargeBank Charge Applies
tiCompany_IDintegerCompany.Company_IDRecord ID
tcCompanyCodecharacterCompany.CompanyCodeEntity Code
tiGL_IDintegerGL.GL_IDRecord ID
tcGLCodecharacterGL.GLCodeA code identifying the GL account.
tcPayFormatTypeCodecharacterBankPayFormat.PayFormatTypeCodePayment Format
tcPayFormatTypePayInstrumentcharacterPayFormatType.PayFormatTypePayInstrumentPayment Instrument
tcPayFormatTypePayTypecharacterPayFormatType.PayFormatTypePayTypePayment Type
ti_sequenceintegercalculatedprimary index
tc_rowidcharactercalculated = rowid(BankPayFormat),rowid(BankNumber),rowid(CompanySharedSet),rowid(Company),rowid(GL),rowid(PayFormatType)


Internal usage


QadFinancials
method BBankBranch.PreValidateComponent
method BBankNumber.ValidateComponentBeforeAncestor
method BBillReport.GetBillReportTitleInfo
method BCDocument.ApiSetCDocumentStatusChange
method BCDocument.CalculateAll
method BCDocumentReport.CDocumentReportAll
method BCInvoice.CalculateCInvoiceBank
method BCInvoice.DefaultValuesBank
method BCreditor.Calculate
method BCreditor.ValBankNumberAndPayCodeRef
method BDDocument.ApiSetDDocumentStatusChange
method BDDocument.DefaultValuesBankNumber
method BDebtor.Calculate
method BDebtor.ValBankNumberandPayCodeRef
method BDInvoice.CalculateDInvoiceBank
method BDInvoice.DefaultValuesBank
method BDPaymentSelection.Calculate
method BPaymentSelection.ApiGetPaySelInfo
method BPaymentSelection.Calculate01
method BPaymentSelection.FillProDataSet
method BPaymentSelection.GenerateASCII
method BPaymentSelection.GetPaymentInstrument
method BPaymentSelection.ValidateComponentPreBankPayFormat
method BSelfBill.GetDocumentStatusForSelfBill