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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BackingEntityTypeNumeric ID of the table that backs the entity.Integer
RefTableId
NoNone
ColorColour value used for the constraint.Integer
DimensionRelationshipConstraintColor
NoNone
DirRelationshipTypeTableID of the relationship type used by the constraint.String (20)
DirRelationshipTypeId
NoDirRelationshipTypeTable.RelationshipTypeIdNone
LeftDimensionHierarchyLevelPoints to the dimension set level on the left side.Int64
RefRecId
NoDimensionHierarchyLevel.RecIdNone
LeftReferenceAttributeNumeric ID of the field used as the left reference attribute.Integer
RefFieldId
NoNone
OMHierarchyTypePoints to the hierarchy used by the constraint.Int64
RefRecId
NoOMHierarchyType.RecIdNone
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
RelationshipConstraintTypeTells whether the constraint uses relationship types or a hierarchy.Enum
DimensionRelationshipConstraintType (enum)
NoNone
RightDimensionHierarchyLevelPoints to the dimension set level on the right side.Int64
RefRecId
NoDimensionHierarchyLevel.RecIdNone
RightReferenceAttributeNumeric ID of the field used as the right reference attribute.Integer
RefFieldId
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

Indexes (5)

Relations (4)

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

  • DirRelationshipTypeTable → DirRelationshipTypeTable

    Join on DirRelationshipTypeTable = DirRelationshipTypeTable.RelationshipTypeId

    Many DimensionRelationshipConstraint records → zero or one DirRelationshipTypeTable record

  • LeftDimensionHierarchyLevel → DimensionHierarchyLevel

    Join on LeftDimensionHierarchyLevel = DimensionHierarchyLevel.RecId

    Many DimensionRelationshipConstraint records → zero or one DimensionHierarchyLevel record

  • OMHierarchyType → OMHierarchyType

    Join on OMHierarchyType = OMHierarchyType.RecId

    Many DimensionRelationshipConstraint records → zero or one OMHierarchyType record

  • RightDimensionHierarchyLevel → DimensionHierarchyLevel

    Join on RightDimensionHierarchyLevel = DimensionHierarchyLevel.RecId

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

Email sales@drdynamics.co.uk