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
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
An inquiry dialog that finds discount rules for a currency, date interval, price component code and price attributes.
What you do here
Use 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.
Example
For 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.
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.
When to run it
When to run it
When an order gets a discount it shouldn't, or misses one it should get.
How often
On demand.
What the output shows
The 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.
Find the discount rules that could apply to an order line.
Steps from Microsoft
Go to Pricing management > Inquiries and reports > Discounts.
Choose the Currency and set From date and To date to the period of the order or promotion in question.
Pick a Price component code to look at one discount component, and set Enabled to Yes to leave out discounts that aren't active.
Use the Price group and the header and line price attribute group sections to limit the result to the customers or products concerned.
Open the discounts found and compare their Discount concurrency mode: Exclusive, Best price, Compounded, Always apply or Price attribute combination rank.
Limits the result to discounts whose Status is Enabled. Only enabled discounts are used in price calculations.Microsoft Learn
Yes
Price attribute group combination
The combination of header and line price attribute groups to search.Microsoft Learn
Match values only
No 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 details
The attribute values that the search uses.Checked in Dynamics 365
Common errors and fixes
Message
What 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
Enable two Best price discounts for one item: 5 percent and 7 percent.
Run the inquiry for that item's currency and dates.
Check that both discounts are listed.
Price an order line and check that the 7 percent discount applies.
Set 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.
Per company: the inquiry reads the discount rules of the company you are signed in to. Checked in Dynamics 365
Can it be undone
Reversible: The inquiry only reads discount rules; it changes nothing. Microsoft Learn
If you change it later
The 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 item
GUPDiscountInquiryChecked in Dynamics 365
Form
GUPPricingSetupInquiryDialogChecked in Dynamics 365
Who can open it
6 security roles. Select a role to see its duties and privileges.
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 it
To 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 URL
https://<your-environment>/?mi=GUPDiscountInquiry
Data migration
Load 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