BeyondERP.Newsletter
Menu

Setup step on the Mix and match discounts page · Retail and Commerce

Configure a mix and match discount

Set the discount header (price groups, concurrency mode, priority, period) and lines so the pricing engine applies a mix and match discount only where intended.

See how to set it up Back to Retail and Commerce

Used by
Retail merchandising manager, Retail operations manager, Retail service and 1 more role
Business process
Create mix and match discounts in Dynamics 365 Commerce
Menu item
RetailDiscountMixAndMatch
Main table
RetailPeriodicDiscount
Data entity
RetailDiscountEntity
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, “Mix and match discount gives the expected price”, 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 isA setup page where you create and manage mix and match discounts, which give a discount when a customer buys a specific combination of products defined by line groups.
What you do hereUse this page to define which products belong to each line group, how many of each are needed, and how the discount is calculated (deal price, percentage, amount, least expensive or per line).
ExampleFor example, give product B free when the customer buys two items from a category together with product B in the same cart.
Mix and match discounts page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

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

Configure a mix and match discount

Set the discount header (price groups, concurrency mode, priority, period) and lines so the pricing engine applies a mix and match discount only where intended.

Steps from Microsoft

  1. Go to Retail and Commerce > Pricing and discounts > Mix and match discounts > Mix and match discounts.
  2. On the Action Pane, select New > Mix and match discounts.
  3. Enter the discount name, price groups, priority and validation period.
  4. On the Price/discount FastTab, in the Calculation type field, select the calculation (for example Line spec).
  5. On the Lines FastTab, select Add to add the first product and set its Line group and Discount value.
  6. Select Add again for each further product or category, setting its Line group and Discount value.
  7. Set Status to Enabled.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Calculation typeHow the discount is worked out, such as a line-specific discount per product.Microsoft Learn
Line groupThe group each discount line belongs to; the customer must buy the required quantity from every group.Microsoft Learn
Discount valueThe discount given on that line when the combination is bought.Microsoft Learn
Number of least expensive linesFor least-expensive discounts, how many of the cheapest qualifying products receive the discount.Microsoft Learn
Deal price valueThe fixed total price charged for the combination when the discount type is Deal price.Microsoft Learn
Count non-discountable productsLets a product that cannot be discounted still count towards qualifying for the mix and match.Microsoft Learn
UnitRequired unit of measure on each line; it must match the sales line.Microsoft Learn UnitOfMeasure
StatusEnabled or Disabled; least-expensive settings are validated on enabling.Microsoft Learn Status

Common errors and fixes

MessageWhat to do
A least-expensive discount can't be enabledFor a least-expensive mix and match discount, the number of least-expensive products must be more than 1 and less than the number of products needed to trigger the discount. Microsoft Learn
The discount can't be enabledWhen you set Status to Enabled, the system checks the discount: it needs at least one discount line and at least one price group, a percentage above 0 and up to 100, an amount above 0, and a unit on quantity and mix and match lines. Fix the line or price group that fails the check, then enable it again. Microsoft Learn

Test checklist

  1. Create a mix and match discount with two line groups, each needing 1 product, and a Unit on every line.
  2. Enable it and run the 1020 job.
  3. Ring up one product from each group and check the discount applies.
  4. Ring up only one group and check no discount applies.
  5. If Count non-discountable products is on, include a product set to Prevent all discounts and check it qualifies but gets no discount.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Configure a mix and match discountBest price concurrency mode, at least one price group, a validation period and lines by category rather than by product where possible.A discount without a price group is never applied, and a category line also covers products added to the category later.Which concurrency mode and pricing priority should a mix and match discount use?Overlapping discount lines in the same discount: the pricing engine treats them as separate discounts that compete, and the setup becomes hard to read.Test: Mix and match discount gives the expected price

Number sequences

ReferenceShared or per companyNote
DiscountPer companyNew records on this page take their Discount from the RetailOfferIdEx3 reference; BEAT uses number sequence Comm_79. Checked in Dynamics 365

Feature management and licence

Licence or add-inIn this system 4 roles can open this page, among them Retail merchandising manager, Retail operations manager, Retail service and Retail store manager.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyDiscounts are company specific: each legal entity has its own discounts, and they work only with released products. Microsoft Learn
Can it be undoneReversible: Set the discount back to Disabled; with Clean up irrelevant master data after sync on, the next push removes it from the channels.
If you change it laterLine groups that need more than 20 products slow price calculation; use a larger unit of measure instead. The discount can only be edited while disabled. Microsoft Learn
Technical architect

6Technical

Menu itemRetailDiscountMixAndMatch Checked in Dynamics 365
FormRetailPeriodicDiscount Checked in Dynamics 365
TableRetailPeriodicDiscountShown as “PERIODIC DISCOUNT” in Record infoKey field: OfferIdChecked in Dynamics 365
Data entitiesRetailDiscountEntityPeriodic discount Microsoft data model
Who can open it

4 security roles. Select a role to see its duties and privileges.

  • RoleRetail merchandising managerRetailMerchandisingManager
    • DutyMaintain retail campaign discountsRetailDiscountOfferMaintain
      • PrivilegeMaintain retail discountsRetailDiscountsMaintain
      • PrivilegeMaintain retail mix and matchRetailMixAndMatchMaintain
  • RoleRetail operations managerRetailOperationsManager
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView retail discountsRetailDiscountsView
      • PrivilegeMaintain retail mix and matchRetailMixAndMatchView
  • RoleRetail serviceRetailService
    • DutyMaintain retail campaign discountsRetailDiscountOfferMaintain
      • PrivilegeMaintain retail discountsRetailDiscountsMaintain
      • PrivilegeMaintain retail mix and matchRetailMixAndMatchMaintain
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView retail discountsRetailDiscountsView
      • PrivilegeMaintain retail mix and matchRetailMixAndMatchView
  • RoleRetail store managerRetailStoreManager
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView retail discountsRetailDiscountsView
      • PrivilegeMaintain retail mix and matchRetailMixAndMatchView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRetail service RetailServiceRetail merchandising manager RetailMerchandisingManagerTo use itRetail operations manager RetailOperationsManagerRetail store manager RetailStoreManagerGive people one of these roles. On this system, 4 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): New, Copy from, Price groups, View shared products, Validation logsChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=RetailDiscountMixAndMatch
Integrate withRetailDiscountEntity data entity Microsoft data model
Data migrationRetailDiscountEntity (Periodic discount): loaded for each company.Microsoft Learn
Table definitionRetailPeriodicDiscount columns and relations Microsoft data model
Everyone

8Sources

To cite this step: RC-PRC-040, Configure a mix and match discount. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RC-PRC-040