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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustomerAccountNumberThe customer account that the external identity is linked to. | String (20)CustAccount | Yes | CustTable.AccountNum | RetailExternalIdToCustomerMapEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExternalIdentityIdThe identifier issued by the external identity provider. | String (512)RetailExternalIdentityId | Yes | RetailExternalIdToCustomerMapEntity | |
IsActivatedYes or No flag showing whether the link is activated. | EnumNoYesIdNoYes (enum) | No | RetailExternalIdToCustomerMapEntity | |
IsAutoLinkedYes or No flag showing whether the link was made automatically. | EnumNoYesIdNoYes (enum) | No | RetailExternalIdToCustomerMapEntity | |
IsUnlinkedYes or No flag showing whether the link has been removed. | EnumNoYesIdNoYes (enum) | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProviderIdPoints to the identity provider record that issued the external identifier. | Int64 | No | RetailIdentityProvider.RecId | RetailExternalIdToCustomerMapEntity |
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 |
Indexes (1)
ExternalId_ProviderIdExternalIdentityId,ProviderId,CustomerAccountNumberUnique, alternate key.
Relations (2)
Each relation joins RetailExternalIdToCustomerMap to another table on the fields shown.
FK_RetailIdentityProvider→RetailIdentityProviderJoin on
ProviderId = RetailIdentityProvider.RecIdCardinality not set in the metadata.
FK_CustTable→CustTableJoin on
CustomerAccountNumber = CustTable.AccountNumCardinality 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.
RetailExternalIdToCustomerMapEntity· 5 fields from this table
Need help with RetailExternalIdToCustomerMap in a report, an integration or a migration? Talk to Dr Dynamics.