Projects:Auto BOM for Retail/Technical Documentation
This documents describes the project that offers support for the auto production of products checked as Bill of Materials and Auto Generate BOM before processing the Order.
It has been implemented a preOrderLoaderHook to call the BOMProcess and a postOrderLoaderHook to set the orderId on the recently created production.
The create production process is recurrent: if a product is checked as Bill of Materials and Auto Generate BOM and its Bill of Materials products are also Bill of Materials and Auto Generate BOM, two productions are created.
The process consists of the creation of a production, the production plan based on the products of the order that are Bill of Materials and Auto Generate BOM and the production plan lines. Once they are created the transaction lines are created.