Data entity
RetailCustomerAffiliationEntity
Shows which affiliations are assigned to each customer. Each row pairs a customer account with an affiliation name. It joins to the customer and loyalty program tables.
- Entity name
RetailCustomerAffiliationEntity- Public entity name
CustomerAffiliation- OData collection
CustomerAffiliations- Category
Not set- Module
Commerce customers- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
CustomerAccount, RetailAffiliationName- Staging table
RetailCustomerAffiliationStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CustomerAffiliations- Dataverse virtual table
mserp_retailcustomeraffiliationentity. 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
RetailCustAffiliation· rootRetailAffiliation· InnerJoin toRetailCustAffiliation· read-onlyCustTable· OuterJoin toRetailCustAffiliation· read-only
Fields (3)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CustomerAccountUnique customer account number. It identifies the customer record and is the table key. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | |
ReferencePoints to the loyalty program (affiliation) that the customer is linked to. | Int64RefRecId | Yes | No (private) | RetailAffiliation.RecId | RetailCustAffiliation.RetailAffiliationId |
RetailAffiliationNameName of the affiliation or loyalty program. It is the key. | String (64)RetailAffiliationName | Yes | Yes | RetailAffiliation.Name |
Foreign keys (1)
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.
Reference→RetailAffiliation.RecId(key of RetailAffiliation)Many RetailCustAffiliation records → exactly one RetailAffiliation record
RetailAffiliation details: see RetailLoyaltyCardTierEntity, RetailLoyaltyCardTierV2Entity, RetailAffiliationEntity
Need help with RetailCustomerAffiliationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.