project QadFinancials > class BReportingJournalReport > business logic query TaxRegisterByJournal


Parameters


iiCompanyIdintegerCompany id
icTaxRegCodecharacter


query condition


  each TaxReg where
TaxReg.TaxRegCode = icTaxRegCode

      each TaxRegJournal (inner-join) where
TaxRegJournal.TaxReg_ID = TaxReg.TaxReg_ID AND

          first Journal (inner-join) where
Journal.SharedSet_Id = vi_JOURNAL_sharedset(iiCompanyId) AND
Journal.Journal_ID = TaxRegJournal.Journal_ID AND


query resultset tqTaxRegisterByJournal


field namedata typedb fielddescription
tcJournalCodecharacterJournal.JournalCodeA daybook code (maximum eight characters).
tcTaxRegCodecharacterTaxReg.TaxRegCodeTax Register Code


Internal usage


QadFinancials
method BReportingJournalReport.ReportingJournalExceptReport