Table
LedgerEntry
Ledger entry
Holds extra details for ledger entries. Each record links to a general journal account entry. It adds bank account, payment method and exchange rate information, and flags for bridging postings and exchange adjustments.
- Table name
LedgerEntry- 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 (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BankDataAreaIdCompany (legal entity) that owns the bank account.low confidence | StringSelectableDataArea | No | LedgerEntryBiEntity | |
CompanyBankAccountPoints to the company's bank account. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | LedgerEntryBiEntity |
ConsolidatedCompanyCompany (legal entity) ID related to the consolidated accounts.low confidence | StringCompanyId | No | LedgerEntryBiEntity | |
ExchangeRateDateDate of the exchange rate used for the entry. | DateExchangeRateDate | No | None | |
GeneralJournalAccountEntryPoints to the general journal account entry that this record extends. | Int64RefRecId | Yes | GeneralJournalAccountEntry.RecId | LedgerEntryBiEntity |
IsBridgingPostingShows whether the entry is a bridging posting (yes or no). | EnumFurtherPostingTypeNoYes (enum) | No | LedgerEntryBiEntity | |
IsExchangeAdjustmentShows whether the entry is a currency exchange adjustment (yes or no). | EnumIsExchangeAdjustmentNoYes (enum) | No | LedgerEntryBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentModeMethod of payment linked to the entry. | StringPaymMode | No | LedgerEntryBiEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | LedgerEntryBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | LedgerEntryBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ThirdPartyBankAccountPoints to a third-party bank account. | StringBankThirdPartyAccountId | No | BankAccountTable.AccountID | LedgerEntryBiEntity |
Indexes (2)
GeneralAccountEntryIdxGeneralJournalAccountEntry,IsExchangeAdjustmentNot unique.
IsBridgingIdxIsBridgingPosting,Partition,GeneralJournalAccountEntryNot unique.
Relations (5)
Each relation joins LedgerEntry to another table on the fields shown.
CompanyBankAccount→BankAccountTableJoin on
CompanyBankAccount = BankAccountTable.AccountIDMany LedgerEntry records → zero or one BankAccountTable record
DataArea_BankDataAreaId→DataAreaJoin on
BankDataAreaId = DataArea.id,DataArea.isVirtual = nullMany LedgerEntry records → zero or one DataArea record
DataArea_ConsolidatedCompany→DataAreaJoin on
ConsolidatedCompany = DataArea.id,DataArea.isVirtual = nullMany LedgerEntry records → zero or one DataArea record
GeneralJournalAccountEntry→GeneralJournalAccountEntryJoin on
GeneralJournalAccountEntry = GeneralJournalAccountEntry.RecIdMany LedgerEntry records → exactly one GeneralJournalAccountEntry record
ThirdPartyBankAccount→BankAccountTableJoin on
ThirdPartyBankAccount = BankAccountTable.AccountIDMany LedgerEntry records → zero or one BankAccountTable record
Get this data out
Tables are not exposed directly. These public entities read from LedgerEntry; use one of them in Power BI, Power Platform or a data management project.
LedgerEntryBiEntity· 10 fields from this table
Need help with LedgerEntry in a report, an integration or a migration? Talk to Dr Dynamics.