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, “Prices unchanged after cleanup”, 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
A periodic job that clears unused pricing rule data for the current company or, with For all companies, for every company.
What you do here
Run this job to remove pricing rule data that is no longer used, at a time when nobody changes pricing data.
Example
For example, after BEAT disables 1,200 expired 2025 discounts, the pricing team schedules the cleanup for Sunday 02:00 with For all companies = No and freezes pricing changes until it ends.
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 unused pricing rule data has built up, at a time when no pricing maintenance takes place.
How often
On demand.
Batch settings
Run it in the background outside business hours, when no pricing data is being changed.
The dialog shows: "Warning: Do not create, edit or remove the pricing data setting, including pricing rule setting while this clearing batch job operation is running."Checked in Dynamics 365
For all companies
No cleans up the current company only; Yes cleans up every company. No by default.Checked in Dynamics 365
No
Common errors and fixes
Message
What to do
Prices look wrong after the cleanup.
Check whether pricing rules were changed while the job ran, which the dialog warns against; change the rule again and test in the Price simulator. Checked in Dynamics 365
Test checklist
Note the price of a test order line in the Price simulator.
For all companies = No for the first run, in the background outside business hours, with a pricing change freeze.The dialog warns not to create, edit or remove pricing data while the job runs.
The current company by default; every company when For all companies is Yes. Checked in Dynamics 365
Can it be undone
Irreversible: Cleared data isn't restored by the dialog. Run it for one company first. Checked in Dynamics 365
If you change it later
Clears pricing rule data that is no longer used, in one company or all of them. Pricing data must not be changed during the run. Checked in Dynamics 365
Technical architect
6Technical
Menu item
GUPClearUnusedPricingDataJobChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
3 security roles. Select a role to see its duties and privileges.
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 RetailMerchandisingManagerGive people one of these roles. On this system, 3 roles can run this page.Checked in Dynamics 365
Load order: Pricing rule cleanup has no data entity in Data management: it is a batch dialog (SysOperationTemplateForm) that clears data and keeps no records of its own. Nothing is migrated for it.Checked in Dynamics 365