BeyondERP.Newsletter
Menu

Setup step on the Wave batch cleanup page · Warehouse management

Clean wave batch history weekly

Use this job to keep the batch job history of wave processing small.

Used by
Warehouse planner
Business process
Manage warehouse operations
Menu item
action:WHSWaveBatchCleanup
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 wave batch history”, 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 cleans up batch job history records related to the wave processing batch group.
What you do hereUse this task to clear out the batch job history that wave processing builds up.
ExampleFor example, BEAT processes 150 waves a day in batch, each adding batch job history. A weekly run with Retain jobs (days) = 7 keeps one week of wave batch history for troubleshooting.
Wave batch 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 batch cleanup
Set up firstWarehouse management parameters (wave processing batch group) Microsoft Learn
Used next byBatch jobs Microsoft Learn
Related pagesAll waves Microsoft Learn
In this process Reset the status of outbound queue items · Clean up the inbound queue
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 batch job history from wave processing has grown and slows down the batch history pages.
How oftenRecurring, for example weekly, in warehouses that process waves in batch.
What the output showsRemoved batch job history for wave processing. Recent waves you still troubleshoot lose their batch history if it is removed.

Source: Microsoft Learn

Setup steps on this page

Clean wave batch history weekly

Use this job to keep the batch job history of wave processing small.

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Wave batch cleanup.
  2. Run it to clean up the batch job history records that wave processing has built up.
  3. Consider it when you process many waves in batch, because each wave adds batch history.
  4. Afterwards, open the history of the wave processing jobs to see that old entries are gone.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Retain jobs (days)Batch job history of the wave processing batch group older than this number of days is cleaned up. The dialog (titled Wave Cleanup) opens with 7.Checked in Dynamics 3657

Common errors and fixes

MessageWhat to do
A failed wave has no batch history left to readIts history was older than Retain jobs (days). Investigate failed waves within the retention period, or raise it. Checked in Dynamics 365

Test checklist

  1. Old wave processing batch history is gone.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Clean wave batch history weeklyRun it weekly in batch with Retain jobs (days) = 7, or longer if failed waves are investigated later.Each wave processed in batch adds batch history; the cleanup removes it for the wave processing batch group only.How long is wave batch history kept?Running it daily with 1 day, so a wave that failed yesterday can't be investigated.Test: Clean wave batch history

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

Can it be undoneIrreversible: Removed batch history can't be restored.
If you change it laterCleans up batch job history records that are related to the wave processing batch group; failed waves older than the retention lose their batch history. Microsoft Learn
Technical architect

6Technical

Menu itemaction:WHSWaveBatchCleanup 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 wave batch cleanupWHSWaveBatchCleanupProcess
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:WHSWaveBatchCleanup
Data migrationLoad order: Wave batch 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-170, Clean wave batch history weekly. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-JOB-170