Split a batch into traceable pieces
Version 17
This feature is in ERPNext version 17, which is in development. ERPNext version 16 does not have it.
Batch Split turns one batch of bulk material into many small batches, one for each piece that you cut. Each new batch records the batch it came from.
For example, you buy a 50 kg iron rod as one batch, BCH-000001. You cut it into five 10 kg pieces. ERPNext creates five batches, BCH-000002 to BCH-000006. Each one has BCH-000001 as its Parent Batch. A complaint about any piece then traces back to the rod, its supplier, and its purchase receipt.
Use Batch Split when you divide bulk material into pieces and follow each piece separately, for example:
- Rods, bars, or pipes cut to length.
- Steel or paper coils slit into smaller coils.
- Fabric or film rolls cut into shorter rolls.
Do not use it for mixing or blending, or for items without batches.
Prerequisites
- On the item of the cut piece, select Has Batch No and Automatically Create New Batch, and set a Batch Number Series, for example
BCH-.######. - The bulk material that you cut must also be a batch item.
Learn about batches.
Split as a step in production
Use this when cutting is one operation of a production process.
- In the BOM, select Track semi finished goods. See Track semi-finished goods by operation.
- In the row of the cutting operation, select Batch split and enter the Weight per piece, for example 10.
- Create the Work Order and complete the Job Card of the cutting operation as usual. The Job Card carries the Weight Per Piece.
- Make and submit the Stock Entry of the Job Card.
ERPNext divides the produced quantity by the weight per piece (50 ÷ 10 = 5) and creates five batches of 10 each.
TIP
Weight per piece controls only how the output is split into batches. It does not change how much raw material ERPNext consumes. That still follows the BOM.
Split manually in the stores
Use this when a storekeeper cuts material without a Work Order.
- Create a Stock Entry and select the Stock Entry Type Batch Split. Its purpose is Repack.
- Enter the Weight Per Piece.
- Add two rows: the bulk material with a source warehouse and quantity 50, and the piece item with a target warehouse and quantity 50, marked as Is Finished Item.
- Submit the Stock Entry. ERPNext creates five batches of 10, each linked to the rod.
Rules that ERPNext checks
| Rule | Example |
|---|---|
| The produced quantity must divide evenly by the weight per piece. | 50 ÷ 10 = 5 is accepted. 55 ÷ 10 is rejected. |
| Only one batch-tracked raw material can be consumed, so the parent is clear. | You cannot cut a rod and a coil in the same entry. |
| Each consumed batch must yield whole pieces. A piece comes from one parent batch only. | Two 25 kg rods give four 10 kg pieces, not five. |
| With several parent batches, pieces are shared in proportion. | Rods of 30 kg and 20 kg give 3 and 2 pieces of 10 kg. |
Trace a split
Open a batch that was split and select Batch Split Tree. The report shows the original batch at the top, its pieces below, and any pieces cut again below those.
Cancel a split
Cancelling the Stock Entry reverses the stock. The created batch records stay, as with any automatically created batch. They hold no stock and do not show in the Batch Split Tree. Make a new entry to split again.