Use case :
production A :
used material "TEST MA" date material policy : "2015-03-21" , qty used 10 pcs;
production B :
used material "TEST MA" date material policy : "2015-03-23" , qty used 5 pcs;
m_storage has 2 lines :
-10pcs ; DMP (2015-03-21)
-5pcs ; DMP (2015-03-23)
Now I want to create material receipt for product Test MA with 20 pcs dated 2015-03-21.
I will get error : MInOutLineMA.doUpdate: Update return 2 instead of 1
If I use : 2015-03-19 material receipts get completed.
Hi , can you please provide more info about the product? Or create a reproducible test case in demo?
I tried with a simple product (no ASI) and the issue is not reproduced.
Found the issue and committed fix (migration script) - the problem was with products with ASI