project QadFinancials > class BJournal > business logic query JournalByJournalLayerType

Description

GetJournal: JournalByJournalLayerType


Parameters


iiJournalIdintegerJournalId
icJournalCodecharacterDaybook Code
iiCompanyIdintegerPlease enter a good description for this parameter.
icLayerTypeCodecharacterLayerTypeCode (this is a RKBF and CB asked to add this parameter)


query condition


  each Journal where
Journal.SharedSet_Id = vi_JOURNAL_sharedset(iiCompanyId) AND
Journal.Journal_ID = iiJournalId AND
Journal.JournalCode = icJournalCode

      first JournalType (inner-join) where
JournalType.JournalTypeCode = Journal.JournalTypeCode AND

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


query resultset tqJournalByJournalLayerType


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.
tcJournalSecondDescriptioncharacterJournal.JournalSecondDescriptionSecond Description
tcJournalTypeCodecharacterJournal.JournalTypeCodeA daybook type code.
api annotation:Value for this field defaults to "Journal Entries".
tlJournalTypeIsCorrectionlogicalJournalType.JournalTypeIsCorrectionCorrection Daybook
tiLayer_IDintegerJournal.Layer_IDLink to Layer
tcLayerTypeCodecharacterLayer.LayerTypeCodeLayer Type
tiSharedSet_IDintegerJournal.SharedSet_IDLink to SharedSet


Internal usage


QadFinancials
method BBudgetRebuild.ApiRebuildBudgetPartTwo
method BCInvoice.ApiCreateCreditorInvoices
method BCInvoice.CreateCInvoicesValidate
method BConsolidCycle.ValidateComponentJournalRole
method BDInvoice.ApiCreateDebtorInvoicesV01
method BDInvoice.CreateDInvoicesValidate
method BGrossIncomeAccounting.ValidateComponentPostJournal
method BHistoryDaemonProcessor.PerformWorkItemDIRECTUpdPHist
method BPosting.AdditionalUpdatesCreateQPostingLineN
method BPosting.ClearData
method BPosting.ValidateComponentPost
method BPosting.ValidateComponentPostCrossCompany
method BPosting.ValidateComponentPostPosting1
method BPosting.ValidateComponentPreAssignPosting1
method BPosting.ValidateComponentPreAssignVatGroup
method BPosting.ValidateComponentPreBalancePosting
method BJournalEntry.ApiSetPostingStatusChange
method BMassLayerTransfer.ApiExecuteLayerTransferV01
method BMassLayerTransfer.ApiGetJournalEntriesValidate
method BQCrossCyPosting.ValidateComponentPostJournalRole
method BQPosting.ApiCreateQPostingLineSaf
read related business field(s) on tPosting.Journal_ID
ApiGetAlternateKeyValues
validate related business field(s) on tPosting.Journal_ID