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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ExternalIdentityIdThe identifier issued by the external identity provider.String (512)
RetailExternalIdentityId
YesRetailExternalIdToAsyncCustomerMapEntity
ProviderIdPoints to the identity provider record that issued the external identifier.Int64YesRetailIdentityProvider.RecIdRetailExternalIdToAsyncCustomerMapEntity
AsyncCustomerAccountNumberThe asynchronous customer account that the external identity is mapped to.String (38)
RetailAsyncCustAccount
YesRetailAsyncCustomer.CustAccountAsyncRetailExternalIdToAsyncCustomerMapEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
ReplicationCounterFromOriginA counter value used to track replication of the record.Integer
RetailReplicationCounter
NoRetailExternalIdToAsyncCustomerMapEntity
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 RetailExternalIdToAsyncCustomerMap to another table on the fields shown.

  • FK_RetailIdentityProvider → RetailIdentityProvider

    Join on ProviderId = RetailIdentityProvider.RecId

    Cardinality not set in the metadata.

  • FK_RetailAsyncCustomer → RetailAsyncCustomer

    Join on AsyncCustomerAccountNumber = RetailAsyncCustomer.CustAccountAsync

    Cardinality 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.

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

Email sales@drdynamics.co.uk