Table

ERFormatMappingTable

Format mapping

Stores format mappings for electronic reporting. Each mapping has a name and belongs to a configuration, which together make up its key. It links to a text format, a base version, public object references and the earlier base version. Several other entities, such as payment methods and tax parameters, use it.

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

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
NameName of the format mapping.String (60)
Name
NoCustomerPaymentMethodEntityFiscalDocumentTypeEntityIntrastatForeignTradeParameterEntityand 6 more
SolutionPoints to the configuration that the mapping belongs to.Int64
ERSolutionID
NoERSolutionTable.RecIdNone
BasePoints to the format mapping version used as the base.Int64
RefRecId
NoERFormatMappingVersionTable.RecIdNone
ConflictsXMLXML text that records conflicts.String (-1)
ERConflictsXML
NoNone
DeltaXMLXML text that records the changes (delta).String (-1)
ERDeltaXML
NoNone
DescriptionShort text that describes the mapping.String (60)
Description
NoNone
FormatPoints to the text format that this mapping is bound to.Int64
RefRecId
YesERTextFormatTable.RecIdNone
GUIDGlobally unique ID of the mapping.Guid
ERGUID
NoNone
IsDefaultYes/no flag that marks the mapping as the default.Enum
ERIsDefaultMapping
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriorBasePoints to the earlier base version of the mapping.Int64
RefRecId
NoERFormatMappingVersionTable.RecIdNone
PublicObjectReferencesPoints to the set of public object references for the mapping.Int64
RefRecId
NoERPublicObjectReferenceSet.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
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 mapping stored as an XML document.String (-1)
XML
NoNone

Indexes (2)

  • GuidIdx

    GUID

    Unique, alternate key.

  • NameSolutionIdxReplacement key

    Name, Solution

    Unique, alternate key.

Relations (5)

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

  • Base → ERFormatMappingVersionTable

    Join on Base = ERFormatMappingVersionTable.RecId

    Many ERFormatMappingTable records → zero or one ERFormatMappingVersionTable record

  • Format → ERTextFormatTable

    Join on Format = ERTextFormatTable.RecId

    Many ERFormatMappingTable records → exactly one ERTextFormatTable record

  • Solution → ERSolutionTable

    Join on Solution = ERSolutionTable.RecId

    Many ERFormatMappingTable records → zero or one ERSolutionTable record

  • PriorBase → ERFormatMappingVersionTable

    Join on PriorBase = ERFormatMappingVersionTable.RecId

    Many ERFormatMappingTable records → zero or one ERFormatMappingVersionTable record

  • PublicObjectReferences → ERPublicObjectReferenceSet

    Join on PublicObjectReferences = ERPublicObjectReferenceSet.RecId

    Exactly one ERFormatMappingTable record → zero or one ERPublicObjectReferenceSet record

Get this data out

Tables are not exposed directly. These public entities read from ERFormatMappingTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk