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 is
A periodic task that removes failed and old shipment lines from the Failed shipment lines table.
What you do here
Use this task to schedule the cleanup of shipment lines that automatic rewaving has failed or left in place for too long.
Example
For 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.
The page in Dynamics 365. page title tab to open what to set or check
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 it
Once 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 often
As often as your rewaving volume needs; Microsoft says to schedule it to run as often as is required for your system.
Batch settings
Recurring batch job with Batch processing set to Yes; monitor it on System administration > Inquiries > Batch jobs by its job description.
What the output shows
Shipment 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.
Use this job to remove shipment lines that automatic rewaving failed or left too long.
Steps from Microsoft
Go to Warehouse management > Periodic tasks > Clean up > Wave processing removed shipment cleanup.
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.
Set Last update older than given number to the maximum number of days a line may stay in the Failed shipment lines table.
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.
After a run, open Warehouse management > Shipments > Failed shipment lines and check that lines with status Failed or older than your limit are gone.
The maximum number of retries the cleanup job allows for a shipping line before it removes the line.Microsoft Learn
Last update older than given number
The maximum number of days a shipping line can stay in the Failed shipment lines table.Microsoft Learn
Common errors and fixes
Message
What to do
Lines are still retried after the cleanup
Values 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
Failed shipment lines no longer lists lines over the retry threshold or age limit.
Open lines under the threshold are still retried by Auto add shipments to wave.
Set 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.
Warehouse management is part of the Dynamics 365 Supply Chain Management licence. In this system 1 role can open this page, among them Warehouse planner.
Load 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