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 descriptionType / EDT / enumMandatoryReferencesIn public entities
OperationIdThe unique ID of the asynchronous operation. It is the key of the table.String (38)
OperationId
NoRetailExternalIdToAsyncCustomerMapV2Entity
CustAccountThe customer account number the external identity is linked to.String (20)
CustAccount
NoRetailExternalIdToAsyncCustomerMapV2Entity
CustAccountAsyncThe asynchronous customer account number the external identity is linked to.String (38)
RetailAsyncCustAccount
NoRetailAsyncCustomer.CustAccountAsyncRetailExternalIdToAsyncCustomerMapV2Entity
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
YesRetailExternalIdToAsyncCustomerMapV2Entity
IsActivatedYes or No flag showing whether the link is activated.Enum
NoYes (enum)
NoRetailExternalIdToAsyncCustomerMapV2Entity
IsAutoLinkedYes or No flag showing whether the link was made automatically.Enum
NoYes (enum)
NoRetailExternalIdToAsyncCustomerMapV2Entity
OnlineOperationCompletedYes or No flag showing whether the online operation has been completed.Enum
NoYes (enum)
NoRetailExternalIdToAsyncCustomerMapV2Entity
OperationThe type of asynchronous operation: None, Create, Update or Delete.Enum
RetailAsyncOperation (enum)
NoRetailExternalIdToAsyncCustomerMapV2Entity
OperationTimeStampThe date and time, in UTC, of the asynchronous operation.UtcDateTime
RetailAsyncOperationTimestamp
NoRetailExternalIdToAsyncCustomerMapV2Entity
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.Int64YesRetailIdentityProvider.RecIdRetailExternalIdToAsyncCustomerMapV2Entity
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
NoRetailExternalIdToAsyncCustomerMapV2Entity
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 (2)

Relations (2)

Each relation joins RetailExternalIdToAsyncCustomerMapV2 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 CustAccountAsync = RetailAsyncCustomer.CustAccountAsync

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

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

Email sales@drdynamics.co.uk