Table

LedgerJournalTable

Ledger journal table

Holds one record for each ledger journal header, keyed by journal batch number (JournalNum). It stores the journal name, type, currency, dimensions, offset account, totals, posting status and approval status. It links to the journal name, bank account, worker, user and legal entity records. Many journal entities, such as asset and customer invoice journals, read from it.

Table name
LedgerJournalTable
Module
Accounting foundation
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
TypeNumIdx
Replacement key
TypeNumIdx
Key fields
JournalNum
Model
Foundation

Fields (79)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalNumUnique journal batch number. It is the key of this table.String (20)
LedgerJournalId
YesAssetJournalV2EntityVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2Entityand 25 more
ApproverWorker who approved the journal. It points to a worker record.Int64
HcmApprover
NoHcmWorker.RecIdSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
AssetLeaseProcessIdGUID that identifies an asset lease process linked to the journal.low confidenceGuid
SysGuid
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
AssetTransferType_LTShows whether the journal is not a transfer journal, a reverse journal or a transfer journal. Used for Lithuania.Enum
LtAssetTransferType (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
BankAccountIdBank account used by the journal. It points to a bank account record.String
CompanyBankAccountId
NoBankAccountTable.AccountIDLedgerJournalTableBiEntityLedgerJournalTableCDREntity
BankRemittanceTypeRemittance type: None, Collection or Discount.Enum
BankRemittanceType (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
BankTransSummarizationCriteriaOption for how bank transactions are summarised, such as not at all or by default criteria.Enum
BankTransSummarizationCriteria (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
BankTransSummarizationEnabledYes/No flag for summarising amounts in the bank account.Enum
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoLedgerJournalTableBiEntity
CurrencyCodeCurrency code of the journal. It points to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
CurrentOperationsTaxPosting layer of the journal, for example Current, Operations, Tax or a custom layer.Enum
CurrentOperationsTax (enum)
NoAssetJournalV2EntityExpenseJournalHeaderEntityLedgerReportingCurrencyAdjustmentJournalHeaderEntityand 8 more
CustVendNegInstProtestProcessSets whether a protest settlement is treated as an open payment or as an invoice.Enum
CustVendNegInstProtestProcess (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
DefaultDimensionDefault financial dimension values for the journal. It points to a dimension value set.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdLedgerJournalTableBiEntityLedgerJournalTableCDREntity
DelayTaxCalculationYes/No flag that delays sales tax calculation on journal lines.Enum
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
DetailSummaryPostingLevel of detail for posting, either Details or Summary.Enum
DetailSummary (enum)
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
DocumentNumDocument number text for the journal.low confidenceString (20)
DocumentNum
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
EndBalanceEnding balance amount entered for the journal.Real
LedgerJournalEndBalance
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
EUROTriangulationYes/No flag for euro triangulation.Enum
EUROTriangulation
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ExchRateExchange rate used for the journal.Real
ExchRate
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ExchrateSecondarySecondary exchange rate used for the journal.Real
ExchrateSecondary
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntityand 1 more
FinTagFinancial tag linked to the journal. It points to a financial tag record.Int64
FinTagRecId
NoFinTag.RecIdLedgerJournalTableBiEntityLedgerJournalTableCDREntity
FixedExchRateYes/No flag showing whether the exchange rate is fixed.Enum
FixedExchRate
NoYes (enum)
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
FixedOffsetAccountYes/No flag showing whether the offset account is fixed.Enum
FixedOffsetAccount
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
GroupBlockIdUser group that the journal is kept private for. It points to a user group record.String
JournalBlockUserGroupId
NoUserGroupInfo.idSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
IntegrationKeyKey used to match the journal with a record in Dataverse.String (20)
CDSIntegrationKey
NoAssetLeaseLedgerJournalHeaderEntityLedgerJournalHeaderEntityLedgerJournalTableBiEntityand 2 more
InUseByUser who is currently using the journal.String
UserId
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
IsAdjustmentJournalYes/No flag. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
IsLedgerDimensionNameUpdatedYes/No flag. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
JournalBalanceBalance of the journal.Real
LedgerJournalBalance
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
JournalNameName of the journal. It points to the journal name table.String
LedgerJournalNameId
YesLedgerJournalName.JournalNameAssetJournalV2EntityVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2Entityand 18 more
JournalTotalCreditTotal credit amount of the journal in the company currency, labelled as vendor transactions total.low confidenceReal
AmountMST
NoVendInvoiceJournalHeaderV2EntityVendInvoiceJournalHeaderEntityAssetLeaseLedgerJournalHeaderEntityand 4 more
JournalTotalCreditReportingCurrencyTotal credit amount of the journal in the reporting currency.Real
AmountMSTSecondary
NoLedgerReportingCurrencyAdjustmentJournalHeaderEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
JournalTotalDebitTotal debit amount of the journal in the company currency, labelled as customer transactions total.low confidenceReal
AmountMST
NoVendInvoiceJournalHeaderV2EntityVendInvoiceJournalHeaderEntityAssetLeaseLedgerJournalHeaderEntityand 4 more
JournalTotalDebitReportingCurrencyTotal debit amount of the journal in the reporting currency.Real
AmountMSTSecondary
NoLedgerReportingCurrencyAdjustmentJournalHeaderEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
journalTotalOffsetBalanceJournal total including the offset balance, in company currency.low confidenceReal
AmountMST
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
JournalTypeType of journal, such as Daily, Periodic, Approval, Vendor disbursement or Customer payment.Enum
LedgerJournalType (enum)
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
LedgerJournalInclTaxYes/No flag showing whether amounts include sales tax.Enum
LedgerJournalInclTax
NoYes (enum)
NoVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2EntitySlipJournalEntityand 4 more
LinesLimitBeforeDistributionMaximum number of lines for the journal before the limit applies.low confidenceInteger
LedgerJournalLinesLimit
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
LogFree text log for the journal.String (255)
LogText
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoLedgerJournalTableBiEntity
NameShort description of the journal.String (60)
Name
NoAssetJournalV2EntityVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2Entityand 18 more
NumberSequenceTableVoucher series used for the journal. It points to a number sequence record.Int64
RefRecId
NoNumberSequenceTable.RecIdLedgerJournalTableBiEntityLedgerJournalTableCDREntity
NumOfLinesNumber of lines in the journal.Integer
JournalNumOfLines
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
OffsetAccountTypeType of the offset account, such as Ledger, Customer, Vendor, Bank or Petty cash.Enum
LedgerJournalACType (enum)
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
OffsetLedgerDimensionOffset account for the journal. It points to a dimension combination record.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
OriginalCompanyCompany used for intercompany accounting.String
SelectableDataArea
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
OriginalJournalNumJournal number of the original journal. It points to another ledger journal record.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
OverrideSalesTaxYes/No flag allowing the sales tax result to be overridden.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2EntityVendorPaymentJournalHeaderV2Entityand 7 more
PackedExtensionsContainer that stores extra serialised data for the journal.low confidenceContainer
SysExtensionSerializerPackedContainer
NoNone
ParentJournalNumJournal number of the parent journal.String (20)
LedgerJournalId
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentsGenerated_ITYes/No flag showing that payments have been generated. Used for Italy.Enum
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
PostedYes/No flag showing whether the journal has been posted.Enum
JournalPosted
NoYes (enum)
NoAssetJournalV2EntityVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2Entityand 16 more
PostedDateTimeDate and time when the journal was posted.UtcDateTime
JournalPostedDateTime
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ProtestSettledBillYes/No flag for protest settlements.low confidenceEnum
NoYesId
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoLedgerJournalTableBiEntity
RejectedByUser who rejected the journal.String
UserId
NoExpenseJournalHeaderEntitySlipJournalEntityLedgerJournalTableBiEntityand 1 more
RemoveLineAfterPostingYes/No flag for deleting journal lines once the journal is posted.Enum
LedgerJournalDelLine
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ReportedAsReadyByUser who reported the journal as ready.String
UserId
NoExpenseJournalHeaderEntitySlipJournalEntityLedgerJournalTableBiEntityand 1 more
ReportingCurrencyExchRateExchange rate used for the reporting currency.Real
ReportingCurrencyExchRate
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ReportingCurrencyExchRateSecondarySecondary exchange rate used for the reporting currency.Real
ReportingCurrencyExchRateSecondary
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ReportingCurrencyFixedExchRateYes/No flag showing whether the reporting currency rate is fixed.Enum
ReportingCurrencyFixedExchRate
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
RetailStatementIdNumber of the retail statement linked to the journal.String (20)
RetailStatementId
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ReverseDateDate for the reversing entry.Date
TransDate
NoExpenseJournalHeaderEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
ReverseEntryYes/No flag showing that the journal is a reversing entry.Enum
NoYes (enum)
NoExpenseJournalHeaderEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
RevRecReallocationIdID of a reallocation linked to the journal.low confidenceString (20)
RevRecReallocationId
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
SessionIdNumber of the session that is using the journal.Integer
JournalSessionId
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
SessionLoginDateTimeDate and time the session logged on to the journal.UtcDateTime
JournalSessionLoginDateTime
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
SimulationPosted_ITYes/No flag showing whether the simulation has been posted. Used for Italy.Enum
NoYes (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SystemBlockedYes/No flag showing that the journal is locked by the system.Enum
JournalSystemBlocked
NoYes (enum)
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
SystemBlockedReasonReason the system locked the journal: None or Delete.Enum
LedgerJournalSystemBlockedReason (enum)
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxObligationCompanyLegal entity for intercompany tax posting: Destination or Source.Enum
TaxObligationCompany (enum)
NoVendInvoiceJournalHeaderV2EntityExpenseJournalHeaderEntitySlipJournalEntityand 3 more
UserBlockIdUser that the journal is kept private for.String
JournalBlockUserId
NoLedgerJournalTableBiEntityLedgerJournalTableCDREntity
VoucherAllocatedAtPostingYes/No flag showing whether the voucher number is given when the journal is posted.Enum
VoucherAllocatedAtPosting
NoYes (enum)
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity
WorkflowApprovalStatusApproval status of the journal, from None and Draft to Submitted, In review, Approved or Rejected.Enum
LedgerJournalWFApprovalStatus (enum)
NoSlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity

Indexes (9)

Relations (16)

Each relation joins LedgerJournalTable to another table on the fields shown.

  • Approver_FK → HcmWorker

    Join on Approver = HcmWorker.RecId

    Many LedgerJournalTable records → zero or one HcmWorker record

  • BankAccountTable → BankAccountTable

    Join on BankAccountId = BankAccountTable.AccountID

    Many LedgerJournalTable records → zero or one BankAccountTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many LedgerJournalTable records → zero or one Currency record

  • DataArea → DataArea

    Join on OriginalCompany = DataArea.id, DataArea.isVirtual = null

    Many LedgerJournalTable records → zero or one DataArea record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many LedgerJournalTable records → zero or one DimensionAttributeValueSet record

  • LedgerJournalName → LedgerJournalName

    Join on JournalName = LedgerJournalName.JournalName

    Many LedgerJournalTable records → exactly one LedgerJournalName record

  • LedgerJournalTable → LedgerJournalTable

    Join on OriginalJournalNum = LedgerJournalTable.JournalNum

    Many LedgerJournalTable records → zero or one LedgerJournalTable record

  • NumberSequenceTable → NumberSequenceTable

    Join on NumberSequenceTable = NumberSequenceTable.RecId

    Many LedgerJournalTable records → zero or one NumberSequenceTable record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many LedgerJournalTable records → zero or one DimensionAttributeValueCombination record

  • UserGroupInfo → UserGroupInfo

    Join on GroupBlockId = UserGroupInfo.id

    Many LedgerJournalTable records → zero or one UserGroupInfo record

  • UserInfo_InUseBy → UserInfo

    Join on InUseBy = UserInfo.id

    Many LedgerJournalTable records → zero or one UserInfo record

  • UserInfo_RejectedBy → UserInfo

    Join on RejectedBy = UserInfo.id

    Many LedgerJournalTable records → zero or one UserInfo record

  • UserInfo_ReportedAsReadyBy → UserInfo

    Join on ReportedAsReadyBy = UserInfo.id

    Many LedgerJournalTable records → zero or one UserInfo record

  • UserInfo_UserBlockId → UserInfo

    Join on UserBlockId = UserInfo.id

    Many LedgerJournalTable records → zero or one UserInfo record

  • LedgerJournalTable_JournalNum → LedgerJournalTable

    Join on JournalNum = LedgerJournalTable.JournalNum

    Cardinality not set in the metadata.

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Zero or one LedgerJournalTable record → zero or one FinTag record

Get this data out

Tables are not exposed directly. These public entities read from LedgerJournalTable; use one of them in Power BI, Power Platform or a data management project.

Need help with LedgerJournalTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk