Add scrap and secondary items to a BOM ​

Production often yields more than the main finished good. A secondary item is any other output of the BOM. Add secondary items to the BOM so that ERPNext adds them to stock and values them when you finish a Work Order.

INFO

In ERPNext v16 the Scrap Items table of the BOM is now the Secondary Items table. If you upgrade from an older version, your scrap items stay, and ERPNext values them as before.

Types of secondary items ​

TypeMeaning
ScrapWaste with little or no value, for example metal shavings.
Co-ProductA planned output with significant value, made together with the finished good.
By-ProductAn unplanned output. It may or may not have significant value.
Additional Finished GoodA planned output with significant value, usually from extra material, spare capacity, or more processing.

ERPNext calculates the quantity and value of all four types the same way. The type helps you tell them apart in reports.

Add secondary items ​

  1. Open a draft BOM.
  2. In the Secondary Items table, add one row for each output:
    1. Select the Type and the Item Code.
    2. Enter the Qty that the BOM quantity yields.
    3. Optional: enter a Process Loss % for this item.
    4. Select the Valuation Type (see below).
  3. Save and submit the BOM.

Value secondary items ​

The Valuation Type sets how ERPNext values each secondary item in the Manufacture Stock Entry:

Valuation TypeValue of the secondary item
Valuation RateThe valuation rate of the item. ERPNext deducts this value from the cost of the finished good.
ManualA rate that you enter. ERPNext deducts this value from the cost of the finished good.
% of Component CostA share of the raw material cost. Enter the share in Cost Allocation %.

When you use % of Component Cost, the BOM's % Cost Allocation field holds the share of the main finished good. The shares of all outputs add up to 100%.

Example: split the cost of crude oil ​

A refinery makes petrol from crude oil. It also gets LPG and bitumen.

OutputTypeCost Allocation %Process Loss %
PetrolFinished good85%0%
LPGCo-Product10%0%
BitumenBy-Product5%5%

If the raw material cost is 100, LPG gets 10 and bitumen gets 5. Petrol gets the remaining 85. If the BOM yields 10 units of bitumen, the 5% process loss reduces it to 9.5 units.

One raw material, many finished goods ​

Some industries make several products from one raw material, for example oil products from crude oil. To model this:

  1. Create an item for the raw material and for each product. Each product can have its own unit of measure.
  2. Create a BOM for one main product, with the raw material as the component.
  3. Add the other products as co-products in Secondary Items.
  4. Make a Work Order for the main product. When you finish it, ERPNext consumes the raw material and adds all the products to stock.

Where secondary items go in production ​

  • The Manufacture Stock Entry of a Work Order adds each secondary item to the Scrap Warehouse of the Work Order. Set a default in Default Scrap Warehouse on the Company.
  • On a Job Card, record the scrap of an operation in the Secondary Items table. Learn about Job Cards.
  • For a Subcontracting Receipt, ERPNext takes the secondary items from the BOM of the finished good.