Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0037201 | Openbravo ERP | 04. Warehouse management | public | 2017-10-31 16:01 | 2017-11-02 18:22 | ||||||||||||||
Reporter | ngarcia | ||||||||||||||||||
Assigned To | dmiguelez | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR18Q1 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | dmiguelez | ||||||||||||||||||
OBNetwork customer | OBPS | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | 49148 | ||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0037201: It is not possible to remove negative stock if it exists in more than one warehouse of the same organization | ||||||||||||||||||
Description | It is not possible to remove negative stock if it exists in more than one warehouse of the same organization You need for instance Openbravo For Retail to obtain negative stock without allowing it M_CHECK_STOCK database function is checking if the product has negative stock in the m_storage_detail table filtering by organization. Analyze which filter should be used for checking it: storage bin, warehouse... | ||||||||||||||||||
Steps To Reproduce | In an environment with Openbravo For Retail installed: In the backend: Create a new warehouse for Vall Blanca Store Add a locator to it Set it's status to OverIssue = 'N' (not allowing negative stock) Change the status of all the storage bins of Vall Blanca Store Warehouse warehouse to OverIssue = 'N'. If you get an error that negative stock already exists, leave it as 0 with a physical inventory. Set both warehouses as on hand warehouses for Vall Blanca Store and set different priority to them. Remove others. Create a new product and add it to 'The White Valley Group Sale Price List' and 'White Valley Group Product List' assortment In the POS: Create a new receipt, add the previously created product and complete it In the backend: Check the goods shipment has been done for the warehouse with highest priority (lowest value in priority field) Change the priority of the warehouses in order to modify the order In the POS: Log out and log in again Create a new receipt, add the previously created product and complete it In the backend: Check the goods shipment has been done for the warehouse with highest priority (different than the previous one) At this moment we have negative stock of the same product in two different warehouses of the same organization Try to increase the stock of one of the warehouses by different documents such as physical inventory, goods movement or goods receipt Check the following error message is shown: Insufficient stock for Product <> with UOM <> and Storage Bin <> You should increase the stock on all the warehouses at once. In documents with warehouse at header level it could cause inconsistent data | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-10-31 16:01 | ngarcia | New Issue | |||||||||||||||||
2017-10-31 16:01 | ngarcia | Assigned To | => Triage Finance | ||||||||||||||||
2017-10-31 16:01 | ngarcia | OBNetwork customer | => Yes | ||||||||||||||||
2017-10-31 16:01 | ngarcia | Modules | => Core | ||||||||||||||||
2017-10-31 16:01 | ngarcia | Support ticket | => 49148 | ||||||||||||||||
2017-10-31 16:01 | ngarcia | Resolution time | => 1511132400 | ||||||||||||||||
2017-10-31 16:01 | ngarcia | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-10-31 17:25 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=16215#r16215 | ||||||||||||||||
2017-10-31 17:25 | ngarcia | Issue Monitored: networkb | |||||||||||||||||
2017-10-31 17:26 | ngarcia | Relationship added | related to 0035009 | ||||||||||||||||
2017-11-02 13:08 | dmiguelez | Relationship added | related to 0037168 | ||||||||||||||||
2017-11-02 13:25 | dmiguelez | Assigned To | Triage Finance => dmiguelez | ||||||||||||||||
2017-11-02 16:40 | dmiguelez | Note Added: 0100221 | |||||||||||||||||
2017-11-02 17:03 | dmiguelez | Status | new => scheduled | ||||||||||||||||
2017-11-02 18:21 | dmiguelez | Note Added: 0100230 | |||||||||||||||||
2017-11-02 18:21 | dmiguelez | Status | scheduled => resolved | ||||||||||||||||
2017-11-02 18:21 | dmiguelez | Fixed in SCM revision | => https://code.openbravo.com/erp/devel/pi/rev/a3731e13318b [^] | ||||||||||||||||
2017-11-02 18:21 | dmiguelez | Resolution | open => fixed | ||||||||||||||||
2017-11-02 18:21 | dmiguelez | Note Added: 0100231 | |||||||||||||||||
2017-11-02 18:21 | dmiguelez | Fixed in Version | => 3.0PR18Q1 | ||||||||||||||||
2017-11-02 18:22 | dmiguelez | Review Assigned To | => dmiguelez | ||||||||||||||||
2017-11-02 18:22 | dmiguelez | Note Added: 0100234 | |||||||||||||||||
2017-11-02 18:22 | dmiguelez | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|