Table

LedgerSystemAccounts

Accounts for automatic transactions

Holds the accounts used for automatic ledger transactions. There is one record per posting type, such as exchange rate gain or loss, sales tax or intercompany accounting, and each points to a ledger account.

Table name
LedgerSystemAccounts
Module
General ledger
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
CodeIdx
Replacement key
None
Key fields
Code
Model
Ledger

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CodePosting type that the account is used for, such as exchange rate gain, sales tax or allocation.Enum
LedgerPostingType (enum)
YesLedgerAutomaticTransactionAccountEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LedgerDimensionPoints to the ledger account (dimension combination) used for this posting type.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdLedgerAutomaticTransactionAccountEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
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

Indexes (2)

Relations (1)

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

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many LedgerSystemAccounts records → zero or one DimensionAttributeValueCombination record

Get this data out

Tables are not exposed directly. These public entities read from LedgerSystemAccounts; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk