Table

DMFDefinitionGroupExecutionHistory

DMF data project execution

Keeps the history of runs of a processing group for each entity. It holds record counts, staging and target statuses, error counts and start and end times for the target step. Rows link to the processing group, entity and job run.

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

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CompanyThe company (legal entity) the run relates to.String
DataAreaId
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DefinitionGroupThe processing group that was run. It points to DMFDefinitionGroup.String (60)
DMFDefinitionGroupName
YesDMFDefinitionGroup.DefinitionGroupNameNone
EntityThe entity that was processed. It points to DMFEntity.String (300)
DMFEntityName
YesDMFEntity.EntityNameNone
ErrorFileIdThe ID of the stored file that holds the errors.String (200)
SharedServiceUnitFileID
NoNone
ExecutionIdThe ID of the job run. It points to DMFExecution.String (90)
DMFExecutionId
YesDMFExecution.ExecutionIdNone
FilePathThe ID of the stored file or directory for this run.String (200)
SharedServiceUnitFileID
NoNone
FileTypeSays whether the path is a file or a directory.Enum
DMFFileType (enum)
NoNone
NoOfRecordsThe number of records handled in the run.Integer
Integer
NoNone
NoOfThreadsThe number of tasks used to process the run.Integer
Integer
NoNone
NumOfStagingNewThe number of records in staging.Integer
DMFNumOfStagingNew
NoNone
NumOfTargetDeletedThe number of records deleted in the target.Integer
DMFNumberOfTargetDeleted
NoNone
NumOfTargetNewThe number of records created in the target.Integer
DMFNumOfStagingNew
NoNone
NumOfTargetUpdatedThe number of records updated in the target.Integer
DMFNumberOfTargetUpdated
NoNone
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
SequenceA counter that orders the rows.low confidenceInteger
Counter
NoNone
StagingErrorCountThe number of errors in the staging step.IntegerNoNone
StagingStatusThe status of the staging step, such as executing, error or ended.Enum
DMFBatchJobStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TargetErrorCountThe number of errors in the target step.IntegerNoNone
TargetStatusThe status of the target step, such as executing, error or ended.Enum
DMFBatchJobStatus (enum)
NoNone
WriteEndDateTimeThe date and time when the target step ended.UtcDateTime
EndDateTime
NoNone
WriteStartDateTimeThe date and time when the target step started.UtcDateTime
StartDateTime
NoNone

Indexes (1)

Relations (5)

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

  • DMFDefinitionGroup → DMFDefinitionGroup

    Join on DefinitionGroup = DMFDefinitionGroup.DefinitionGroupName

    Many DMFDefinitionGroupExecutionHistory records → exactly one DMFDefinitionGroup record

  • DMFDefinitionGroupEntity_FK → DMFDefinitionGroupEntity

    Join on Entity = DMFDefinitionGroupEntity.Entity, DefinitionGroup = DMFDefinitionGroupEntity.DefinitionGroup

    Exactly one DMFDefinitionGroupExecutionHistory record → exactly one DMFDefinitionGroupEntity record

  • DMFDefinitionGroupExecution → DMFDefinitionGroupExecution

    Join on ExecutionId = DMFDefinitionGroupExecution.ExecutionId, Entity = DMFDefinitionGroupExecution.Entity, DefinitionGroup = DMFDefinitionGroupExecution.DefinitionGroup

    Many DMFDefinitionGroupExecutionHistory records → exactly one DMFDefinitionGroupExecution record

  • DMFExecution_FK → DMFExecution

    Join on ExecutionId = DMFExecution.ExecutionId

    Exactly one DMFDefinitionGroupExecutionHistory record → exactly one DMFExecution record

  • DMFEntity → DMFEntity

    Join on Entity = DMFEntity.EntityName

    Many DMFDefinitionGroupExecutionHistory records → exactly one DMFEntity record

Get this data out

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

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

Email sales@drdynamics.co.uk