details:   http://code.openbravo.com/erp/devel/2.40_cyclone/rev/5d85e0bbf28b
changeset: 839:5d85e0bbf28b
user:      Stefan Hühner <stefan.huehner <at> openbravo.com>
date:      Thu Aug 13 12:26:55 2009 +0200
summary:   [NumberFormat] input numberformats for reports: part3

diffstat:

 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalyses.java
         |  42 ++++---
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.html
   |   4 +-
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.xml
    |   4 +-
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
       |  46 +++++---
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.html
 |   4 +-
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.xml
  |   4 +-
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.html
   |   4 +-
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.xml
    |   4 +-
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesJR.java
         |  49 +++++----
 9 files changed, 89 insertions(+), 72 deletions(-)

diffs (truncated from 323 to 300 lines):

diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalyses.java
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalyses.java
      Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalyses.java
      Thu Aug 13 12:26:55 2009 +0200
@@ -18,23 +18,29 @@
  */
 package org.openbravo.erpCommon.ad_reports;
 
-import org.openbravo.erpCommon.utility.*;
-import org.openbravo.erpCommon.businessUtility.WindowTabs;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.StringTokenizer;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.ad_combos.OrganizationComboData;
 import org.openbravo.erpCommon.businessUtility.Tree;
 import org.openbravo.erpCommon.businessUtility.TreeData;
-import org.openbravo.base.secureApp.HttpSecureAppServlet;
-import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.businessUtility.WindowTabs;
+import org.openbravo.erpCommon.utility.ComboTableData;
+import org.openbravo.erpCommon.utility.DateTimeData;
+import org.openbravo.erpCommon.utility.LeftTabsBar;
+import org.openbravo.erpCommon.utility.NavigationBar;
+import org.openbravo.erpCommon.utility.OBError;
+import org.openbravo.erpCommon.utility.ToolBar;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.utils.Replace;
 import org.openbravo.xmlEngine.XmlDocument;
-import java.io.*;
-import java.util.*;
-import javax.servlet.*;
-import javax.servlet.http.*;
-
-import org.openbravo.utils.Replace;
-import org.openbravo.erpCommon.ad_combos.OrganizationComboData;
-
-
-import org.openbravo.erpCommon.utility.DateTimeData;
 
 public class ReportInvoiceCustomerDimensionalAnalyses extends 
HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
@@ -59,8 +65,8 @@
       String strcProjectId = vars.getGlobalVariable("inpcProjectId", 
"ReportInvoiceCustomerDimensionalAnalyses|project", "");
       String strProducttype = vars.getGlobalVariable("inpProducttype", 
"ReportInvoiceVendorDimensionalAnalyses|producttype", "");
       String strOrder = 
vars.getGlobalVariable("inpOrder","ReportInvoiceCustomerDimensionalAnalyze|order","Normal");
-      String strMayor = vars.getGlobalVariable("inpMayor", 
"ReportInvoiceCustomerSalesDimensionalAnalyze|mayor", "");
-      String strMenor = vars.getGlobalVariable("inpMenor", 
"ReportInvoiceCustomerDimensionalAnalyze|menor", "");
+      String strMayor = vars.getNumericGlobalVariable("inpMayor", 
"ReportInvoiceCustomerSalesDimensionalAnalyze|mayor", "");
+      String strMenor = vars.getNumericGlobalVariable("inpMenor", 
"ReportInvoiceCustomerDimensionalAnalyze|menor", "");
       String strPartnerSalesRepId = 
vars.getGlobalVariable("inpPartnerSalesrepId", 
"ReportInvoiceCustomerDimensionalAnalyses|partnersalesrep", "");
       String strComparative = "";
       if (vars.commandIn("DEFAULT_COMPARATIVE")) strComparative = 
vars.getRequestGlobalVariable("inpComparative", 
"ReportInvoiceCustomerDimensionalAnalyses|comparative");
@@ -83,8 +89,8 @@
       String strcProjectId = vars.getRequestGlobalVariable("inpcProjectId", 
"ReportInvoiceCustomerDimensionalAnalyses|project");
       String strProducttype = vars.getRequestGlobalVariable("inpProducttype", 
"ReportInvoiceVendorDimensionalAnalyses|producttype");
       String strOrder = 
