Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033879 | Openbravo ERP | 04. Warehouse management | public | 2016-09-02 08:34 | 2016-09-19 16:27 |
|
Reporter | umartirena | |
Assigned To | markmm82 | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q4 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033879: Close Reservation process fails |
Description | Close Reservation process fails when trying to close a reservation from Stock Reservation window. |
Steps To Reproduce | In Live Builds:
* Activate "Enable Stock Reservations" preference.
* Go to Sales Order window and create a new header:
- BP: "Alimentos y supermercados"
* Create a line:
- Product: "Cerveza Ale 0.5L"
- Quantity: 10
* Book the order
* Go to line and click on "Manage Reservation". Reserve fully the line.
* Navigate to the created reservation.
* In Stock Reservation select the created reservation and click on "Put on Hold". Select as Process Action "Closed".Click OK
* See that the following error appears: "Error:
null value in column "quantity" violates not-null constraint" |
Proposed Solution | I think the problem is that reservation stock lines are created with null value in Released Quantity. They should have 0 there. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0033752 | | closed | markmm82 | Cannot close an order if the stock was reserved and the associated goods shipment is voided |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-09-02 08:34 | umartirena | New Issue | |
2016-09-02 08:34 | umartirena | Assigned To | => Triage Finance |
2016-09-02 08:34 | umartirena | Modules | => Core |
2016-09-02 08:34 | umartirena | Triggers an Emergency Pack | => No |
2016-09-05 13:28 | aferraz | Relationship added | related to 0033752 |
2016-09-07 18:43 | aferraz | Assigned To | Triage Finance => markmm82 |
2016-09-07 20:55 | markmm82 | Status | new => scheduled |
2016-09-07 20:55 | markmm82 | Note Added: 0089817 | |
2016-09-08 17:14 | markmm82 | Note Edited: 0089817 | bug_revision_view_page.php?bugnote_id=0089817#r13082 |
2016-09-13 14:00 | psanjuan | Note Added: 0089917 | |
2016-09-14 10:49 | psanjuan | Note Edited: 0089817 | bug_revision_view_page.php?bugnote_id=0089817#r13103 |
2016-09-14 10:51 | psanjuan | Note Added: 0089940 | |
2016-09-14 10:52 | psanjuan | Note Added: 0089944 | |
2016-09-16 09:54 | hgbot | Checkin | |
2016-09-16 09:54 | hgbot | Note Added: 0090029 | |
2016-09-16 09:54 | hgbot | Status | scheduled => resolved |
2016-09-16 09:54 | hgbot | Resolution | open => fixed |
2016-09-16 09:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/09f464ff5bde4ed6fc27ddb60e77bb6202ab8547 [^] |
2016-09-16 09:54 | hgbot | Checkin | |
2016-09-16 09:54 | hgbot | Note Added: 0090030 | |
2016-09-16 09:57 | hgbot | Checkin | |
2016-09-16 09:57 | hgbot | Note Added: 0090031 | |
2016-09-16 10:01 | aferraz | Review Assigned To | => aferraz |
2016-09-16 10:01 | aferraz | Note Added: 0090033 | |
2016-09-16 10:01 | aferraz | Status | resolved => closed |
2016-09-16 10:01 | aferraz | Fixed in Version | => 3.0PR16Q4 |
2016-09-19 16:27 | hudsonbot | Checkin | |
2016-09-19 16:27 | hudsonbot | Note Added: 0090071 | |
2016-09-19 16:27 | hudsonbot | Checkin | |
2016-09-19 16:27 | hudsonbot | Note Added: 0090072 | |
Notes |
|
(0089817)
|
markmm82
|
2016-09-07 20:55
(edited on: 2016-09-14 10:49) |
|
Test Plan
* Activate "Enable Stock Reservations" preference.
* Go to Sales Order window and create a new header:
- BP: "Alimentos y supermercados"
* Create a line:
- Product: "Cerveza Ale 0.5L"
- Quantity: 10
- Leave "Stock Reservation" field empty.
* Book the order
* Go to line and click on "Manage Reservation". Reserve fully the line.
* Navigate to the created reservation.
* In Stock Reservation select the created reservation and click on "Put on Hold". Select as Process Action "Closed".Click OK
* Notice the process ends successfully.
|
|
|
|
|
|
|
Test Plan above verified.
Repeat test above by changing Stock Reservation = Manual and Stock Reservation = Automatic. Verify that in all cases the "Stock Reservation" created shows "0" in the field "Released". |
|
|
|
Issue can be code reviewed and closed. |
|
|
(0090029)
|
hgbot
|
2016-09-16 09:54
|
|
Repository: erp/devel/pi
Changeset: 09f464ff5bde4ed6fc27ddb60e77bb6202ab8547
Author: Mark <markmm82 <at> gmail.com>
Date: Tue Sep 13 11:43:16 2016 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/09f464ff5bde4ed6fc27ddb60e77bb6202ab8547 [^]
Fixes issue 33879: Avoid error when closing reservation from Stock Reservation
Avoided exception when the quantity of reservation stock lines have null value.
When the ManageReservationActionHandler processed the stock reservation it stores the realesed quantity with ZERO value instead of null.
---
M src/org/openbravo/common/actionhandler/ManageReservationActionHandler.java
---
|
|
|
(0090030)
|
hgbot
|
2016-09-16 09:54
|
|
Repository: erp/devel/pi
Changeset: 61036197bbae0d079f41de471f729e4835b76c2d
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Sep 15 14:04:47 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/61036197bbae0d079f41de471f729e4835b76c2d [^]
Related to issue 33879: Code review improvements
---
M src-db/database/model/functions/M_INOUT_POST.xml
M src/org/openbravo/common/actionhandler/ManagePrereservationActionHandler.java
M src/org/openbravo/common/actionhandler/ManageReservationActionHandler.java
---
|
|
|
(0090031)
|
hgbot
|
2016-09-16 09:57
|
|
|
|
|
|
|
|
|
|
|
|