BeyondERP.Newsletter
Menu

Job page · Inventory management

Cost calculation details

A periodic job that cleans up stored cost calculation details.

Business process
Manage data
Menu item
action:BOMCalcCleanUp
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 job that cleans up stored cost calculation details.
What you do hereUse this periodic task to remove cost calculation details that are no longer needed.
Cost calculation details 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 pathInventory management › Periodic tasks › Clean up › Cost calculation details
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 stored cost calculation details from earlier calculations are no longer needed, and the business has confirmed that.
How oftenOn demand, for example after a costing period is finished. Microsoft gives no fixed interval.
Batch settingsRun it in the background as a batch job when many cost calculations are stored.
What the output showsNo report. Stored details of the cost calculations you applied, from before each date, are removed. If someone later needs the breakdown of an old calculation, it has to be calculated again.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Inventory management > Periodic tasks > Clean up > Cost calculation details.
  2. Under Parameters, set Clean up cross costing versions to Yes or No to choose whether cross costing versions are included in the cleanup.
  3. Set Apply to sales line, Apply to planned cost and Apply to standard cost to Yes for each kind of cost calculation whose stored details you want to remove.
  4. For each kind you apply, enter the Clean up details before date. Details of calculations from before that date are removed.
  5. Afterwards, open a recent cost calculation of each kind you applied: its details are still there, and only older details are gone.

Source: Microsoft Learn

Test checklist

  1. Recent cost calculations still show their details.
  2. Calculations from before the dates no longer have stored details.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNo: Removed cost calculation details can't be restored. Run the calculation again if you need the breakdown later. Microsoft Learn
If you change it laterRemoves stored details of old cost calculations for sales lines, planned cost and standard cost, so their breakdown can no longer be opened. Microsoft Learn
Technical architect

5Technical

Menu itemaction:BOMCalcCleanUp Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Roles to set it up and use itTo use itInventory accountant clerk InventCostCostClerkInformation technology manager SysServerITManagerGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Developer

6Developer

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

7Sources