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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
OperationIdUnique ID of the asynchronous operation; the key of this record. | String (38)OperationId | No | RetailAsyncCustomerAffiliationEntity | |
ChannelReferenceIdIdentifier of this item in the originating channel. | String (38)RetailAsyncAddressId | No | RetailAsyncCustomerAffiliationEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustAccountCustomer account number in the main customer list. | String (20)CustAccount | No | RetailAsyncCustomerAffiliationEntity | |
CustAccountAsyncAsynchronous customer account ID of the customer. | String (38)RetailAsyncCustAccount | No | RetailAsyncCustomerAffiliationEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionDescription of the affiliation. | String (255)RetailDescriptionEx5 | No | RetailAsyncCustomerAffiliationEntity | |
HideInChannelsShows whether the affiliation is hidden in channels (No or Yes). | EnumRetailHideInChannelsEdtNoYesCombo (enum) | No | RetailAsyncCustomerAffiliationEntity | |
LanguageIdLanguage code of the text on this record. | String (7)LanguageIdAll | No | RetailAsyncCustomerAffiliationEntity | |
LastKnownErrorText of the most recent error recorded when synchronising this record. | String (-1)RetailLastKnownError | No | RetailAsyncCustomerAffiliationEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameName of the affiliation. | String (64)RetailAffiliationName | No | RetailAsyncCustomerAffiliationEntity | |
OnlineOperationCompletedYes or no flag. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | RetailAsyncCustomerAffiliationEntity | |
OperationType of asynchronous operation: none, create, update or delete. | EnumRetailAsyncOperation (enum) | No | RetailAsyncCustomerAffiliationEntity | |
OperationTimeStampDate and time, in UTC, of the asynchronous operation. | UtcDateTimeRetailAsyncOperationTimestamp | No | RetailAsyncCustomerAffiliationEntity | |
OriginatingChannelPoints to the retail channel where the operation originated. | Int64RefRecId | No | RetailChannelTable.RecId | RetailAsyncCustomerAffiliationEntity |
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 | |
ReplicationCounterFromOriginCounter used to track replication of the record from its originating source. | IntegerRetailReplicationCounter | No | RetailAsyncCustomerAffiliationEntity | |
RetailAffiliationIdNumeric reference to the affiliation. The target table is not stated in the metadata.low confidence | Int64RefRecId | No | RetailAsyncCustomerAffiliationEntity | |
RetailCustAffiliationNumeric reference to the customer affiliation record. The target table is not stated in the metadata.low confidence | Int64RefRecId | No | RetailAsyncCustomerAffiliationEntity | |
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 (3)
CustAccountAsyncIdxCustAccountAsync,ReplicationCounterFromOrigin,OnlineOperationCompletedNot unique.
CustAccountIdxCustAccount,ReplicationCounterFromOrigin,OnlineOperationCompletedNot unique.
NaturalAltKeyPrimary indexReplacement keyUnique, alternate key.
Relations (1)
Each relation joins RetailAsyncCustomerAffiliation to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
OriginatingChannel = RetailChannelTable.RecIdMany 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.
RetailAsyncCustomerAffiliationEntity· 16 fields from this table
Need help with RetailAsyncCustomerAffiliation in a report, an integration or a migration? Talk to Dr Dynamics.