title | description | author | ms.author | ms.topic | ms.date | ms.custom | ms.reviewer | ms.search.form |
---|---|---|---|---|---|---|---|---|
Master planning with demand forecasts |
Learn how to include demand forecasts during master planning, with an outline on setting up a master plan to include a demand forecast. |
t-benebo |
benebotg |
how-to |
01/06/2023 |
bap-template |
kamaybac |
ReqPlanSched, ReqGroup, ReqReduceKey, ForecastModel |
[!include banner]
You can use a demand forecast to account for expected demand in your master planning. You can manually create a demand forecast, import it, or generate it by using the demand forecasting functionality in Microsoft Dynamics 365 Supply Chain Management. For more information about demand forecasting, see Demand forecasting overview.
Note
Separate forecast planning isn't supported with Planning Optimization. Therefore, the Current forecast plan setting on the Master planning parameters page has no effect when you use Planning Optimization.
To configure a master plan so that it includes a demand forecast, follow these steps.
-
Go to Master planning > Setup > Plans > Master plans.
-
Select an existing plan, or create a new plan.
-
On the General FastTab, set the following fields:
- Forecast model – Select the forecast model to apply. This model will be considered when a supply suggestion is generated for the current master plan.
- Include demand forecast – Set this option to Yes to include the demand forecast in the current master plan. If you set it to No, demand forecast transactions won't be included in the master plan.
- Method used to reduce forecast requirements – Select the method that should be used to reduce forecast requirements. Learn more in the Forecast reduction keys section later in this article.
-
On the Time fence in days FastTab, you can set the following fields to specify the period that the demand forecast is included during:
- Forecast plan – Set this option to Yes to override the forecast plan time fence that originates from the individual coverage groups. Set it to No to use the values from the individual coverage groups for the current master plan.
- Forecast time period – If you set the Forecast plan option to Yes, specify the number of days (from today's date) that the demand forecast should be applied.
[!IMPORTANT] The Forecast plan setting isn't supported with Planning Optimization.
To configure a coverage group so that it includes a demand forecast, follow these steps.
-
Go to Master planning > Setup > Plans > Coverage groups.
-
Select an existing coverage group, or create a new group.
-
On the Other FastTab, set the following fields:
-
Forecast plan time fence – Enter the number of days (from today's date) that the demand forecast should be applied for. This value can be overridden by using the Forecast plan option on the master plan, as described in the previous section.
-
Reduction key – Select the reduction key to apply. Learn more in the Create and set up a forecast reduction key and Use a reduction key sections later in this article.
-
Reduce forecast by – For master plans where the Method used to reduce forecast requirements field is set to Transactions - reduction key or Transactions - dynamic period, specify which transactions should reduce the forecast. Select one of the following values:
- All transactions – All transactions should reduce the forecast.
- Orders – Only sales orders should reduce the forecast.
[!NOTE] If you select All transactions, transactions that have both demand and supply in the same inventory dimensions are considered neutral and are ignored during the forecast reduction. For example, if the planning dimension is set to site only, not warehouse, a transfer order between site 1, warehouse 11, and site 1, warehouse 13, will be ignored and won't reduce the remaining demand forecast.
-
Include intercompany orders – Set this option to Yes if intercompany orders should be included when the forecast is reduced. Otherwise, set it to No.
-
Include customer forecast in the demand forecast – Specify whether a customer forecast should be included in the overall forecast. This option determines how actual demand reduces the forecasted demand. You can use it to ensure that master planning covers the supply of items that are purchased by specific customers.
- Set this option to Yes to include a customer forecast in the overall forecast. In this case, actual customer demand reduces both the customer forecast and the overall forecast. Master planning generates planned orders to cover only the overall forecast quantity.
- Set this option to No if you don't want to include a customer forecast in the overall forecast. In this case, actual customer demand reduces only the customer forecast. Master planning generates planned orders to cover both the overall forecast quantity and the forecast for each customer quantity.
-
This section provides information about the different methods that are used to reduce forecast requirements. It includes examples of the results of each method. It also explains how to create, set up, and use a forecast reduction key. Some methods use a forecast reduction key to reduce forecast requirements.
When you include a forecast in a master plan, you can select how the forecast requirements are reduced when actual demand is included. Note that master planning excludes forecast requirements from the past, which means all forecast requirements before today's date.
To include a forecast in a master plan and select the method that is used to reduce forecast requirements, go to Master planning > Setup > Plans > Master plans. In the Forecast model field, select a forecast model. In the Method used to reduce forecast requirements field, select a method. The following options are available:
- None
- Percent – reduction key
- Transactions – reduction key
- Transactions – dynamic period
The following sections provide more information about each option.
If you select None, the forecast requirements aren't reduced during master scheduling. In this case, master planning creates planned orders to supply the forecasted demand (forecast requirements). These planned orders maintain the suggested quantity, regardless of other types of demand. For example, if sales orders are placed, master planning creates additional planned orders to supply the sales orders. The quantity of the forecast requirements isn't reduced.
If you select Percent - reduction key, the forecast requirements are reduced according to the percentages and periods that are defined by the reduction key. In this case, master planning creates planned orders where the quantity is calculated as forecasted quantity × reduction key in each period. If there are other types of demand, master planning also creates planned orders to supply that demand.
This example shows how a reduction key reduces demand forecast requirements according to the percentages and periods that are defined by the reduction key.
For this example, you include the following demand forecast in a master plan.
Month | Demand forecast |
---|---|
January | 1,000 |
February | 1,000 |
March | 1,000 |
April | 1,000 |
On the Reduction keys page, you set up the following lines.
Change | Unit | Percent |
---|---|---|
1 | Month | 100 |
2 | Month | 75 |
3 | Month | 50 |
4 | Month | 25 |
You assign the reduction key to the item's coverage group. Then, on the Master plans page, in the Method used to reduce forecast requirements field, you select Percent - reduction key.
In this case, if you run forecast scheduling on January 1, the demand forecast requirements are consumed according to the percentages that you set up on the Reduction keys page. The following requirement quantities are transferred to the master plan.
Month | Planned order quantity | Calculation |
---|---|---|
January | 0 | = 0% × 1,000 |
February | 250 | = 25% × 1,000 |
March | 500 | = 50% × 1,000 |
April | 750 | = 75% × 1,000 |
May through December | 1,000 | = 100% × 1,000 |
If you set the Method used to reduce forecast requirements field to Transactions - reduction key, the forecast requirements are reduced by the qualified demand transactions that occur during the periods that are defined by the reduction key.
The qualified demand is defined by the Reduce forecast by field on the Coverage groups page. If you set the Reduce forecast by field to Orders, only sales order transactions are considered qualified demand. If you set it to All transactions, any non-intercompany issue inventory transactions are considered qualified demand. If intercompany sales orders should also be considered qualified demand, set the Include intercompany orders option to Yes.
Forecast reduction starts with the first (earliest) demand forecast record in the reduction key period. If the quantity of qualified inventory transactions is more than the quantity of demand forecast lines in the same reduction key period, the balance of inventory transactions quantity will be used to reduce the demand forecast quantity in the previous period (if there's unconsumed forecast).
If no unconsumed forecast remains in the previous reduction key period, the balance of inventory transactions quantity will be used to reduce the forecast quantity in the next month (if there's unconsumed forecast).
The value of the Percent field on the reduction key lines isn't used when the Method used to reduce forecast requirements field is set to Transactions - reduction key. Only the dates are used to define the reduction key period.
Note
Any forecast that is posted on or before today's date will be ignored and won't be used to create planned orders. For example, if your demand forecast for the month is generated on January 1, and you run master planning that includes demand forecasting on January 2, the calculation will ignore the demand forecast line that is dated January 1.
This example shows how actual orders that occur during the periods that are defined by the reduction key reduce demand forecast requirements.
For this example, you select Transactions - reduction key in the Method used to reduce forecast requirements field on the Master plans page.
The following demand forecast lines exist on April 1.
Date | Number of pieces forecasted |
---|---|
April 5 | 100 |
April 12 | 100 |
April 19 | 100 |
April 26 | 100 |
May 3 | 100 |
May 10 | 100 |
May 17 | 100 |
The following sales order lines exist in April.
Date | Number of pieces requested |
---|---|
April 27 | 240 |
The following requirement quantities are transferred to the master plan when master planning is run on April 1. As you see, the April forecast transactions were reduced by the demand quantity of 240 in a sequence, starting from the first of those transactions.
Date | Number of pieces required |
---|---|
April 5 | 0 |
April 12 | 0 |
April 19 | 60 |
April 26 | 100 |
April 27 | 240 |
May 3 | 100 |
May 10 | 100 |
May 17 | 100 |
Now, assume that new orders were imported for the period of May.
The following sales order lines exist in May.
Date | Number of pieces requested |
---|---|
May 4 | 80 |
May 11 | 130 |
The following requirement quantities are transferred to the master plan when master planning is run on April 1. As you see, the April forecast transactions were reduced by the demand quantity of 240 in a sequence, starting from the first of those transactions. However, the May forecast transactions were reduced by a total of 210, starting from the first demand forecast transaction in May. However, the totals per period are preserved (400 in April and 300 in May).
Date | Number of pieces required |
---|---|
April 5 | 0 |
April 12 | 0 |
April 19 | 60 |
April 26 | 100 |
April 27 | 240 |
May 3 | 0 |
May 4 | 80 |
May 10 | 0 |
May 11 | 130 |
May 17 | 90 |
If you select Transactions - dynamic period, the forecast requirements are reduced by the actual order transactions that occur during the dynamic period. The dynamic period covers the current forecast dates and ends at the start of the next forecast. In this case, master planning creates planned orders to supply the forecasted demand (forecast requirements). However, when actual order transactions are placed, the forecast requirements are reduced. The actual transactions consume part of the forecasted requirements.
When this option is used, the following behavior occurs:
- Reduction keys aren't required or used.
- If the forecast is completely reduced, the forecast requirements for the current forecast become 0 (zero).
- If there's no future forecast, forecast requirements from the last forecast that was entered are reduced.
- Time fences are included in the forecast reduction calculation.
- Positive days are included in the forecast reduction calculation.
- If actual order transactions exceed the forecasted requirements, the remaining transactions aren't forwarded to the next forecast period.
Here a simple example that shows how the Transactions - dynamic period method works.
For this example, you include the following demand forecast in a master plan.
Date | Demand forecast |
---|---|
January 1 | 1,000 |
February 1 | 1,000 |
You also create the following sales orders.
Date | Sales order quantity |
---|---|
January 15 | 200 |
February 15 | 400 |
In this case, the following planned orders are created.
Demand forecast date | Quantity | Explanation |
---|---|---|
January 1 | 800 | Forecast requirements (= 1,000 – 200) |
January 15 | 200 | Sales orders requirements |
February 1 | 600 | Forecast requirements (= 1,000 – 400) |
February 15 | 400 | Sales orders requirements |
In most cases, systems are set up so that transactions reduce demand forecast in specific forecast periods: weeks, months, and so on. These periods are defined in the reduction key. However, the time between two demand forecast lines can also imply a period.
For this example, you create a demand forecast for the following dates and quantities.
Date | Demand forecast |
---|---|
January 1 | 1,000 |
January 5 | 500 |
January 12 | 1,000 |
Notice that, in this forecast, there isn't a clear period between the forecast dates. Between the first and second dates, there is a four-day span, and between the second and third dates there is a seven-day span. These spans are the dynamic periods.
You also create the following sales order lines.
Date | Sales order quantity |
---|---|
December 15 in the previous year | 500 |
January 3 | 100 |
January 10 | 200 |
In this case, the forecast is reduced in the following manner:
- Because the first sales order isn't in any period, it doesn't reduce any forecast.
- Because the second sales order is between January 1 and January 5, it reduces the forecast for January 1 by 100.
- Because the third sales order is between January 5 and January 12, it reduces the forecast for January 5 by 200.
Therefore, the following planned orders are created.
Demand forecast date | Quantity | Explanation |
---|---|---|
December 15 in the previous year | 500 | Sales order requirements |
January 1 | 900 | Forecast requirements period January 1 to January 5 (= 1,000 – 100) |
January 3 | 100 | Sales order requirements |
January 5 | 300 | Forecast requirements period January 5 to January 10 (= 500 – 200) |
January 12 | 1,000 | Forecast requirements period January 12 to end |
A forecast reduction key is used in the Transactions - reduction key and Percent- reduction key methods for reducing forecast requirements. Follow these steps to create and set up a reduction key.
-
Go to Master planning > Setup > Coverage > Reduction keys.
-
Select New to create a reduction key.
-
In the Reduction key field, enter a unique identifier for the forecast reduction key. Then, in the Name field, enter a name.
-
Define the periods and the reduction key percentage in each period:
- The Effective date field indicates the date when creation of the periods starts. When the Use the effective date option is set to Yes, the periods start on the effective date. When it's set to No, the periods start on the date when master planning is run.
- Define the periods that the forecast reduction should occur during.
- For a specific period, specify the percentages that the forecast requirements should be reduced by. You can enter positive values to decrease requirements or negative values to increase requirements.
A forecast reduction key must be assigned to the coverage group of the item. Follow these steps to assign a reduction key to an item's coverage group.
-
Go to Master planning > Setup > Coverage > Coverage groups.
-
On the Other FastTab, in the Reduction key field, select the reduction key to assign to the coverage group. The reduction key then applies to all items that belong to the coverage group.
-
To use a reduction key to calculate forecast reduction during master scheduling, you must define this setting in the setup of the forecast plan or the master plan. Go to one of the following locations:
- Master planning > Setup > Plans > Forecast plans
- Master planning > Setup > Plans > Master plans
-
On the Forecast plans or Master plans page, on the General FastTab, in the Method used to reduce forecast requirements field, select either Percent - reduction key or Transactions - reduction key.
When you select Transactions - reduction key or Transactions - dynamic period as the method for reducing forecast requirements, you can specify which transactions reduce the forecast. On the Coverage groups page, on the Other FastTab, in the Reduce forecast by field, select All transactions if all transactions should reduce the forecast or Orders if only sales orders should reduce the forecast.
This section describes how to create forecast models and how to combine multiple forecast models by setting up submodels.
A forecast model names and identifies a specific forecast. After you've created the forecast model, you can add forecast lines to it. To add forecast lines for multiple items, use the Demand forecast lines page. To add forecast lines for a specific selected item, use the Released products page.
A forecast model can include forecasts from other forecast models. To achieve this result, you add other forecast models as submodels of a parent forecast model. You must create each relevant model before you can add it as a submodel of a parent forecast model.
The resulting structure gives you a powerful way to control forecasts, because it lets you combine (aggregate) the input from multiple individual forecasts. Therefore, from a planning point of view, it's easy to combine forecasts for simulations. For example, you might set up a simulation that is based on the combination of a regular forecast with the forecast for a spring promotion.
There's no limit on the number of submodels that can be added to a parent forecast model. However, the structure can be only one level deep. In other words, a forecast model that is a submodel of another forecast model can't have its own submodels. When you add submodels to a forecast model, the system checks whether that forecast model is already a submodel of another forecast model.
If master planning encounters a submodel that has its own submodels, you receive an error message.
Forecast model A has forecast model B as a submodel. Therefore, forecast model B can't have its own submodels. If you try to add a submodel to forecast model B, you receive the following error message: "Forecast model B is a submodel for model A."
Forecast lines that occur on the same day will be aggregated across their forecast model and its submodels.
Forecast model A has forecast models B and C as submodels.
- Forecast model A includes a demand forecast for 2 pieces (pcs) on June 15.
- Forecast model B includes a demand forecast for 3 pcs on June 15.
- Forecast model C includes a demand forecast for 4 pcs on June 15.
The resulting demand forecast will be a single demand for 9 pcs (2 + 3 + 4) on June 15.
Note
Each submodel uses its own parameters, not the parameters of the parent forecast model.
To create a forecast model, follow these steps.
-
Go to Master planning > Setup > Demand forecasting > Forecast models.
-
On the Action Pane, select New.
-
Set the following fields for the new forecast model:
- Model – Enter a unique identifier for the model.
- Name – Enter a descriptive name for the model.
- Stopped – Usually, you should set this option to No. Set it to Yes only if you want to prevent editing of all forecast lines that are assigned to the model.
[!NOTE] The Include in cash flow forecasts field and the fields on the Project FastTab aren't related to master planning. Therefore, you can ignore them in this context. You must consider them only when you work with forecasts for the Project management and accounting module.
To assign submodels to a forecast model, follow these steps.
-
Go to Inventory management > Setup > Forecast > Forecast models.
-
In the list pane, select the forecast model to set up a submodel for.
-
On the Submodel FastTab, select Add to add a row to the grid.
-
In the new row, set the following fields:
- Submodel – Select the forecast model to add as a submodel. This forecast model must already exist, and it must not have any submodels of its own.
- Name – Enter a descriptive name for the submodel. For example, this name might indicate the submodel's relation to the parent forecast model.
[!INCLUDEfooter-include]