webERP Forum

Full Version: Sales order quantity changed incorrectly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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/HE...format=raw
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.
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.