project QadFinancials > class BJournal > business logic query JournalByLayerIDJournalID

Description

GetJournalForLayer: JournalByLayerIDJournalID


Parameters


iiLayerIdintegerLayerId
iiCompanyIdintegerPlease enter a good description for this parameter.
iiJournalIDintegerJournalId


query condition


  each Journal where
Journal.SharedSet_Id = vi_JOURNAL_sharedset(iiCompanyId) AND
Journal.Layer_ID = iiLayerId AND
Journal.Journal_ID = iiJournalID


query resultset tqJournalByLayerIDJournalID


field namedata typedb fielddescription
tiJournal_IDintegerJournal.Journal_IDRecord ID
tcJournalCodecharacterJournal.JournalCodeA daybook code (maximum eight characters).
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.
tcJournalTypeCodecharacterJournal.JournalTypeCodeA daybook type code.
api annotation:Value for this field defaults to "Journal Entries".
tiLayer_IDintegerJournal.Layer_IDLink to Layer
tiSharedSet_IDintegerJournal.SharedSet_IDLink to SharedSet


Internal usage


QadFinancials
method BPosting.AdditionalUpdatesPreCreateTempTables
method BLayer.ValidateComponent