project QadFinancials > class BReportingJournalReport > business logic query PostingByReportingJournalExcep


Parameters


iiCompanyIdintegerCompany id
itFromPostingDatedate
itToPostingDatedate


query condition


  each Posting where
Posting.Company_Id = iiCompanyId AND
Posting.PostingDate >= itFromPostingDate AND
Posting.PostingDate <= itToPostingDate AND
Posting.Journal_ID <> Posting1.ReportingJournal_ID AND
Posting.ReportingJournal_ID <> 0

      first Journal1 (inner-join) where
Journal1.SharedSet_Id = vi_JOURNAL_sharedset(iiCompanyId) AND
Journal1.Journal_ID = Posting.Journal_ID AND

      first Journal2 (inner-join) where
Journal2.SharedSet_Id = vi_JOURNAL_sharedset(iiCompanyId) AND
Journal2.Journal_ID = Posting.ReportingJournal_ID AND


query resultset tqPostingByReportingJournalExcep


field namedata typedb fielddescription
tiCompany_IDintegerPosting.Company_IDLink to Company
tiJournal_IDintegerJournal2.Journal_IDRecord ID
tcJournalCodecharacterJournal1.JournalCodeA daybook code (maximum eight characters).
ttPostingDatedatePosting.PostingDateThe accounting date on which the journal entry is posted. The posting date must be a valid calendar date and must be within the GL calendar year (PostingYear) and period (PostingPeriod).
tiPostingPeriodintegerPosting.PostingPeriodThe GL period for the posting. The period must be open.
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.
tiPostingYearPeriodintegerPosting.PostingYearPeriodThe GL calendar year/period for the posting. This field is determined by "PostingPeriod" and "PostingYear".
api annotation:If Partial Update is true, the value defaults using PostingPeriod and PostingYear.
tcReportingJournalCodecharacterJournal2.JournalCodeA daybook code (maximum eight characters).
tcReportingJournalDescriptioncharacterJournal2.JournalDescriptionA brief description of the daybook.
api annotation:Value for this field defaults to null.


Internal usage


QadFinancials
method BReportingJournalReport.ReportingJournalExceptReport