Finalize and end production in Dynamics 365 Finance
Menu item
LeanCosting
Main table
LeanCosting
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, “Backflush costing locks its end date”, 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 page where you run backflush costing for the production flows of lean manufacturing and review the results of each calculation period.
What you do here
Use this page to value the work in progress of production flows at the end of a period and calculate the variances of material, labor and indirect costs.
Example
For example, BEAT runs backflush costing for October with end date October 31 on November 1. The run finds 120 frames still unused in FLOW-FRAMES, clears the realized consumption from WIP, and posts a material variance of 1,840.00 for the flow to the variance 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.
Setup steps on this page
Run backflush costing at period end
Value the WIP of all production flows and post their variances at the end of each period.
Steps from Microsoft
Go to Cost management > Manufacturing accounting > Backflush costing calculation.
On the Action Pane, select Production flow period costing.
Select a calculation in the list pane and review its Calculation period and Calculation status.
On the Production flows FastTab, review the Voucher, Calculation status and Log of each production flow, and use Voucher, Standard cost transactions, Unused quantity, WIP balances and Log for more detail.
On the Period statement FastTab, review the Cost classification, Cost amount, Amount, Difference and Posting type of each line.
Shows the quantities that were still unused in the production flow on the date of the costing run.Microsoft Learn
Calculation period
The period that the backflush costing run covers, ending on its end date.Microsoft Learn
Calculation status
The status of the run and of each production flow in it.Checked in Dynamics 365
Voucher
The voucher that posts the run's WIP clearing and variances for a production flow.Microsoft Learn
Cost classification
The cost group type of a line on the Period statement, such as direct material or indirect cost.Microsoft Learn
Difference
The variance on the Period statement line, posted to the variance accounts.Microsoft Learn
Common errors and fixes
Message
What to do
New transactions can't be posted to a date
Backflush costing has been run for that date. Post with a later date, and never run backflush costing for the current date before the day is over. Microsoft Learn
Variances look too large for a flow
Kanban handling units are only consumed when they are registered as empty. Check the unused quantities of the run and that kanban quantities are smaller than the consumption per period. Microsoft Learn
Test checklist
Check every product in the production flow uses a Standard cost item model group and has an active standard cost
Check WIP accounts on the production group and a cost category on each work cell's run time
Run backflush costing with an end date in the past
Open Unused quantities for the run and check the quantities left in the flow
Check the variances were posted to the variance accounts by cost group
Run backflush costing once per period, as a batch job, with the period's last day as end date, after that day is over and before the inventory close.After a run no transactions can be posted to its end date, and the run posts the variances of material, labour and indirect cost to the variance accounts.
Hard to reverse: No transactions can be posted to a costed date afterwards.
If you change it later
After a backflush costing calculation has been run for a date, new transactions can't be posted to that date. Do not run it for the current date before the day is over. Microsoft Learn
Technical architect
6Technical
Menu item
LeanCostingChecked in Dynamics 365
Form
LeanCostingChecked in Dynamics 365
Table
LeanCostingShown as “BACKFLUSH COSTING CALCULATION” in Record infoChecked in Dynamics 365
Who can open it
3 security roles. Select a role to see its duties and privileges.
RoleAccounting managerLedgerAccountingManager
DutyInquire into inventory valuation statusInventValueInvValuationStatusInquire
PrivilegeView calculations for backflush costingLeanCostingView
DutyInquire into the lean costing statusLeanCostingStatusInquire
PrivilegeView calculations for backflush costingLeanCostingView
RoleInventory accountantInventCostAccountant
DutyInquire into inventory valuation statusInventValueInvValuationStatusInquire
PrivilegeView calculations for backflush costingLeanCostingView
DutyMaintain lean costingLeanCostingMaintain
PrivilegeMaintain costing transactions for production flowsLeanCostingMaintain
RoleInventory accountant clerkInventCostCostClerk
DutyInquire into inventory valuation statusInventValueInvValuationStatusInquire
PrivilegeView calculations for backflush costingLeanCostingView
DutyInquire into the lean costing statusLeanCostingStatusInquire
PrivilegeView calculations for backflush costingLeanCostingView
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 set it up or change itInventory accountant InventCostAccountantTo use itInventory accountant clerk InventCostCostClerkAccounting manager LedgerAccountingManagerGive people one of these roles. On this system, 3 roles can open this page.Checked in Dynamics 365
Actions on the page
(Action Pane without tabs): Production flow period costing, Resume production flow period costing, Time buckets setupChecked in Dynamics 365
Developer
7Developer
Open it by URL
https://<your-environment>/?mi=LeanCosting
Data migration
Load order: Backflush costing calculation has no data entity in Data management, so it can't be loaded from a file or a configuration template. Its records are costing runs that the system creates for each period; nothing is migrated, and the first run happens in the new system.Checked in Dynamics 365