Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029714Openbravo ERP04. Warehouse managementpublic2015-04-28 14:212015-05-07 22:17
psanjuan 
aferraz 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
pi 
umartirena
Core
No
0029714: [Cost Adjutments] - Inventory Amount Updated process do not properly set the "Standard" cost Ending Date.
[Cost Adjutments] - Inventory Amount Updated process do not properly set the "Standard" cost Ending Date.
For an organization create a costing rule including "Standard" as costing algorithm.

Navigate to product window and create a new product. Enter a purchase price list = 100.00 for instance and a standard cost of 100.00 in the tab "Costing". Cost starting date 01-01-2015, ending date 31-12-9999. Select check-box "Manual".

Create a purchase order for that product dated on 01-01-2015. Book the order.

Complete and post the corresponding Goods Receipt created from the purchase order previously booked.

Let's imagine that 10 units have been purchased at a price / standard cost of 100.00, make a total inventory value for that product of 10.000

Navigate to Inventory Amount Update and create a new one dated on 28-04-2015 for that product. Change the unit cost to 50. Process and post both closing/opening inventories.

Go back to product window and realize that the cost has changed, see image attached. Ending date shown is not correct as it should be 31-12-9999. There is no possible to calculate the cost of any other output transaction related to this item dated on a later date, as there is no standard cost defined for a later date.

Ending date = 31-12-9999

What about check-box "Permanent" = Yes??
No tags attached.
png Issue_29714.png (105,966) 2015-04-28 14:22
https://issues.openbravo.com/file_download.php?file_id=8028&type=bug
png
Issue History
2015-04-28 14:21psanjuanNew Issue
2015-04-28 14:21psanjuanAssigned To => Triage Finance
2015-04-28 14:21psanjuanModules => Core
2015-04-28 14:21psanjuanTriggers an Emergency Pack => No
2015-04-28 14:22psanjuanFile Added: Issue_29714.png
2015-04-28 14:31psanjuanSummary[Cost Adjutments] - Inventory Amount Updated process do not properly set the "Standard" cost. => [Cost Adjutments] - Inventory Amount Updated process do not properly set the "Standard" cost Ending Date.
2015-04-28 14:31psanjuanDescription Updatedbug_revision_view_page.php?rev_id=8356#r8356
2015-04-30 11:56aferrazAssigned ToTriage Finance => aferraz
2015-04-30 14:05aferrazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8408#r8408
2015-04-30 16:30aferrazStatusnew => scheduled
2015-05-05 17:39hgbotCheckin
2015-05-05 17:39hgbotNote Added: 0077027
2015-05-05 17:39hgbotStatusscheduled => resolved
2015-05-05 17:39hgbotResolutionopen => fixed
2015-05-05 17:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/728ead065c27dfd0436646c588aa1e3c84d974e8 [^]
2015-05-05 17:40umartirenaReview Assigned To => umartirena
2015-05-05 17:40umartirenaNote Added: 0077028
2015-05-05 17:40umartirenaStatusresolved => closed
2015-05-05 17:40umartirenaFixed in Version => pi
2015-05-07 22:17hudsonbotCheckin
2015-05-07 22:17hudsonbotNote Added: 0077214

Notes
(0077027)
hgbot   
2015-05-05 17:39   
Repository: erp/devel/pi
Changeset: 728ead065c27dfd0436646c588aa1e3c84d974e8
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Apr 30 16:21:52 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/728ead065c27dfd0436646c588aa1e3c84d974e8 [^]

Fixes issue 29714: Wrong Costing Ending Date

When a new Costing record is created in Product window - Costing tab, because of an Inventory Amount Update; new costing should have as ending date the ending date of the previous costing record.

---
M src/org/openbravo/costing/StandardAlgorithm.java
---
(0077028)
umartirena   
2015-05-05 17:40   
Code Review + Testing OK
(0077214)
hudsonbot   
2015-05-07 22:17   
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/a1817f84bd8b [^]
Maturity status: Test