Cost variance analysis in Dynamics 365 Supply Chain Management
Menu item
output:LeanProductionFlowVariances
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, “Lean production variances show after costing”, 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 report that prints the variances of a lean manufacturing production flow as of a date.
What you do here
Use this report to review the variances for a production flow on a date, at the level of detail that you select.
Example
For example, after backflush costing for 31 October BEAT's assembly flow shows a direct material variance of 120.00 at Level Total; the detailed level shows that 100.00 comes from one component whose unused quantity wasn't counted.
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
After backflush costing has run for the period end date.
How often
Monthly, after each backflush costing run.
Batch settings
Yes: Run in the background on the dialog runs it as a batch job.
What the output shows
Production variances to standard cost for the flow as of the date, per cost group and, at a detailed level, per item.
The lean production flow whose variances are printed.Checked in Dynamics 365
Date
The end date of the backflush costing period.Checked in Dynamics 365
31/03/2026
Level
Total for one figure per cost group, or a more detailed level per item.Checked in Dynamics 365
Total
Destination
Where the report is sent: Screen by default; select Change to print, export or send it by email.Checked in Dynamics 365
Screen
Run in the background
Runs the report as a batch job, so a large report doesn't block the session.Checked in Dynamics 365
No
Common errors and fixes
Message
What to do
The report is empty for a flow
Variances exist only after backflush costing has run for the Date. Run Backflush costing calculation for the period end first. Microsoft Learn
A material variance appears every period
Backflush costing works out unused quantities in the flow at period end. Kanbans that hold more than a period's consumption distort it; count unused quantities. Microsoft Learn
Run it at Level Total for every flow, and at the detailed level only for flows above your threshold.Variances are calculated per flow and period, not per kanban; the detailed level shows the items behind them.
In this system 3 roles can open this page, among them Inventory accountant clerk, Accounting manager and Inventory accountant. 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 report reads the production flows of the legal entity you run it in. Microsoft Learn
Can it be undone
Reversible: Reading the page or printing the report changes no data.
If you change it later
The report only reads backflush costing results. They change only when backflush costing is run again for a later date. Microsoft Learn
Technical architect
6Technical
Menu item
output:LeanProductionFlowVariancesChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
3 security roles. Select a role to see its duties and privileges.
RoleAccounting managerLedgerAccountingManager
DutyInquire into cost statusInventCostCostStatusInquire
PrivilegeGenerate production flow variances reportLeanProductionFlowVariancesGenerate
RoleInventory accountantInventCostAccountant
DutyInquire into cost statusInventCostCostStatusInquire
PrivilegeGenerate production flow variances reportLeanProductionFlowVariancesGenerate
DutyMaintain lean costingLeanCostingMaintain
PrivilegeGenerate production flow variances reportLeanProductionFlowVariancesGenerate
RoleInventory accountant clerkInventCostCostClerk
DutyInquire into cost statusInventCostCostStatusInquire
PrivilegeGenerate production flow variances reportLeanProductionFlowVariancesGenerate
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 itInventory accountant clerk InventCostCostClerkAccounting manager LedgerAccountingManagerInventory accountant InventCostAccountantGive people one of these roles. On this system, 3 roles can run this page.Checked in Dynamics 365
Load order: Lean production variances has no data entity in Data management, so it can't be loaded from a file or a configuration template. It only reads backflush costing results, so nothing is migrated for it. Variances start with the first backflush costing run in the new environment.Microsoft Learn