BeyondERP.Newsletter
Menu

Setup step on the Wave processing history log cleanup page · Warehouse management

Remove the wave processing history log after tuning

Use this job to delete wave processing history log records that are no longer needed.

Used by
Warehouse planner
Business process
Manage warehouse operations
Menu item
action:WHSWaveExecutionHistoryPurge
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
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 the wave processing history log”, 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 isA periodic task that deletes wave processing history log records.
What you do hereUse this task to delete wave processing history log records older than the number of days you choose to keep.
ExampleFor example, BEAT keeps the wave processing history log on for 1 week while it tunes wave templates and then runs this job with The number of days to keep = 7.
Wave processing history log 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 › Wave processing history log cleanup
Set up firstWarehouse management parameters (wave processing history log) Microsoft Learn
Used next byWave processing history log Microsoft Learn
Related pagesWave processing history log Microsoft Learn
In this process Reprocess errored inbound events · Reset the status of outbound queue items
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 wave processing history log was turned on for troubleshooting and its old entries are no longer needed.
How oftenOn demand, or recurring while the log is on.
What the output showsDeleted wave processing history log records older than the days you keep.

Source: Microsoft Learn

Setup steps on this page

Remove the wave processing history log after tuning

Use this job to delete wave processing history log records that are no longer needed.

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Wave processing history log cleanup.
  2. Enter the number of days of wave processing history log to keep; older WHSWaveExecutionHistory records are deleted.
  3. The log only fills when Create wave processing history log is on, which is usually only for troubleshooting.
  4. After the run, open Outbound waves > Wave processing history log to see what is left.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
The number of days to keepWave processing history log records older than this number of days are deleted from WHSWaveExecutionHistory. The dialog opens with 0.Microsoft Learn 7

Common errors and fixes

MessageWhat to do
The log shows no entries for waves you still investigateThe retention was shorter than the investigation. Keep at least as many days as the oldest wave you still analyse. Microsoft Learn

Test checklist

  1. The log only shows recent waves.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Remove the wave processing history log after tuningTurn the log on only while tuning or troubleshooting waves, and run this job with the days still needed when you turn it off.The log fills only while Create wave processing history log is on; deleted records can't be restored.When is the wave processing history log on?Keeping the log on in production without a cleanup, so it grows with every wave.Test: Clean the wave processing history log

Feature management and licence

Licence or add-inWarehouse management is part of the Dynamics 365 Supply Chain Management licence. In this system 1 role can open this page, among them Warehouse planner.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: the job deletes log records of the legal entity it runs in. Microsoft data model
Can it be undoneIrreversible: Deleted wave processing history can't be restored.
If you change it laterDeletes wave processing history log records older than the days you keep from WHSWaveExecutionHistory; the timing of each wave step for those waves is gone. Microsoft Learn
Technical architect

6Technical

Menu itemaction:WHSWaveExecutionHistoryPurge Checked in Dynamics 365
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleWarehouse plannerWHSWarehousePlanner
    • DutyMaintain warehouse planningWHSWarehousePlanningMaintain
      • PrivilegeMaintain work line history log cleanup processWHSTmpWorkLineHistoryPurgeProcess
      • PrivilegeWave processing history log cleanupWHSWaveExecutionHistoryPurgeProcess
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 itTo use itWarehouse planner WHSWarehousePlannerGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:WHSWaveExecutionHistoryPurge
Data migrationLoad order: Wave processing history log cleanup 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
Everyone

8Sources

To cite this step: WM-JOB-160, Remove the wave processing history log after tuning. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-JOB-160