Production controlPeriodic tasksProduction order status update
action:ProdHistoricalCost
Used by
Production supervisor
Business process
End product and record actual costs in Dynamics 365 Supply Chain Management
Menu item
action:ProdHistoricalCost
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. Some of it is Dynamics AX 2012 documentation, an earlier version.
Tests
A ready-to-run test, “End closes the order with actual cost”, 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 page that ends one or many production orders, calculating the actual cost of what was produced and setting the status to Ended so that no more costs can be posted.
What you do here
Use this page to end reported-as-finished orders in bulk or on a batch schedule, choosing the posting date and how any scrap quantity is costed.
Example
For example, select the Allocation scrap method so that the cost of scrapped material is added to the finished goods instead of being posted to a scrap account.
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 production orders are complete and all consumption, feedback and corrections are posted, before the period is closed.
How often
At least before each period close, or as a recurring batch job with Late selection for orders that are reported as finished.
Batch settings
Run it as a recurring batch job with Late selection so orders reported as finished are ended regularly.
What the output shows
Production orders with status Ended and actual cost replacing estimated cost for material, labor and overhead. A large variance usually means consumption was missing or posted twice before the order was ended.
Calculate actual costs and close production orders that are reported as finished.
Steps from Microsoft
Go to Production control > Periodic tasks > Production order status update > End.
Select the production orders that have the status Reported as finished.
On the General tab, enter the posting Date for ending the orders.
In the Scrap method field, choose whether scrap cost is posted to a Scrap account or allocated to the finished quantity, and enter the Scrap account if needed.
Open the ended orders and review the cost comparison between estimated and actual cost.
Whether the order should be reported as finished first as part of ending it.Microsoft Learn
Scrap method
Whether the cost of scrap is posted to a scrap account or allocated to the finished quantity.Microsoft Learn
Scrap account
The ledger account that receives scrap cost when the Scrap account method is used.Microsoft Learn
Late selection
For a recurring batch, picks up new production orders each time the job runs.Microsoft Learn
Common errors and fixes
Message
What to do
Update conflict. The standard cost does not match with the financial inventory value after the update.
Another process changed the data during the update. Resume the batch job. If it keeps failing, check that the rounding precision of the ledger's default currency wasn't recently changed to a value that doesn't match the inventory rounding. Microsoft Learn
Test checklist
The orders show status Ended.
The cost comparison shows actual cost.
Scrap cost is on the scrap account or in the finished cost, as chosen.
Run it as a batch after all consumption, time and quantities are reported, with the scrap method your cost accountant agreed (Allocation adds scrap cost to the finished goods).End replaces estimated costs with actual costs and posts the variances; after that no more cost can be posted, so late reports would be lost to the order.
On this system 1 role can run this page, among them Production supervisor. No Feature management feature needs to be turned on for this page.
Checked in Dynamics 365
Solution architect
5Design impact
Shared or per company
Per company: the job works on the production orders of the legal entity you run it in. Production orders are company data (the Production orders entity is not shared in Data management). Checked in Dynamics 365
Can it be undone
Irreversible: The Ended status prevents any additional costs from being posted to the order.
If you change it later
Ending is final: the order can no longer be updated or reset to an earlier status, estimated transactions are replaced by actual cost, and WIP postings are reversed. Microsoft Learn
Technical architect
6Technical
Menu item
action:ProdHistoricalCostChecked in Dynamics 365
Form
ProdParmHistoricalCostChecked in Dynamics 365
Who can open it
1 security role. Select a role to see its duties and privileges.
RoleProduction supervisorProdProductionSupervisor
DutyMaintain production order completionProdProductionOrderCompletionMaintain
PrivilegeEnd productionsProdHistoricalCost
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 itProduction supervisor ProdProductionSupervisorGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Load order: End has no data entity in Data management, because it is a periodic job that changes records that already exist. Ended orders from the old system aren't migrated as open orders; keep their history in the old system or a report.Checked in Dynamics 365