Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039036 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2018-07-24 18:19 | 2018-08-09 17:22 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | markmm82 | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR18Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e0772da8f954 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | Sandrahuguet | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 3316 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039036: Wrong Current Unit Cost for production products in Inventory Amount Update Lines | |||||||
Description | Wrong Current Unit Cost for production products in Inventory Amount Update Lines | |||||||
Steps To Reproduce | As group admin role: Create a new Costing Rule Set it with warehouse dimension Validate it Create a new product Set it as production Add a purchase price list to it Create two purchase orders, one for Region Norte and one for Region Sur Add the previously created product in both of them but with different price Create the related goods receipts Launch the Costing Background Process Create a Inventory Amount Update Add the previously created product Leave the warehouse empty and check Current Inventory Amount and On hand qty shows the whole stock and cost valuation. This is correct Set a warehouse and check the current inventory amount remains the same but on hand qty shows only the amount on that warehouse. Thus, Current Unit Cost is wrong | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0106246) markmm82 (viewer) 2018-08-08 19:19 |
Test Plan: As group admin role: Create a new Costing Rule Set it with warehouse dimension Validate it Create a new product Set it as production Add a purchase price list to it Create two purchase orders, one for Region Norte and one for Region Sur Add the previously created product in both of them but with different price Create the related goods receipts Launch the Costing Background Process Create a Inventory Amount Update Add the previously created product Notice the warehouse field is hidden and check Current Inventory Amount and On hand qty shows the whole stock and cost valuation. This is correct. Now, change the product and select aproduct that isn't a production product. Notice the warehouse field is shown with the default warehouse and check Current Inventory Amount and On hand qty shows the whole stock and cost valuation. This is correct. |
(0106251) hgbot (developer) 2018-08-09 13:14 |
Repository: erp/devel/pi Changeset: e0772da8f954ef42e1d809138c74dd5354d4fa1b Author: Mark <markmm82 <at> gmail.com> Date: Wed Aug 08 13:12:19 2018 -0400 URL: http://code.openbravo.com/erp/devel/pi/rev/e0772da8f954ef42e1d809138c74dd5354d4fa1b [^] Fixes issue 39036: Wrong Current Unit Cost for production products in Inventory Amount Update Lines To avoid confusion to users if the selected product is marked as production then the warehouse dimension will be hidden as this dimension is not taken into account in the process when the Current Inventory Amount and On hand qty values are calculated for production products. This solution includes: - Created a new auxiliary input related to the Inventory Amount Update Lines tab to store the value if the selected product is a production product or not. - Was modified the Display Logic of the Warehouse field to take into account if the selected product is a production product or not. In case it is the field is hidden, in other case it is shown. - Was modified the SL_InvAmtUpd_ProductRefDate.java callout to set an empy warehouse when the product is marked as production. --- M src-db/database/sourcedata/AD_AUXILIARINPUT.xml M src-db/database/sourcedata/AD_FIELD.xml M src/org/openbravo/erpCommon/ad_callouts/SL_InvAmtUpd_ProductRefDate.java --- |
(0106252) Sandrahuguet (viewer) 2018-08-09 13:16 |
Code review + testing OK |
(0106268) hudsonbot (viewer) 2018-08-09 17:22 |
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/eed070ea968c [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2018-07-24 18:19 | ngarcia | New Issue | |
2018-07-24 18:19 | ngarcia | Assigned To | => Triage Finance |
2018-07-24 18:19 | ngarcia | OBNetwork customer | => Yes |
2018-07-24 18:19 | ngarcia | Modules | => Core |
2018-07-24 18:19 | ngarcia | Support ticket | => 3316 |
2018-07-24 18:19 | ngarcia | Resolution time | => 1534197600 |
2018-07-24 18:19 | ngarcia | Triggers an Emergency Pack | => No |
2018-07-24 18:20 | ngarcia | Issue Monitored: networkb | |
2018-07-27 17:08 | markmm82 | Assigned To | Triage Finance => markmm82 |
2018-07-27 17:08 | markmm82 | Status | new => acknowledged |
2018-07-30 17:43 | ngarcia | Steps to Reproduce Updated | View Revisions |
2018-08-08 19:19 | markmm82 | Note Added: 0106246 | |
2018-08-08 19:27 | markmm82 | Status | acknowledged => scheduled |
2018-08-09 13:14 | hgbot | Checkin | |
2018-08-09 13:14 | hgbot | Note Added: 0106251 | |
2018-08-09 13:14 | hgbot | Status | scheduled => resolved |
2018-08-09 13:14 | hgbot | Resolution | open => fixed |
2018-08-09 13:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e0772da8f954ef42e1d809138c74dd5354d4fa1b [^] |
2018-08-09 13:16 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2018-08-09 13:16 | Sandrahuguet | Note Added: 0106252 | |
2018-08-09 13:16 | Sandrahuguet | Status | resolved => closed |
2018-08-09 13:16 | Sandrahuguet | Fixed in Version | => 3.0PR18Q4 |
2018-08-09 17:22 | hudsonbot | Checkin | |
2018-08-09 17:22 | hudsonbot | Note Added: 0106268 |
Copyright © 2000 - 2009 MantisBT Group |