BeyondERP.Newsletter
Menu

Job page · Landed cost

Purchase order clean up

A periodic-task dialog that deletes purchase orders in the Landed cost module that have never been added to a voyage.

Business process
Plan inbound transportation loads in Dynamics 365 Supply Chain Management
Menu item
ITMPurchCleanUp
Show what matters for
PAGE GUIDEWhat the page does and how to use it7 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA periodic-task dialog that deletes purchase orders in the Landed cost module that have never been added to a voyage.
What you do hereUse this page to remove purchase orders that are not attached to any voyage, which reduces transaction counts and improves performance.
ExampleFor example, an administrator schedules the task monthly so that purchase orders created for Landed cost but never shipped on a voyage do not accumulate.
Purchase order clean up 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 freight and transportation › Plan loads › Plan inbound transportation loads in Dynamics 365 Supply Chain Management
Menu pathLanded cost › Periodic tasks › Clean up › Purchase order clean up
Related pagesAll voyages Microsoft Learn
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 purchase orders in Landed cost that were never added to a voyage are no longer needed and are slowing the system down.
How oftenOn demand, or on a recurring schedule as part of regular housekeeping.
Batch settingsRun 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 showsPurchase 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.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Landed cost > Periodic tasks > Clean up > Purchase order clean up.
  2. Before you run it, add to a voyage any purchase order that should still go on one. Every purchase order that isn't on a voyage is deleted.
  3. Expand Records to include and select Filter to limit the purchase orders the task checks.
  4. Under Run in the background, set Batch processing to Yes to run the clean up as a batch job, and use Recurrence if it should run on a schedule.
  5. After the run, check that the purchase orders you meant to keep are still there and that orders without a voyage are gone.

Source: Microsoft Learn

Test checklist

  1. Purchase orders on voyages are untouched.
  2. Purchase orders without a voyage in the filter are deleted.
  3. Orders outside the filter still exist.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNo: Deleted purchase orders can't be restored. Run it only after every order that should go on a voyage has been added to one. Microsoft Learn
If you change it laterRunning the task deletes purchase orders that are not on a voyage, so any order a user still intends to add to a voyage must be attached first or it will be removed. Microsoft Learn
Technical architect

5Technical

Menu itemITMPurchCleanUp Checked in Dynamics 365
FormSysOperationTemplateForm Checked in Dynamics 365
Roles to set it up and use itTo use itLanded cost agent ITMAgentGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

6Developer

Open it by URLhttps://<your-environment>/?mi=ITMPurchCleanUp
Everyone

7Sources

KEEP EXPLORING

More in Landed cost.

Open the other pages and setup steps in this module, or go back to the Atlas Hub to search every page.