We have a scenario where:
- Serial A001 was created by manufacturing B001 and C001
- A001 was then delivered to a customer
- Later, it was returned as a Sales Return due to a failure in subcomponent C001**
- Now we want to disassemble A001, recover B001 (so we can reuse it), and scrap C001 (since it failed)
I used the Stock Entry, Disassemble type, entered the correct serial numbers, but then hit this error:
You can’t process the serial number B001 as it has already been used in the SABB [SABB-xxx].
Note :
if you want to inward same serial number multiple times then enabled ‘Allow existing Serial No to be Manufactured/Received again’ in the [Stock Settings]
So I tried enabling that setting—and it works.
But now I’m wondering:
What are the downsides? Is there another way?
I checked the function in the serial and batch bundle file and saw that thre are certain purposes excluded from the validation, but disassemble is not one of them.
(erpnext/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py at develop · frappe/erpnext · GitHub)
Would love to hear how others deal with this kind of problem
Thanks in advance!
BR,
Max