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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CodePosting type that the account is used for, such as exchange rate gain, sales tax or allocation. | EnumLedgerPostingType (enum) | Yes | LedgerAutomaticTransactionAccountEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LedgerDimensionPoints to the ledger account (dimension combination) used for this posting type. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | LedgerAutomaticTransactionAccountEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
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 |
Indexes (2)
CodeIdxPrimary indexUnique, alternate key.
AccountIdxNot unique.
Relations (1)
Each relation joins LedgerSystemAccounts to another table on the fields shown.
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany 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.
LedgerAutomaticTransactionAccountEntity· 2 fields from this table
Need help with LedgerSystemAccounts in a report, an integration or a migration? Talk to Dr Dynamics.