vars.getRequestGlobalVariable("inpOrder","ReportSalesDimensionalAnalyze|order");
-      String strMayor = vars.getStringParameter("inpMayor", "");
-      String strMenor = vars.getStringParameter("inpMenor", "");
+      String strMayor = vars.getNumericParameter("inpMayor", "");
+      String strMenor = vars.getNumericParameter("inpMenor", "");
       String strComparative = vars.getStringParameter("inpComparative", "N");
       String strPartnerSalesrepId = 
vars.getRequestGlobalVariable("inpPartnerSalesrepId", 
"ReportInvoiceCustomerDimensionalAnalyses|partnersalesrep");
       printPageHtml(response, vars, strComparative, strDateFrom, strDateTo, 
strPartnerGroup, strcBpartnerId, strProductCategory, strmProductId, 
strNotShown, strShown,
diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.html
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.html
        Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.html
        Thu Aug 13 12:26:55 2009 +0200
@@ -350,10 +350,10 @@
                 </TR>
                 <TR>
                   <TD class="TitleCell"><SPAN class="LabelText">Amount Greater 
Than</SPAN></TD>
-                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" lowerThan="paramMenor" 
class="TextBox_OneCell_width" type="text" name="inpMayor" maxlength="10" 
id="paramMayor" 
value=""></INPUT><script>djConfig.searchIds.push("paramMayor");</script>
+                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" lowerThan="paramMenor" 
class="TextBox_OneCell_width" type="text" name="inpMayor" maxlength="10" 
id="paramMayor" value="" 
outputformat="euroEdition"></INPUT><script>djConfig.searchIds.push("paramMayor");</script>
                   </TD>
                   <TD class="TitleCell"><SPAN class="LabelText">Less 
Than</SPAN></TD>
-                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" greaterThan="paramMayor" 
class="TextBox_OneCell_width" type="text" name="inpMenor" maxlength="10" 
id="paramMenor" 
value=""></INPUT><script>djConfig.searchIds.push("paramMenor");</script>
+                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" greaterThan="paramMayor" 
class="TextBox_OneCell_width" type="text" name="inpMenor" maxlength="10" 
id="paramMenor" value="" 
outputformat="euroEdition"></INPUT><script>djConfig.searchIds.push("paramMenor");</script>
                   </TD>
                   <TD class="TitleCell"></TD>
                   <TD class="ContentCell"></TD>
diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.xml
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.xml
 Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.xml
 Thu Aug 13 12:26:55 2009 +0200
@@ -52,8 +52,8 @@
   <PARAMETER id="paramAmountascOrder" name="amountasc" boolean="checked" 
withId="paramConstanteAmountascOrder"/>
   <PARAMETER id="paramConstanteAmountdescOrder" 
name="constanteAmountdescOrder" default="Amountdesc"/>
   <PARAMETER id="paramAmountdescOrder" name="amountdesc" boolean="checked" 
withId="paramConstanteAmountdescOrder"/>
-  <PARAMETER id="paramMayor" name="mayor" attribute="value"/>
-  <PARAMETER id="paramMenor" name="menor" attribute="value"/>
+  <PARAMETER id="paramMayor" name="mayor" attribute="value" 
format="euroEdition"/>
+  <PARAMETER id="paramMenor" name="menor" attribute="value" 
format="euroEdition"/>
   <PARAMETER id="C_Project_ID" name="cProjectId" attribute="value"/>
   <PARAMETER id="C_Project_ID_D" name="projectName" attribute="value"/>
   <PARAMETER id="paramreportProducttype" name="producttype" default=""/>
diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
    Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
    Thu Aug 13 12:26:55 2009 +0200
@@ -18,22 +18,30 @@
  */
 package org.openbravo.erpCommon.ad_reports;
 
-import org.openbravo.erpCommon.utility.*;
-import org.openbravo.erpCommon.businessUtility.WindowTabs;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.HashMap;
+import java.util.StringTokenizer;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.ad_combos.OrganizationComboData;
 import org.openbravo.erpCommon.businessUtility.Tree;
 import org.openbravo.erpCommon.businessUtility.TreeData;
-import org.openbravo.base.secureApp.HttpSecureAppServlet;
-import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.businessUtility.WindowTabs;
+import org.openbravo.erpCommon.utility.ComboTableData;
+import org.openbravo.erpCommon.utility.DateTimeData;
+import org.openbravo.erpCommon.utility.LeftTabsBar;
+import org.openbravo.erpCommon.utility.NavigationBar;
+import org.openbravo.erpCommon.utility.OBError;
+import org.openbravo.erpCommon.utility.ToolBar;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.utils.Replace;
 import org.openbravo.xmlEngine.XmlDocument;
-import java.io.*;
-import java.util.*;
-import javax.servlet.*;
-import javax.servlet.http.*;
-
-import org.openbravo.utils.Replace;
-import org.openbravo.erpCommon.ad_combos.OrganizationComboData;
-
-import org.openbravo.erpCommon.utility.DateTimeData;
 
 
 public class ReportInvoiceCustomerDimensionalAnalysesJR extends 
HttpSecureAppServlet {
@@ -60,8 +68,8 @@
       String strcProjectId = vars.getGlobalVariable("inpcProjectId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|project", "");
       String strProducttype = vars.getGlobalVariable("inpProducttype", 
"ReportInvoiceCustomerDimensionalAnalysesJR|producttype", "");
       String strOrder = 
vars.getGlobalVariable("inpOrder","ReportInvoiceCustomerDimensionalAnalyze|order","Normal");
-      String strMayor = vars.getGlobalVariable("inpMayor", 
"ReportInvoiceCustomerSalesDimensionalAnalyze|mayor", "");
-      String strMenor = vars.getGlobalVariable("inpMenor", 
"ReportInvoiceCustomerDimensionalAnalyze|menor", "");
+      String strMayor = vars.getNumericGlobalVariable("inpMayor", 
"ReportInvoiceCustomerSalesDimensionalAnalyze|mayor", "");
+      String strMenor = vars.getNumericGlobalVariable("inpMenor", 
"ReportInvoiceCustomerDimensionalAnalyze|menor", "");
       String strPartnerSalesRepId = 
vars.getGlobalVariable("inpPartnerSalesrepId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|partnersalesrep", "");
       String strCurrencyId = vars.getGlobalVariable("inpCurrencyId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|currency", strUserCurrencyId);
       String strComparative = "";
@@ -85,8 +93,8 @@
       String strcProjectId = vars.getRequestGlobalVariable("inpcProjectId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|project");
       String strProducttype = vars.getRequestGlobalVariable("inpProducttype", 
"ReportInvoiceCustomerDimensionalAnalysesJR|producttype");
       String strOrder = 
vars.getRequestGlobalVariable("inpOrder","ReportInvoiceCustomerDimensionalAnalysesJR|order");
-      String strMayor = vars.getStringParameter("inpMayor", "");
-      String strMenor = vars.getStringParameter("inpMenor", "");
+      String strMayor = vars.getNumericParameter("inpMayor", "");
+      String strMenor = vars.getNumericParameter("inpMenor", "");
       String strComparative = vars.getStringParameter("inpComparative", "N");
       String strPartnerSalesrepId = 
vars.getRequestGlobalVariable("inpPartnerSalesrepId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|partnersalesrep");
       String strCurrencyId = vars.getGlobalVariable("inpCurrencyId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|currency", strUserCurrencyId);
@@ -108,8 +116,8 @@
       String strcProjectId = vars.getRequestGlobalVariable("inpcProjectId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|project");
       String strProducttype = vars.getRequestGlobalVariable("inpProducttype", 
"ReportInvoiceCustomerDimensionalAnalysesJR|producttype");
       String strOrder = 
vars.getRequestGlobalVariable("inpOrder","ReportSalesDimensionalAnalyze|order");
-      String strMayor = vars.getStringParameter("inpMayor", "");
-      String strMenor = vars.getStringParameter("inpMenor", "");
+      String strMayor = vars.getNumericParameter("inpMayor", "");
+      String strMenor = vars.getNumericParameter("inpMenor", "");
       String strComparative = vars.getStringParameter("inpComparative", "N");
       String strPartnerSalesrepId = 
vars.getRequestGlobalVariable("inpPartnerSalesrepId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|partnersalesrep");
       String strCurrencyId = vars.getGlobalVariable("inpCurrencyId", 
"ReportInvoiceCustomerDimensionalAnalysesJR|currency", strUserCurrencyId);
diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.html
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.html
      Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.html
      Thu Aug 13 12:26:55 2009 +0200
@@ -347,10 +347,10 @@
                 </TR>
                 <TR>
                   <TD class="TitleCell"><SPAN class="LabelText">Amount Greater 
Than</SPAN></TD>
-                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" lowerThan="paramMenor" 
class="TextBox_OneCell_width" type="text" name="inpMayor" maxlength="10" 
id="paramMayor" 
value=""></INPUT><script>djConfig.searchIds.push("paramMayor");</script>
+                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" lowerThan="paramMenor" 
class="TextBox_OneCell_width" type="text" name="inpMayor" maxlength="10" 
id="paramMayor" value="" 
outputformat="euroEdition"></INPUT><script>djConfig.searchIds.push("paramMayor");</script>
                   </TD>
                   <TD class="TitleCell"><SPAN class="LabelText">Less 
Than</SPAN></TD>
-                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" greaterThan="paramMayor" 
class="TextBox_OneCell_width" type="text" name="inpMenor" maxlength="10" 
id="paramMenor" 
value=""></INPUT><script>djConfig.searchIds.push("paramMenor");</script>
+                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" greaterThan="paramMayor" 
class="TextBox_OneCell_width" type="text" name="inpMenor" maxlength="10" 
id="paramMenor" value="" 
outputformat="euroEdition"></INPUT><script>djConfig.searchIds.push("paramMenor");</script>
                   </TD>
                   <TD class="TitleCell"><SPAN 
class="LabelText">Currency</SPAN></TD>
                   <TD class="Combo_ContentCell">
diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.xml
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.xml
       Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJRFilter.xml
       Thu Aug 13 12:26:55 2009 +0200
@@ -52,8 +52,8 @@
   <PARAMETER id="paramAmountascOrder" name="amountasc" boolean="checked" 
withId="paramConstanteAmountascOrder"/>
   <PARAMETER id="paramConstanteAmountdescOrder" 
name="constanteAmountdescOrder" default="Amountdesc"/>
   <PARAMETER id="paramAmountdescOrder" name="amountdesc" boolean="checked" 
withId="paramConstanteAmountdescOrder"/>
-  <PARAMETER id="paramMayor" name="mayor" attribute="value"/>
-  <PARAMETER id="paramMenor" name="menor" attribute="value"/>
+  <PARAMETER id="paramMayor" name="mayor" attribute="value" 
format="euroEdition"/>
+  <PARAMETER id="paramMenor" name="menor" attribute="value" 
format="euroEdition"/>
   <PARAMETER id="C_Project_ID" name="cProjectId" attribute="value"/>
   <PARAMETER id="C_Project_ID_D" name="projectName" attribute="value"/>
   <PARAMETER id="paramreportProducttype" name="producttype" default=""/>
diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.html
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.html
        Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.html
        Thu Aug 13 12:26:55 2009 +0200
@@ -345,10 +345,10 @@
                 </TR>
                 <TR>
                   <TD class="TitleCell"><SPAN class="LabelText">Amount Greater 
Than</SPAN></TD>
-                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" lowerThan="paramMenor" 
class="TextBox_OneCell_width" type="text" name="inpMayor" maxlength="10" 
id="paramMayor" 
value=""></INPUT><script>djConfig.searchIds.push("paramMayor");</script>
+                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" lowerThan="paramMenor" 
class="TextBox_OneCell_width" type="text" name="inpMayor" maxlength="10" 
id="paramMayor" value="" 
outputformat="euroEdition"></INPUT><script>djConfig.searchIds.push("paramMayor");</script>
                   </TD>
                   <TD class="TitleCell"><SPAN class="LabelText">Less 
Than</SPAN></TD>
-                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" greaterThan="paramMayor" 
class="TextBox_OneCell_width" type="text" name="inpMenor" maxlength="10" 
id="paramMenor" 
value=""></INPUT><script>djConfig.searchIds.push("paramMenor");</script>
+                  <TD class="TextBox_ContentCell"> <INPUT 
dojoType="openbravo:RealNumberTextbox" greaterThan="paramMayor" 
class="TextBox_OneCell_width" type="text" name="inpMenor" maxlength="10" 
id="paramMenor" value="" 
outputformat="euroEdition"></INPUT><script>djConfig.searchIds.push("paramMenor");</script>
                   </TD>
                   <td class="TitleCell"><span 
class="LabelText">Currency</span></td>
                   <td class="Combo_ContentCell">
diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.xml
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.xml
 Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesFilterJR.xml
 Thu Aug 13 12:26:55 2009 +0200
@@ -51,8 +51,8 @@
   <PARAMETER id="paramAmountascOrder" name="amountasc" boolean="checked" 
withId="paramConstanteAmountascOrder"/>
   <PARAMETER id="paramConstanteAmountdescOrder" 
name="constanteAmountdescOrder" default="Amountdesc"/>
   <PARAMETER id="paramAmountdescOrder" name="amountdesc" boolean="checked" 
withId="paramConstanteAmountdescOrder"/>
-  <PARAMETER id="paramMayor" name="mayor" attribute="value"/>
-  <PARAMETER id="paramMenor" name="menor" attribute="value"/>
+  <PARAMETER id="paramMayor" name="mayor" attribute="value" 
format="euroEdition"/>
+  <PARAMETER id="paramMenor" name="menor" attribute="value" 
format="euroEdition"/>
   <PARAMETER id="paramreportProducttype" name="producttype"/>
   <PARAMETER id="paramC_Currency_ID" name="ccurrencyid" attribute="value"/>
   <PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
diff -r da2ccb2ef658 -r 5d85e0bbf28b 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesJR.java
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesJR.java
      Thu Aug 13 12:07:24 2009 +0200
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceVendorDimensionalAnalysesJR.java
      Thu Aug 13 12:26:55 2009 +0200
@@ -19,27 +19,30 @@
 
 package org.openbravo.erpCommon.ad_reports;
 
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.HashMap;
+import java.util.StringTokenizer;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.ad_combos.OrganizationComboData;
+import org.openbravo.erpCommon.businessUtility.Tree;
+import org.openbravo.erpCommon.businessUtility.TreeData;
+import org.openbravo.erpCommon.businessUtility.WindowTabs;
+import org.openbravo.erpCommon.utility.ComboTableData;
+import org.openbravo.erpCommon.utility.DateTimeData;
+import org.openbravo.erpCommon.utility.LeftTabsBar;
+import org.openbravo.erpCommon.utility.NavigationBar;
 import org.openbravo.erpCommon.utility.OBError;
 import org.openbravo.erpCommon.utility.ToolBar;
 import org.openbravo.erpCommon.utility.Utility;
-
-import org.openbravo.erpCommon.utility.*;
-import org.openbravo.erpCommon.businessUtility.WindowTabs;
-import org.openbravo.erpCommon.businessUtility.Tree;
-import org.openbravo.erpCommon.businessUtility.TreeData;
-import org.openbravo.base.secureApp.HttpSecureAppServlet;
-import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.utils.Replace;
 import org.openbravo.xmlEngine.XmlDocument;
-import java.io.*;
-import java.util.*;
-import javax.servlet.*;
-import javax.servlet.http.*;
-
-import org.openbravo.utils.Replace;
-import org.openbravo.erpCommon.ad_combos.OrganizationComboData;
-
-
-import org.openbravo.erpCommon.utility.DateTimeData;
 
 public class ReportInvoiceVendorDimensionalAnalysesJR extends 
HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
@@ -61,8 +64,8 @@
       String strShown = vars.getInGlobalVariable("inpShown", 
"ReportInvoiceVendorDimensionalAnalysesJR|shown", "");
       String strOrg = vars.getGlobalVariable("inpOrg", 
"ReportInvoiceVendorDimensionalAnalysesJR|Org", "");
       String strOrder = 
vars.getGlobalVariable("inpOrder","ReportInvoiceVendorDimensionalAnalysesJR|order","Normal");
-      String strMayor = vars.getGlobalVariable("inpMayor", 
"ReportInvoiceVendorDimensionalAnalysesJR|mayor", "");
-      String strMenor = vars.getGlobalVariable("inpMenor", 
"ReportInvoiceVendorDimensionalAnalysesJR|menor", "");
+      String strMayor = vars.getNumericGlobalVariable("inpMayor", 
"ReportInvoiceVendorDimensionalAnalysesJR|mayor", "");
+      String strMenor = vars.getNumericGlobalVariable("inpMenor", 
"ReportInvoiceVendorDimensionalAnalysesJR|menor", "");
       String strProducttype = vars.getGlobalVariable("inpProducttype", 
"ReportInvoiceVendorDimensionalAnalysesJR|producttype", "");
       String strCurrencyId = vars.getGlobalVariable("inpCurrencyId", 
"ReportInvoiceVendorDimensionalAnalysesJR|currency", strUserCurrencyId);

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to