Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024035 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2013-06-10 18:20 | 2013-06-26 12:27 | |||
Reporter | umartirena | View Status | public | |||||
Assigned To | jecharri | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP25 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b8b7ab9166a7 | ||||
Projection | none | ETA | none | Target Version | 3.0MP25 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | jonalegriaesarte | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0024035: Posting Good shipment pre-reservation not cleared. | |||||||
Description | While posting a good shipment the pre-reservation is not cleared in the following situation: - Sales Order with a pre-reservation to a Purchase Order not received. - The m_reservation_stock line has the m_attributesetinstance_id null. - A goods shipment exists related to the sales order with a lot present in stock. While posting the shipment, the new reservation of the new lot gets created and released, but the pre-reservation does not get cleared, leaving more quantity reserved than the initial quantity reserved. | |||||||
Steps To Reproduce | - Create a Purchase Order for a certain product. - Create a Sales Order for the same product and make a pre-reservation of the previous created PO. Make sure that the m_attributesetinstance_id of the m_reservation_stock record is null. - Create a goods shipment using "create lines from" of lines of the sales order, and set a lot present in stock. - Complete the shipment. - See that the new reservation has been created and released, but the pre-reservation has not been cleared, leaving the reservation in a non consistent status. | |||||||
Proposed Solution | Change the following line (line 164) in M_RESERVATION_CONSUMPTION stored procedure: AND (m_attributesetinstance_id != p_attributesetinstance_id OR m_locator_id != p_locator_id) and replace by: AND ((m_attributesetinstance_id != p_attributesetinstance_id OR m_attributesetinstance_id is null) OR m_locator_id != p_locator_id) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0059508) hgbot (developer) 2013-06-18 22:44 |
Repository: erp/devel/pi Changeset: b8b7ab9166a7bdd9eab5b360483150d20c5a3976 Author: Javier Etxarri <javier.echarri <at> openbravo.com> Date: Tue Jun 18 22:44:40 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b8b7ab9166a7bdd9eab5b360483150d20c5a3976 [^] Fixes issue 24035: Posting Good shipment pre-reservation not cleared --- M src-db/database/model/functions/M_RESERVATION_CONSUMPTION.xml --- |
(0059589) hudsonbot (viewer) 2013-06-20 02:08 |
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/5caf871044ad [^] Maturity status: Test |
(0059675) jonalegriaesarte (viewer) 2013-06-26 12:27 |
Tested in customer side and it is working fine. |
![]() |
|||
Date Modified | Username | Field | Change |
2013-06-10 18:20 | umartirena | New Issue | |
2013-06-10 18:20 | umartirena | Assigned To | => jonalegriaesarte |
2013-06-10 18:20 | umartirena | Modules | => Core |
2013-06-10 18:20 | umartirena | OBNetwork customer | => No |
2013-06-10 18:20 | umartirena | Triggers an Emergency Pack | => No |
2013-06-12 19:46 | jonalegriaesarte | Target Version | => 3.0MP25 |
2013-06-18 18:34 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri |
2013-06-18 22:44 | hgbot | Checkin | |
2013-06-18 22:44 | hgbot | Note Added: 0059508 | |
2013-06-18 22:44 | hgbot | Status | new => resolved |
2013-06-18 22:44 | hgbot | Resolution | open => fixed |
2013-06-18 22:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b8b7ab9166a7bdd9eab5b360483150d20c5a3976 [^] |
2013-06-20 02:08 | hudsonbot | Checkin | |
2013-06-20 02:08 | hudsonbot | Note Added: 0059589 | |
2013-06-26 12:27 | jonalegriaesarte | Review Assigned To | => jonalegriaesarte |
2013-06-26 12:27 | jonalegriaesarte | Note Added: 0059675 | |
2013-06-26 12:27 | jonalegriaesarte | Status | resolved => closed |
2013-06-26 12:27 | jonalegriaesarte | Fixed in Version | => 3.0MP25 |
Copyright © 2000 - 2009 MantisBT Group |