Table

DMFSourceXMLToEntityMap

XML to entity mapping for a data project

Maps fields from an XML source to staging fields of an entity in a data project. The key is the processing group, entity, staging field and source field. It also stores the SQL name, size, type and some Yes/No options for each mapped field.

Table name
DMFSourceXMLToEntityMap
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
DMF
Primary index
RecId
Replacement key
SourceEntityIdx
Key fields
DefinitionGroup, Entity, EntityField, XMLField
Model
ApplicationFoundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DefinitionGroupName of the processing group the mapping belongs to.String (60)
DMFDefinitionGroupName
YesDMFDefinitionGroup.DefinitionGroupNameNone
EntityName of the entity that the mapping is for, within the processing group.String (300)
DMFEntityName
YesDMFDefinitionGroupEntity.EntityDMFDefinitionGroupEntityXMLFields.EntityNone
EntityFieldName of the field in the staging table.String
FieldName
YesNone
XMLFieldName of the field in the XML source that feeds the staging field.String
FieldName
YesDMFDefinitionGroupEntityXMLFields.FieldNameNone
ArrayIndexIndex number used when the field is part of an array.Integer
Counter
NoNone
EntityFieldSQLName of the staging field as used in SQL.String
FieldName
NoNone
FieldSizeSize of the field.Integer
Integer
NoNone
FieldTypeData type of the field, stored as text.String (11)
DMFFieldType
NoNone
IsAutoDefaultYes/No flag for whether the field gets an automatic default value.Enum
NoYesId
NoYes (enum)
NoNone
IsAutoGeneratedYes/No flag for whether the field value is generated automatically.Enum
NoYesId
NoYes (enum)
NoNone
IsDefaultValueEqualNullYes/No option to ignore blank values.Enum
NoYesId
NoYes (enum)
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TextQualifierYes/No flag for whether a text qualifier is used for the field.Enum
NoYesId
NoYes (enum)
NoNone
UseEnumLabelYes/No option to use the enum label instead of the stored value.Enum
NoYesId
NoYes (enum)
NoNone

Indexes (2)

Relations (3)

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

  • DMFDefinitionGroup → DMFDefinitionGroup

    Join on DefinitionGroup = DMFDefinitionGroup.DefinitionGroupName

    Many DMFSourceXMLToEntityMap records → exactly one DMFDefinitionGroup record

  • DMFDefinitionGroupEntity → DMFDefinitionGroupEntity

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

    Many DMFSourceXMLToEntityMap records → exactly one DMFDefinitionGroupEntity record

  • DMFDefinitionGroupEntityXMLFields → DMFDefinitionGroupEntityXMLFields

    Join on IsAutoDefault = null, IsAutoGenerated = null, Entity = DMFDefinitionGroupEntityXMLFields.Entity, DefinitionGroup = DMFDefinitionGroupEntityXMLFields.DefinitionGroup, XMLField = DMFDefinitionGroupEntityXMLFields.FieldName

    Many DMFSourceXMLToEntityMap records → exactly one DMFDefinitionGroupEntityXMLFields record

Get this data out

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

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

Email sales@drdynamics.co.uk