A periodic job, titled Clean up price report history in its dialog, that deletes stored price report history. The dialog has no parameters apart from Run in the background.
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, “Cleanup removes generated reports”, 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, titled Clean up price report history in its dialog, that deletes stored price report history. The dialog has no parameters apart from Run in the background.
What you do here
Run this job to remove old generated price reports so the Price report list keeps only what the pricing team still uses.
Example
For example, BEAT keeps price reports for audit for 90 days and schedules the cleanup monthly on the first Sunday at 02:00.
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 generated price reports are no longer needed, after the agreed retention.
How often
On demand, or as a recurring background job once retention is agreed.
Batch settings
Run it in the background outside business hours.
What the output shows
Stored price report history is removed from the Price report list.
The only FastTab of the dialog: run the cleanup as a batch job, once or on a recurrence.Checked in Dynamics 365
Batch processing = Yes
Common errors and fixes
Message
What to do
A price report needed for an audit is gone.
Generate the report again for the past dates; price reports can show historical prices. Set a retention before you schedule the cleanup. Microsoft Learn
Test checklist
Generate two price reports.
Count the reports on Price report.
Run the cleanup.
Count the reports again and check which ones were removed.
A recurring background job, outside business hours, after the pricing team agrees how long reports are kept.The job has no filters, so the schedule is the only control over how much history stays.
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: Price report history cleanup has no data entity in Data management: it is a dialog that deletes stored report history and keeps no records of its own. Nothing is migrated for it; schedule it again in the new environment.Checked in Dynamics 365