Table
RetailExternalIdToAsyncCustomerMap
Maps an external identity, such as one from a sign-in provider, to an asynchronous customer account. Each row is identified by the external identifier and the identity provider. It links to RetailAsyncCustomer and RetailIdentityProvider.
- Table name
RetailExternalIdToAsyncCustomerMap- Module
Commerce customers- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
ExternalId_ProviderId- Replacement key
None- Key fields
ExternalIdentityId, ProviderId- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ExternalIdentityIdThe identifier issued by the external identity provider. | String (512)RetailExternalIdentityId | Yes | RetailExternalIdToAsyncCustomerMapEntity | |
ProviderIdPoints to the identity provider record that issued the external identifier. | Int64 | Yes | RetailIdentityProvider.RecId | RetailExternalIdToAsyncCustomerMapEntity |
AsyncCustomerAccountNumberThe asynchronous customer account that the external identity is mapped to. | String (38)RetailAsyncCustAccount | Yes | RetailAsyncCustomer.CustAccountAsync | RetailExternalIdToAsyncCustomerMapEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
ReplicationCounterFromOriginA counter value used to track replication of the record. | IntegerRetailReplicationCounter | No | RetailExternalIdToAsyncCustomerMapEntity | |
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_ProviderIdPrimary indexExternalIdentityId,ProviderIdUnique.
Relations (2)
Each relation joins RetailExternalIdToAsyncCustomerMap to another table on the fields shown.
FK_RetailIdentityProvider→RetailIdentityProviderJoin on
ProviderId = RetailIdentityProvider.RecIdCardinality not set in the metadata.
FK_RetailAsyncCustomer→RetailAsyncCustomerJoin on
AsyncCustomerAccountNumber = RetailAsyncCustomer.CustAccountAsyncCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from RetailExternalIdToAsyncCustomerMap; use one of them in Power BI, Power Platform or a data management project.
RetailExternalIdToAsyncCustomerMapEntity· 4 fields from this table
Need help with RetailExternalIdToAsyncCustomerMap in a report, an integration or a migration? Talk to Dr Dynamics.