Master production schedule

In Odoo’s Manufacturing app, the master production schedule (MPS) is used to manually plan manufacturing orders (MOs) and purchase orders (POs), based on forecasted quantities of products and components.

By considering the impact of confirmed MOs and POs, along with manually adjusted demand forecasts, the MPS can be used to manage long-term product replenishment. This ensures the continued availability of the necessary products and components.

Since the MPS allows for manual intervention, it is useful for replenishing products where the demand of existing sales orders (SOs) does not reflect probable future demand.

Example

A retail store sells artificial Christmas trees during the holiday season. It is currently September, and the store has less than ten Christmas tree MOs confirmed for the month of December.

Despite the number of confirmed MOs, the procurement manager knows that the demand for Christmas trees in December is going to be much higher, once the holiday season starts. As a result, they manually enter a greater demand in the MPS, so they can properly replenish the product in time for the increase in customer demand.

重要

It is essential to remember that the MPS is a MANUAL tool. Adding a product to the MPS does not cause it to be manufactured or purchased automatically. The MPS simply suggests the amount of the product that should be replenished, but requires user input to create the MOs or POs that are used to replenish it.

For this reason, it is recommended that the MPS NOT be used alongside reordering rules for the same product. Because reordering rules are an automated workflow, they conflict with the manual replenishment method of MPS. Using both, in unison, can lead to inaccurate forecasts and the creation of unnecessary replenishment orders.

Enable and configure MPS

To use the MPS feature, navigate to Manufacturing app ‣ Configuration ‣ Settings, and tick the Master Production Schedule checkbox in the Planning section. Finally, click Save.

After enabling the Master Production Schedule feature, two new fields appear under it on the Settings page: Time Range and Number of Columns.

The Time Range field is used to select the period of time over which planning takes place, and offers three options: Monthly, Weekly, and Daily. For example, if Monthly is selected, the MPS plans the production requirements of products and components on a monthly basis.

The Number of Columns field is used to specify the quantity of the selected Time Range units shown on the MPS page. For example, if the Time Range field is set to Monthly, and 12 is entered in the Number of Columns field, the MPS shows one column for the next 12 months, starting with the current month.

If the values of the Time Range or Number of Columns fields are altered, click Save again to save the changes.

The MPS setting in the Manufacturing app's settings.

MPS dashboard

To open the MPS, navigate to Manufacturing app ‣ Planning ‣ Master Production Schedule. The MPS view appears as follows:

The Master Production Schedule in the Manufacturing app.

屏幕左侧的灰色列显示了添加到 MPS 的每个产品的部分,每个产品部分又分成较小的行。行中显示的信息取决于页面顶部 搜索… 栏下拉菜单中选择的筛选器。行中显示的默认类别是:

  • [产品] ,按 [单位] 计算 :每个时间段开始时的预测库存量。 :guilabel:`[产品]`和 :icon:`fa-area-chart`是可选按钮,可分别打开产品页面或产品的预测报告。

  • - 需求预测:手动输入的需求预测。这是对每个时间段内产品需求的估计。

  • -间接需求预测:虽然这是一个默认类别,但它 出现在作为其他产品组成部分的产品上。它代表现有 MO 对该组件的需求。

  • +建议补充:建议通过 MOPO 补充的产品数量。类别标题右侧有一个 补货 按钮,用于根据建议补货的数量手动补充产品。

    “+建议补货” 行上的补货按钮。

    “+建议补货” 行上的“补货”按钮。

  • = 预测库存:假设建议的补货数量得到满足,预测每个时间段结束时的产品库存数量。

总计,这些默认类别构成了一个等式:

\[\text{Forecasted Demand} + \text{Suggested Replenishment} = \text{Forecasted Stock}\]

对于组件,间接需求预测 也会被考虑在内。

产品列右侧的 - 预测需求+ 建议补货`字段可针对任何时间段进行编辑。这样做会改变等式,并更新显示在 :guilabel:`预测库存 字段中的值。

