Table
LedgerAccountTypePrefix
Account type prefix
Links the first character of an account number to a main account type and a reporting type. It is set per chart of accounts. The key is the chart of accounts plus the prefix character.
- Table name
LedgerAccountTypePrefix- Module
General ledger- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
PrefixIdx- Replacement key
None- Key fields
LedgerChartOfAccounts, Prefix- Model
Ledger
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LedgerChartOfAccountsPoints to the chart of accounts that the prefix belongs to. | Int64RefRecId | No | LedgerChartOfAccounts.RecId | None |
PrefixSingle first character of the account number. | String (1)AccountPrefix | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LedgerAccountTypeMain account type for accounts starting with this prefix, such as revenue, expense or asset. | EnumDimensionLedgerAccountType (enum) | No | None | |
LedgerReportingAccountTypeReporting type for the prefix: none, header, empty header or page header. | EnumDimensionLedgerAccountReportingType (enum) | No | None | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PrefixIdxPrimary indexUnique, alternate key.
Relations (1)
Each relation joins LedgerAccountTypePrefix to another table on the fields shown.
LedgerChartOfAccounts→LedgerChartOfAccountsJoin on
LedgerChartOfAccounts = LedgerChartOfAccounts.RecIdMany LedgerAccountTypePrefix records → zero or one LedgerChartOfAccounts record
Get this data out
No public entity reads from LedgerAccountTypePrefix. Its data is only reachable through the application, a custom entity or a database export.
Need help with LedgerAccountTypePrefix in a report, an integration or a migration? Talk to Dr Dynamics.