Subcontract production to a supplier ​

Use this flow when a supplier, called the job worker, makes an item for you from raw materials that you supply.

Prerequisites ​

Step 1: Create a subcontracted Purchase Order ​

  1. Create a Purchase Order for the supplier and select Is Subcontracted.
  2. Add the service item and select the finished good item. With a Subcontracting BOM, ERPNext fills in one from the other.
  3. Enter the Rate: the service cost that you agreed with the supplier, without the raw materials.
  4. Submit the Purchase Order.

Step 2: Create a Subcontracting Order ​

  1. In the Purchase Order, select Create > Subcontracting Order.
  2. Optional: lower the quantity of each finished good to subcontract only part of the Purchase Order now.
  3. In Raw Materials Supplied, check the Supplied Items table. ERPNext fills it from the BOM.
  4. Optional: select a Set Reserve Warehouse for the raw materials, and select Reserve Stock to reserve them.
  5. Submit the Subcontracting Order.

You can create several Subcontracting Orders from one Purchase Order. ERPNext fills each new order with the remaining quantity. When nothing is left to subcontract, it does not allow another order.

The rate of each finished good in the Subcontracting Order includes the raw material cost and the service cost.

If Reserve Stock is selected, ERPNext reserves the raw materials and uses the reservation when you send them to the supplier. Reserve Stock is selected by default when Auto reserve stock is selected in Stock Settings.

Step 3: Send the raw materials ​

  1. In the Subcontracting Order, select Transfer > Material to Supplier.
  2. ERPNext creates a Send to Subcontractor Stock Entry. Check the source warehouse and the supplier warehouse.
  3. Submit the Stock Entry.

Step 4: Receive the finished goods ​

  1. In the Subcontracting Order, select Create > Subcontracting Receipt.
  2. Set the Accepted Warehouse for the finished goods, and the Job Worker Warehouse that holds the raw materials.
  3. In Consumed Items, check the consumed quantity of each raw material. This keeps the stock at the supplier correct.
  4. Optional: in the Service Expense Account of each row, select the account for the service cost. ERPNext takes the default from the service item. If it is empty, ERPNext books the service cost to the expense account of the finished good.
  5. Submit the Subcontracting Receipt.

ERPNext consumes the raw materials from the supplier warehouse and adds the finished goods to stock. It values the finished goods with the raw material cost plus the service cost.

The receipt also includes the secondary items of the BOM, for example scrap. ERPNext calculates their quantity from the finished good quantity. Select Get Secondary Items to fetch them again.

Step 5: Create the Purchase Receipt ​

In the Purchase Order, select Create > Purchase Receipt and submit it. This Purchase Receipt does not change the stock or the stock value, because the Subcontracting Receipt already did. It books the purchase taxes and charges, if any. The supplier then bills you against the Purchase Order.

Return unused raw materials ​

To get unused raw materials back from the supplier, select Return of Components in the Subcontracting Order.