BeyondERP.Newsletter
Menu

Setup step on the Discounts page · Pricing management

Explain a discount on an order

Find the discount rules that could apply to an order line.

See how to set it up Back to Pricing management

Used by
Retail merchandising manager, Retail operations manager, Retail service and 3 more roles
Business process
Manage product pricing
Menu item
GUPDiscountInquiry
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, “Only enabled discounts are listed”, 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 isAn inquiry dialog that finds discount rules for a currency, date interval, price component code and price attributes.
What you do hereUse this inquiry to see which discounts could apply to a customer and product, so you can explain why an order got a discount or missed one.
ExampleFor example, BEAT-000123 asks why SO-001234 got 5 percent and not 7 percent off; the inquiry for USD in November 2026 shows a 7 percent Exclusive discount that is Disabled and a 5 percent Best price discount that is Enabled.
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.

When to run it

When to run itWhen an order gets a discount it shouldn't, or misses one it should get.
How oftenOn demand.
What the output showsThe discount rules that match your currency, dates and attributes. Two discounts on the same price component compete by their concurrency mode, so a missing discount often lost to a better one.

Source: Microsoft Learn

Setup steps on this page

Explain a discount on an order

Find the discount rules that could apply to an order line.

Steps from Microsoft

  1. Go to Pricing management > Inquiries and reports > Discounts.
  2. Choose the Currency and set From date and To date to the period of the order or promotion in question.
  3. Pick a Price component code to look at one discount component, and set Enabled to Yes to leave out discounts that aren't active.
  4. Use the Price group and the header and line price attribute group sections to limit the result to the customers or products concerned.
  5. Open the discounts found and compare their Discount concurrency mode: Exclusive, Best price, Compounded, Always apply or Price attribute combination rank.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
CurrencyThe currency of the discount rules to find.Microsoft Learn USD
From date / To dateThe date interval to search. Rules match on the date chosen in Date type on Pricing management parameters.Microsoft Learn
Price component codeLimits the search to one discount code.Microsoft Learn
EnabledLimits the result to discounts whose Status is Enabled. Only enabled discounts are used in price calculations.Microsoft Learn Yes
Price attribute group combinationThe combination of header and line price attribute groups to search.Microsoft Learn
Match values onlyNo also finds discounts that apply through a group the value belongs to; Yes finds only discounts that name the value itself.Microsoft Learn No
Attribute detailsThe attribute values that the search uses.Checked in Dynamics 365

Common errors and fixes

MessageWhat to do
A discount is listed but the order didn't get it.Compare concurrency modes: Exclusive discounts can't combine and only the largest applies; Best price discounts compete for the lowest price; Always apply discounts are applied last. Microsoft Learn

Test checklist

  1. Enable two Best price discounts for one item: 5 percent and 7 percent.
  2. Run the inquiry for that item's currency and dates.
  3. Check that both discounts are listed.
  4. Price an order line and check that the 7 percent discount applies.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Explain a discount on an orderSet Currency and the order's dates, then Enabled = Yes, before you narrow by price attributes.Only enabled discounts in the right currency and validation period are used; other settings list discounts the order never saw.Check discounts here or in the Price simulator?Expecting every listed discount to apply: discounts on the same code compete by concurrency mode, so some are listed but lose.Test: Only enabled discounts are listed

Feature management and licence

Feature to turn onUnified pricing management (Must be on)
Licence or add-inOn the live system, Retail service, Sales manager, Retail merchandising manager, Sales clerk and Retail operations manager use this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: the inquiry reads the discount rules of the company you are signed in to. Checked in Dynamics 365
Can it be undoneReversible: The inquiry changes no data.
If you change it laterThe inquiry only reads discounts. Discounts on the same price component code compete by their concurrency mode, so a missing discount often lost to another. Microsoft Learn
Technical architect

6Technical

Menu itemGUPDiscountInquiry Checked in Dynamics 365
FormGUPPricingSetupInquiryDialog Checked in Dynamics 365
Who can open it

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

  • RoleRetail merchandising managerRetailMerchandisingManager
    • DutyMaintain retail campaign discountsRetailDiscountOfferMaintain
      • PrivilegeMaintain pricing service sales discount recordsGUPDiscountRecordMaintain
  • RoleRetail operations managerRetailOperationsManager
    • DutyMaintain retail couponsRetailCouponsMaintain
      • PrivilegeView pricing service discount agreements and recordsGUPDiscountRecordView
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView pricing service discount agreements and recordsGUPDiscountRecordView
  • RoleRetail serviceRetailService
    • DutyMaintain retail campaign discountsRetailDiscountOfferMaintain
      • PrivilegeMaintain pricing service sales discount recordsGUPDiscountRecordMaintain
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView pricing service discount agreements and recordsGUPDiscountRecordView
  • RoleRetail store managerRetailStoreManager
    • DutyMaintain retail campaign discountsRetailDiscountOfferView
      • PrivilegeView pricing service discount agreements and recordsGUPDiscountRecordView
  • RoleSales clerkTradeSalesClerk
    • DutyInquiries into pricing service discount agreements and recordsGUPDiscountInquiry
      • PrivilegeView pricing service discount agreements and recordsGUPDiscountRecordView
    • DutyMaintain retail couponsRetailCouponsMaintain
      • PrivilegeView pricing service discount agreements and recordsGUPDiscountRecordView
  • RoleSales managerTradeSalesManager
    • DutyInquiries into pricing service discount agreements and recordsGUPDiscountInquiry
      • PrivilegeView pricing service discount agreements and recordsGUPDiscountRecordView
    • DutyMaintain pricing service sales discount recordsGUPDiscountMaintain
      • PrivilegeMaintain pricing service sales discount recordsGUPDiscountRecordMaintain
    • DutyMaintain pricing service sales discount recordsGUPDiscountRecordMaintain
      • PrivilegeMaintain pricing service sales discount recordsGUPDiscountRecordMaintain
    • DutyMaintain couponsMCRCouponMaintain
      • PrivilegeMaintain pricing service sales discount recordsGUPDiscountRecordMaintain
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itRetail service RetailServiceSales manager TradeSalesManagerRetail merchandising manager RetailMerchandisingManagerSales clerk TradeSalesClerkRetail operations manager RetailOperationsManagerGive people one of these roles. On this system, 6 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=GUPDiscountInquiry
Data migrationLoad order: The Discounts inquiry has no data entity in Data management: it is a dialog that searches existing discounts. Load the discounts themselves with GUPRetailDiscountV2Entity and GUPRetailDiscountLineV2Entity.Microsoft Learn
Everyone

8Sources