Table

DMFTargetEntityHierarchyRelation

Target entity hierarchy

Stores the field links that join a child data source to another data source in a target entity hierarchy. Each row pairs a field with a related field. It links to the entity and to the hierarchy record.

Table name
DMFTargetEntityHierarchyRelation
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
No
Configuration key
DMF
Primary index
RecId
Replacement key
None
Key fields
None
Model
ApplicationFoundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChildDataSourceChild data source in the hierarchy that this relation belongs to.String
DataSourceName
YesNone
FieldNameName of the field used in the join.String
FieldName
NoNone
JoinDataSourceName of the data source that the child is joined to.String
DataSourceName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QueryNameName of the query, which links to the entity record.String
QueryName
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
RelatedFieldNameName of the field in the joined data source that matches the field.String
FieldName
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • DMFEntity → DMFEntity

    Join on QueryName = DMFEntity.TargetEntity

    Many DMFTargetEntityHierarchyRelation records → zero or one DMFEntity record

  • DMFTargetEntityHierarchy → DMFTargetEntityHierarchy

    Join on QueryName = DMFTargetEntityHierarchy.QueryName, ChildDataSource = DMFTargetEntityHierarchy.ChildDataSource

    Many DMFTargetEntityHierarchyRelation records → zero or one DMFTargetEntityHierarchy record

Get this data out

No public entity reads from DMFTargetEntityHierarchyRelation. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk