Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034366Openbravo ERP04. Warehouse managementpublic2016-11-02 13:032016-12-16 18:39
ngarcia 
collazoandy4 
urgentmajoralways
closedfixed 
5
 
3.0PR17Q1 
aferraz
Core
No
0034366: Negative movement quantity can be defined in Goods Movements lines
Negative movement quantity can be defined in Goods Movements lines. It implies an increase of the stock in the source storage bin and a decrease in the destination storage bin
As group admin role:
   Create a goods movement
   Check in which storage bin a product has stock and set it as new storage bin (destination)
   Set a negative movement quantity and a different storage bin and process it
   Check in the Product Transactions tab there is a positive Movement From transaction and a negative Movement To transaction
   
No tags attached.
Issue History
2016-11-02 13:03ngarciaNew Issue
2016-11-02 13:03ngarciaAssigned To => Triage Finance
2016-11-02 13:03ngarciaModules => Core
2016-11-02 13:03ngarciaTriggers an Emergency Pack => No
2016-11-15 19:16ngarciaIssue Monitored: networkb
2016-11-16 17:40ngarciaResolution time => 1481065200
2016-11-16 17:40ngarciaTypedesign defect => defect
2016-11-17 09:13aferrazAssigned ToTriage Finance => Sanjota
2016-11-17 09:19aferrazAssigned ToSanjota => alekosmp86
2016-11-21 15:12collazoandy4Assigned Toalekosmp86 => collazoandy4
2016-11-22 16:07collazoandy4Note Added: 0091745
2016-11-22 16:10collazoandy4Statusnew => scheduled
2016-11-25 13:39aferrazNote Added: 0091841
2016-11-25 13:46hgbotCheckin
2016-11-25 13:46hgbotNote Added: 0091842
2016-11-25 13:46hgbotStatusscheduled => resolved
2016-11-25 13:46hgbotResolutionopen => fixed
2016-11-25 13:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/74a3926b798b21103766f956c5fe1a386bbe064c [^]
2016-11-25 13:49aferrazReview Assigned To => aferraz
2016-11-25 13:49aferrazNote Added: 0091844
2016-11-25 13:49aferrazStatusresolved => closed
2016-11-25 13:49aferrazFixed in Version => 3.0PR17Q1
2016-12-16 18:39hudsonbotCheckin
2016-12-16 18:39hudsonbotNote Added: 0092661

Notes
(0091745)
collazoandy4   
2016-11-22 16:07   
Test Plan
As group admin role:
 Define a new Goods Movemements
 Add a new line
 Select a product with stock
 Set a negative movement quantity
 Select a different Storage Bin
 Check in which Storage Bin a product has stock and set it as New Storage Bin (destination)
 Process the Good Movement and a error message is show Is not possible to process because one line has negative value in movement quantity. Please insert a positive value
(0091841)
aferraz   
2016-11-25 13:39   
Goods Movement lines with negative quantity can be automatically created by Move a Storage Bin process in Goods Movement window.
(0091842)
hgbot   
2016-11-25 13:46   
Repository: erp/devel/pi
Changeset: 74a3926b798b21103766f956c5fe1a386bbe064c
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Mon Nov 21 10:41:15 2016 -0800
URL: http://code.openbravo.com/erp/devel/pi/rev/74a3926b798b21103766f956c5fe1a386bbe064c [^]

Fixes issue 34366: Negative movement quantity in Goods Movements lines

Do not allow to process a Goods Movements line with negative movement quantity. If this situation occurs an exception is raised
notifying this error and showing the problematic line.

---
M src-db/database/model/functions/M_MOVEMENT_POST.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0091844)
aferraz   
2016-11-25 13:49   
Code review + Testing OK
(0092661)
hudsonbot   
2016-12-16 18: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/dc8bf00badd0 [^]
Maturity status: Test