Table

RetailAsyncCustomerAffiliation

Retail async customer affiliation

Holds asynchronous operations that create, update or delete a customer's link to an affiliation (loyalty program). Each record is keyed by an operation ID and refers to the retail channel where the operation started. It also stores timing and last error details for the operation.

Table name
RetailAsyncCustomerAffiliation
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 (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
OperationIdUnique ID of the asynchronous operation; the key of this record.String (38)
OperationId
NoRetailAsyncCustomerAffiliationEntity
ChannelReferenceIdIdentifier of this item in the originating channel.String (38)
RetailAsyncAddressId
NoRetailAsyncCustomerAffiliationEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustAccountCustomer account number in the main customer list.String (20)
CustAccount
NoRetailAsyncCustomerAffiliationEntity
CustAccountAsyncAsynchronous customer account ID of the customer.String (38)
RetailAsyncCustAccount
NoRetailAsyncCustomerAffiliationEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionDescription of the affiliation.String (255)
RetailDescriptionEx5
NoRetailAsyncCustomerAffiliationEntity
HideInChannelsShows whether the affiliation is hidden in channels (No or Yes).Enum
RetailHideInChannelsEdt
NoYesCombo (enum)
NoRetailAsyncCustomerAffiliationEntity
LanguageIdLanguage code of the text on this record.String (7)
LanguageIdAll
NoRetailAsyncCustomerAffiliationEntity
LastKnownErrorText of the most recent error recorded when synchronising this record.String (-1)
RetailLastKnownError
NoRetailAsyncCustomerAffiliationEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NameName of the affiliation.String (64)
RetailAffiliationName
NoRetailAsyncCustomerAffiliationEntity
OnlineOperationCompletedYes or no flag. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoRetailAsyncCustomerAffiliationEntity
OperationType of asynchronous operation: none, create, update or delete.Enum
RetailAsyncOperation (enum)
NoRetailAsyncCustomerAffiliationEntity
OperationTimeStampDate and time, in UTC, of the asynchronous operation.UtcDateTime
RetailAsyncOperationTimestamp
NoRetailAsyncCustomerAffiliationEntity
OriginatingChannelPoints to the retail channel where the operation originated.Int64
RefRecId
NoRetailChannelTable.RecIdRetailAsyncCustomerAffiliationEntity
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
ReplicationCounterFromOriginCounter used to track replication of the record from its originating source.Integer
RetailReplicationCounter
NoRetailAsyncCustomerAffiliationEntity
RetailAffiliationIdNumeric reference to the affiliation. The target table is not stated in the metadata.low confidenceInt64
RefRecId
NoRetailAsyncCustomerAffiliationEntity
RetailCustAffiliationNumeric reference to the customer affiliation record. The target table is not stated in the metadata.low confidenceInt64
RefRecId
NoRetailAsyncCustomerAffiliationEntity
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 (3)

Relations (1)

Each relation joins RetailAsyncCustomerAffiliation to another table on the fields shown.

  • RetailChannelTable → RetailChannelTable

    Join on OriginatingChannel = RetailChannelTable.RecId

    Many RetailAsyncCustomerAffiliation records → zero or one RetailChannelTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailAsyncCustomerAffiliation; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk