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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
JournalNumUnique journal batch number. It is the key of this table. | String (20)LedgerJournalId | Yes | AssetJournalV2EntityVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2Entityand 25 more | |
ApproverWorker who approved the journal. It points to a worker record. | Int64HcmApprover | No | HcmWorker.RecId | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity |
AssetLeaseProcessIdGUID that identifies an asset lease process linked to the journal.low confidence | GuidSysGuid | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
AssetTransferType_LTShows whether the journal is not a transfer journal, a reverse journal or a transfer journal. Used for Lithuania. | EnumLtAssetTransferType (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
BankAccountIdBank account used by the journal. It points to a bank account record. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | LedgerJournalTableBiEntityLedgerJournalTableCDREntity |
BankRemittanceTypeRemittance type: None, Collection or Discount. | EnumBankRemittanceType (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
BankTransSummarizationCriteriaOption for how bank transactions are summarised, such as not at all or by default criteria. | EnumBankTransSummarizationCriteria (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
BankTransSummarizationEnabledYes/No flag for summarising amounts in the bank account. | EnumNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | LedgerJournalTableBiEntity | |
CurrencyCodeCurrency code of the journal. It points to the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity |
CurrentOperationsTaxPosting layer of the journal, for example Current, Operations, Tax or a custom layer. | EnumCurrentOperationsTax (enum) | No | AssetJournalV2EntityExpenseJournalHeaderEntityLedgerReportingCurrencyAdjustmentJournalHeaderEntityand 8 more | |
CustVendNegInstProtestProcessSets whether a protest settlement is treated as an open payment or as an invoice. | EnumCustVendNegInstProtestProcess (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
DefaultDimensionDefault financial dimension values for the journal. It points to a dimension value set. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | LedgerJournalTableBiEntityLedgerJournalTableCDREntity |
DelayTaxCalculationYes/No flag that delays sales tax calculation on journal lines. | EnumNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
DetailSummaryPostingLevel of detail for posting, either Details or Summary. | EnumDetailSummary (enum) | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
DocumentNumDocument number text for the journal.low confidence | String (20)DocumentNum | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
EndBalanceEnding balance amount entered for the journal. | RealLedgerJournalEndBalance | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
EUROTriangulationYes/No flag for euro triangulation. | EnumEUROTriangulationNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ExchRateExchange rate used for the journal. | RealExchRate | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ExchrateSecondarySecondary exchange rate used for the journal. | RealExchrateSecondary | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntityand 1 more | |
FinTagFinancial tag linked to the journal. It points to a financial tag record. | Int64FinTagRecId | No | FinTag.RecId | LedgerJournalTableBiEntityLedgerJournalTableCDREntity |
FixedExchRateYes/No flag showing whether the exchange rate is fixed. | EnumFixedExchRateNoYes (enum) | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
FixedOffsetAccountYes/No flag showing whether the offset account is fixed. | EnumFixedOffsetAccountNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
GroupBlockIdUser group that the journal is kept private for. It points to a user group record. | StringJournalBlockUserGroupId | No | UserGroupInfo.id | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity |
IntegrationKeyKey used to match the journal with a record in Dataverse. | String (20)CDSIntegrationKey | No | AssetLeaseLedgerJournalHeaderEntityLedgerJournalHeaderEntityLedgerJournalTableBiEntityand 2 more | |
InUseByUser who is currently using the journal. | StringUserId | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
IsAdjustmentJournalYes/No flag. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
IsLedgerDimensionNameUpdatedYes/No flag. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
JournalBalanceBalance of the journal. | RealLedgerJournalBalance | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
JournalNameName of the journal. It points to the journal name table. | StringLedgerJournalNameId | Yes | LedgerJournalName.JournalName | AssetJournalV2EntityVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2Entityand 18 more |
JournalTotalCreditTotal credit amount of the journal in the company currency, labelled as vendor transactions total.low confidence | RealAmountMST | No | VendInvoiceJournalHeaderV2EntityVendInvoiceJournalHeaderEntityAssetLeaseLedgerJournalHeaderEntityand 4 more | |
JournalTotalCreditReportingCurrencyTotal credit amount of the journal in the reporting currency. | RealAmountMSTSecondary | No | LedgerReportingCurrencyAdjustmentJournalHeaderEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
JournalTotalDebitTotal debit amount of the journal in the company currency, labelled as customer transactions total.low confidence | RealAmountMST | No | VendInvoiceJournalHeaderV2EntityVendInvoiceJournalHeaderEntityAssetLeaseLedgerJournalHeaderEntityand 4 more | |
JournalTotalDebitReportingCurrencyTotal debit amount of the journal in the reporting currency. | RealAmountMSTSecondary | No | LedgerReportingCurrencyAdjustmentJournalHeaderEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
journalTotalOffsetBalanceJournal total including the offset balance, in company currency.low confidence | RealAmountMST | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
JournalTypeType of journal, such as Daily, Periodic, Approval, Vendor disbursement or Customer payment. | EnumLedgerJournalType (enum) | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
LedgerJournalInclTaxYes/No flag showing whether amounts include sales tax. | EnumLedgerJournalInclTaxNoYes (enum) | No | VendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2EntitySlipJournalEntityand 4 more | |
LinesLimitBeforeDistributionMaximum number of lines for the journal before the limit applies.low confidence | IntegerLedgerJournalLinesLimit | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
LogFree text log for the journal. | String (255)LogText | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | LedgerJournalTableBiEntity | |
NameShort description of the journal. | String (60)Name | No | AssetJournalV2EntityVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2Entityand 18 more | |
NumberSequenceTableVoucher series used for the journal. It points to a number sequence record. | Int64RefRecId | No | NumberSequenceTable.RecId | LedgerJournalTableBiEntityLedgerJournalTableCDREntity |
NumOfLinesNumber of lines in the journal. | IntegerJournalNumOfLines | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
OffsetAccountTypeType of the offset account, such as Ledger, Customer, Vendor, Bank or Petty cash. | EnumLedgerJournalACType (enum) | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
OffsetLedgerDimensionOffset account for the journal. It points to a dimension combination record. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity |
OriginalCompanyCompany used for intercompany accounting. | StringSelectableDataArea | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
OriginalJournalNumJournal number of the original journal. It points to another ledger journal record. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity |
OverrideSalesTaxYes/No flag allowing the sales tax result to be overridden. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | VendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2EntityVendorPaymentJournalHeaderV2Entityand 7 more | |
PackedExtensionsContainer that stores extra serialised data for the journal.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
ParentJournalNumJournal number of the parent journal. | String (20)LedgerJournalId | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentsGenerated_ITYes/No flag showing that payments have been generated. Used for Italy. | EnumNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
PostedYes/No flag showing whether the journal has been posted. | EnumJournalPostedNoYes (enum) | No | AssetJournalV2EntityVendInvoiceJournalHeaderV2EntityVendInvoiceRegisterHeaderV2Entityand 16 more | |
PostedDateTimeDate and time when the journal was posted. | UtcDateTimeJournalPostedDateTime | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ProtestSettledBillYes/No flag for protest settlements.low confidence | EnumNoYesIdNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | LedgerJournalTableBiEntity | |
RejectedByUser who rejected the journal. | StringUserId | No | ExpenseJournalHeaderEntitySlipJournalEntityLedgerJournalTableBiEntityand 1 more | |
RemoveLineAfterPostingYes/No flag for deleting journal lines once the journal is posted. | EnumLedgerJournalDelLineNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ReportedAsReadyByUser who reported the journal as ready. | StringUserId | No | ExpenseJournalHeaderEntitySlipJournalEntityLedgerJournalTableBiEntityand 1 more | |
ReportingCurrencyExchRateExchange rate used for the reporting currency. | RealReportingCurrencyExchRate | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ReportingCurrencyExchRateSecondarySecondary exchange rate used for the reporting currency. | RealReportingCurrencyExchRateSecondary | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ReportingCurrencyFixedExchRateYes/No flag showing whether the reporting currency rate is fixed. | EnumReportingCurrencyFixedExchRateNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
RetailStatementIdNumber of the retail statement linked to the journal. | String (20)RetailStatementId | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ReverseDateDate for the reversing entry. | DateTransDate | No | ExpenseJournalHeaderEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
ReverseEntryYes/No flag showing that the journal is a reversing entry. | EnumNoYes (enum) | No | ExpenseJournalHeaderEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
RevRecReallocationIdID of a reallocation linked to the journal.low confidence | String (20)RevRecReallocationId | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
SessionIdNumber of the session that is using the journal. | IntegerJournalSessionId | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
SessionLoginDateTimeDate and time the session logged on to the journal. | UtcDateTimeJournalSessionLoginDateTime | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
SimulationPosted_ITYes/No flag showing whether the simulation has been posted. Used for Italy. | EnumNoYes (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SystemBlockedYes/No flag showing that the journal is locked by the system. | EnumJournalSystemBlockedNoYes (enum) | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
SystemBlockedReasonReason the system locked the journal: None or Delete. | EnumLedgerJournalSystemBlockedReason (enum) | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxObligationCompanyLegal entity for intercompany tax posting: Destination or Source. | EnumTaxObligationCompany (enum) | No | VendInvoiceJournalHeaderV2EntityExpenseJournalHeaderEntitySlipJournalEntityand 3 more | |
UserBlockIdUser that the journal is kept private for. | StringJournalBlockUserId | No | LedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
VoucherAllocatedAtPostingYes/No flag showing whether the voucher number is given when the journal is posted. | EnumVoucherAllocatedAtPostingNoYes (enum) | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity | |
WorkflowApprovalStatusApproval status of the journal, from None and Draft to Submitted, In review, Approved or Rejected. | EnumLedgerJournalWFApprovalStatus (enum) | No | SlipJournalEntityLedgerJournalTableBiEntityLedgerJournalTableCDREntity |
Indexes (9)
TypeNumIdxPrimary indexReplacement keyUnique, alternate key.
PostedJournalNumIdxJournalType,Posted,JournalNumNot unique.
DimensionAttributeValueSetIdxNot unique.
DimensionAttributeValueCombinationIdxNot unique.
ApproverIdxNot unique.
MRJournalNumIdxJournalNum,Name,JournalType,JournalName,ModifiedBy,PostedDateTimeUnique, alternate key.
TypePostedParentJournalNumIdxNot unique.
SystemBlockedPerfIdxSystemBlocked,Posted,DataAreaId,RecIdNot unique.
PostedJournalTypeIdxPostedDateTime,Posted,JournalType,JournalNameNot unique.
Relations (16)
Each relation joins LedgerJournalTable to another table on the fields shown.
Approver_FK→HcmWorkerJoin on
Approver = HcmWorker.RecIdMany LedgerJournalTable records → zero or one HcmWorker record
BankAccountTable→BankAccountTableJoin on
BankAccountId = BankAccountTable.AccountIDMany LedgerJournalTable records → zero or one BankAccountTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany LedgerJournalTable records → zero or one Currency record
DataArea→DataAreaJoin on
OriginalCompany = DataArea.id,DataArea.isVirtual = nullMany LedgerJournalTable records → zero or one DataArea record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany LedgerJournalTable records → zero or one DimensionAttributeValueSet record
LedgerJournalName→LedgerJournalNameJoin on
JournalName = LedgerJournalName.JournalNameMany LedgerJournalTable records → exactly one LedgerJournalName record
LedgerJournalTable→LedgerJournalTableJoin on
OriginalJournalNum = LedgerJournalTable.JournalNumMany LedgerJournalTable records → zero or one LedgerJournalTable record
NumberSequenceTable→NumberSequenceTableJoin on
NumberSequenceTable = NumberSequenceTable.RecIdMany LedgerJournalTable records → zero or one NumberSequenceTable record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerJournalTable records → zero or one DimensionAttributeValueCombination record
UserGroupInfo→UserGroupInfoJoin on
GroupBlockId = UserGroupInfo.idMany LedgerJournalTable records → zero or one UserGroupInfo record
UserInfo_InUseBy→UserInfoJoin on
InUseBy = UserInfo.idMany LedgerJournalTable records → zero or one UserInfo record
UserInfo_RejectedBy→UserInfoJoin on
RejectedBy = UserInfo.idMany LedgerJournalTable records → zero or one UserInfo record
UserInfo_ReportedAsReadyBy→UserInfoJoin on
ReportedAsReadyBy = UserInfo.idMany LedgerJournalTable records → zero or one UserInfo record
UserInfo_UserBlockId→UserInfoJoin on
UserBlockId = UserInfo.idMany LedgerJournalTable records → zero or one UserInfo record
LedgerJournalTable_JournalNum→LedgerJournalTableJoin on
JournalNum = LedgerJournalTable.JournalNumCardinality not set in the metadata.
FinTag→FinTagJoin on
FinTag = FinTag.RecIdZero 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.
AssetJournalV2Entity· 5 fields from this tableVendInvoiceJournalHeaderV2Entity· 9 fields from this tableVendInvoiceRegisterHeaderV2Entity· 6 fields from this tableVendorPaymentJournalHeaderV2Entity· 5 fields from this tableCustInvoiceJournalHeaderEntity· 5 fields from this tableCustomerPaymentJournalHeaderEntity· 5 fields from this tableDeferralsJournalHeaderEntity· 3 fields from this tableExpenseJournalHeaderEntity· 10 fields from this tableLedgerReportingCurrencyAdjustmentJournalHeaderEntity· 7 fields from this tableRAssetJournalHeaderEntity· 5 fields from this tableSlipJournalEntity· 31 fields from this tableVendInvoiceJournalHeaderEntity· 9 fields from this tableVendInvoiceRegisterHeaderEntity· 6 fields from this tableVendorPaymentJournalHeaderEntity· 5 fields from this tableAssetJournalHeaderEntity· 5 fields from this tableAssetLeaseLedgerJournalHeaderEntity· 8 fields from this tableLedgerJournalHeaderEntity· 8 fields from this tableLedgerJournalTableBiEntity· 75 fields from this tableLedgerJournalTableCDREntity· 72 fields from this tableVendInvoiceRegisterLineV2Entity· 1 field from this tableCashDueAnnouncementJournalEntity· 1 field from this tableCustInvoiceJournalLineEntity· 2 fields from this tableCustomerPaymentJournalLineEntity· 1 field from this tableExpenseJournalLineEntity· 0 fields from this tableLedgerJournalHeaderCDSEntity· 8 fields from this tableLedgerJournalLineCDSEntity· 0 fields from this tableLedgerReportingCurrencyAdjustmentJournalLineEntity· 3 fields from this tableVendInvoiceJournalLineEntity· 1 field from this tableVendInvoiceRegisterLineEntity· 1 field from this tableVendorPaymentJournalLineEntity· 1 field from this table
Need help with LedgerJournalTable in a report, an integration or a migration? Talk to Dr Dynamics.