BeyondERP.Newsletter
Menu

Job page · Cost management

Production orders cleanup

A periodic task that deletes production orders that have ended.

Business process
Manage data
Menu item
action:ProdTableCleanUp
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 that deletes production orders that have ended.
What you do hereUse this task to remove ended production orders from the system once the business has confirmed that the data is no longer required.
Production orders 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 data
Menu pathCost management › Manufacturing accounting › Clean up › Production orders cleanup
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 itAfter the production orders have ended and their costs and variances have been analyzed and reported for the period.
How oftenOn demand, for example once old financial years are closed; Learn gives no fixed cadence.
Batch settingsRun it in the background outside business hours when you delete many orders at once.
What the output showsEnded production orders that match the filter are deleted. This is the same routine as Production control > Periodic tasks > Clean up > Production orders cleanup. If an order you need is missing, the filter was too wide.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Cost management > Manufacturing accounting > Clean up > Production orders cleanup.
  2. Agree with production and finance which ended production orders are no longer needed, for example for audits or cost analysis. The job only deletes orders that have ended.
  3. Test the cleanup in a test environment first, as Microsoft recommends for every cleanup routine.
  4. Use Records to include to filter the ended orders to delete, for example by end date or item, then select OK.
  5. Open All production orders and check that the filtered ended orders are gone and that no open order was touched.

Source: Microsoft Learn

Test checklist

  1. Only orders with status Ended that match the filter were deleted.
  2. Started and reported-as-finished orders are untouched.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNo: Deleted production orders can't be restored. Run the job only after the business has confirmed the orders are no longer required. Microsoft Learn
If you change it laterDeletes ended production orders, so they no longer appear in production order lists and cost analysis. Microsoft Learn
Technical architect

5Technical

Menu itemaction:ProdTableCleanUp
Roles to set it up and use itTo use itInformation technology manager SysServerITManagerGive 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=action:ProdTableCleanUp
Everyone

7Sources