MSBA-333 · Lesson 5 of 12 · 18 min

Planning Optimization

▶ Video coming soon A video version of this lesson is on the way.

For most of the history of Dynamics AX and early Supply Chain Management, master planning ran inside the application's own batch framework, reading and writing planning tables in the transactional database. On a large company, a full net-change run could take hours and compete with users for the same database. Planning Optimization changed that. It is a planning engine that runs as a service, loads the data it needs, calculates the plan outside the transactional database and writes the results back. Microsoft now describes it as the engine that completely replaces the built-in engine. The MB-330 objective for this lesson is phrased as a task: run Planning Optimization and analyze the results.

Why the engine changed

Microsoft's documentation on the deprecated master planning engine, updated in May 2026, states that the built-in engine is no longer supported and that Planning Optimization completely replaces it. Starting with version 10.0.41 the built-in engine is blocked for new deployments. Existing deployments that already used it may keep using it for each legal entity without requesting an exception. Microsoft has announced no removal date and says that if it does, it will give at least twelve months' notice. It recommends that customers still on the old engine migrate, and that they review the Planning Optimization fit analysis first.

For a new implementation like Cobalt Ridge, there is no decision to make: master planning means Planning Optimization. For a company migrating from an older deployment, the decision is about timing and gaps. The fit analysis is a report that inspects the company's current master planning setup and lists features in use that Planning Optimization handles differently or does not support. It is the first thing a consultant like Annelise runs when inheriting a deployment that still uses the old engine.

TopicBuilt-in enginePlanning Optimization
StatusDeprecated; blocked for new deployments from 10.0.41The supported engine
Where it runsInside the application batch framework against the transactional databaseAs a service that loads, calculates and writes back results
Typical run timeLong on large data setsMuch shorter for comparable data
New featuresNone being addedWhere Microsoft adds planning capability, such as priority-driven planning
Migration aid–Planning Optimization fit analysis

Turning it on

In current versions, Planning Optimization is part of Supply Chain Management and is enabled for new environments. Older guidance describes installing it as an add-in from Lifecycle Services or the Power Platform admin center and then turning on the Use Planning Optimization option on the Planning Optimization parameters page (Master planning > Setup > Planning Optimization parameters). An exam question may still refer to those steps. The parameters page also shows the connection status to the service, which is the first place to look if a plan run fails with a connection error. At Cobalt Ridge, Annelise checked the status in CONFIG, UAT and production before the first planning test in August 2026.

Some Planning Optimization capabilities are released as features in Feature management, and some depend on version. Examples include priority-driven planning, filtered planning runs and finite capacity scheduling within the plan. Before a demonstration, Annelise always checks Feature management in the target environment rather than assuming that a capability she used for another customer is turned on.

What a run does

A flow from left to right. Supply Chain Management sends master data and transactions to the Planning Optimization service. The service calculates netting, explosion, coverage, action messages and delays. Results return as planned orders and messages to Supply Chain Management, where they appear in the planned order list and Supply schedule.
A Planning Optimization run: data goes out to the service, the plan is calculated, and planned orders and messages come back.

When a plan is run, Supply Chain Management prepares the data the plan needs: items and their coverage settings, BOMs and routes for manufactured items, on-hand inventory, open orders and forecasts within the fences. The service calculates the plan using the logic from lessons 1 to 4: netting against coverage dimensions, applying positive and negative days, exploding demand through bills of materials, creating planned orders according to the coverage code, and calculating action messages and delays. The results are then written back as planned orders, pegging, action messages and delays, where users see them as before.

There are two ways to run. A full run recalculates the whole plan. A run can also be restricted with a filter, for example to specific items, a product family or a coverage group; that is useful when a planner has changed the settings for a handful of items and wants to see the effect without waiting for the nightly run. Filtered runs only update the filtered items and their dependent components, so the rest of the plan is left as it was. Svetla uses filtered runs heavily while tuning coverage groups in UAT.

