Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0019153 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Openbravo ERP] 05. Production management | minor | always | 2011-11-23 15:55 | 2012-01-04 11:08 | |||
| Reporter | maite | View Status | public | |||||
| Assigned To | jonalegriaesarte | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | 5d67930d2f9e | |||
| Projection | none | ETA | none | Target Version | 2.50MP38 | |||
| 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 | 0019153: 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 | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0044103) hgbot (developer) 2012-01-03 18:17 |
Repository: erp/stable/2.50 Changeset: 5d67930d2f9e84fe32790a58bea02170b4962aba Author: Jon AlegrÃa <jon.alegria <at> openbravo.com> Date: Tue Jan 03 18:17:04 2012 +0100 URL: http://code.openbravo.com/erp/stable/2.50/rev/5d67930d2f9e84fe32790a58bea02170b4962aba [^] Fixes issue 0019153: Error in Production Cost Report query --- M src/org/openbravo/erpCommon/ad_reports/ReportProductionCost_data.xsql --- |
|
(0044109) maite (viewer) 2012-01-04 11:08 |
verified |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-11-23 16:14 | maite | Type | defect => backport |
| 2011-11-23 16:14 | maite | fix_in_branch | => 2.50 |
| 2011-11-23 16:14 | maite | Target Version | 3.0MP7 => 2.50MP38 |
| 2012-01-03 18:17 | hgbot | Checkin | |
| 2012-01-03 18:17 | hgbot | Note Added: 0044103 | |
| 2012-01-03 18:17 | hgbot | Status | scheduled => resolved |
| 2012-01-03 18:17 | hgbot | Resolution | open => fixed |
| 2012-01-03 18:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/5d67930d2f9e84fe32790a58bea02170b4962aba [^] |
| 2012-01-04 11:08 | maite | Note Added: 0044109 | |
| 2012-01-04 11:08 | maite | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |