BeyondERP.Newsletter
Menu

Job page · Warehouse management

Work creation history cleanup

A periodic task that deletes work creation history records.

Business process
Manage warehouse operations
Menu item
action:WHSWorkCreateHistoryPurge
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 work creation history records.
What you do hereUse this task to delete work creation history older than the number of days you choose to keep.
Work creation history cleanup 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 › Work creation history cleanup
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 the work creation history table grows large and older records are no longer needed for troubleshooting.
How oftenOn demand or on a recurring schedule, for example monthly.
Batch settingsRun it as a batch job outside working hours.
What the output showsDeleted work creation history records older than the days you keep. Too few days removes history you might still need.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Work creation history cleanup.
  2. In the dialog, enter the number of days of work creation history to keep; older records in WHSWorkCreateHistory are deleted.
  3. Pick a value long enough to cover the period you still investigate work creation problems for.
  4. After the run, open the work creation history and make sure only recent records remain.

Source: Microsoft Learn

Test checklist

  1. Only history newer than the number of days remains.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNo: Deleted work creation history can't be restored. Run it only after the business has confirmed that the data is no longer required. Microsoft Learn
If you change it laterDeletes work creation history records older than the number of days you keep. Microsoft Learn
Technical architect

5Technical

Menu itemaction:WHSWorkCreateHistoryPurge
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:WHSWorkCreateHistoryPurge
Everyone

7Sources