project QadFinancials > class BPosting > business logic query PostingByUniqueKey

Description

PostingByUniqueKey: simple query just using the Company_ID, PostingYear, Journal_ID and PostingVoucher as input


Parameters


iiCompanyIdintegerCompany id
iiPostingYearinteger
iiJournalIDinteger
iiPostingVoucherinteger


query condition


  each Posting where
Posting.Company_Id = iiCompanyId AND
Posting.PostingYear = iiPostingYear AND
Posting.Journal_ID = iiJournalID AND
Posting.PostingVoucher = iiPostingVoucher


query resultset tqPostingByUniqueKey


field namedata typedb fielddescription
tiPosting_IDintegerPosting.Posting_IDRecord ID
tiCompany_IDintegerPosting.Company_IDLink to Company
tiJournal_IDintegerPosting.Journal_IDDaybook Code
tiPostingVoucherintegerPosting.PostingVoucherVoucher is a sequential number that uniquely identifies the journal entry (within the combination of an entity and a daybook code).
api annotation:In create mode,enter 0 in this field - the voucher number is generated by the system. In Modify/Delete, the correct voucher number must be entered because this identifies the record.
tiPostingYearintegerPosting.PostingYearThe GL calendar year for the posting.


Internal usage


QadFinancials
method BPosting.GetPostingIDsForXLSIntegration