Table
LedgerJournalTableHistory
LedgerJournalTable history data.
Stores historical copies of ledger journal header data. It has no defined key in the metadata. Its fields mirror a journal header: name, type, balances, dimensions, currency and exchange rates, posting status, user restrictions and workflow status. Some fields are used for Italy and Saudi Arabia-style country features, such as the Italian payment and simulation flags.
- Table name
LedgerJournalTableHistory- Module
Accounting foundation- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (79)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ApproverWorker who approved the journal. It points to the worker record. | Int64HcmApprover | No | HcmWorker.RecId | None |
ArchiveServiceJobIdGUID of an archive service job. The label is empty, so the exact use is not stated.low confidence | Guid | No | None | |
AssetLeaseProcessIdGUID that identifies an asset lease process.low confidence | GuidSysGuid | No | None | |
AssetTransferType_LTAsset transfer status of the journal, such as not a transfer, reverse or transfer. Used for Lithuania. | EnumLtAssetTransferType (enum) | No | None | |
BankAccountIdCompany bank account linked to the journal. It points to the bank account record. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | None |
BankRemittanceTypeType of bank remittance: none, collection or discount. | EnumBankRemittanceType (enum) | No | None | |
BankTransSummarizationCriteriaCriteria for summarizing bank transactions, such as do not summarize or default criteria. | EnumBankTransSummarizationCriteria (enum) | No | None | |
BankTransSummarizationEnabledYes/No flag for summarizing amounts in the bank account. | EnumNoYes (enum) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CurrencyCodeCurrency code of the journal. It points to the currency record. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CurrentOperationsTaxPosting layer of the journal, for example current, operations, tax or a custom layer. | EnumCurrentOperationsTax (enum) | No | None | |
CustVendNegInstProtestProcessHow a protested negotiable instrument is settled: as an open payment or as an invoice. | EnumCustVendNegInstProtestProcess (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension values for the journal. It points to a dimension value set. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DelayTaxCalculationYes/No flag for delaying the sales tax calculation on the journal. | EnumNoYes (enum) | No | None | |
DetailSummaryPostingWhether the journal is posted at detail level or summary level. | EnumDetailSummary (enum) | No | None | |
DocumentNumDocument number entered on the journal. | String (20)DocumentNum | No | None | |
EndBalanceEnding balance value stored for the journal. | RealLedgerJournalEndBalance | No | None | |
EUROTriangulationYes/No flag for euro triangulation on the journal. | EnumEUROTriangulationNoYes (enum) | No | None | |
ExchRateExchange rate stored on the journal. | RealExchRate | No | None | |
ExchrateSecondarySecondary exchange rate stored on the journal. | RealExchrateSecondary | No | None | |
FinTagFinancial tag linked to the journal. It points to the financial tag record. | Int64FinTagRecId | No | FinTag.RecId | None |
FixedExchRateYes/No flag showing whether the exchange rate is fixed. | EnumFixedExchRateNoYes (enum) | No | None | |
FixedOffsetAccountYes/No flag showing whether the offset account is fixed. | EnumFixedOffsetAccountNoYes (enum) | No | None | |
GroupBlockIdUser group for which the journal is made private. It points to the user group record. | StringJournalBlockUserGroupId | No | UserGroupInfo.id | None |
IntegrationKeyKey used for integration with Dataverse. | String (20)CDSIntegrationKey | No | None | |
InUseByID of the user who is currently using the journal. It points to the user record. | StringUserId | No | None | |
IsAdjustmentJournalYes/No flag. The label is empty, but the name suggests an adjustment journal.low confidence | EnumNoYes (enum) | No | None | |
IsLedgerDimensionNameUpdatedYes/No flag. The label is empty, so the exact meaning is not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
JournalBalanceBalance amount of the journal. | RealLedgerJournalBalance | No | None | |
JournalNameName of the journal. It points to the ledger journal name record. | StringLedgerJournalNameId | Yes | LedgerJournalName.JournalName | None |
JournalNumJournal batch number that identifies the journal in this history table. | String (20)LedgerJournalId | Yes | LedgerJournalTableHistory.JournalNum | None |
JournalTotalCreditTotal amount held in this field, in accounting currency. Its label says vendor transactions total.low confidence | RealAmountMST | No | None | |
JournalTotalCreditReportingCurrencyCredit total in reporting currency. | RealAmountMSTSecondary | No | None | |
JournalTotalDebitTotal amount held in this field, in accounting currency. Its label says customer transactions total.low confidence | RealAmountMST | No | None | |
JournalTotalDebitReportingCurrencyDebit total in reporting currency. | RealAmountMSTSecondary | No | None | |
journalTotalOffsetBalanceAmount in accounting currency, labelled as balance plus journal.low confidence | RealAmountMST | No | None | |
JournalTypeType of journal, such as daily, periodic, approval, vendor disbursement or customer payment. | EnumLedgerJournalType (enum) | No | None | |
LedgerJournalInclTaxYes/No flag showing whether amounts include sales tax. | EnumLedgerJournalInclTaxNoYes (enum) | No | None | |
LinesLimitBeforeDistributionLimit on the number of lines, as stored on the journal. | IntegerLedgerJournalLinesLimit | No | None | |
LogFree text log entry for the journal. | String (255)LogText | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
NameDescription text of the journal. | String (60)Name | No | None | |
NumberSequenceTableNumber sequence used as the voucher series. It points to the number sequence record. | Int64RefRecId | No | NumberSequenceTable.RecId | None |
NumOfLinesNumber of lines in the journal. | IntegerJournalNumOfLines | No | None | |
OffsetAccountTypeType of the offset account, such as ledger, customer, vendor, project, fixed assets or bank. | EnumLedgerJournalACType (enum) | No | None | |
OffsetLedgerDimensionOffset account as a dimension combination. It points to the dimension combination record. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
OriginalCompanyCompany used for intercompany accounting. It points to a company record. | StringSelectableDataArea | No | None | |
OriginalJournalNumNumber of the original journal. It points to another record in this history table. | String (20)LedgerJournalId | No | LedgerJournalTableHistory.JournalNum | None |
OverrideSalesTaxYes/No flag for overriding the sales tax determination. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | None | |
PackedExtensionsPacked container that holds extension data for the journal. | ContainerSysExtensionSerializerPackedContainer | No | None | |
ParentJournalNumNumber of the parent journal. | String (20)LedgerJournalId | No | None | |
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 whether payments were generated. Used for Italy. | EnumNoYes (enum) | No | None | |
PostedYes/No flag showing whether the journal has been posted. | EnumJournalPostedNoYes (enum) | No | None | |
PostedDateTimeDate and time when the journal was posted. | UtcDateTimeJournalPostedDateTime | No | None | |
ProtestSettledBillYes/No flag for protest settlements. | EnumNoYesIdNoYes (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RejectedByID of the user who rejected the journal. It points to the user record. | StringUserId | No | None | |
RemoveLineAfterPostingYes/No flag showing whether lines are deleted after posting. | EnumLedgerJournalDelLineNoYes (enum) | No | None | |
ReportedAsReadyByID of the user who reported the journal as ready. It points to the user record. | StringUserId | No | None | |
ReportingCurrencyExchRateExchange rate used for the reporting currency. | RealReportingCurrencyExchRate | No | None | |
ReportingCurrencyExchRateSecondarySecondary exchange rate used for the reporting currency. | RealReportingCurrencyExchRateSecondary | No | None | |
ReportingCurrencyFixedExchRateYes/No flag showing whether the reporting currency rate is fixed. | EnumReportingCurrencyFixedExchRateNoYes (enum) | No | None | |
RetailStatementIdRetail statement number linked to the journal. | String (20)RetailStatementId | No | None | |
ReverseDateDate for the reversing entry. | DateTransDate | No | None | |
ReverseEntryYes/No flag showing whether the journal is a reversing entry. | EnumNoYes (enum) | No | None | |
RevRecReallocationIdID of a revenue recognition reallocation. | String (20)RevRecReallocationId | No | None | |
SessionIdID of the session that used the journal. | IntegerJournalSessionId | No | None | |
SessionLoginDateTimeDate and time of the logon for the session that used the journal. | UtcDateTimeJournalSessionLoginDateTime | No | None | |
SimulationPosted_ITYes/No flag showing whether the simulation was posted. Used for Italy. | EnumNoYes (enum) | No | None | |
SystemBlockedYes/No flag showing whether the system has locked the journal. | EnumJournalSystemBlockedNoYes (enum) | No | None | |
SystemBlockedReasonReason the system locked the journal. The values are none or delete. | EnumLedgerJournalSystemBlockedReason (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxObligationCompanyLegal entity for intercompany tax posting: destination or source. | EnumTaxObligationCompany (enum) | No | None | |
UserBlockIdUser for whom the journal is made private. It points to the user record. | StringJournalBlockUserId | No | None | |
VoucherAllocatedAtPostingYes/No flag showing whether the voucher number is allocated at posting. | EnumVoucherAllocatedAtPostingNoYes (enum) | No | None | |
WorkflowApprovalStatusWorkflow approval status of the journal, such as draft, submitted, in review, approved or rejected. | EnumLedgerJournalWFApprovalStatus (enum) | No | None |
Indexes (2)
PostedJournalTypeIdxPostedDateTime,Posted,JournalType,JournalName,JournalNumUnique, alternate key.
TypeNumIdxUnique, alternate key.
Relations (16)
Each relation joins LedgerJournalTableHistory to another table on the fields shown.
Approver_FK→HcmWorkerJoin on
Approver = HcmWorker.RecIdMany LedgerJournalTableHistory records → zero or one HcmWorker record
BankAccountTable→BankAccountTableJoin on
BankAccountId = BankAccountTable.AccountIDMany LedgerJournalTableHistory records → zero or one BankAccountTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany LedgerJournalTableHistory records → zero or one Currency record
DataArea→DataAreaJoin on
OriginalCompany = DataArea.id,DataArea.isVirtual = nullMany LedgerJournalTableHistory records → zero or one DataArea record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany LedgerJournalTableHistory records → zero or one DimensionAttributeValueSet record
LedgerJournalName→LedgerJournalNameJoin on
JournalName = LedgerJournalName.JournalNameMany LedgerJournalTableHistory records → exactly one LedgerJournalName record
LedgerJournalTableHistory→LedgerJournalTableHistoryJoin on
OriginalJournalNum = LedgerJournalTableHistory.JournalNumMany LedgerJournalTableHistory records → zero or one LedgerJournalTableHistory record
NumberSequenceTable→NumberSequenceTableJoin on
NumberSequenceTable = NumberSequenceTable.RecIdMany LedgerJournalTableHistory records → zero or one NumberSequenceTable record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerJournalTableHistory records → zero or one DimensionAttributeValueCombination record
UserGroupInfo→UserGroupInfoJoin on
GroupBlockId = UserGroupInfo.idMany LedgerJournalTableHistory records → zero or one UserGroupInfo record
UserInfo_InUseBy→UserInfoJoin on
InUseBy = UserInfo.idMany LedgerJournalTableHistory records → zero or one UserInfo record
UserInfo_RejectedBy→UserInfoJoin on
RejectedBy = UserInfo.idMany LedgerJournalTableHistory records → zero or one UserInfo record
UserInfo_ReportedAsReadyBy→UserInfoJoin on
ReportedAsReadyBy = UserInfo.idMany LedgerJournalTableHistory records → zero or one UserInfo record
UserInfo_UserBlockId→UserInfoJoin on
UserBlockId = UserInfo.idMany LedgerJournalTableHistory records → zero or one UserInfo record
LedgerJournalTable_JournalNum→LedgerJournalTableHistoryJoin on
JournalNum = LedgerJournalTableHistory.JournalNumCardinality not set in the metadata.
FinTag→FinTagJoin on
FinTag = FinTag.RecIdCardinality not set in the metadata.
Get this data out
No public entity reads from LedgerJournalTableHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with LedgerJournalTableHistory in a report, an integration or a migration? Talk to Dr Dynamics.