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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BankDataAreaIdCompany (legal entity) that owns the bank account.low confidenceString
SelectableDataArea
NoLedgerEntryBiEntity
CompanyBankAccountPoints to the company's bank account.String
CompanyBankAccountId
NoBankAccountTable.AccountIDLedgerEntryBiEntity
ConsolidatedCompanyCompany (legal entity) ID related to the consolidated accounts.low confidenceString
CompanyId
NoLedgerEntryBiEntity
ExchangeRateDateDate of the exchange rate used for the entry.Date
ExchangeRateDate
NoNone
GeneralJournalAccountEntryPoints to the general journal account entry that this record extends.Int64
RefRecId
YesGeneralJournalAccountEntry.RecIdLedgerEntryBiEntity
IsBridgingPostingShows whether the entry is a bridging posting (yes or no).Enum
FurtherPostingType
NoYes (enum)
NoLedgerEntryBiEntity
IsExchangeAdjustmentShows whether the entry is a currency exchange adjustment (yes or no).Enum
IsExchangeAdjustment
NoYes (enum)
NoLedgerEntryBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentModeMethod of payment linked to the entry.String
PaymMode
NoLedgerEntryBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoLedgerEntryBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoLedgerEntryBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ThirdPartyBankAccountPoints to a third-party bank account.String
BankThirdPartyAccountId
NoBankAccountTable.AccountIDLedgerEntryBiEntity

Indexes (2)

Relations (5)

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

  • CompanyBankAccount → BankAccountTable

    Join on CompanyBankAccount = BankAccountTable.AccountID

    Many LedgerEntry records → zero or one BankAccountTable record

  • DataArea_BankDataAreaId → DataArea

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

    Many LedgerEntry records → zero or one DataArea record

  • DataArea_ConsolidatedCompany → DataArea

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

    Many LedgerEntry records → zero or one DataArea record

  • GeneralJournalAccountEntry → GeneralJournalAccountEntry

    Join on GeneralJournalAccountEntry = GeneralJournalAccountEntry.RecId

    Many LedgerEntry records → exactly one GeneralJournalAccountEntry record

  • ThirdPartyBankAccount → BankAccountTable

    Join on ThirdPartyBankAccount = BankAccountTable.AccountID

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

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

Email sales@drdynamics.co.uk