Table

RTSLDimensionRule

Translation dimension rules

Holds translation dimension rules. Each rule maps a range of source dimension values to a target dimension and code. A conversion method decides how the value is changed. Rules belong to a dimension rule group and link to dimension attributes.

Table name
RTSLDimensionRule
Module
General ledger
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DimensionActionConversion method: no changes, company code, a fixed value or customer/vendor.Enum
RTSLDimensionAction (enum)
NoRTSLDimensionRuleEntity
DimensionAttributePoints to the source dimension the rule applies to.Int64
RefRecId
NoDimensionAttribute.RecIdNone
DimensionCriteriaFromStart of the source dimension value range.String (30)
DimensionValue
NoRTSLDimensionRuleEntity
DimensionCriteriaToEnd of the source dimension value range.String (30)
DimensionValue
NoRTSLDimensionRuleEntity
DimensionRuleGroupIdThe dimension rule group that contains this rule.String
RTSLDimensionRuleGroupId
YesRTSLDimensionRuleGroup.DimesionRuleGroupIdNone
LineIdUnique identifier (GUID) of the rule line.GuidNoRTSLDimensionRuleEntity
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
RuleGroupIdThe translation rule group that owns this rule.String
RTSLRuleGroupId
YesRTSLRuleGroup.RuleGroupIdNone
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
ToCompanyIdThe target company of the translation.String
RTSLToCompanyId
YesRTSLDimensionRuleGroup.ToCompanyIdNone
ToDimensionAttributePoints to the target dimension that the value is translated into.Int64
RefRecId
NoDimensionAttribute.RecIdNone
ToDimensionCodeThe dimension code used in the target.String (30)
RTSLToDimensionCode
NoRTSLDimensionRuleEntity

Indexes (3)

Relations (5)

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

  • DataArea → DataArea

    Join on DataArea.isVirtual = null, ToCompanyId = DataArea.id

    Many RTSLDimensionRule records → exactly one DataArea record

  • DimensionAttribute → DimensionAttribute

    Join on DimensionAttribute.Type = DimensionAttributeType::CustomList, DimensionAttribute.Type = DimensionAttributeType::ExistingList, DimensionAttribute = DimensionAttribute.RecId

    Many RTSLDimensionRule records → zero or one DimensionAttribute record

  • DimensionRuleGroup → RTSLDimensionRuleGroup

    Join on ToCompanyId = RTSLDimensionRuleGroup.ToCompanyId, RuleGroupId = RTSLDimensionRuleGroup.RuleGroupId, DimensionRuleGroupId = RTSLDimensionRuleGroup.DimesionRuleGroupId

    Many RTSLDimensionRule records → exactly one RTSLDimensionRuleGroup record

  • RTSLRuleGroup → RTSLRuleGroup

    Join on RuleGroupId = RTSLRuleGroup.RuleGroupId

    Many RTSLDimensionRule records → exactly one RTSLRuleGroup record

  • ToDimensionAttribute → DimensionAttribute

    Join on DimensionAttribute.Type = DimensionAttributeType::CustomList, DimensionAttribute.Type = DimensionAttributeType::ExistingList, ToDimensionAttribute = DimensionAttribute.RecId

    Many RTSLDimensionRule records → zero or one DimensionAttribute record

Get this data out

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

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

Email sales@drdynamics.co.uk