BeyondERP.Newsletter
Menu

Setup step on the All discounts page · Retail and Commerce

Plan the discount number sequences and naming

Keep discount types apart by their ID so a cashier, a customer service agent and a pricing manager can tell what kind of discount was applied.

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 discounts in Dynamics 365 Commerce
Menu item
RetailDiscountsAll
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.
Tests
A ready-to-run test, “New discounts get their type prefix”, 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 list page showing every Commerce discount of any type, from which you can create simple, quantity-limited, quantity, mix and match and threshold discounts.
What you do hereUse this page to create and manage discounts, set their header properties such as status, currency, concurrency mode and pricing priority, add discount lines, and link price groups so the discount reaches the right channels, catalogs, affiliations or loyalty programs.
ExampleFor example, prefix the ID of each discount type with a different alphanumeric constant such as Q for quantity and MM for mix and match so the ID shows the type at a glance.
All 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

Plan the discount number sequences and naming

Keep discount types apart by their ID so a cashier, a customer service agent and a pricing manager can tell what kind of discount was applied.

Steps from Microsoft

  1. Go to Retail and Commerce > Pricing and discounts > All discounts.
  2. Select New and choose the discount type.
  3. Enter the discount ID and name, and set the currency and other header settings.
  4. Add discount lines for the categories, products or variants to discount.
  5. Select Price groups, then New, and pick the price group for the channel, catalog, affiliation or loyalty program.
  6. Set Status to Enabled.
  7. Run the 1020 Prices and discounts job to push the discount to the channel.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
DiscountThe unique discount ID, set at creation and not changeable later.Microsoft Learn OfferId
Discount nameShort text shown on the POS cart line and receipts.Microsoft Learn
Discount typeOne of Discount, Discount with quantity limit, Quantity, Mix and match or Threshold; fixed after creation except between the first two.Microsoft Learn PeriodicDiscountType
StatusEnabled or Disabled; new discounts are Disabled and can only be edited while Disabled.Microsoft Learn Status
CurrencyThe currency of all amounts on the discount; also a filter, since only same-currency transactions get it.Microsoft Learn CurrencyCode
Discount concurrency modeExclusive, Best price or Compounded; decides which discounts compete and which compound.Microsoft Learn ConcurrencyMode
Coupon code requiredWhen Yes, the discount applies only with a coupon code or bar code and the status and date fields move to the Coupons page.Microsoft Learn IsDiscountCodeRequired
Override priority / Pricing priorityWhen Override priority is Yes you set a pricing priority directly on the discount; otherwise it inherits from its price groups.Microsoft Learn

Common errors and fixes

MessageWhat to do
A discount you can't changeYou can only edit a discount while its Status is Disabled. Set it to Disabled, make the change, and enable it again; enabling runs the checks again. 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 discount with one line and one price group, but leave it Disabled.
  2. Run the Price simulator with Treat disabled discounts as enabled and check the result.
  3. Set the status to Enabled and confirm the validation checks pass.
  4. Run the Prices and discounts (1020) job and ring up the product in POS.
  5. Check the discount name shows on the cart line and the receipt.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Plan the discount number sequences and namingOne number sequence per discount type in Commerce parameters, each with its own prefix, such as D for discounts, Q for quantity, MM for mix and match and T for threshold.The discount ID can't be changed after the discount is created, so the prefix is the only way to see the type from the ID.How should discount IDs be numbered?Number sequences for different discount types that overlap, so two discounts of different types get colliding IDs.Test: New discounts get their type prefix

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 undoneHard to reverse: The discount ID is fixed when the discount is created; a new sequence only applies to discounts created afterwards.
If you change it laterEnabling a discount triggers validation checks and publishes it to channels; disabling it removes it from the channel on the next sync when the clean-up parameter is on, and deleting a discount loses its statistics. Microsoft Learn
Technical architect

6Technical

Menu itemRetailDiscountsAll 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
  • RoleRetail operations managerRetailOperationsManager
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView retail discountsRetailDiscountsView
  • RoleRetail serviceRetailService
    • DutyMaintain retail campaign discountsRetailDiscountOfferMaintain
      • PrivilegeMaintain retail discountsRetailDiscountsMaintain
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView retail discountsRetailDiscountsView
  • RoleRetail store managerRetailStoreManager
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView retail discountsRetailDiscountsView
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=RetailDiscountsAll
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-010, Plan the discount number sequences and naming. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RC-PRC-010