webERP Forum
Sales order quantity changed incorrectly - 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: Sales order quantity changed incorrectly (/showthread.php?tid=899)



Sales order quantity changed incorrectly - kivo - 05-18-2013

I made a sales order of qty 100each of an item. Then dispatch 10each for first invoice and the Action for Balance is set to "Automatically put balance on back order". After process this invoice. I saw the sales order qty still keep 100each and invoice 10each. That's correct. Then I dispatch another 20each and now the Action for Balance is set to "Cancell my qty not deliver". After process this invoice. I found that the sales order qty changed to 20each only. And the order delivery difference report shows that the difference qty is 80each.

I think the software put my last dispatch qty back to the sales order qty and generate this error.

I am using WebERP 4.10.1


RE: Sales order quantity changed incorrectly - phil - 05-18-2013

Well that sounds as though the order quantity should have been set to 30 as dispatched 20 + 10 in the first shipment.
The order delivery differences should only be 70.

Is the above the behaviour you were expecting or were you expecting something else?

I have found the error and committing to SVN - pls could you test?

http://sourceforge.net/p/web-erp/code/HEAD/tree/trunk/ConfirmDispatch_Invoice.php?format=raw


RE: Sales order quantity changed incorrectly - kivo - 05-18-2013

The sales order quantity should keep as 100 because this is the qty customer ordered. If this qty changed, we cannot track what qty customer orderd. So, if we complete this order, the order delivery difference should be 70 as you mentioned.


RE: Sales order quantity changed incorrectly - phil - 05-20-2013

Well the order delivery differences log shows you the differences. If the order is cancelled then the quantity is reduced to the quantity already dispatched.