Data entity
RetailAsyncCustomerAffiliationEntity
Holds asynchronous customer affiliation records for retail. Each record is keyed by an operation ID and links a customer account to an affiliation. It also holds channel details such as the retail channel, operating unit, store, call centre, online and direct sales channels.
- Entity name
RetailAsyncCustomerAffiliationEntity- Public entity name
AsyncCustomerAffiliation- OData collection
AsyncCustomerAffiliations- Category
Not set- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OperationId- Staging table
RetailAsyncCustomerAffiliationStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/AsyncCustomerAffiliations- Dataverse virtual table
mserp_retailasynccustomeraffiliationentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RetailAsyncCustomerAffiliation· rootRetailChannelTable· OuterJoin toRetailAsyncCustomerAffiliation· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailStoreTable· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTable
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ChannelReferenceIdIdentifier of this item in the originating channel. | String (38)RetailAsyncAddressId | No | Yes | RetailAsyncCustomerAffiliation.ChannelReferenceId | |
CustAccountCustomer account number in the main customer list. | String (20)CustAccount | No | Yes | RetailAsyncCustomerAffiliation.CustAccount | |
CustAccountAsyncAsynchronous customer account ID of the customer. | String (38)RetailAsyncCustAccount | No | Yes | RetailAsyncCustomerAffiliation.CustAccountAsync | |
DescriptionDescription of the affiliation. | String (255)RetailDescriptionEx5 | No | Yes | RetailAsyncCustomerAffiliation.Description | |
HideInChannelsShows whether the affiliation is hidden in channels (No or Yes). | EnumRetailHideInChannelsEdt
| No | Yes | RetailAsyncCustomerAffiliation.HideInChannels | |
LanguageIdLanguage code of the text on this record. | String (7)LanguageIdAll | No | Yes | RetailAsyncCustomerAffiliation.LanguageId | |
LastKnownErrorText of the most recent error recorded when synchronising this record. | String (-1)RetailLastKnownError | No | Yes | RetailAsyncCustomerAffiliation.LastKnownError | |
NameName of the affiliation. | String (64)RetailAffiliationName | No | Yes | RetailAsyncCustomerAffiliation.Name | |
OnlineOperationCompletedYes or no flag. Purpose not clear from the metadata.low confidence | Enum
| No | Yes | RetailAsyncCustomerAffiliation.OnlineOperationCompleted | |
OperationType of asynchronous operation: none, create, update or delete. | Enum
| No | Yes | RetailAsyncCustomerAffiliation.Operation | |
OperationIdUnique ID of the asynchronous operation; the key of this record. | String (38)OperationId | No | Yes | RetailAsyncCustomerAffiliation.OperationId | |
OperationTimeStampDate and time, in UTC, of the asynchronous operation. | UtcDateTimeRetailAsyncOperationTimestamp | No | Yes | RetailAsyncCustomerAffiliation.OperationTimeStamp | |
OriginatingChannelPoints to the retail channel where the operation originated. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailAsyncCustomerAffiliation.OriginatingChannel |
ReplicationCounterFromOriginCounter used to track replication of the record from its originating source. | IntegerRetailReplicationCounter | No | Yes | RetailAsyncCustomerAffiliation.ReplicationCounterFromOrigin | |
RetailAffiliationIdNumeric reference to the affiliation. The target table is not stated in the metadata.low confidence | Int64RefRecId | No | No (private) | RetailAsyncCustomerAffiliation.RetailAffiliationId | |
RetailCustAffiliationNumeric reference to the customer affiliation record. The target table is not stated in the metadata.low confidence | Int64RefRecId | No | No (private) | RetailAsyncCustomerAffiliation.RetailCustAffiliation | |
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber |
Foreign keys (2)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
OriginatingChannel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailAsyncCustomerAffiliation records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
RetailChannelTable_OMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailAsyncCustomerAffiliationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.