Table
DMFTargetEntityHierarchy
Target entity hierarchy
Describes how the data sources of a data entity query are arranged as parent and child levels. Each row is keyed by query name, parent data source and child data source. It also stores the sequence and two switches for running business logic and validations.
- Table name
DMFTargetEntityHierarchy- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
No- Configuration key
DMF- Primary index
RecId- Replacement key
KeyIdx- Key fields
QueryName, ParentDataSource, ChildDataSource- Model
ApplicationFoundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
QueryNameName of the query, which links to the entity record. | StringQueryName | No | None | |
ParentDataSourceName of the parent data source above the child. | StringDataSourceName | No | None | |
ChildDataSourceName of the child data source in the hierarchy. | StringDataSourceName | Yes | None | |
LevelDepth of the data source in the hierarchy. | IntegerInteger | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QuerySequenceNoOrder number for the query. | IntegerInteger | 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 | |
RunInsertLogicShows whether business logic in the insert or update method is run. | EnumNoYesIdNoYes (enum) | No | None | |
RunValidateWriteShows whether business validations are run. | EnumNoYesIdNoYes (enum) | No | None | |
SequenceNoOrder number for this data source row. | IntegerInteger | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
KeyIdxReplacement keyQueryName,ParentDataSource,ChildDataSourceUnique, alternate key.
LevelIdxNot unique.
SequenceIdxUnique.
Relations (1)
Each relation joins DMFTargetEntityHierarchy to another table on the fields shown.
DMFEntity→DMFEntityJoin on
QueryName = DMFEntity.TargetEntityMany DMFTargetEntityHierarchy records → zero or one DMFEntity record
Get this data out
No public entity reads from DMFTargetEntityHierarchy. Its data is only reachable through the application, a custom entity or a database export.
Need help with DMFTargetEntityHierarchy in a report, an integration or a migration? Talk to Dr Dynamics.