Table
DimensionRelationshipConstraint
Select relationships
Defines relationship constraints between two dimension set levels. Each row links a left and a right level, with a reference attribute on each side. The constraint is based on either a relationship type or a hierarchy, and it has a colour value.
- Table name
DimensionRelationshipConstraint- Module
Financial dimensions- Table group
Group- Table type
Regular- Data per company
No- Configuration key
LedgerBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Dimensions
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BackingEntityTypeNumeric ID of the table that backs the entity. | IntegerRefTableId | No | None | |
ColorColour value used for the constraint. | IntegerDimensionRelationshipConstraintColor | No | None | |
DirRelationshipTypeTableID of the relationship type used by the constraint. | String (20)DirRelationshipTypeId | No | DirRelationshipTypeTable.RelationshipTypeId | None |
LeftDimensionHierarchyLevelPoints to the dimension set level on the left side. | Int64RefRecId | No | DimensionHierarchyLevel.RecId | None |
LeftReferenceAttributeNumeric ID of the field used as the left reference attribute. | IntegerRefFieldId | No | None | |
OMHierarchyTypePoints to the hierarchy used by the constraint. | Int64RefRecId | No | OMHierarchyType.RecId | 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 | |
RelationshipConstraintTypeTells whether the constraint uses relationship types or a hierarchy. | EnumDimensionRelationshipConstraintType (enum) | No | None | |
RightDimensionHierarchyLevelPoints to the dimension set level on the right side. | Int64RefRecId | No | DimensionHierarchyLevel.RecId | None |
RightReferenceAttributeNumeric ID of the field used as the right reference attribute. | IntegerRefFieldId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (5)
DimensionHierarchyLevelIdxNot unique.
DimensionHierarchyLevelIdx1Not unique.
DirRelationshipTypeTableIdxNot unique.
OMHierarchyTypeIdxNot unique.
AlternateKeyIdxLeftDimensionHierarchyLevel,RightDimensionHierarchyLevel,RelationshipConstraintType,OMHierarchyType,DirRelationshipTypeTableUnique, alternate key.
Relations (4)
Each relation joins DimensionRelationshipConstraint to another table on the fields shown.
DirRelationshipTypeTable→DirRelationshipTypeTableJoin on
DirRelationshipTypeTable = DirRelationshipTypeTable.RelationshipTypeIdMany DimensionRelationshipConstraint records → zero or one DirRelationshipTypeTable record
LeftDimensionHierarchyLevel→DimensionHierarchyLevelJoin on
LeftDimensionHierarchyLevel = DimensionHierarchyLevel.RecIdMany DimensionRelationshipConstraint records → zero or one DimensionHierarchyLevel record
OMHierarchyType→OMHierarchyTypeJoin on
OMHierarchyType = OMHierarchyType.RecIdMany DimensionRelationshipConstraint records → zero or one OMHierarchyType record
RightDimensionHierarchyLevel→DimensionHierarchyLevelJoin on
RightDimensionHierarchyLevel = DimensionHierarchyLevel.RecIdMany DimensionRelationshipConstraint records → zero or one DimensionHierarchyLevel record
Get this data out
No public entity reads from DimensionRelationshipConstraint. Its data is only reachable through the application, a custom entity or a database export.
Need help with DimensionRelationshipConstraint in a report, an integration or a migration? Talk to Dr Dynamics.