BeyondERP.Newsletter
Menu

Job page · Warehouse management

Clean up work exception logs

A periodic task that deletes entries from the work exceptions log in batches.

Business process
Manage warehouse operations
Menu item
action:WHSWorkExceptionLogCleanUp
Show what matters for
PAGE GUIDEWhat the page does and how to use it7 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA periodic task that deletes entries from the work exceptions log in batches.
What you do hereUse 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.
Clean up work exception logs 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

Business processManage warehouse operations
Menu pathWarehouse management › Periodic tasks › Clean up › Clean up work exception logs
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 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 oftenOn demand, or on a recurring schedule that matches how long supervisors need old exceptions.
Batch settingsSet 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 showsA 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.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Clean up work exception logs.
  2. On the Parameters FastTab, in The number of days to keep, enter the age of the oldest entries to keep. Older entries are removed.
  3. In Status, select Closed to remove resolved exceptions, or Open to remove open entries that are no longer relevant.
  4. 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.
  5. 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.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
The number of days to keepThe age in days of the oldest entries to keep. Older entries are removed.Microsoft Learn
StatusThe status of the exception logs to delete, Open or Closed.Microsoft Learn
Maximum cleanup records countThe maximum number of records to delete in one run. The default is 100,000.Microsoft Learn

Test checklist

  1. The notification shows the expected number of removed records.
  2. The Work exceptions log has no entries of the chosen status older than the days to keep.
  3. Open exceptions still appear in Outbound work monitoring when you cleaned only Closed entries.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNo: Removed work exceptions are deleted for good. Run it with Status Closed unless you are sure open entries are no longer relevant. Microsoft Learn
If you change it laterWhen the job runs, it removes all work exceptions that match the criteria you set. Microsoft Learn
Technical architect

5Technical

Menu itemaction:WHSWorkExceptionLogCleanUp
Roles to set it up and use itTo use itWarehouse planner WHSWarehousePlannerGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

6Developer

Open it by URLhttps://<your-environment>/?mi=action:WHSWorkExceptionLogCleanUp
Everyone

7Sources