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 descriptionType / EDT / enumMandatoryReferencesIn public entities
QueryNameName of the query, which links to the entity record.String
QueryName
NoNone
ParentDataSourceName of the parent data source above the child.String
DataSourceName
NoNone
ChildDataSourceName of the child data source in the hierarchy.String
DataSourceName
YesNone
LevelDepth of the data source in the hierarchy.Integer
Integer
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QuerySequenceNoOrder number for the query.Integer
Integer
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
RunInsertLogicShows whether business logic in the insert or update method is run.Enum
NoYesId
NoYes (enum)
NoNone
RunValidateWriteShows whether business validations are run.Enum
NoYesId
NoYes (enum)
NoNone
SequenceNoOrder number for this data source row.Integer
Integer
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (1)

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

  • DMFEntity → DMFEntity

    Join on QueryName = DMFEntity.TargetEntity

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

Email sales@drdynamics.co.uk