Handling Production Orders

New Validation for Refreshing Production Orders

A new validation has been introduced to enhance the process of refreshing Production Orders in Business Central. This update addresses scenarios where Co/By-Products are involved, requiring their own routing and costing.

Default Behavior: By default, Business Central does not allow users to refresh a Production Order if it has ledger entries associated with any Production Order Line.

New Functionality: When a Co/By-Product is added to a Production Order, refreshing the order becomes necessary to obtain the correct routing and Bill of Materials (BOM). To support this, the system now performs additional validations.

Validation Details:

  • The system will validate both the Production Order No. and the Order Line No..
  • It will check for the presence of Item Ledger Entries and Capacity Ledger Entries for each Production Order Line.
  • The system will refresh only lines that do not have any Ledger Entries.

Steps to Refresh a Production Order:

  1. Ensure that the Production Order includes the necessary Co/By-Products.
  2. Initiate the refresh process.
  3. The system will automatically validate the Production Order No. and Order Line No.
  4. If ledger entries are present, the system will proceed with the refresh to update the routing and BOM.

Important Notes:

  • This validation ensures that all necessary data is accurately updated, maintaining the integrity of the Production Order.
  • Users should verify that all required Co/By-Products are correctly added before initiating the refresh.

Production Order Lines

To manage Co/By-Products effectively, the Production Order Lines table is extended with two new fields. These fields are not visible by default, but users can add them through the Personalize feature.

Field Description
From Prod. Order Line No. Specifies the Main Product Line No related to the Co/By-Product. The From Prod. Order Line No. field will inherit the line number from the main item.
Product Type Specifies the type of the line. Options are:
- Main Product: If the line is classified as a Main Product, a Co/By-Product can be added manually.
- Co/By-Product: If the line is classified as a Co/By-Product, it will not be possible to add further Co/By-Products manually.
These new fields Product Type and From Prod. Order Line No are also available on journal tables to support Co/By-Product tracking in:

  • Production Journal
  • Output Journal
  • Inventory Journal These fields are non-editable.

Add Co/By-Product

A new action, Add Co/By-Product, is available on the Production Order Lines subform, located under the Functions tab.

This action allows adding a Co/By-Product to a main product being produced with the same routing.

Business Rules

  • Selecting Items: The user can select one or more items from the Item List.
  • Routing Inheritance: The selected Co/By-Products will inherit the routing from the main item.
  • Action Restrictions: The Add Co/By-Product action is only enabled for Production Order Lines classified as Main Product.
  • Duplicate Co/By-Product: It is not possible to add the same item number as the main product (with Product Type set to Main Product).
  • Duplicate Co/By-Product Line: It is not possible to add the same Co/By-Product (Item No + Variant Code) twice on the same main pri that already exists in the Production Order Line, an error message will be displayed.
  • Using same Co/By-Products in different lines: It is possible to add the same Co/By-Product multiple times if they are attached to different main products.
  • Quantity: The quantity for the added Co/By-Product is not calculated automatically and must be manually entered by the user.
  • Recalculation Impact: Manually added Co/By-Product lines will be deleted when the Production Order is recalculated (using Lines = Yes during the refresh).

Additional Business Rules for Production Order Lines

  • Deleting Lines: If a Main Item Production Order Line containing one or more Co/By-Products is deleted, those Co/By-Product lines will be deleted as well.
  • Routing Updates: If the routing for a Main Product is changed manually on the Production Order Line, the change will be automatically applied to all related Co/By-Product lines. The user will need to refresh the Production Order (Lines = Yes) to update and calculate the new routing information. Routing No for Co/By-Products: The routing number for Co/By-Product lines can be changed manually without restrictions.
  • Quantity Recalculation: The system does not automatically recalculate the quantity for Co/By-Product lines when the associated Main Product line quantity changes. The user must manually adjust the quantity.
  • Item Ledger Entries Validation: If the user attempts to add a Co/By-Product to a Production Order Line that already has associated item ledger or capacity ledger entries, an error message will be displayed.
  • Routing No Validation for Co/By-Product: If the user tries to change the Routing No for a Co/By-Product line, the following error will be displayed: “Routing No must be the same as the Main Item.”

Family Production Orders

For Family Production Orders, Co/By-Products are added after inserting the main items and refreshing the Production Order.

These outputs are not displayed on the Family card but are included in Production once the order is generated.

Previous
Next