更改 + 建议补货 字段中的值后,字段左侧会出现一个 (重置)`按钮。点击该字段旁边的 :icon:`fa-times:guilabel:`(重置) 按钮,将其值重置回由 |MPS|计算的值。

重要

虽然 MPS 可在只启用默认类别的情况下使用,但建议同时启用 实际需求 类别。方法是点击:guilabel:搜索...`栏右侧的:icon:`fa-caret-down (向下箭头),并启用:guilabel: 标题下的:guilabel:实际需求 选项。

启用 实际需求 选项后,- 需求预测 类别将变为 - 实际/预测需求 类别。除了手动输入的预测需求外,该类别还显示产品的确认需求(基于确认的 SO)。

制造 应用程序的 设置 页面上,时间范围 字段选择的时间期限,产品列右侧的每一列都会列出该时间期限的一个单位(例如,月)。时间段列数与 列数 字段中输入的值一致。

第一时间段列表示当前时间段。例如,如果 MPS 配置为使用月,则第一列显示当前月份的数据。在这第一列中,+ 建议补货 字段显示为五种颜色之一:

  • 绿色:必须生成补货订单,才能将库存保持在 安全库存目标

  • 灰色:已生成补货订单,将库存保持在 :guilabel:` 安全库存目标`。

  • 黄色:已生成补货订单,但生成的数量不足以将库存保持在 安全库存目标

  • 红色:已生成补货订单,但其创建的数量使库存量超过 安全库存目标

如果没有生成补货订单,且当前也没有必要生成补货订单,则 + 建议补货 字段显示为白色。

添加产品

要使用 MPS 管理产品补货,请导航至:menuselection:制造应用程序 --> 计划 --> 主生产计划。在 MPS 页面顶部,点击:guilabel:添加产品,打开:guilabel:添加产品 弹出窗口。

重要

必须 正确配置产品,才能通过 MPS 补充。

如果是制成品,则必须在产品表格的 库存 选项卡的 路线*部分选择 *制造 路线。

如果是购买的产品,则必须在产品表单的 库存 选项卡的 路线 部分选择 购买 路线。此外,还必须在 购买 选项卡上指定供应商及其产品售价。

在弹出窗口的 产品 下拉菜单中选择要添加的产品。如果产品通过制造补充,请在 物料清单 字段中选择产品的 BoM

注解

将产品添加到 MPS 时选择一个 BoM,也会添加该 BoM 上列出的任何组件。如果不需要通过 MPS 管理组件的补货,只需将 物料清单 字段留空。

如果数据库配置了多个仓库,则 添加产品 弹出窗口中会出现一个:guilabel:生产仓库 字段。使用此字段指定产品补货到哪个仓库。

安全库存目标 字段中,指定应始终为订单提供的产品最小数量。例如,如果始终有 20 个单位的产品可用于执行订单,则在 安全库存目标 字段中输入 20

最少补货 字段中,输入为补货产品而创建的订单的最小产品数量。例如,如果在此字段中输入 5,则该产品的补货订单至少包括 5 个单位。

最大补货 字段中,输入为补货产品而创建的订单的最大产品数量。例如,如果在此字段中输入 100,则该产品的补货订单至多包括 100 个单位。

最后,点击 保存,将产品添加到 MPS。现在,每次打开 MPS 页面时,产品都会出现在页面上。如果在 添加产品 弹出窗口的:guilabel:物料清单 字段中选择了 BoM ,则 BoM 中列出的任何组件也会出现在页面上。

在 MPS 中弹出 “添加产品” 窗口。

编辑产品

将产品添加到 MPS 后,可能需要更改在:guilabel:添加产品`弹出窗口中输入的补货值。要执行此操作,请点击产品名称下方:guilabel:`+ 建议补货 行中:guilabel:`# ≤…≤ #`按钮右侧的:guilabel:`补货`按钮。

注解

The first and second number displayed on the # ≤…≤ # button correspond to the values entered in the Minimum to Replenish and Maximum to Replenish fields when adding the product to the MPS.

例如,如果在 最少补货 字段中输入了 5,在 最大补货 字段中输入了 100,按钮显示为 5≤…≤100

点击 # ≤…≤ # 按钮打开 编辑生产计划 弹出窗口。该弹出窗口与:guilabel:添加产品 弹出窗口相同,但 产品 和:guilabel:物料清单 字段不可编辑。

编辑生产计划 弹出窗口中,在:guilabel:安全库存目标最小补货量 和:guilabel:最大补货量 字段中输入所需的值。然后,点击 保存,以保存更改。

移除产品

要从 MPS 中删除产品,请勾选产品名称左侧的复选框。然后,点击屏幕顶部的 操作 按钮,并从下拉菜单中选择 删除。最后,在弹出的 确认 窗口中点击 确认

MPS 中删除产品会删除该产品及其所有数据。如果重新添加产品,则必须重新配置其补货值。

MPS 补货

可通过以下三种方式之一对 MPS 中的产品进行补充:

  • 点击屏幕顶部的 补货 按钮,为当前月份低于 安全库存目标 的每种产品生成补货订单。

  • 点击特定产品的 + 建议补货 行右侧的 补货 按钮,为该特定产品生成补货订单。

  • 勾选一个或多个产品名称左侧的复选框。然后,点击屏幕顶部的 操作 按钮,并从下拉菜单中选择 补货。这样就会为每个选定的产品生成一个补货订单。

生成的补货单类型与产品表格的 库存 选项卡上选择的路径一致:

  • 如果选择 购买 路线,则会生成 RfQ 以补充产品。可通过导航至 采购 应用程序选择 RfQ。任何由 MPS 生成的 RfQ 都会在其 源文件 字段中列出 MPS

  • 如果选择*制造*路线,则会生成 MO 以补充产品。可以通过导航到 制造应用程序 ‣ 操作 ‣ 制造订单 来选择 MO。任何由 MPS 生成的 MO 都会在其 源文件 字段中列出 MPS