Table

LedgerEntryHistory

LedgerEntry history data.

Holds history data for ledger entries. Each record adds details to a general journal account entry history record, such as bank accounts, payment method and exchange rate date. It has no defined key.

Table name
LedgerEntryHistory
Module
General ledger
Table group
TransactionLine
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BankDataAreaIdCompany that the bank account belongs to.low confidenceString
SelectableDataArea
NoNone
CompanyBankAccountPoints to the company's bank account.String
CompanyBankAccountId
NoBankAccountTable.AccountIDNone
ConsolidatedCompanyCompany accounts ID, which points to a company.String
CompanyId
NoNone
ExchangeRateDateDate of the exchange rate used.Date
ExchangeRateDate
NoNone
GeneralJournalAccountEntryPoints to the general journal account entry history record.Int64
RefRecId
YesGeneralJournalAccountEntryHistory.RecIdNone
IsBridgingPostingYes/no flag showing that this is a bridging posting.Enum
FurtherPostingType
NoYes (enum)
NoNone
IsExchangeAdjustmentYes/no flag showing that this is a currency exchange adjustment.Enum
IsExchangeAdjustment
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentModeMethod of payment.String
PaymMode
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ThirdPartyBankAccountPoints to the third-party bank account.String
BankThirdPartyAccountId
NoBankAccountTable.AccountIDNone

Indexes (1)

Relations (5)

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

  • CompanyBankAccount → BankAccountTable

    Join on CompanyBankAccount = BankAccountTable.AccountID

    Many LedgerEntryHistory records → zero or one BankAccountTable record

  • DataArea_BankDataAreaId → DataArea

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

    Many LedgerEntryHistory records → zero or one DataArea record

  • DataArea_ConsolidatedCompany → DataArea

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

    Many LedgerEntryHistory records → zero or one DataArea record

  • GeneralJournalAccountEntry → GeneralJournalAccountEntryHistory

    Join on GeneralJournalAccountEntry = GeneralJournalAccountEntryHistory.RecId

    Many LedgerEntryHistory records → exactly one GeneralJournalAccountEntryHistory record

  • ThirdPartyBankAccount → BankAccountTable

    Join on ThirdPartyBankAccount = BankAccountTable.AccountID

    Many LedgerEntryHistory records → zero or one BankAccountTable record

Get this data out

No public entity reads from LedgerEntryHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk