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 descriptionType / EDT / enumMandatoryReferencesIn public entities
LedgerChartOfAccountsPoints to the chart of accounts that the prefix belongs to.Int64
RefRecId
NoLedgerChartOfAccounts.RecIdNone
PrefixSingle first character of the account number.String (1)
AccountPrefix
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LedgerAccountTypeMain account type for accounts starting with this prefix, such as revenue, expense or asset.Enum
DimensionLedgerAccountType (enum)
NoNone
LedgerReportingAccountTypeReporting type for the prefix: none, header, empty header or page header.Enum
DimensionLedgerAccountReportingType (enum)
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • LedgerChartOfAccounts → LedgerChartOfAccounts

    Join on LedgerChartOfAccounts = LedgerChartOfAccounts.RecId

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

Email sales@drdynamics.co.uk