Hearty welcome to you to ERPNext and here on the community. Here’s hoping you have a great experience using ERPNext and here on the community.
You are not disassembling a BOM. You are disassembling a Serialised Stock item.
Can’t you just cancel the Manufacturing Stock Entry that you’d used to create the serialized item in the first place?
If you can’t (or don’t want to), turn off auto serial number generation, pick up the Manufacturing Stock Entry, duplicate it, remove the BOM reference, and interchange the source and destination warehouses.
I stand corrected, not to disassemble a BOM per say but the product created through BOM which is serialized.
What I’m after is the traceability of the said item so removing serial generation is not an option. (So far, this is only the option in to trace items, if not then can you give me another way to trace an item?)
I will give you another concrete example for the usability of the said request.
We are using Erpnext for Ice Cream cone manufacturing.
Manufacture a cone (without serial number)
Pack it in small box, lets say, 12 cones per pack, this time the box has serial for traceability.
Pack the small boxes in a big box, lets say 24 small boxes, also the big box has serial.
Now, what we want is to unpack the big box, then the 24 small boxes will enter again to stocks with its original serial numbers.
Since it involves manufacturing (baking,mixing etc), then it is crucial that we can track its movement from manufacturing to sales in case theres a recall to be made if a certain items are contaminated or not fit for consumption.
EDIT:
I manage to come up with a solution upon disassembly. All I have to do is manually reenter the original serial number in the serial list. Only problem is : is the newly created (from the list) serial number is the same item as the original?
Disassembling BOM item with 4x components
original serial:
001
002
003
004
disassembled and reenter the same serial:
001 = is it assigned to original 001 or is it assigned to 002,003 or 004?
It’s the original. Yes, you’ve hit the right approach.
Couple of suggestions:
Batch Numbers may work better for you. Product recalls are your biggest concern and you should evaluate the variables that could result in product recalls (Input ingredients, machine, operator, date of production, etc.) and only change the batch number when the traceability variables change. You could also have a system that says that all tertiary packages will have the same batch number constituents - meaning larger boxes will be packed with Small Boxes with the same batch numbers ABC only. You could then include the Item Code of the larger box + the batch number of the smaller boxes as the batch number of the larger box
Using Stock Entry Purpose: Repack may work better for you.
With a bit of scripting you can quickly repack a bigger box to smaller boxes and use the original Batch Numbers of the Smaller Boxes
Serial numbers are unique for each Smaller or Bigger box. Whereas Batch Numbers can be reused and could be reused to support traceability from a recall perspective.
Traceability is a little complicated, but I’m sure you know that.