Openbravo Issue Tracking System - Java Client POS
View Issue Details
0014985Java Client POS(No Category)public2010-10-22 11:062010-10-30 11:24
matiz 
adrianromero 
normalcriticalalways
closedduplicate 
20Community Appliance
2.30.1 
 
No
0014985: Error creating reports: Warning: Cannot load the report definition
Hi,

When upgrading from 2.30 to 2.30.1 I get the following error while creating a Product Report (Stock -> Reports -> Products)

net.sf.jasperreports.engine.JRException:
Errors were encountered when compiling report expressions class file:
1. The method getTaxRate(String, Date) in the type TaxesLogic is not applicable for the arguments (String)
new Double(((java.lang.Double)field_PRICESELL.getValue()).doubleValue() * (1.0 + ((com.openbravo.pos.sales.TaxesLogic)parameter_TAXESLOGIC.getValue()).getTaxRate(((java.lang.String)field_TAXCAT.getValue())))))); //$JR_EXPR_ID=24$
                                                                                                                                                       <-------->
2. The method getTaxRate(String, Date) in the type TaxesLogic is not applicable for the arguments (String)
new Double(((java.lang.Double)field_PRICESELL.getOldValue()).doubleValue() * (1.0 + ((com.openbravo.pos.sales.TaxesLogic)parameter_TAXESLOGIC.getValue()).getTaxRate(((java.lang.String)field_TAXCAT.getOldValue())))))); //$JR_EXPR_ID=24$
                                                                                                                                                          <-------->
3. The method getTaxRate(String, Date) in the type TaxesLogic is not applicable for the arguments (String)
new Double(((java.lang.Double)field_PRICESELL.getValue()).doubleValue() * (1.0 + ((com.openbravo.pos.sales.TaxesLogic)parameter_TAXESLOGIC.getValue()).getTaxRate(((java.lang.String)field_TAXCAT.getValue())))))); //$JR_EXPR_ID=24$
                                                                                                                                                       <-------->
3 errors

Thanks for any help...
No tags attached.
duplicate of defect 00145842.40 closed adrianromero Reports Products, Inventory, Catalog... do not work 
Issue History
2010-10-22 11:06matizNew Issue
2010-10-22 11:06matizAssigned To => adrianromero
2010-10-25 12:20adrianromeroRelationship addedduplicate of 0014584
2010-10-25 12:20adrianromeroStatusnew => closed
2010-10-25 12:20adrianromeroResolutionopen => duplicate
2010-10-30 11:24anonymoussf_bug_id0 => 3098753
2012-11-07 09:40priyamCategory01 - General => (No Category)

There are no notes attached to this issue.