Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
| View Issue Details | ||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
| 0036831 | Openbravo ERP | 04. Warehouse management | public | 2017-09-11 18:36 | 2017-09-21 16:50 | |||||||||||||||||||||
| Reporter | ngarcia | |||||||||||||||||||||||||
| Assigned To | AtulOpenbravo | |||||||||||||||||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | |||||||||||||||||||||
| Status | closed | Resolution | fixed | |||||||||||||||||||||||
| Platform | OS | 5 | OS Version | |||||||||||||||||||||||
| Product Version | ||||||||||||||||||||||||||
| Target Version | Fixed in Version | 3.0PR17Q4 | ||||||||||||||||||||||||
| Merge Request Status | ||||||||||||||||||||||||||
| Review Assigned To | aferraz | |||||||||||||||||||||||||
| OBNetwork customer | OBPS | |||||||||||||||||||||||||
| Web browser | ||||||||||||||||||||||||||
| Modules | Core | |||||||||||||||||||||||||
| Support ticket | 47904 | |||||||||||||||||||||||||
| Regression level | ||||||||||||||||||||||||||
| Regression date | ||||||||||||||||||||||||||
| Regression introduced in release | ||||||||||||||||||||||||||
| Regression introduced by commit | ||||||||||||||||||||||||||
| Triggers an Emergency Pack | No | |||||||||||||||||||||||||
| Summary | 0036831: Wrong average cost after negative stock correction: Total Stock Valuation of Costing tab is not updated | |||||||||||||||||||||||||
| Description | Wrong average cost after negative stock correction: Total Stock Valuation of Costing tab is not updated | |||||||||||||||||||||||||
| Steps To Reproduce | As group admin role: Set the Enable Negative Stock Correction preference to Y Log out and log in Check the costing rule for F&B US, Inc. is validated without Warehouse Dimension Create a new stocked product in F&B US, Inc. Add a price of 6USD in Be Soft Dinker Price List Create a Goods Receipt for F&B US East Coast, add 2 units of it and complete it Create a Physical Inventory for F&B US West Coast, add 1 unit of it a cost of 12 and process it Create a Goods Shipment for F&B US East Coast, add 2 units of it and complete it Launch the Costing Background Process and check a current average cost of 8 is obtained Create a new Costing Rule for F&B US, Inc. with Warehouse Dimension Validate it Create a Goods Receipt for F&B US East Coast, add 1 unit of it and complete it Create another Goods Receipt for F&B US East Coast, add 1 unit of it and complete it Launch the Costing Background Process again and check although the first average cost for US East Coast is 6USD and a negative stock correction of 4USD has been made against the related transaction (I+) the Total Stock Valuation is 2 (-4 + 6). Thus, the current stock valuation is 8 and the current average cost is 4USD (it should be 6USD) | |||||||||||||||||||||||||
| Proposed Solution | Attached a possible fix that should be properly reviewed and tested. | |||||||||||||||||||||||||
| Additional Information | ||||||||||||||||||||||||||
| Tags | No tags attached. | |||||||||||||||||||||||||
| Relationships |
| |||||||||||||||||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=11057&type=bug | |||||||||||||||||||||||||
| Issue History | ||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | |||||||||||||||||||||||
| 2017-09-11 18:36 | ngarcia | New Issue | ||||||||||||||||||||||||
| 2017-09-11 18:36 | ngarcia | Assigned To | => Triage Finance | |||||||||||||||||||||||
| 2017-09-11 18:36 | ngarcia | OBNetwork customer | => Yes | |||||||||||||||||||||||
| 2017-09-11 18:36 | ngarcia | Modules | => Core | |||||||||||||||||||||||
| 2017-09-11 18:36 | ngarcia | Support ticket | => 47904 | |||||||||||||||||||||||
| 2017-09-11 18:36 | ngarcia | Resolution time | => 1506895200 | |||||||||||||||||||||||
| 2017-09-11 18:36 | ngarcia | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
| 2017-09-11 18:37 | ngarcia | Issue Monitored: networkb | ||||||||||||||||||||||||
| 2017-09-11 18:40 | ngarcia | Relationship added | related to 0036642 | |||||||||||||||||||||||
| 2017-09-12 14:37 | aferraz | Assigned To | Triage Finance => markmm82 | |||||||||||||||||||||||
| 2017-09-12 14:50 | aferraz | Relationship added | related to 0033968 | |||||||||||||||||||||||
| 2017-09-12 14:50 | aferraz | Relationship added | related to 0029891 | |||||||||||||||||||||||
| 2017-09-12 17:47 | aferraz | File Added: 36831.diff | ||||||||||||||||||||||||
| 2017-09-12 17:50 | aferraz | Proposed Solution updated | ||||||||||||||||||||||||
| 2017-09-15 13:28 | aferraz | Assigned To | markmm82 => AtulOpenbravo | |||||||||||||||||||||||
| 2017-09-18 14:35 | AtulOpenbravo | Status | new => scheduled | |||||||||||||||||||||||
| 2017-09-18 14:38 | AtulOpenbravo | Note Added: 0099117 | ||||||||||||||||||||||||
| 2017-09-18 16:13 | AtulOpenbravo | Note Added: 0099119 | ||||||||||||||||||||||||
| 2017-09-18 18:20 | hgbot | Checkin | ||||||||||||||||||||||||
| 2017-09-18 18:20 | hgbot | Note Added: 0099130 | ||||||||||||||||||||||||
| 2017-09-18 18:20 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
| 2017-09-18 18:20 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
| 2017-09-18 18:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ff6e0aa17abcc50e6c3389ac6eff9514a1055c62 [^] | |||||||||||||||||||||||
| 2017-09-18 18:56 | aferraz | Review Assigned To | => aferraz | |||||||||||||||||||||||
| 2017-09-18 18:56 | aferraz | Note Added: 0099131 | ||||||||||||||||||||||||
| 2017-09-18 18:56 | aferraz | Status | resolved => closed | |||||||||||||||||||||||
| 2017-09-18 18:56 | aferraz | Fixed in Version | => 3.0PR17Q4 | |||||||||||||||||||||||
| 2017-09-21 16:50 | hudsonbot | Checkin | ||||||||||||||||||||||||
| 2017-09-21 16:50 | hudsonbot | Note Added: 0099413 | ||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||