Table

ERDataModelTable

Data model

Holds data models, each with a name, description and GUID. It stores the model as XML, with delta and conflict XML. It links to a configuration, a root record definition and model versions (the base and the previous base).

Table name
ERDataModelTable
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
ElectronicReporting

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BasePoints to the data model version that is the base revision.Int64
RefRecId
NoERDataModelVersionTable.RecIdNone
ChangeMarkerGUID used to mark changes to the model.low confidenceGuid
ERGUID
NoNone
ConflictsXMLXML text that holds conflicts found in the model.String (-1)
ERConflictsXML
NoNone
DeltaXMLXML text that holds the changes compared with the base.String (-1)
ERDeltaXML
NoNone
DescriptionLonger text that explains the data model.String (-1)
ERDescription
NoNone
GUIDGlobally unique identifier of the data model.Guid
ERGUID
NoNone
NameName of the data model.String (60)
Name
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriorBasePoints to the data model version that was the base before.Int64
RefRecId
NoERDataModelVersionTable.RecIdNone
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
RootPoints to the root record definition of the model.Int64
RefRecId
NoERDataContainerDescriptorTable.RecIdNone
SolutionPoints to the configuration that the model belongs to.Int64
ERSolutionID
NoERSolutionTable.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
XMLThe model content stored as an XML document.String (-1)
XML
NoNone

Indexes (2)

Relations (5)

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

  • Base → ERDataModelVersionTable

    Join on Base = ERDataModelVersionTable.RecId

    Many ERDataModelTable records → zero or one ERDataModelVersionTable record

  • Root → ERDataContainerDescriptorTable

    Join on Root = ERDataContainerDescriptorTable.RecId, RecId = ERDataContainerDescriptorTable.Model

    Zero or one ERDataModelTable record → zero or one ERDataContainerDescriptorTable record

  • RootFK → ERDataContainerDescriptorTable

    Join on Root = ERDataContainerDescriptorTable.RecId

    Exactly one ERDataModelTable record → zero or one ERDataContainerDescriptorTable record

  • Solution → ERSolutionTable

    Join on Solution = ERSolutionTable.RecId

    Many ERDataModelTable records → zero or one ERSolutionTable record

  • PriorBase → ERDataModelVersionTable

    Join on PriorBase = ERDataModelVersionTable.RecId

    Many ERDataModelTable records → zero or one ERDataModelVersionTable record

Get this data out

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

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

Email sales@drdynamics.co.uk