Table of Contents

Compare and Update Production Orders

You can compare the production orders of a construction order or a document BOM with the current BOM structure, review the differences, and apply the selected changes to the production orders. The comparison uses the same BOM Compare & Update page as the comparison of construction orders.

After production orders are created, the construction order or document BOM can change. For example, quantities change, sub-assemblies are inserted or removed, or parts of the structure move to another level. The comparison shows these differences for all production orders of the document, including separate production orders, and updates the production orders without creating them again.

When the BOM changes after its production orders exist, you can use this comparison to review and apply the changes. The comparison works for construction orders and document BOMs and shows all differences per production order, including separate production orders. For construction orders, the Transfer Changes to Prod. Order function is also available. It lists the modified construction order lines and transfers them to the production order.

Example

In a construction order, the quantity of a purchased part is increased. A sub-assembly is inserted, and its BOM is requested with the Request BOM from Line action. Then the construction order lines are released. The comparison shows a Modify line for the component and Insert lines for the sub-assembly. After you apply the changes, the component has the increased quantity, and a supplying production order line with an order-to-order reservation is created for the sub-assembly.

Prerequisites

The following prerequisites must be met before you can compare and update production orders:

  • Production orders exist for the construction order or document BOM, for example created with the Create Prod. Order action.
  • After you insert a sub-assembly, request its BOM with Request BOM from Line. Otherwise, the comparison shows no lines for the sub-assembly, and the sub-assembly is not included in the production orders.
  • Release the construction order lines or document BOM lines after you edit them. Changes from lines with a status other than Released are marked as errors and are not applied.
  • For a document BOM, the source document is a sales line.
Note

A line that a production order was created from cannot be deleted while this production order exists and is not finished. Its Type, No., and Separate Prod. Order fields cannot be changed either. On construction order lines, this also applies to the Exp. Quantity field. If you try, the change is not saved, and a notification states that the production order must be deleted or finished first. To open the production order, select Open Prod. Order in the notification.

Start the Comparison

You can compare all production orders of a document or only the separate production order of a single line:

  • To compare the main production orders and all separate production orders of the document, select Compare & Update Prod. Orders.
    The action is on the Actions menu of the Construction Order page and, if the source document is a sales line, of the Document BOM Header page.

  • To compare only the separate production order of one line and the separate production orders in its substructure, select Compare & Update Separate Prod. Order.
    The action is on the Line menu of the construction lines (list and tree view) and of the document BOM lines (subpage and worksheet). It is available for lines with the Separate Prod. Order checkbox selected.

Comparison Method

To compare, the current BOM is used to generate temporary, simulated production orders, including the separate production orders, with the full quantity. The simulated production orders are compared with the existing production orders and are deleted after the comparison.

  • Production orders are matched by the construction order or document BOM line that they were created from. Every existing main production order is compared with the simulated main production order.
  • Lines, components, and routing lines are matched by their source line first, and then by item and variant code or by type, number, and operation number.
  • Components that are supplied by a separate production order are not expanded. The separate production order is shown as a separate line below the component.

In the BOM Compare & Update page, each production order is shown as a line, with its production order lines, routing lines, components, and supplying sub-lines below it. Each line with a difference is marked as Insert, Modify, Delete, or Move and can show an error, a warning, or information.

Compared Data

The comparison covers the following data:

  • Fields of production order lines, components, and routing lines. The fields are configured in the BOM Compare Fields page, in the entries for tables 5406 "Prod. Order Line", 5407 "Prod. Order Component", and 5409 "Prod. Order Routing Line". Missing entries are created with default settings each time you run the comparison. Existing entries are kept.
  • Line quantities, including sub-lines that follow the expected quantity of their component. For partial production orders, the quantity is scaled by the ratio of the actual to the simulated quantity. If a component is partly reserved from other supply, for example from inventory, the supplying sub-line covers only the remaining quantity.
  • Comments, attributes, and skill sets.

Review and Apply Changes

  1. Select the Compare & Update Prod. Orders action, or select the Compare & Update Separate Prod. Order action on a line. The BOM Compare & Update page opens. If no production orders exist for the selected scope, a message states that there are no production orders to compare, and the page does not open.
  2. Review the differences. The Record Type field shows the type of each line. To exclude or move changes, proceed as described in Update Construction Order Lines in BOM Compare & Update Page.
    • Selecting Skip on an Insert line also selects it for the lines below. -In all other cases, changing Skip on a line that has lines below it opens the message "Do you want to set/reset Skip for the substructure/children as well?". If you confirm, the lines below are changed as well. Otherwise, only the selected line is changed.
  3. Select the Apply Changes action, and then confirm the message "All changes will be applied. Do you want to continue?". The page closes, the selected changes are applied, and the message "Changes successfully applied." is shown. If you do not confirm, the page stays open and nothing is changed.

If the page contains changes and you close it without applying them, the message "Changes have not been applied. Do you still want to close the page?" appears. If you confirm, the page closes and no production order is changed. If you do not confirm, the page stays open. The simulated production orders are deleted when the page closes, whether or not you apply the changes.

When you apply the changes, the production orders are updated as follows:

  • Routing lines and components are inserted, modified, and deleted.
  • New supplying production order lines are created, including the order-to-order reservation.
  • Production orders that are not required by the BOM are deleted, except released production orders.
  • Missing separate production orders are created.
  • Comments, attributes, and skill sets are copied to inserted lines, changed on modified lines, and deleted with deleted lines.

Deletions are processed first.

Move Lines

Auto Move, Move, and Undo Move work within one production order. Components and supplying production order lines are moved instead of being deleted and created again. This is useful, for example, when a new assembly is inserted and the existing assembly moves one level down. For a moved component, the reservation entries and related records are moved as well.

Only components and production order lines below a component can be moved, and only to a line of the same type. Lines of a finished production order cannot be moved.

A component cannot be moved if consumption or picks are posted for it. In this case, the message "The component ... cannot be moved, because consumption or picks have already been posted." appears.

Changes That Cannot Be Applied

Changes that cannot be applied safely are marked as errors and are skipped when you apply the changes. This applies in the following cases.

Situation Message
A component is to be deleted or its item or variant code changes, and consumption is posted for the component. Already posted.
An operation is to be deleted or its type or number changes, and capacity is posted for the operation. Already posted.
A component is to be deleted or its item or variant code changes, and the component is reserved from other supply. Reservation exists.
An operation is to be deleted or its type or number changes, and a subcontracting purchase order exists for the operation. Subcontracting purchase order exists.
The construction order line or document BOM line has a status other than Released. Line ... must have the status Released.
No main production order exists for the document. Create it with the Create Prod. Order action. No production order exists for the document. Use the function Create Prod. Order instead.
The production order lacks a top-level production order line that the BOM requires. Refresh or recreate the production order. Only production order lines supplying a component can be added to an existing production order. Refresh or recreate the production order.
A released production order is not required by the BOM. Released production orders are not deleted automatically. The released production order ... is not deleted automatically.
A line or production order to be deleted contains lines with errors. The substructure cannot be deleted completely.

A production order that is not required by the BOM and is not released is deleted. It is marked with the warning The ... production order ... will be deleted.

Lines of a finished production order are skipped and marked with the information The finished production order ... is not changed.

Note

If capacity is posted for an operation, changes to times, scrap, lot size, concurrent capacities, or send-ahead quantity apply only to the remaining operation. The line is marked with a warning.


Feedback
Submit feedback for this page .