Table

MainAccountCategory

Main account categories

Lists main account categories, identified by a reference ID. Each category has a name, a description, an account type such as asset, liability or revenue, a display order and a closed flag.

Table name
MainAccountCategory
Module
General ledger
Table group
Main
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
None
Replacement key
AcctCategoryRefIdx
Key fields
AccountCategoryRef
Model
Ledger

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountCategoryRefNumeric ID of the category. It is the key of the table.Integer
AccountCategoryRef
YesMainAccountCategoryEntityMainAccountCategoryBiEntityMainAccountCategoryCDREntityand 1 more
AccountCategoryName of the main account category.String (20)
AccountCategory
YesMainAccountCategoryEntityMainAccountCategoryBiEntityMainAccountCategoryCDREntityand 1 more
AccountCategoryDisplayOrderNumber that sets the order in which categories are listed.Integer
AccountCategoryDisplayOrder
NoMainAccountCategoryEntityMainAccountCategoryBiEntityMainAccountCategoryCDREntity
AccountTypeType of account for the category, such as profit and loss, balance sheet, asset or equity.Enum
DimensionLedgerAccCategoryAccountType (enum)
NoMainAccountCategoryEntityMainAccountCategoryBiEntityMainAccountCategoryCDREntity
ClosedYes/No flag showing whether the category is closed.Enum
NoYes (enum)
NoMainAccountCategoryEntityMainAccountCategoryBiEntityMainAccountCategoryCDREntity
DescriptionShort description of the category.String (60)
Description
NoMainAccountCategoryEntityMainAccountCategoryBiEntityMainAccountCategoryCDREntityand 2 more
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
NoMainAccountCategoryBiEntityMainAccountCategoryCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoMainAccountCategoryBiEntity
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)

Get this data out

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

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

Email sales@drdynamics.co.uk