Table
RetailExternalIdToAsyncCustomerMapV2
RetailExternalIdToAsyncCustomerMapV2
Second version of the mapping between external identities and asynchronous customer accounts. Each row is identified by an operation ID. It also records the type of operation, its timestamp and whether the link was activated or created automatically.
- Table name
RetailExternalIdToAsyncCustomerMapV2- Module
Commerce customers- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
NaturalAltKey- Replacement key
NaturalAltKey- Key fields
OperationId- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
OperationIdThe unique ID of the asynchronous operation. It is the key of the table. | String (38)OperationId | No | RetailExternalIdToAsyncCustomerMapV2Entity | |
CustAccountThe customer account number the external identity is linked to. | String (20)CustAccount | No | RetailExternalIdToAsyncCustomerMapV2Entity | |
CustAccountAsyncThe asynchronous customer account number the external identity is linked to. | String (38)RetailAsyncCustAccount | No | RetailAsyncCustomer.CustAccountAsync | RetailExternalIdToAsyncCustomerMapV2Entity |
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 | RetailExternalIdToAsyncCustomerMapV2Entity | |
IsActivatedYes or No flag showing whether the link is activated. | EnumNoYes (enum) | No | RetailExternalIdToAsyncCustomerMapV2Entity | |
IsAutoLinkedYes or No flag showing whether the link was made automatically. | EnumNoYes (enum) | No | RetailExternalIdToAsyncCustomerMapV2Entity | |
OnlineOperationCompletedYes or No flag showing whether the online operation has been completed. | EnumNoYes (enum) | No | RetailExternalIdToAsyncCustomerMapV2Entity | |
OperationThe type of asynchronous operation: None, Create, Update or Delete. | EnumRetailAsyncOperation (enum) | No | RetailExternalIdToAsyncCustomerMapV2Entity | |
OperationTimeStampThe date and time, in UTC, of the asynchronous operation. | UtcDateTimeRetailAsyncOperationTimestamp | No | RetailExternalIdToAsyncCustomerMapV2Entity | |
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 | Yes | RetailIdentityProvider.RecId | RetailExternalIdToAsyncCustomerMapV2Entity |
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 | RetailExternalIdToAsyncCustomerMapV2Entity | |
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 (2)
NaturalAltKeyPrimary indexReplacement keyUnique, alternate key.
OperationIdxCustAccountAsync,OnlineOperationCompleted,Operation,OperationTimeStampNot unique.
Relations (2)
Each relation joins RetailExternalIdToAsyncCustomerMapV2 to another table on the fields shown.
FK_RetailIdentityProvider→RetailIdentityProviderJoin on
ProviderId = RetailIdentityProvider.RecIdCardinality not set in the metadata.
FK_RetailAsyncCustomer→RetailAsyncCustomerJoin on
CustAccountAsync = RetailAsyncCustomer.CustAccountAsyncCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from RetailExternalIdToAsyncCustomerMapV2; use one of them in Power BI, Power Platform or a data management project.
RetailExternalIdToAsyncCustomerMapV2Entity· 11 fields from this table
Need help with RetailExternalIdToAsyncCustomerMapV2 in a report, an integration or a migration? Talk to Dr Dynamics.