Batch Number Configuration

In ERPNext, I have items enabled with the “has batch number” option. When trying to create a purchase receipt and add batch numbers to these items, I cannot set the same batch number for different items. However, in my scenario, I need to have the same batch number for multiple items. How can I handle this?

Try to set the naming series and title, because the default batch ID is set at naming series and title that’s why it needs a unique value

If i change that can i able to track the stock balance of different items on the same batch number in batch wise stock balance report .

Why this restriction?

Traceability: Batches are typically used to trace the origin and details of a product to a particular bucket. Mixing different items in the same batch number can complicate traceability.

Quality Control: Batches are also used for quality control. Having specific batch numbers per product ensures that quality problems can be traced back to the product and production team.

If you need to associate multiple items with a single batch concept, you will generally create separate batches for each item, even if they are part of the same production job

Example:

Item A: Batch 001-A
Item B: Batch 001-B

This way you maintain product separation by focusing on the same group of products or purchases.