Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0024035 | Openbravo ERP | 04. Warehouse management | public | 2013-06-10 18:20 | 2013-06-26 12:27 |
Reporter | umartirena | ||||
Assigned To | jecharri | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0MP25 | Fixed in Version | 3.0MP25 | ||
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) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|