Runs can be started interactively or scheduled in batch. Cobalt Ridge's nightly CR-STATIC run is a recurring batch job at 01:30 Eastern time. The dynamic plan CR-DYN is also run by Planning Optimization, and the explosion a user starts from a sales line uses the service in the same way.

Analysing the results

A plan run is only useful if someone reads it. Supply Chain Management gives several places to look, and Svetla built a morning routine around them.

Plan run history. Each run leaves a history record showing when it started and finished, how long each stage took, and any warnings or errors. A run that finished with warnings is often more dangerous than one that failed, because its planned orders look normal. Common warnings at Cobalt Ridge in testing were missing lead times, items with no active BOM or route, and circular BOM references from an engineering test item. Svetla reads the history first every morning before anyone else trusts the plan.

Master planning workspace. The workspace collects tiles and lists for the planner: planned orders by type, action messages, delays, and the most recent plan runs. It is the starting page for Svetla and for Marisol's buyers.

Planned orders list. Master planning > Common > Planned orders lists every planned order for the selected plan, filterable by type, status, vendor, item and date. Lesson 6 covers working with it.

Supply schedule. The Supply schedule page shows supply and demand for selected items in the buckets of a period template and lets the planner create and update planned orders in place. Lesson 6 covers it too.

Pegging and explosion. From a planned order, the Pegging and Explosion views show what demand the order covers and what supply covers its own components, level by level. These are the tools for answering the question every buyer asks: why does the plan want me to buy this?

QuestionWhere Svetla looks
Did last night's run finish cleanly?Plan run history: status, duration, warnings
What should buyers act on today?Master planning workspace and planned orders list filtered to the next two weeks
Why does the plan want this order?Pegging on the planned order
How does supply line up with demand this quarter?Supply schedule with the WK-MO template
What is late?Delays (futures messages), lesson 8

Priority-driven planning in brief

Classic master planning covers demand in date order: the earliest requirement is covered first. Priority-driven planning, a Planning Optimization capability, lets each demand and supply line carry a planning priority and lets the plan cover higher-priority demand first when supply is short. Priorities can be calculated from rules, such as giving firm sales orders a higher priority than forecast, or a key utility customer a higher priority than distributors. Items planned this way use the Priority coverage code mentioned in lesson 3, with minimum, maximum and reorder-point quantities expressed in priority terms. Cobalt Ridge did not switch it on for go-live, because the team wanted one planning logic to learn at a time, but Thandeka asked for a review in mid-2027. The case is easy to imagine: if castings are short in April, should the utility sales agreement for 60 MC-150 pumps be covered before a distributor's stock order? Date order cannot express that; priority can.

Capacity in the plan

Master planning can also schedule manufactured planned orders against resource capacity. With finite capacity, the plan does not load a work centre beyond what it can do in a day, and pushes planned production orders later when capacity is full; with infinite capacity it assumes capacity is always available and leaves capacity problems to the production scheduler. Finite capacity gives more realistic dates but makes the run slower and the results harder to explain. Cobalt Ridge plans assembly with infinite capacity in the master plan and uses a separate weekly capacity review in production control. Tadeusz's team checks the load on the two MC-150 assembly cells every Monday, and when the plan shows more pumps than the cells can build, they move planned orders by hand before firming. Which approach to use is a business decision, and the exam expects you to know that the option exists and that it lengthens runs.

Go-live: the first production run

Cobalt Ridge ran the first production plan for CRCA and CRUS on a Saturday in October 2026, a week before buyers were to start using planned orders. Svetla, Annelise and Marisol compared it with Piotr's spreadsheet for the forty highest-value items. Thirty-six matched within a day and a few units. Of the four that did not, two had lead times copied from the wrong vendor, one had a BOM line in the wrong unit of measure, and one revealed an error in the spreadsheet itself, which had been ordering a motor for a pump variant that engineering had retired. That last finding did more to win over the buyers than any training session.

Performance and data quality

