project QadFinancials > class BJournal > business logic query JournalForExcelNoRole


Parameters


iiCompanyIdintegerCompany id


query condition


  each Journal where
Journal.SharedSet_Id = vi_JOURNAL_sharedset(iiCompanyId) AND
(Journal.Role_ID = ? OR
Journal.Role_ID = 0 )

      first Layer (inner-join) where
Layer.Layer_ID = Journal.Layer_ID AND


query resultset tqJournalForExcelNoRole


field namedata typedb fielddescription
tiJournal_IDintegerJournal.Journal_IDRecord ID
tcJournalCodecharacterJournal.JournalCodeA daybook code (maximum eight characters).
tcJournalControlcharacterJournal.JournalControlA type of daybook control: Financial/Operational/External-used to clearly separate postings based on their source.
tcJournalDescriptioncharacterJournal.JournalDescriptionA brief description of the daybook.
api annotation:Value for this field defaults to null.
tlJournalIsActivelogicalJournal.JournalIsActiveIndicate if this is an active daybook.
api annotation:Value for this field defaults to false.
tlJournalIsProjectProvisionlogicalJournal.JournalIsProjectProvisionProject Provision
tcJournalSecondDescriptioncharacterJournal.JournalSecondDescriptionSecond Description
tcJournalTypeCodecharacterJournal.JournalTypeCodeA daybook type code.
api annotation:Value for this field defaults to "Journal Entries".
tiLayer_IDintegerLayer.Layer_IDRecord ID
tcLayerCodecharacterLayer.LayerCodeLayer Code
tcLayerDescriptioncharacterLayer.LayerDescriptionDescription
tcLayerTypeCodecharacterLayer.LayerTypeCodeLayer Type
tiSharedSet_IDintegerJournal.SharedSet_IDLink to SharedSet
ti_sequenceintegercalculatedprimary index
tc_rowidcharactercalculated = rowid(Journal),rowid(Layer)


Internal usage


QadFinancials
method BJournal.ApiLoadJournal