Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029370Openbravo ERP07. Sales managementpublic2015-03-23 12:512015-03-30 13:40
jonalegriaesarte 
jonalegriaesarte 
normalminorhave not tried
closedfixed 
5
 
3.0PR15Q2 
egoitz
Core
No
0029370: Exception in Purchase Invoice dimensional report, comparative option set
Exception in Purchase Invoice dimensional report, comparative option set
Exception evaluating:
($V{QTYREF_SUM1}.equals(new BigDecimal(0.0)))?null:$V{QTY_SUM1}.subtract( $V{QTYREF_SUM1} ).multiply(new BigDecimal(100.0)).divide( $V{QTYREF_SUM2}, 2, 6)

Looking at the code, the error is clear, because the expression is evaluation an variable not used when dividing
Exception in Purchase Invoice dimensional report, comparative option set
Exception evaluating:
($V{QTYREF_SUM1}.equals(new BigDecimal(0.0)))?null:$V{QTY_SUM1}.subtract( $V{QTYREF_SUM1} ).multiply(new BigDecimal(100.0)).divide( $V{QTYREF_SUM2}, 2, 6)

Looking at the code, the error is clear, because the expression is evaluation an variable not used when dividing
No tags attached.
Issue History
2015-03-23 12:51jonalegriaesarteNew Issue
2015-03-23 12:51jonalegriaesarteAssigned To => Sandrahuguet
2015-03-23 12:51jonalegriaesarteModules => Core
2015-03-23 12:51jonalegriaesarteTriggers an Emergency Pack => No
2015-03-23 12:52jonalegriaesarteAssigned ToSandrahuguet => jonalegriaesarte
2015-03-23 12:52hgbotCheckin
2015-03-23 12:52hgbotNote Added: 0075854
2015-03-23 12:52hgbotStatusnew => resolved
2015-03-23 12:52hgbotResolutionopen => fixed
2015-03-23 12:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/53a25921251de01ae3edd43cc0c166374f04c58b [^]
2015-03-24 03:44hudsonbotCheckin
2015-03-24 03:44hudsonbotNote Added: 0075906
2015-03-30 13:40egoitzReview Assigned To => egoitz
2015-03-30 13:40egoitzNote Added: 0076141
2015-03-30 13:40egoitzStatusresolved => closed
2015-03-30 13:40egoitzFixed in Version => 3.0PR15Q2

Notes
(0075854)
hgbot   
2015-03-23 12:52   
Repository: erp/devel/pi
Changeset: 53a25921251de01ae3edd43cc0c166374f04c58b
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Mon Mar 23 12:52:19 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/53a25921251de01ae3edd43cc0c166374f04c58b [^]

Fixes issue 0029370: Exception in Purchase Invoice dimensional
report, comparative option set

---
M src/org/openbravo/erpCommon/ad_reports/SimpleDimensionalComparative.jrxml
---
(0075906)
hudsonbot   
2015-03-24 03:44   
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/63f9617f42fb [^]
Maturity status: Test
(0076141)
egoitz   
2015-03-30 13:40   
verified