Table

RetailExternalIdToCustomerMap

Customer External Identifier

Links an external identity from an identity provider to a customer account. It also holds flags for whether the link is activated, automatic or unlinked. It links to CustTable and RetailIdentityProvider and has no defined key in the metadata.

Table name
RetailExternalIdToCustomerMap
Module
Commerce customers
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustomerAccountNumberThe customer account that the external identity is linked to.String (20)
CustAccount
YesCustTable.AccountNumRetailExternalIdToCustomerMapEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExternalIdentityIdThe identifier issued by the external identity provider.String (512)
RetailExternalIdentityId
YesRetailExternalIdToCustomerMapEntity
IsActivatedYes or No flag showing whether the link is activated.Enum
NoYesId
NoYes (enum)
NoRetailExternalIdToCustomerMapEntity
IsAutoLinkedYes or No flag showing whether the link was made automatically.Enum
NoYesId
NoYes (enum)
NoRetailExternalIdToCustomerMapEntity
IsUnlinkedYes or No flag showing whether the link has been removed.Enum
NoYesId
NoYes (enum)
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProviderIdPoints to the identity provider record that issued the external identifier.Int64NoRetailIdentityProvider.RecIdRetailExternalIdToCustomerMapEntity
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

Indexes (1)

Relations (2)

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

  • FK_RetailIdentityProvider → RetailIdentityProvider

    Join on ProviderId = RetailIdentityProvider.RecId

    Cardinality not set in the metadata.

  • FK_CustTable → CustTable

    Join on CustomerAccountNumber = CustTable.AccountNum

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk