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
When license plate receiving history has built up and receipts older than the retention period are closed and no longer queried.
How often
On demand, or on a fixed schedule that matches the agreed retention for receiving records.
Batch settings
Run it as a background job outside receiving hours, so it doesn't run while workers register license plates.
What the output shows
License plate receiving history older than the number of days you entered is gone; newer registrations remain. Missing recent registrations mean the number of days was too small.
Keep license plate receiving history for the dispute period
Use this job to delete license plate receiving history older than the agreed retention.
Steps from Microsoft
Go to Warehouse management > Periodic tasks > Clean up > Clean up License plate registration history.
Enter the number of days of license plate receiving history to keep. Older records in the WHSLicensePlateReceivingHistory table are deleted.
Keep enough days to cover inbound loads that can still be disputed with a vendor, because the receiving history shows which license plates were registered.
Run it, then open a recent inbound license plate receipt and check that its registration history is still available.
License plate receiving history older than this number of days is deleted from WHSLicensePlateReceivingHistory. The dialog (titled License plate registration history clean up) opens with 0.Microsoft Learn
90
Common errors and fixes
Message
What to do
A vendor dispute can't be checked against the registration history
The history was older than the retention. Keep at least as many days as disputes stay open, or export the history first. Microsoft Learn
Test checklist
Receiving history for license plates older than the retention period is removed.
Recent license plate receipts still show their registration history.
Keep as many days as receiving disputes stay open (for example 90) and export with the entity first if an archive is needed.Deleted receiving history can't be recovered.
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.
Per company: license plate receiving history belongs to a legal entity (its Data management entity isn't shared). Checked in Dynamics 365
Can it be undone
Irreversible: Deleted receiving history can't be recovered.
If you change it later
Permanently deletes license plate receiving history records older than the retention period. Microsoft Learn
Technical architect
6Technical
Menu item
action:WHSLicensePlateReceivingHistoryCleanUpChecked in Dynamics 365
Data entities
WHSLicensePlateReceivingHistoryEntityLicense plate receiving history (The receiving history records this job deletes; export them first if they must be kept.)
Who can open it
1 security role. Select a role to see its duties and privileges.
WHSLicensePlateReceivingHistoryEntity Export before the cleanup if the history must be archived.Load order: Receiving history isn't usually migrated; export it with the entity before cleaning if it must be archived.Microsoft Learn
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page.
To cite this step: WM-JOB-250, Keep license plate receiving history for the dispute period. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-JOB-250