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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChildDataSourceChild data source in the hierarchy that this relation belongs to. | StringDataSourceName | Yes | None | |
FieldNameName of the field used in the join. | StringFieldName | No | None | |
JoinDataSourceName of the data source that the child is joined to. | StringDataSourceName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QueryNameName of the query, which links to the entity record. | StringQueryName | 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 | |
RelatedFieldNameName of the field in the joined data source that matches the field. | StringFieldName | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
KeyIdxNot unique.
Relations (2)
Each relation joins DMFTargetEntityHierarchyRelation to another table on the fields shown.
DMFEntity→DMFEntityJoin on
QueryName = DMFEntity.TargetEntityMany DMFTargetEntityHierarchyRelation records → zero or one DMFEntity record
DMFTargetEntityHierarchy→DMFTargetEntityHierarchyJoin on
QueryName = DMFTargetEntityHierarchy.QueryName,ChildDataSource = DMFTargetEntityHierarchy.ChildDataSourceMany 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.