BeyondERP.Newsletter
Menu

Setup step on the Wave processing removed shipment cleanup page · Warehouse management

Remove failed rewave lines on a schedule

Use this job to remove shipment lines that automatic rewaving failed or left too long.

Used by
Warehouse planner
Business process
Manage warehouse operations
Menu item
action:WHSWaveProcessingRemovedShipmentCleanup
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 failed shipment lines”, 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 removes failed and old shipment lines from the Failed shipment lines table.
What you do hereUse this task to schedule the cleanup of shipment lines that automatic rewaving has failed or left in place for too long.
ExampleFor example, BEAT sets Cleanup rewave threshold = 3 and Last update older than given number = 7, so a shipment line that failed rewaving 3 times, or has waited 7 days, leaves the Failed shipment lines table on the nightly run.
Wave processing removed shipment 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 removed shipment cleanup
Set up firstAuto add shipments to wave Microsoft Learn
Used next byFailed shipment lines Microsoft Learn
Related pagesAuto add shipments to wave Microsoft Learn
In this process Optimize location directive queries once, off-peak · Keep return details beyond the return-until period
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 itOnce automatic rewaving is set up with the Auto add shipments to wave job, so that lines that failed rewaving don't stay in the Failed shipment lines table.
How oftenAs often as your rewaving volume needs; Microsoft says to schedule it to run as often as is required for your system.
Batch settingsRecurring batch job with Batch processing set to Yes; monitor it on System administration > Inquiries > Batch jobs by its job description.
What the output showsShipment lines with status Failed, or older than the number of days you set, are removed from the Failed shipment lines table. Lines that are removed are no longer retried; to rewave them you add them to a new wave by hand, and the retry count starts again at zero.

Source: Microsoft Learn

Setup steps on this page

Remove failed rewave lines on a schedule

Use this job to remove shipment lines that automatic rewaving failed or left too long.

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Wave processing removed shipment cleanup.
  2. On the Parameters FastTab, set Cleanup rewave threshold to the number of retries after which a line is removed. The Auto add shipments to wave job allows at most five retries, so values above 5 have no effect.
  3. Set Last update older than given number to the maximum number of days a line may stay in the Failed shipment lines table.
  4. Set Batch processing to Yes and use Recurrence to schedule it, keeping the default task description Wave Processing Removed Shipment so you can find it on the Batch jobs page.
  5. After a run, open Warehouse management > Shipments > Failed shipment lines and check that lines with status Failed or older than your limit are gone.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Cleanup rewave thresholdThe maximum number of retries the cleanup job allows for a shipping line before it removes the line.Microsoft Learn
Last update older than given numberThe maximum number of days a shipping line can stay in the Failed shipment lines table.Microsoft Learn

Common errors and fixes

MessageWhat to do
Lines are still retried after the cleanupValues above 5 for Cleanup rewave threshold have no effect, because Auto add shipments to wave allows at most five retries. Use 5 or lower. Microsoft Learn

Test checklist

  1. Failed shipment lines no longer lists lines over the retry threshold or age limit.
  2. Open lines under the threshold are still retried by Auto add shipments to wave.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Remove failed rewave lines on a scheduleSet a threshold of 5 or lower and a day limit, and schedule it as often as your rewave volume needs.Removed lines are no longer retried; they must be added to a wave by hand if they still need to ship.When should a failed shipment line leave the rewave queue?Entering a threshold above 5, which has no effect.Test: Clean failed shipment lines

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 lines aren't restored to the rewaving queue.
If you change it laterRemoves failed and old shipment line placeholders, so automatic rewaving stops retrying those lines. Microsoft Learn
Technical architect

6Technical

Menu itemaction:WHSWaveProcessingRemovedShipmentCleanup 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
      • PrivilegeWave processing removed shipment cleanupWHSWaveProcessingRemovedShipmentCleanup
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:WHSWaveProcessingRemovedShipmentCleanup
Data migrationLoad order: Wave processing removed shipment cleanup has no data entity in Data management, so it can't be loaded from a file or a configuration template. The job removes placeholders from the Failed shipment lines table; nothing is migrated. Set up the recurring job again.Microsoft Learn
Everyone

8Sources

To cite this step: WM-JOB-280, Remove failed rewave lines on a schedule. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-JOB-280