webERP Forum
BoM Same Item Code Edit Fail - SOLVED? - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: BoM Same Item Code Edit Fail - SOLVED? (/showthread.php?tid=8292)



BoM Same Item Code Edit Fail - SOLVED? - VortecCPI - 12-11-2018

Enter a duplicate BoM item (i.e., same item code) using different WC and all is well. Now edit the same item and change it to the WC of the other existing duplicate and all goes badly. Both BoM items are updated with the same information.

I don't think the check is using the right parameters in this case...
I believe this small change takes care of this issue. I simply moved the check to the top outside of the two conditional statements.