Table
ERModelMappingTable
Model mapping
Stores model mappings for electronic reporting. Each mapping has a name and belongs to a configuration, which together make up its key. It links to a data model, a base version and a record definition. It has a direction, either to the model or to the destination.
- Table name
ERModelMappingTable- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
NameSolutionldx- Key fields
Name, Solution- Model
ElectronicReporting
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NameName of the model mapping. | String (60)Name | No | BrazilianElectronicReportingParametersEntityVendVendorParametersEntity | |
SolutionPoints to the configuration that the mapping belongs to. | Int64ERSolutionID | No | ERSolutionTable.RecId | None |
BasePoints to the model mapping version used as the base. | Int64RefRecId | No | ERModelMappingVersionTable.RecId | None |
ConflictsXMLXML text that records conflicts. | String (-1)ERConflictsXML | No | None | |
DataContainerDescriptorPoints to the record definition used by the mapping. | Int64ERDataContainerDescriptorTableID | No | ERDataContainerDescriptorTable.RecId | None |
DataModelPoints to the data model that this mapping uses. | Int64RefRecId | Yes | ERDataModelTable.RecId | None |
DeltaXMLXML text that records the changes (delta). | String (-1)ERDeltaXML | No | None | |
DescriptionShort text that describes the mapping. | String (60)Description | No | None | |
DirectionShows whether the mapping goes to the model or to the destination. | EnumERModelMappingDirection (enum) | No | None | |
GUIDGlobally unique ID of the mapping. | GuidERGUID | No | None | |
IsDefaultYes/no flag. Its label says Deleted object, but the type suggests a default flag, so the meaning is unclear.low confidence | EnumERIsDefaultMappingNoYes (enum) | No | None | |
IsDeletedYes/no flag that marks the mapping as deleted. | EnumERIsDeletedNoYes (enum) | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriorBasePoints to the earlier base version of the mapping. | Int64RefRecId | No | ERModelMappingVersionTable.RecId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
XMLThe mapping stored as an XML document. | String (-1)XML | No | None |
Indexes (2)
Relations (6)
Each relation joins ERModelMappingTable to another table on the fields shown.
Base→ERModelMappingVersionTableJoin on
Base = ERModelMappingVersionTable.RecIdMany ERModelMappingTable records → zero or one ERModelMappingVersionTable record
dataModel→ERDataModelTableJoin on
DataModel = ERDataModelTable.RecIdMany ERModelMappingTable records → exactly one ERDataModelTable record
Solution→ERSolutionTableJoin on
Solution = ERSolutionTable.RecIdMany ERModelMappingTable records → zero or one ERSolutionTable record
DataContainerDescriptor→ERDataContainerDescriptorTableJoin on
DataContainerDescriptor = ERDataContainerDescriptorTable.RecIdMany ERModelMappingTable records → zero or one ERDataContainerDescriptorTable record
DataContainerDescriptorWithModelLimitation→ERDataContainerDescriptorTableJoin on
DataContainerDescriptor = ERDataContainerDescriptorTable.RecID,DataModel = ERDataContainerDescriptorTable.ModelMany ERModelMappingTable records → zero or one ERDataContainerDescriptorTable record
PriorBase→ERModelMappingVersionTableJoin on
PriorBase = ERModelMappingVersionTable.RecIdMany ERModelMappingTable records → zero or one ERModelMappingVersionTable record
Get this data out
Tables are not exposed directly. These public entities read from ERModelMappingTable; use one of them in Power BI, Power Platform or a data management project.
BrazilianElectronicReportingParametersEntity· 1 field from this tableVendVendorParametersEntity· 1 field from this table
Need help with ERModelMappingTable in a report, an integration or a migration? Talk to Dr Dynamics.