Create a Bill of Materials
Create a Bill of Materials (BOM) for each item that you make. Work Orders and Production Plans use it to know which materials to move and consume. To learn what a BOM is, read About Bills of Materials.
Prerequisites
- The Item to make, and an Item for each raw material.
- For a BOM with operations: the operations and workstations. A routing is optional.
Create a BOM
- Open the BOM list and select New.
- In Item to Manufacture, select the item. ERPNext fills in the unit of measure, the company, and the currency.
- In Quantity (Output Qty), enter how many units this BOM makes.
- In the Components table, add one row for each raw material or sub-assembly:
- Select the Item Code and enter the Qty.
- Optional: select the Source Warehouse where the material is stored.
- For a sub-assembly, ERPNext fills in its default BOM No.
- Optional: add operations. See Add operations.
- Optional: add scrap, co-products, or by-products in Secondary Items. Learn about secondary items.
- Save the BOM, check the Costing tab, then submit the BOM.
WARNING
After you submit a BOM, you cannot edit it. To change it, cancel and amend it, or copy it and submit a new BOM.
Add operations
- Select With Operations. The Operations table appears.
- Optional: select a Routing to copy its operations.
- For each row in Operations:
- Select the Operation. ERPNext fills in the default workstation.
- Select a Workstation, or a Workstation Type to let ERPNext pick a free machine.
- Enter the Operation Time in minutes and the Batch Size.
- In Transfer Material Against, select one option:
- Work Order: transfer all raw materials for the Work Order at once.
- Job Card: transfer raw materials separately for each Job Card.
ERPNext calculates the operating cost from the workstation hourly rate and the operation time.
TIP
To link a raw material to an operation, set Item operation in its row of the Components table. The Work Order then shows which operation uses which material.
Choose how ERPNext consumes components
In the BOM Configuration tab, the Consume Components section has a Based On field. It controls which quantities the Manufacture Stock Entry consumes:
| Option | Consumes |
|---|---|
| BOM | The BOM quantities multiplied by the quantity produced. |
| Material Transferred for Manufacture | Only the materials that you transferred to the Work-in-Progress Warehouse. |
If you leave Based On empty, ERPNext uses Backflush Raw Materials Based On in Manufacturing Settings.
Set component quantities as percentages
Version 17
This feature is in ERPNext version 17, which is in development. ERPNext version 16 does not have it.
In process industries a recipe is often a mix by percentage, for example a spice blend. You can enter each component as a share of the output quantity.
- In the BOM, select Set component quantities based on percentage. A Percentage (%) column appears in the components table, and Qty becomes read-only.
- Enter the Percentage (%) of each component. The percentages must add up to 100.
- Optional: select Is Balance Item on one row. That row takes the percentage left after the other rows, so you do not need to balance decimals by hand. Only one row can be the balance item, and the other rows must leave it a positive share.
Every row that is not the balance item needs a percentage. You cannot mix percentage rows and quantity rows.
ERPNext calculates each quantity as percentage ÷ 100 × output quantity, and converts units when the component unit differs from the BOM unit. It recalculates on every save, so a new output quantity rescales the whole recipe.
For example, with an output of 200 kg: coriander 40% gives 80 kg, chilli 35% gives 70 kg, and turmeric as the balance item gets 25%, or 50 kg.
Exclude a row from manufacturing
Each component row has the Include Item In Manufacturing checkbox. Clear it for a cost that is not a material that you consume, for example a chemical treatment that you pay for. ERPNext keeps the cost in the BOM but does not transfer or consume the row in stock.
After you submit
From the BOM, you can create a Work Order, a Quality Inspection, and other linked documents. The Connections tab shows the documents that use the BOM.