Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024193Openbravo ERP05. Production managementpublic2013-06-26 12:272013-07-31 12:18
ngarcia 
pramakrishnan 
urgentmajoralways
closedfixed 
5
 
3.0MP26 
VictorVillar
Core
No
0024193: Production cost is wrongly calculated when there are overlapped dates in the costing entries of a used product
Production cost is wrongly calculated when there are overlapped dates in the costing entries of a used product
As group admin role:
   Create a Manufacturing Cost Center and version
   Create two products marked as Production: one that will be used and one that will be produced
   Add a manual Standard cost to the used product with a future ending date
   Add an storage bin to the produced product in the Manufacturing tab
   Create a goods receipt for the used product
   Create a process plan with the used product as P- and the produced one as P+
   Create a work requirement and process it
   Create a work effort
   Add the Cost Center Version to the Production Run and Create Standards
   Validate the Work Effort
   Check that there exist two costing entries for the used products and its dates are overlapped
   Check that the cost of the products has been calculated wrongly using both entries
No tags attached.
related to defect 00247423.0MP28 closed pramakrishnan Production cost is wrongly calculated when there are overlapped costing entries of different type of a used product 
Issue History
2013-06-26 12:27ngarciaNew Issue
2013-06-26 12:27ngarciaAssigned To => dmiguelez
2013-06-26 12:27ngarciaModules => Core
2013-06-26 12:27ngarciaResolution time => 1374789600
2013-06-26 12:27ngarciaTriggers an Emergency Pack => No
2013-06-26 12:28ngarciaIssue Monitored: networkb
2013-06-28 13:16dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-07-19 13:28jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2013-07-23 06:48pramakrishnanStatusnew => scheduled
2013-07-23 06:48pramakrishnanfix_in_branch => pi
2013-07-28 14:12hgbotCheckin
2013-07-28 14:12hgbotNote Added: 0060331
2013-07-28 14:12hgbotStatusscheduled => resolved
2013-07-28 14:12hgbotResolutionopen => fixed
2013-07-28 14:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/203d9b62afa99e084c04ab0b55841e361712d0fc [^]
2013-07-29 01:16hudsonbotCheckin
2013-07-29 01:16hudsonbotNote Added: 0060337
2013-07-31 12:18VictorVillarReview Assigned To => VictorVillar
2013-07-31 12:18VictorVillarNote Added: 0060400
2013-07-31 12:18VictorVillarStatusresolved => closed
2013-09-17 11:55pramakrishnanRelationship addedrelated to 0024742

Notes
(0060331)
hgbot   
2013-07-28 14:12   
Repository: erp/devel/pi
Changeset: 203d9b62afa99e084c04ab0b55841e361712d0fc
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue Jul 23 16:22:22 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/203d9b62afa99e084c04ab0b55841e361712d0fc [^]

Fixes issue 24193: Production cost is wrongly calculated
When there are overlapped dates in the costing entries of a used product, production cost is wrongly calculated

---
M src-db/database/model/functions/MA_PRODUCTION_COST.xml
---
(0060337)
hudsonbot   
2013-07-29 01:16   
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/d55ee042ad3f [^]

Maturity status: Test
(0060400)
VictorVillar   
2013-07-31 12:18   
Verified