Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024742Openbravo ERP05. Production managementpublic2013-09-11 16:502013-09-26 13:44
maite 
pramakrishnan 
urgentmajoralways
closedfixed 
5
 
3.0MP28 
maite
Core
No
0024742: Production cost is wrongly calculated when there are overlapped costing entries of different type of a used product
Production cost is wrongly calculated when there are overlapped costing entries of different type 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 "Legacy Average" cost to the used product with a future ending date (in an already migrated instance you will not be able to add this type of costing from application but you can set this type directly in database)
   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 overlapped entries
Costing process should only consider costing records of new costing types (legacy) and not consider "Legacy Average" cost type once instance is migrated.
No tags attached.
related to defect 00241933.0MP26 closed pramakrishnan Production cost is wrongly calculated when there are overlapped dates in the costing entries of a used product 
Issue History
2013-09-11 16:50maiteNew Issue
2013-09-11 16:50maiteAssigned To => dmiguelez
2013-09-11 16:50maiteModules => Core
2013-09-11 16:50maiteTriggers an Emergency Pack => No
2013-09-11 16:51maiteIssue Monitored: networkb
2013-09-11 16:52maiteTarget Version => 3.0MP28
2013-09-12 09:32dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-09-16 10:28jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2013-09-17 11:55pramakrishnanRelationship addedrelated to 0024193
2013-09-21 06:19pramakrishnanReview Assigned To => maite
2013-09-21 06:19pramakrishnanStatusnew => scheduled
2013-09-21 06:20hgbotCheckin
2013-09-21 06:20hgbotNote Added: 0061328
2013-09-21 06:20hgbotStatusscheduled => resolved
2013-09-21 06:20hgbotResolutionopen => fixed
2013-09-21 06:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9e9d793566927a528df740015b26e54049662217 [^]
2013-09-21 14:36hudsonbotCheckin
2013-09-21 14:36hudsonbotNote Added: 0061332
2013-09-26 13:44maiteNote Added: 0061413
2013-09-26 13:44maiteStatusresolved => closed

Notes
(0061328)
hgbot   
2013-09-21 06:20   
Repository: erp/devel/pi
Changeset: 9e9d793566927a528df740015b26e54049662217
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue Sep 17 15:22:07 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/9e9d793566927a528df740015b26e54049662217 [^]

Fixes Issue 24742: 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
---
(0061332)
hudsonbot   
2013-09-21 14:36   
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/158aca8ccebd [^]

Maturity status: Test
(0061413)
maite   
2013-09-26 13:44   
verified