Plan inbound transportation loads in Dynamics 365 Supply Chain Management
Menu item
ITMPurchCleanUp
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 up removes only orders that aren't on a voyage”, 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 dialog that, in Microsoft's words, deletes purchase orders that haven't been added to a voyage.
What you do here
Use this page to cut down transaction counts and improve performance by removing purchase orders that never went on a voyage. Microsoft doesn't say whether only the Landed cost records or the purchase orders themselves are removed, so test it on a copy first and treat every run as final.
Example
For example, an administrator schedules the task monthly so that purchase orders created for Landed cost but never shipped on a voyage do not accumulate.
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
When purchase orders in Landed cost that were never added to a voyage are no longer needed and are slowing the system down.
How often
On demand, or on a recurring schedule as part of regular housekeeping.
Batch settings
Run it as a batch job outside working hours, with a filter that leaves out recent purchase orders that may still be added to a voyage.
What the output shows
Purchase orders that aren't on any voyage are deleted, which reduces transaction counts and improves performance. An order you still needed was missing from a voyage when the task ran.
Run it first in a copy of production, then only with a filter that leaves out recent orders, after every order that should travel is on a voyageLearn says the task deletes purchase orders that haven't been added to a voyage, and doesn't describe a way back.
On this system the page opens for Landed cost agent. Landed cost fields show on purchase orders, released products and other common pages only when Activate is Yes on the Feature visibility tab of Landed cost parameters; the module's own pages stay available either way.
Per company: the task works on the voyages of the legal entity you run it in. When you schedule it, each batch task names the company it runs in (Company accounts), so set it up in every company that uses Landed cost. Microsoft Learn
Can it be undone
No: Deleted records can't be restored.
If you change it later
Microsoft says the task deletes purchase orders that haven't been added to a voyage. Any order that should still go on a voyage must be added first, or it is removed. Microsoft Learn
Technical architect
6Technical
Menu item
ITMPurchCleanUpChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
1 security role. Select a role to see its duties and privileges.
RoleLanded cost agentITMAgent
DutyPurchase order clean upITMPurchCleanup
PrivilegePurchase order clean upITMPurchCleanUpProcess
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 it
To use itLanded cost agent ITMAgentGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer
7Developer
Open it by URL
https://<your-environment>/?mi=ITMPurchCleanUp
Data migration
Load order: Purchase order clean up has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a task and stores no setup; it only deletes.Checked in Dynamics 365
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page.
To cite this step: LC-JOB-690, Clean up purchase orders that aren't on a voyage. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/LC-JOB-690