Use affiliations to create pricing and discounts in Dynamics 365 Commerce
Menu item
RetailAffiliations
Main table
RetailAffiliation
Data entity
RetailAffiliationEntity
Setup steps
1 on this page
How this guide was checked
Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements. Some of it is Dynamics AX 2012 documentation, an earlier version.
Tests
A ready-to-run test, “Affiliation price applies”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A setup page where you define affiliations: named groups of customers (such as students, seniors or employees) that receive specific prices and discounts through price groups.
What you do here
Use this page to create affiliations and link price groups to them, so that customers who belong to the affiliation, or anonymous shoppers who present a membership card, get the associated pricing and discounts.
Example
For example, a retailer creates a Student affiliation with a 10 percent discount price group; a cashier adds it to a transaction when the shopper shows a student card.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
Setup steps on this page
Use affiliations for group pricing
Give groups of customers, such as students, their own prices and discounts.
Steps from Microsoft
Go to Retail and Commerce > Customers > Affiliations.
Select New.
Enter a name and a description for the affiliation.
Select Price groups.
Select Add and choose the price group that carries the affiliation's prices and discounts.
Close the price groups page and save.
Link the same price group to the discounts or trade agreements the affiliation should receive.
Price groups whose prices and discounts apply to members of the affiliation.Microsoft Learn
Hide in channels
Hides the affiliation from the POS while its pricing still applies.Microsoft Learn
HideInChannels
Common errors and fixes
Message
What to do
The affiliation discount doesn't apply at POS
Affiliation pricing works through the price groups on the affiliation. Check the price group is on the affiliation and on the discount, and run the distribution jobs so stores get it. Microsoft Learn
Test checklist
Create an affiliation with its own price group (not shared with channels or loyalty).
Link a discount to that price group and add the affiliation to a test customer.
Sell to the customer in POS and check the discount applies.
Set Hide in channels and check the cashier can't see or remove the affiliation but the discount still applies.
One affiliation per customer group with its own price group, used only for that affiliation.Prices and discounts reach an affiliation through its price groups.
In this system 2 roles can open this page, among them Retail operations manager and Retail service.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Shared: affiliations have no company column, so every legal entity sees the same affiliations. Microsoft data model
Can it be undone
Reversible: Affiliations and their price groups can be changed; stores get it after the distribution jobs run.
If you change it later
Hiding an affiliation in channels stops cashiers seeing or changing it but does not stop its prices and discounts applying; a customer can belong to several affiliations at once. Microsoft Learn
Technical architect
6Technical
Menu item
RetailAffiliationsChecked in Dynamics 365
Form
RetailAffiliationsChecked in Dynamics 365
Table
RetailAffiliationShown as “LOYALTY PROGRAM” in Record infoKey field: NameChecked in Dynamics 365
To set it up or change itRetail service RetailServiceRetail operations manager RetailOperationsManagerGive people one of these roles. On this system, 2 roles can open this page.Checked in Dynamics 365
Actions on the page
(Action Pane without tabs): Translations, Info codes, Price groupsChecked in Dynamics 365
RetailAffiliationEntity (Retail affiliations): shared by all companies, in Microsoft's default template 500 - Retail.RetailLoyaltyEntity (Loyalty program): shared by all companies.Load order: Microsoft's default template 500 - Retail loads Retail affiliations at execution unit 1, level 30, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to General ledger)Microsoft Learn