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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BankDataAreaIdCompany that the bank account belongs to.low confidence | StringSelectableDataArea | No | None | |
CompanyBankAccountPoints to the company's bank account. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | None |
ConsolidatedCompanyCompany accounts ID, which points to a company. | StringCompanyId | No | None | |
ExchangeRateDateDate of the exchange rate used. | DateExchangeRateDate | No | None | |
GeneralJournalAccountEntryPoints to the general journal account entry history record. | Int64RefRecId | Yes | GeneralJournalAccountEntryHistory.RecId | None |
IsBridgingPostingYes/no flag showing that this is a bridging posting. | EnumFurtherPostingTypeNoYes (enum) | No | None | |
IsExchangeAdjustmentYes/no flag showing that this is a currency exchange adjustment. | EnumIsExchangeAdjustmentNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentModeMethod of payment. | StringPaymMode | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ThirdPartyBankAccountPoints to the third-party bank account. | StringBankThirdPartyAccountId | No | BankAccountTable.AccountID | None |
Indexes (1)
GeneralJournalAccountEntryFkIdxGeneralJournalAccountEntry,PartitionNot unique.
Relations (5)
Each relation joins LedgerEntryHistory to another table on the fields shown.
CompanyBankAccount→BankAccountTableJoin on
CompanyBankAccount = BankAccountTable.AccountIDMany LedgerEntryHistory records → zero or one BankAccountTable record
DataArea_BankDataAreaId→DataAreaJoin on
BankDataAreaId = DataArea.id,DataArea.isVirtual = nullMany LedgerEntryHistory records → zero or one DataArea record
DataArea_ConsolidatedCompany→DataAreaJoin on
ConsolidatedCompany = DataArea.id,DataArea.isVirtual = nullMany LedgerEntryHistory records → zero or one DataArea record
GeneralJournalAccountEntry→GeneralJournalAccountEntryHistoryJoin on
GeneralJournalAccountEntry = GeneralJournalAccountEntryHistory.RecIdMany LedgerEntryHistory records → exactly one GeneralJournalAccountEntryHistory record
ThirdPartyBankAccount→BankAccountTableJoin on
ThirdPartyBankAccount = BankAccountTable.AccountIDMany 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.