OFBIZ-13241 - Getting issue details... STATUS

Introduction


This guide continues from the previous document, where we demonstrated how the MRP engine in Apache OFBiz generates system-driven requirements based on a sales order for 100 skateboards. In that walkthrough, we used a realistic manufacturing scenario to illustrate how the MRP engine analyzes current inventory, open sales orders, and production schedules to generate both internal and external requirements.

To recap, the skateboard is made up of multiple components, including a deck, sticker, transfer, and warranty card. The deck itself is an assembled item, composed of sub-components such as the core, ply, face, and glue. The MRP engine generated internal requirements for items like the deck that are produced in-house, and Product requirements for components such as stickers and warranty cards that are sourced from suppliers.

With the Purchase Orders raised and components now received into inventory, we’re ready to move to the next phase, reviewing and approving the internal requirement generated by the MRP engine. This step will trigger the creation of the Production Run needed to fulfill the original sales order. This document picks up from that point, guiding you through the approval process and showing how to initiate manufacturing to bring the finished skateboards into inventory, ready for delivery.

1. Reviewing and Approving the Internal Requirement

With all required components now available in inventory, received through Purchase Orders , we are now ready to move forward with in-house production. The MRP engine, having already generated the internal requirement for producing 100 skateboards, now awaits user approval to initiate the Production Run.

Approving this internal requirement is a critical step. It signals to the system that all prerequisites have been met and that production can begin. Once approved, Apache OFBiz automatically creates the necessary Production Runs, not only for the finished skateboards but also for any sub-components that require assembly, such as the deck.

To approve the internal requirement in Apache OFBiz:

  • Navigate to Order > Requirements > Approve Requirements


  • Select Internal Requirement from the Requirement Type ID dropdown, as only internal requirements need to be approved here.
  • Click Find to see the relevant requirements.


  • Select the requirement for the products (e.g., Skateboard, Deck).
  • Click Submit to approve the requirements.


          For approved internal requirements, a production run is automatically created.

2. Confirming the Production Run

  • Navigate to Manufacturing > Jobshop.
  • Select Created from the dropdown, as only newly created production runs are needed.
  • Click Find to list all created production runs.


  • Identify the production runs for the Skateboard (e.g., ID: 10000) and its sub-component, Deck (e.g., ID: 10002).


3. Producing the Deck (Sub-Component)

As a required sub-component, the production run of Deck must be completed before starting the Skateboard production run.

  • Click on Deck Production Run (ID: 10002)


  • On the Deck Production Run Details page, Edit fields such as Facility ID, Quantity, Start Date, Name, and Description if required.
  • Click Confirm to approve the production run for execution.


  • Go to the Tasks screenlet. 

           The Deck’s production includes two routing tasks, Lamination and Shape Deck, which we’ll run one by one.

  • For Lamination Task
    • Click Start to begin the Lamination task

           

      After starting the task and before completing it, execution details, such as actual time spent, labor hours, produced WIP/by-products lots or              additional notes can be recorded directly to the task.

    • Click Issue Components to allocate required materials.
    • Click Complete to finish the task.

           

  • For Shape Deck Task
    • Click Start to begin the Shape Deck shaping task.
    • Click Issue Components to allocate the required materials for shaping the deck.
    • Click Complete to finish the task.

         

         

Add Deck to Inventory

  • On the same Production Run page, go to the Production Run Produce screenlet.
  • Click Add to produce the Deck and add it to inventory.

           

  • On the same Production Run page, the newly created inventory for the Deck, along with its INVENTORY ITEM ID and LOT ID is displayed.

           

4. Producing the Skateboard

With the Deck available in inventory, proceed with the Skateboard production run by following similar steps as those were used for the Deck production.

  • Navigate to Manufacturing > Jobshop.
  • Click Find to list production runs.

         

  • Click the production run ID for the Skateboard (e.g., ID: 10000).

         

  • On the Skateboard Production Run Details page, click Confirm to to approve the production run for execution.

           

  • Go to the Tasks screenlet. Look for the routing task for producing skateboards i.e. Final Assembly.
    • For Final Assembly Task
      • Click Start to begin the Final Assembly task.

         

      •  Click Issue Components to allocate materials .

         

  • Ensure all tasks are completed (e.g., Final Assembly). Update the status to Completed

On the production run page, go to the Production Run Produce screenlet.

  • Click Add to produce the Skateboard and add it to inventory

         

  • On the same production run screen, the inventory of the Skateboard, along with its INVENTORY ITEM ID and LOT ID is displayed.

         

         


Once the production run is completed and inventory is produced, the finished skateboards are received into inventory, increasing the Quantity on Hand(QOH) for the Skateboard product. At this stage, the required items can be reserved against pending sales orders, ensuring they are specifically allocated to fulfill that demand.

Conclusion

The Production Run process in Apache OFBiz ensures that finished goods are manufactured and reserved precisely in line with sales demand. Starting from MRP-driven internal requirements to producing components and executing each production step, Apache OFBiz provides a structured workflow to manage manufacturing efficiently.

By completing the production runs for both sub-components and finished products, the system automatically links the output to the corresponding Sales Order. This guarantees that inventory is accurately tracked and reserved, ensuring timely fulfillment and streamlined operations.