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 · root
  • RetailAffiliation · InnerJoin to RetailCustAffiliation · read-only
  • CustTable · OuterJoin to RetailCustAffiliation · read-only

Fields (3)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CustomerAccountUnique customer account number. It identifies the customer record and is the table key.String (20)
CustAccount
YesYesCustTable.AccountNum
ReferencePoints to the loyalty program (affiliation) that the customer is linked to.Int64
RefRecId
YesNo (private)RetailAffiliation.RecIdRetailCustAffiliation.RetailAffiliationId
RetailAffiliationNameName of the affiliation or loyalty program. It is the key.String (64)
RetailAffiliationName
YesYesRetailAffiliation.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.

Need help with RetailCustomerAffiliationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk