Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021719Openbravo ERP07. Sales managementpublic2012-09-21 13:322012-09-28 14:39
maite 
ioritzCia 
immediatemajoralways
closedfixed 
5
 
3.0MP16 
Core
No
0021719: Error when reactivating Warehouse Order under some circumstances
ErrError when reactivating Warehouse Order under some circumstances
1. Create warehouse order for any BP and org
2. Add one line for one product and qty =10
3. Add one line for other product and qty =15
4. Process order. Shipment will be created
5. Reactivate Sales Order. Associated shipment will be voided
6. Edit first line and set qty=0
7. Process Order. New shipment will be created
8. Try to reactivate Warehosue order again and you will receive error "Movement Quantity is greater than the Ordered Quantity."

Seems that problem is that process is trying to void already voided shipments associated to that order
No tags attached.
Issue History
2012-09-21 13:32maiteNew Issue
2012-09-21 13:32maiteAssigned To => dmiguelez
2012-09-21 13:32maiteModules => Core
2012-09-21 13:32maiteIssue Monitored: networkb
2012-09-21 13:35maitePriorityurgent => immediate
2012-09-21 13:50dmiguelezAssigned Todmiguelez => jonalegriaesarte
2012-09-24 12:15jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-09-26 09:40hgbotCheckin
2012-09-26 09:40hgbotNote Added: 0052600
2012-09-26 09:40hgbotStatusnew => resolved
2012-09-26 09:40hgbotResolutionopen => fixed
2012-09-26 09:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/55d85c2bb55490209d9aa03e83cf64bf1fc4d171 [^]
2012-09-26 16:59maiteNote Added: 0052643
2012-09-26 16:59maiteStatusresolved => closed
2012-09-28 14:39hudsonbotCheckin
2012-09-28 14:39hudsonbotNote Added: 0052903

Notes
(0052600)
hgbot   
2012-09-26 09:40   
Repository: erp/devel/pi
Changeset: 55d85c2bb55490209d9aa03e83cf64bf1fc4d171
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue Sep 25 13:22:53 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/55d85c2bb55490209d9aa03e83cf64bf1fc4d171 [^]

Fixes issue 21719: Error when reactivating Warehouse Order.

---
M src-db/database/model/functions/M_INOUT_CANCEL.xml
---
(0052643)
maite   
2012-09-26 16:59   
verified
(0052903)
hudsonbot   
2012-09-28 14:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6d2f8cffd4b1 [^]

Maturity status: Test