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, “Clean closed work exceptions”, 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 is
A periodic task that deletes entries from the work exceptions log in batches.
What you do here
Use this task to delete resolved or unneeded work exceptions by age and status. Cleaning out old work exceptions makes it easier to search for locations with open work exceptions and improves the performance of pages that show them.
Example
For example, BEAT's work exceptions log holds 250,000 entries. A run with The number of days to keep = 90, Status = Closed and Maximum cleanup records count = 100,000 removes the oldest closed entries in batches.
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 resolved work exceptions make the Work exceptions log hard to search, or slow down the pages that show work exceptions. Requires version 10.0.43 or later.
How often
On demand, or on a recurring schedule that matches how long supervisors need old exceptions.
Batch settings
Set it up as a batch job with a batch group, schedule and alerts as you need; run large deletions outside peak hours.
What the output shows
A notification with the number of work exception log entries removed. The Work exceptions log then holds only entries newer than the days to keep or with the other status. If open exceptions disappeared, Status was set to Open by mistake.
Use this job to delete old work exception log entries by status.
Steps from Microsoft
Go to Warehouse management > Periodic tasks > Clean up > Clean up work exception logs.
On the Parameters FastTab, in The number of days to keep, enter the age of the oldest entries to keep. Older entries are removed.
In Status, select Closed to remove resolved exceptions, or Open to remove open entries that are no longer relevant.
In Maximum cleanup records count, keep the default of 100,000 or lower it so one run doesn't delete too many records at once.
Run it and read the notification that tells you how many records were removed, then check the Locations with open work exceptions tile in Outbound work monitoring.
Run it monthly with Status = Closed and 90 days to keep, with the default maximum of 100,000 records.Cleaning old exceptions makes searching easier and speeds up the pages that show them.
Warehouse management is part of the Dynamics 365 Supply Chain Management licence. In this system 1 role can open this page, among them Warehouse planner.
Load order: Clean up work exception logs has no data entity in Data management, so it can't be loaded from a file or a configuration template. The job only deletes old records; there is nothing to migrate. Set up the same recurring job in the new environment.Microsoft Learn