Planning Optimization is fast, but the speed of a run still depends on data. The number of items, the depth of the BOMs, the length of the coverage and forecast fences and the number of coverage dimensions all add work. Cobalt Ridge's first full test run in August 2026 took about twelve minutes; after the planning team shortened the forecast fence for spares from 365 to 90 days and set obsolete items to Manual coverage, it took under five. A run time that suddenly increases is usually a data problem, such as a new item with a long fence or a BOM loop, rather than a service problem.

Data quality matters even more than speed. The service plans exactly what the data says. If a lead time is missing, the plan assumes zero days and creates planned orders dated today. If a route is missing for a manufactured item, the plan cannot schedule it. The lesson 1 UAT check that found 214 purchased items with no lead time was, in effect, a Planning Optimization readiness check. Svetla now runs the same check every month.

Who reads the run

Planning Optimization does not need an operator, but every run needs a reader. Svetla's role description at Cobalt Ridge says so in one sentence: the master planner confirms each morning that the overnight plan completed without errors before planned orders are released to buyers. When she is away, the duty passes to a named deputy in Marisol's team, and the master planning workspace is set up on the deputy's dashboard too. The check takes about five minutes on a normal day. On a bad day, when the run history shows errors or the run did not finish, the rule is simple: buyers work from yesterday's planned orders and firm nothing new until the cause is understood. In UAT that rule was tested twice. Once the run failed because a batch server had been restarted during the night; rerunning the plan at 07:30 solved it. Once the run finished but warned of a circular BOM after an engineering change; the planner held the affected item family until engineering corrected the BOM that afternoon. In both cases the buyers knew what to do because the rule had been agreed before it was needed.

Worked problem

Comparing run times after a change

In UAT, the full CR-STATIC run takes 11 minutes 40 seconds with 18,200 items in scope. After 3,100 obsolete items are moved to Manual coverage and excluded from the plan, the run takes 8 minutes 45 seconds. How many seconds were saved, and what share of the original run time is that?

Show solution
  1. Convert the times to seconds: 11 minutes 40 seconds is 700 seconds; 8 minutes 45 seconds is 525 seconds.
  2. Subtract: 700 minus 525 is 175 seconds saved.
  3. Divide by the original: 175 divided by 700 is 0.25.
  4. Express as a share: 25 percent of the original run time.

Answer: The run saves 175 seconds, a quarter (25 percent) of the original run time.

Common mistakes

  • MistakePlanning a new deployment on the built-in engine because the team knows it.

    InsteadThe built-in engine is blocked for new deployments from 10.0.41; plan on Planning Optimization.

  • MistakeMigrating an older deployment without reviewing the fit analysis.

    InsteadRun the Planning Optimization fit analysis to find features that behave differently.

  • MistakeTrusting a plan run that finished with warnings.

    InsteadRead the plan run history every morning and fix the data behind each warning.

  • MistakeRunning a full plan every time a few items change in testing.

    InsteadUse a filtered run for the changed items.

Summary and key terms

  • Planning Optimization is the service-based engine that completely replaces the deprecated built-in master planning engine.
  • The built-in engine is blocked for new deployments from 10.0.41; existing users may continue, and Microsoft will give at least twelve months' notice of removal.
  • The fit analysis identifies gaps before migration.
  • Runs can be full or filtered and can be scheduled in batch.
  • Results are reviewed through plan run history, the Master planning workspace, planned orders, pegging and the Supply schedule.
Planning Optimization
Microsoft's service-based master planning engine for Supply Chain Management.
Fit analysis
A report listing master planning features in use that Planning Optimization handles differently or does not support.
Filtered run
A plan run restricted to selected items and their dependencies.
Plan run history
The record of each plan run with timings, warnings and errors.
Pegging
The link between a supply order and the demand it covers.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. What should a company still on the built-in engine do first?

    Show answer

    Review the Planning Optimization fit analysis and plan the migration.

  2. Why is a run with warnings risky?

    Show answer

    Its planned orders look normal but may be based on missing or wrong data.

  3. What view answers why the plan wants an order?

    Show answer

    Pegging on the planned order.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz