Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019152 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 05. Production management | minor | always | 2011-11-23 15:55 | 2011-12-22 03:53 | |||
Reporter | maite | View Status | public | |||||
Assigned To | jecharri | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0MP7 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 6a8a0f555ee5 | |||
Projection | none | ETA | none | Target Version | 3.0MP7 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 13256 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0019152: Error in Production Cost Report query | |||||||
Description | Error in Production Cost Report query | |||||||
Steps To Reproduce | Realize that ReportProductionCost_data.xsql, in "selectMaterial" query, in "rpn" subquery is multiplying by "pl.MovementQty" when calculating "CalcCost", and it should not. | |||||||
Proposed Solution | substitute "CalcCost" in "rpn" subquery by: SUM(C_CURRENCY_CONVERT(pl.CalcCost, ?, ?, TO_DATE(p.movementdate), null, pl.ad_client_id, pl.ad_org_id))/SUM(pl.MovementQty) AS CalcCost instead of SUM(pl.MovementQty*C_CURRENCY_CONVERT(pl.CalcCost, ?, ?, TO_DATE(p.movementdate), null, pl.ad_client_id, pl.ad_org_id))/SUM(pl.MovementQty) AS CalcCost | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0043953) hgbot (developer) 2011-12-19 17:54 |
Repository: erp/devel/pi Changeset: 6a8a0f555ee54cb71b7056cbebc5ab6f96d8bbb7 Author: Javier Etxarri <javier.echarri <at> openbravo.com> Date: Mon Dec 19 10:18:32 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/6a8a0f555ee54cb71b7056cbebc5ab6f96d8bbb7 [^] Fixes issue 19152: Error in Production Cost Report query --- M src/org/openbravo/erpCommon/ad_reports/ReportProductionCost_data.xsql --- |
(0043971) maite (viewer) 2011-12-20 11:35 |
verified |
(0043993) hudsonbot (viewer) 2011-12-22 03:53 |
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/9ac5e6f282ca [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2011-11-23 15:55 | maite | New Issue | |
2011-11-23 15:55 | maite | Assigned To | => jonalegriaesarte |
2011-11-23 15:55 | maite | Modules | => Core |
2011-11-23 15:55 | maite | OBNetwork customer | => Yes |
2011-11-23 15:55 | maite | Support ticket | => 13256 |
2011-11-23 15:55 | maite | Issue Monitored: networkb | |
2011-11-23 16:14 | maite | Status | new => scheduled |
2011-11-23 16:14 | maite | fix_in_branch | => pi |
2011-12-16 11:19 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri |
2011-12-19 17:54 | hgbot | Checkin | |
2011-12-19 17:54 | hgbot | Note Added: 0043953 | |
2011-12-19 17:54 | hgbot | Status | scheduled => resolved |
2011-12-19 17:54 | hgbot | Resolution | open => fixed |
2011-12-19 17:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6a8a0f555ee54cb71b7056cbebc5ab6f96d8bbb7 [^] |
2011-12-20 11:35 | maite | Note Added: 0043971 | |
2011-12-20 11:35 | maite | Status | resolved => closed |
2011-12-20 11:35 | maite | Fixed in Version | => 3.0MP7 |
2011-12-22 03:53 | hudsonbot | Checkin | |
2011-12-22 03:53 | hudsonbot | Note Added: 0043993 |
Copyright © 2000 - 2009 MantisBT Group |