Use planning optimization in Dynamics 365 Supply Chain Management to generate a coordinated master plan
Menu item
ReqCalcScheduleItemTable
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, “Runtime filter limits the run”, 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 dialog box that starts a master planning run for a selected master plan, either now or as a scheduled background job.
What you do here
Use this page to run master planning for a plan and, if needed, limit the run to a subset of items and bill of materials (BOM) levels.
Example
For example, BEAT runs MasterPlan every night as a recurring batch job; after a big catalogue launch the run passes 60 minutes, so the planner splits it into two jobs, one for purchased items and one for manufactured items.
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 demand or supply has changed and planned orders must be brought up to date, typically as a scheduled run before planners review and firm orders.
How often
On a recurring batch schedule that matches your planning cycle; a recurring job applies the same runtime filter and BOM levels every time.
Batch settings
Set recurrence on the Run in the background FastTab so the plan is regenerated without a user starting it; keep filtered runs as separate jobs with their own comment.
What the output shows
A new plan version with planned purchase, transfer and production orders, plus requirements, for the items in the run. A missing item usually means it falls outside the plan filter or runtime filter; a component without supply usually means BOM levels to include was set too low.
Start a planning run for a master plan, now or as a recurring batch job.
Steps from Microsoft
Go to Master planning > Master planning > Run > Master planning.
On the Parameters FastTab, select the Master plan to run and add a Comment that says why you run it, for example a run for one item group only.
Under Records to include, select Filter to set a runtime filter on products. If the master plan also has a plan filter, only items that pass both filters are planned.
Set Include all BOM levels to Yes to plan all components of manufactured items with the parent. Set it to No and enter BOM levels to include: 0 ignores components, 1 adds supply for direct components, 2 also adds their components.
Open Planned orders for the plan and look at the items in the run. Items outside the filter keep the planned orders from their last run.
Opens a query where you limit the products included in this run (the runtime filter).Microsoft Learn
Include all BOM levels
Yes includes all BOM levels for items that pass the filters; No limits the levels.Microsoft Learn
BOM levels to include
The number of BOM levels to include when Include all BOM levels is No.Microsoft Learn
1
Common errors and fixes
Message
What to do
The run is cancelled after 90 minutes.
Planning Optimization cancels regeneration jobs that run longer than 90 minutes. Reduce the time fences, plan only the items you need, or split the job by item filter or into several master plans. Microsoft Learn
This operation triggered master planning that isn't supported when Planning Optimization is enabled
An old batch job created for the deprecated engine was started. Cancel those batch jobs and create new ones from this dialog. Microsoft Learn
Selecting Cancel in the dialog doesn't stop a running plan.
Cancel the job from Master plans > History > Cancel. Microsoft Learn
Test checklist
Planned orders exist for every item that passes the plan filter and runtime filter.
Items left out of the runtime filter still show the planned orders from the earlier run.
Components appear only down to the BOM level you entered.
Schedule one recurring batch run per master plan at a quiet time, with time fences no longer than the business needs, and split the run by item filter if it nears 90 minutes.Planning Optimization cancels runs over 90 minutes, and the coverage time fence has the largest effect on run time.
On the live system, Production planner can run this page. With Planning Optimization, every run regenerates the whole plan for the items in the run; there is no net change run.
The run plans the master plan you select, for the items that pass both its plan filter and the runtime filter. Microsoft Learn
Can it be undone
Reversible with effort: Run the plan again to replace its output; approved and firmed orders are kept.
If you change it later
A run replaces the earlier planning output only for the items it includes; items left out by the runtime filter keep their previous output. Microsoft Learn
Technical architect
6Technical
Menu item
ReqCalcScheduleItemTableChecked in Dynamics 365
Form
DialogChecked in Dynamics 365
Who can open it
1 security role. Select a role to see its duties and privileges.
Load order: The run holds no data of its own. After cut-over, load released products, coverage groups, item coverage, master plans and open orders, then run the plan once and check the planned orders before scheduling the recurring job.Load first: Coverage groups, Item coverage, Master plans, Open ordersMicrosoft Learn