Table

DimensionRule

Dimension rule

Stores advanced rules for dimensions. A rule has a name, a description, a rule type and an account structure. The key is the rule name, the account structure and the draft flag, so draft and final versions can exist side by side.

Table name
DimensionRule
Module
Financial dimensions
Table group
Group
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
None
Replacement key
NameIdx
Key fields
Name, AccountStructure, IsDraft
Model
Dimensions

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
NameName of the advanced rule.String (60)
Name
YesLedgerAdvancedRuleEntityLedgerAdvancedRuleCriterionEntity
AccountStructurePoints to the dimension set used as the account structure of the rule.Int64
RefRecId
YesDimensionHierarchy.RecIdNone
IsDraftYes/No flag showing whether the rule is still a draft.Enum
NoYes (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DescriptionShort text describing the rule.String (60)
Description
NoLedgerAdvancedRuleEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
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
TypeKind of rule, either General ledger or Budget planning.Enum
DimensionRuleType (enum)
NoLedgerAdvancedRuleEntityLedgerAdvancedRuleCriterionEntity

Indexes (2)

Relations (1)

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

  • AccountStructure → DimensionHierarchy

    Join on AccountStructure = DimensionHierarchy.RecId

    Many DimensionRule records → exactly one DimensionHierarchy record

Get this data out

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

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

Email sales@drdynamics.co.uk