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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ApproverWorker who approved the journal. It points to the worker record.Int64
HcmApprover
NoHcmWorker.RecIdNone
ArchiveServiceJobIdGUID of an archive service job. The label is empty, so the exact use is not stated.low confidenceGuidNoNone
AssetLeaseProcessIdGUID that identifies an asset lease process.low confidenceGuid
SysGuid
NoNone
AssetTransferType_LTAsset transfer status of the journal, such as not a transfer, reverse or transfer. Used for Lithuania.Enum
LtAssetTransferType (enum)
NoNone
BankAccountIdCompany bank account linked to the journal. It points to the bank account record.String
CompanyBankAccountId
NoBankAccountTable.AccountIDNone
BankRemittanceTypeType of bank remittance: none, collection or discount.Enum
BankRemittanceType (enum)
NoNone
BankTransSummarizationCriteriaCriteria for summarizing bank transactions, such as do not summarize or default criteria.Enum
BankTransSummarizationCriteria (enum)
NoNone
BankTransSummarizationEnabledYes/No flag for summarizing amounts in the bank account.Enum
NoYes (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CurrencyCodeCurrency code of the journal. It points to the currency record.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
CurrentOperationsTaxPosting layer of the journal, for example current, operations, tax or a custom layer.Enum
CurrentOperationsTax (enum)
NoNone
CustVendNegInstProtestProcessHow a protested negotiable instrument is settled: as an open payment or as an invoice.Enum
CustVendNegInstProtestProcess (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension values for the journal. It points to a dimension value set.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
DelayTaxCalculationYes/No flag for delaying the sales tax calculation on the journal.Enum
NoYes (enum)
NoNone
DetailSummaryPostingWhether the journal is posted at detail level or summary level.Enum
DetailSummary (enum)
NoNone
DocumentNumDocument number entered on the journal.String (20)
DocumentNum
NoNone
EndBalanceEnding balance value stored for the journal.Real
LedgerJournalEndBalance
NoNone
EUROTriangulationYes/No flag for euro triangulation on the journal.Enum
EUROTriangulation
NoYes (enum)
NoNone
ExchRateExchange rate stored on the journal.Real
ExchRate
NoNone
ExchrateSecondarySecondary exchange rate stored on the journal.Real
ExchrateSecondary
NoNone
FinTagFinancial tag linked to the journal. It points to the financial tag record.Int64
FinTagRecId
NoFinTag.RecIdNone
FixedExchRateYes/No flag showing whether the exchange rate is fixed.Enum
FixedExchRate
NoYes (enum)
NoNone
FixedOffsetAccountYes/No flag showing whether the offset account is fixed.Enum
FixedOffsetAccount
NoYes (enum)
NoNone
GroupBlockIdUser group for which the journal is made private. It points to the user group record.String
JournalBlockUserGroupId
NoUserGroupInfo.idNone
IntegrationKeyKey used for integration with Dataverse.String (20)
CDSIntegrationKey
NoNone
InUseByID of the user who is currently using the journal. It points to the user record.String
UserId
NoNone
IsAdjustmentJournalYes/No flag. The label is empty, but the name suggests an adjustment journal.low confidenceEnum
NoYes (enum)
NoNone
IsLedgerDimensionNameUpdatedYes/No flag. The label is empty, so the exact meaning is not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
JournalBalanceBalance amount of the journal.Real
LedgerJournalBalance
NoNone
JournalNameName of the journal. It points to the ledger journal name record.String
LedgerJournalNameId
YesLedgerJournalName.JournalNameNone
JournalNumJournal batch number that identifies the journal in this history table.String (20)
LedgerJournalId
YesLedgerJournalTableHistory.JournalNumNone
JournalTotalCreditTotal amount held in this field, in accounting currency. Its label says vendor transactions total.low confidenceReal
AmountMST
NoNone
JournalTotalCreditReportingCurrencyCredit total in reporting currency.Real
AmountMSTSecondary
NoNone
JournalTotalDebitTotal amount held in this field, in accounting currency. Its label says customer transactions total.low confidenceReal
AmountMST
NoNone
JournalTotalDebitReportingCurrencyDebit total in reporting currency.Real
AmountMSTSecondary
NoNone
journalTotalOffsetBalanceAmount in accounting currency, labelled as balance plus journal.low confidenceReal
AmountMST
NoNone
JournalTypeType of journal, such as daily, periodic, approval, vendor disbursement or customer payment.Enum
LedgerJournalType (enum)
NoNone
LedgerJournalInclTaxYes/No flag showing whether amounts include sales tax.Enum
LedgerJournalInclTax
NoYes (enum)
NoNone
LinesLimitBeforeDistributionLimit on the number of lines, as stored on the journal.Integer
LedgerJournalLinesLimit
NoNone
LogFree text log entry for the journal.String (255)
LogText
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
NameDescription text of the journal.String (60)
Name
NoNone
NumberSequenceTableNumber sequence used as the voucher series. It points to the number sequence record.Int64
RefRecId
NoNumberSequenceTable.RecIdNone
NumOfLinesNumber of lines in the journal.Integer
JournalNumOfLines
NoNone
OffsetAccountTypeType of the offset account, such as ledger, customer, vendor, project, fixed assets or bank.Enum
LedgerJournalACType (enum)
NoNone
OffsetLedgerDimensionOffset account as a dimension combination. It points to the dimension combination record.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
OriginalCompanyCompany used for intercompany accounting. It points to a company record.String
SelectableDataArea
NoNone
OriginalJournalNumNumber of the original journal. It points to another record in this history table.String (20)
LedgerJournalId
NoLedgerJournalTableHistory.JournalNumNone
OverrideSalesTaxYes/No flag for overriding the sales tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoNone
PackedExtensionsPacked container that holds extension data for the journal.Container
SysExtensionSerializerPackedContainer
NoNone
ParentJournalNumNumber of the parent journal.String (20)
LedgerJournalId
NoNone
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 whether payments were generated. Used for Italy.Enum
NoYes (enum)
NoNone
PostedYes/No flag showing whether the journal has been posted.Enum
JournalPosted
NoYes (enum)
NoNone
PostedDateTimeDate and time when the journal was posted.UtcDateTime
JournalPostedDateTime
NoNone
ProtestSettledBillYes/No flag for protest settlements.Enum
NoYesId
NoYes (enum)
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RejectedByID of the user who rejected the journal. It points to the user record.String
UserId
NoNone
RemoveLineAfterPostingYes/No flag showing whether lines are deleted after posting.Enum
LedgerJournalDelLine
NoYes (enum)
NoNone
ReportedAsReadyByID of the user who reported the journal as ready. It points to the user record.String
UserId
NoNone
ReportingCurrencyExchRateExchange rate used for the reporting currency.Real
ReportingCurrencyExchRate
NoNone
ReportingCurrencyExchRateSecondarySecondary exchange rate used for the reporting currency.Real
ReportingCurrencyExchRateSecondary
NoNone
ReportingCurrencyFixedExchRateYes/No flag showing whether the reporting currency rate is fixed.Enum
ReportingCurrencyFixedExchRate
NoYes (enum)
NoNone
RetailStatementIdRetail statement number linked to the journal.String (20)
RetailStatementId
NoNone
ReverseDateDate for the reversing entry.Date
TransDate
NoNone
ReverseEntryYes/No flag showing whether the journal is a reversing entry.Enum
NoYes (enum)
NoNone
RevRecReallocationIdID of a revenue recognition reallocation.String (20)
RevRecReallocationId
NoNone
SessionIdID of the session that used the journal.Integer
JournalSessionId
NoNone
SessionLoginDateTimeDate and time of the logon for the session that used the journal.UtcDateTime
JournalSessionLoginDateTime
NoNone
SimulationPosted_ITYes/No flag showing whether the simulation was posted. Used for Italy.Enum
NoYes (enum)
NoNone
SystemBlockedYes/No flag showing whether the system has locked the journal.Enum
JournalSystemBlocked
NoYes (enum)
NoNone
SystemBlockedReasonReason the system locked the journal. The values are none or delete.Enum
LedgerJournalSystemBlockedReason (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxObligationCompanyLegal entity for intercompany tax posting: destination or source.Enum
TaxObligationCompany (enum)
NoNone
UserBlockIdUser for whom the journal is made private. It points to the user record.String
JournalBlockUserId
NoNone
VoucherAllocatedAtPostingYes/No flag showing whether the voucher number is allocated at posting.Enum
VoucherAllocatedAtPosting
NoYes (enum)
NoNone
WorkflowApprovalStatusWorkflow approval status of the journal, such as draft, submitted, in review, approved or rejected.Enum
LedgerJournalWFApprovalStatus (enum)
NoNone

Indexes (2)

Relations (16)

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

  • Approver_FK → HcmWorker

    Join on Approver = HcmWorker.RecId

    Many LedgerJournalTableHistory records → zero or one HcmWorker record

  • BankAccountTable → BankAccountTable

    Join on BankAccountId = BankAccountTable.AccountID

    Many LedgerJournalTableHistory records → zero or one BankAccountTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many LedgerJournalTableHistory records → zero or one Currency record

  • DataArea → DataArea

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

    Many LedgerJournalTableHistory records → zero or one DataArea record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many LedgerJournalTableHistory records → zero or one DimensionAttributeValueSet record

  • LedgerJournalName → LedgerJournalName

    Join on JournalName = LedgerJournalName.JournalName

    Many LedgerJournalTableHistory records → exactly one LedgerJournalName record

  • LedgerJournalTableHistory → LedgerJournalTableHistory

    Join on OriginalJournalNum = LedgerJournalTableHistory.JournalNum

    Many LedgerJournalTableHistory records → zero or one LedgerJournalTableHistory record

  • NumberSequenceTable → NumberSequenceTable

    Join on NumberSequenceTable = NumberSequenceTable.RecId

    Many LedgerJournalTableHistory records → zero or one NumberSequenceTable record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many LedgerJournalTableHistory records → zero or one DimensionAttributeValueCombination record

  • UserGroupInfo → UserGroupInfo

    Join on GroupBlockId = UserGroupInfo.id

    Many LedgerJournalTableHistory records → zero or one UserGroupInfo record

  • UserInfo_InUseBy → UserInfo

    Join on InUseBy = UserInfo.id

    Many LedgerJournalTableHistory records → zero or one UserInfo record

  • UserInfo_RejectedBy → UserInfo

    Join on RejectedBy = UserInfo.id

    Many LedgerJournalTableHistory records → zero or one UserInfo record

  • UserInfo_ReportedAsReadyBy → UserInfo

    Join on ReportedAsReadyBy = UserInfo.id

    Many LedgerJournalTableHistory records → zero or one UserInfo record

  • UserInfo_UserBlockId → UserInfo

    Join on UserBlockId = UserInfo.id

    Many LedgerJournalTableHistory records → zero or one UserInfo record

  • LedgerJournalTable_JournalNum → LedgerJournalTableHistory

    Join on JournalNum = LedgerJournalTableHistory.JournalNum

    Cardinality not set in the metadata.

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Cardinality 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.

Email sales@drdynamics.co.uk