[fop] fixed issue 37878: removed Sales Order Returns Dimensional Report
authorAsier Lostalé <asier.lostale@openbravo.com>
Wed, 16 Jan 2019 13:14:56 +0100
changeset 35412 78f89e07fbe5
parent 35411 3a582731abb4
child 35413 67f6e4cbf843
[fop] fixed issue 37878: removed Sales Order Returns Dimensional Report
src-db/database/sourcedata/AD_MENU.xml
src-db/database/sourcedata/AD_MODEL_OBJECT.xml
src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
src-db/database/sourcedata/AD_PROCESS.xml
src-db/database/sourcedata/AD_TEXTINTERFACES.xml
src-db/database/sourcedata/AD_TREENODE.xml
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.fo
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.java
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.xml
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEditionPDF.xml
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.html
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.xml
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesPDF.java
src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses_data.xsql
--- a/src-db/database/sourcedata/AD_MENU.xml	Wed Jan 16 12:30:05 2019 +0100
+++ b/src-db/database/sourcedata/AD_MENU.xml	Wed Jan 16 13:14:56 2019 +0100
@@ -2667,20 +2667,6 @@
 <!--800084-->  <OPENLINKINBROWSER><![CDATA[N]]></OPENLINKINBROWSER>
 <!--800084--></AD_MENU>
 
-<!--800085--><AD_MENU>
-<!--800085-->  <AD_MENU_ID><![CDATA[800085]]></AD_MENU_ID>
-<!--800085-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800085-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800085-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
-<!--800085-->  <NAME><![CDATA[Sales Order Returns Dimensional Report]]></NAME>
-<!--800085-->  <DESCRIPTION><![CDATA[Report refund sales order dimensional analyses]]></DESCRIPTION>
-<!--800085-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
-<!--800085-->  <ACTION><![CDATA[R]]></ACTION>
-<!--800085-->  <AD_PROCESS_ID><![CDATA[800074]]></AD_PROCESS_ID>
-<!--800085-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800085-->  <OPENLINKINBROWSER><![CDATA[N]]></OPENLINKINBROWSER>
-<!--800085--></AD_MENU>
-
 <!--800086--><AD_MENU>
 <!--800086-->  <AD_MENU_ID><![CDATA[800086]]></AD_MENU_ID>
 <!--800086-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Wed Jan 16 12:30:05 2019 +0100
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Wed Jan 16 13:14:56 2019 +0100
@@ -1272,18 +1272,6 @@
 <!--800829-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--800829--></AD_MODEL_OBJECT>
 
-<!--800832--><AD_MODEL_OBJECT>
-<!--800832-->  <AD_MODEL_OBJECT_ID><![CDATA[800832]]></AD_MODEL_OBJECT_ID>
-<!--800832-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800832-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800832-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800832-->  <ACTION><![CDATA[R]]></ACTION>
-<!--800832-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_reports.ReportRefundSalesDimensionalAnalyses]]></CLASSNAME>
-<!--800832-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--800832-->  <AD_PROCESS_ID><![CDATA[800074]]></AD_PROCESS_ID>
-<!--800832-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
-<!--800832--></AD_MODEL_OBJECT>
-
 <!--800833--><AD_MODEL_OBJECT>
 <!--800833-->  <AD_MODEL_OBJECT_ID><![CDATA[800833]]></AD_MODEL_OBJECT_ID>
 <!--800833-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1620,18 +1608,6 @@
 <!--801104-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--801104--></AD_MODEL_OBJECT>
 
-<!--801111--><AD_MODEL_OBJECT>
-<!--801111-->  <AD_MODEL_OBJECT_ID><![CDATA[801111]]></AD_MODEL_OBJECT_ID>
-<!--801111-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--801111-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--801111-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--801111-->  <ACTION><![CDATA[R]]></ACTION>
-<!--801111-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_reports.ReportRefundSalesDimensionalAnalysesPDF]]></CLASSNAME>
-<!--801111-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
-<!--801111-->  <AD_PROCESS_ID><![CDATA[800074]]></AD_PROCESS_ID>
-<!--801111-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
-<!--801111--></AD_MODEL_OBJECT>
-
 <!--801126--><AD_MODEL_OBJECT>
 <!--801126-->  <AD_MODEL_OBJECT_ID><![CDATA[801126]]></AD_MODEL_OBJECT_ID>
 <!--801126-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Wed Jan 16 12:30:05 2019 +0100
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Wed Jan 16 13:14:56 2019 +0100
@@ -900,26 +900,6 @@
 <!--801496-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
 <!--801496--></AD_MODEL_OBJECT_MAPPING>
 
-<!--801497--><AD_MODEL_OBJECT_MAPPING>
-<!--801497-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801497]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--801497-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--801497-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--801497-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--801497-->  <AD_MODEL_OBJECT_ID><![CDATA[800832]]></AD_MODEL_OBJECT_ID>
-<!--801497-->  <MAPPINGNAME><![CDATA[/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html]]></MAPPINGNAME>
-<!--801497-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
-<!--801497--></AD_MODEL_OBJECT_MAPPING>
-
-<!--801498--><AD_MODEL_OBJECT_MAPPING>
-<!--801498-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801498]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--801498-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--801498-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--801498-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--801498-->  <AD_MODEL_OBJECT_ID><![CDATA[800832]]></AD_MODEL_OBJECT_ID>
-<!--801498-->  <MAPPINGNAME><![CDATA[/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.html]]></MAPPINGNAME>
-<!--801498-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--801498--></AD_MODEL_OBJECT_MAPPING>
-
 <!--801505--><AD_MODEL_OBJECT_MAPPING>
 <!--801505-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801505]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--801505-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1030,16 +1010,6 @@
 <!--801532-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
 <!--801532--></AD_MODEL_OBJECT_MAPPING>
 
-<!--801543--><AD_MODEL_OBJECT_MAPPING>
-<!--801543-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801543]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--801543-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--801543-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--801543-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--801543-->  <AD_MODEL_OBJECT_ID><![CDATA[801111]]></AD_MODEL_OBJECT_ID>
-<!--801543-->  <MAPPINGNAME><![CDATA[/ad_reports/ReportRefundSales.pdf]]></MAPPINGNAME>
-<!--801543-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
-<!--801543--></AD_MODEL_OBJECT_MAPPING>
-
 <!--801544--><AD_MODEL_OBJECT_MAPPING>
 <!--801544-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801544]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--801544-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -2710,16 +2680,6 @@
 <!--81311EAEE5834B99B7DDD85CCA4EB6C9-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
 <!--81311EAEE5834B99B7DDD85CCA4EB6C9--></AD_MODEL_OBJECT_MAPPING>
 
-<!--8474804F12FA418881B73DE92D237EAF--><AD_MODEL_OBJECT_MAPPING>
-<!--8474804F12FA418881B73DE92D237EAF-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[8474804F12FA418881B73DE92D237EAF]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--8474804F12FA418881B73DE92D237EAF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--8474804F12FA418881B73DE92D237EAF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--8474804F12FA418881B73DE92D237EAF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--8474804F12FA418881B73DE92D237EAF-->  <AD_MODEL_OBJECT_ID><![CDATA[801111]]></AD_MODEL_OBJECT_ID>
-<!--8474804F12FA418881B73DE92D237EAF-->  <MAPPINGNAME><![CDATA[/ad_reports/ReportRefundSales.html]]></MAPPINGNAME>
-<!--8474804F12FA418881B73DE92D237EAF-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--8474804F12FA418881B73DE92D237EAF--></AD_MODEL_OBJECT_MAPPING>
-
 <!--848AF506AC924FD59DEF6E866BAC94AC--><AD_MODEL_OBJECT_MAPPING>
 <!--848AF506AC924FD59DEF6E866BAC94AC-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[848AF506AC924FD59DEF6E866BAC94AC]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--848AF506AC924FD59DEF6E866BAC94AC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_PROCESS.xml	Wed Jan 16 12:30:05 2019 +0100
+++ b/src-db/database/sourcedata/AD_PROCESS.xml	Wed Jan 16 13:14:56 2019 +0100
@@ -3088,30 +3088,6 @@
 <!--800073-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--800073--></AD_PROCESS>
 
-<!--800074--><AD_PROCESS>
-<!--800074-->  <AD_PROCESS_ID><![CDATA[800074]]></AD_PROCESS_ID>
-<!--800074-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800074-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800074-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
-<!--800074-->  <VALUE><![CDATA[RV_ReportRefundSalesDimensionalAnalyses]]></VALUE>
-<!--800074-->  <NAME><![CDATA[Sales Order Returns Dimensional Report]]></NAME>
-<!--800074-->  <DESCRIPTION><![CDATA[Report refund sales order dimensional analyses]]></DESCRIPTION>
-<!--800074-->  <HELP><![CDATA[Report refund sales order dimensional analyses]]></HELP>
-<!--800074-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
-<!--800074-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
-<!--800074-->  <ISREPORT><![CDATA[Y]]></ISREPORT>
-<!--800074-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
-<!--800074-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
-<!--800074-->  <ISJASPER><![CDATA[N]]></ISJASPER>
-<!--800074-->  <ISEXTERNALSERVICE><![CDATA[N]]></ISEXTERNALSERVICE>
-<!--800074-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800074-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
-<!--800074-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
-<!--800074-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
-<!--800074-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
-<!--800074-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
-<!--800074--></AD_PROCESS>
-
 <!--800075--><AD_PROCESS>
 <!--800075-->  <AD_PROCESS_ID><![CDATA[800075]]></AD_PROCESS_ID>
 <!--800075-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Wed Jan 16 12:30:05 2019 +0100
+++ b/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Wed Jan 16 13:14:56 2019 +0100
@@ -642,17 +642,6 @@
 <!--800850-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--800850--></AD_TEXTINTERFACES>
 
-<!--800949--><AD_TEXTINTERFACES>
-<!--800949-->  <AD_TEXTINTERFACES_ID><![CDATA[800949]]></AD_TEXTINTERFACES_ID>
-<!--800949-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800949-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800949-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800949-->  <TEXT><![CDATA[Devol. Ref]]></TEXT>
-<!--800949-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html]]></FILENAME>
-<!--800949-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--800949-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800949--></AD_TEXTINTERFACES>
-
 <!--801133--><AD_TEXTINTERFACES>
 <!--801133-->  <AD_TEXTINTERFACES_ID><![CDATA[801133]]></AD_TEXTINTERFACES_ID>
 <!--801133-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1521,17 +1510,6 @@
 <!--803443-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--803443--></AD_TEXTINTERFACES>
 
-<!--803501--><AD_TEXTINTERFACES>
-<!--803501-->  <AD_TEXTINTERFACES_ID><![CDATA[803501]]></AD_TEXTINTERFACES_ID>
-<!--803501-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--803501-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--803501-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--803501-->  <TEXT><![CDATA[Dev. quantity]]></TEXT>
-<!--803501-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.fo]]></FILENAME>
-<!--803501-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--803501-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--803501--></AD_TEXTINTERFACES>
-
 <!--803503--><AD_TEXTINTERFACES>
 <!--803503-->  <AD_TEXTINTERFACES_ID><![CDATA[803503]]></AD_TEXTINTERFACES_ID>
 <!--803503-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1542,61 +1520,6 @@
 <!--803503-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--803503--></AD_TEXTINTERFACES>
 
-<!--803589--><AD_TEXTINTERFACES>
-<!--803589-->  <AD_TEXTINTERFACES_ID><![CDATA[803589]]></AD_TEXTINTERFACES_ID>
-<!--803589-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--803589-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--803589-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--803589-->  <TEXT><![CDATA[Sale order refund report ]]></TEXT>
-<!--803589-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.fo]]></FILENAME>
-<!--803589-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--803589-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--803589--></AD_TEXTINTERFACES>
-
-<!--803591--><AD_TEXTINTERFACES>
-<!--803591-->  <AD_TEXTINTERFACES_ID><![CDATA[803591]]></AD_TEXTINTERFACES_ID>
-<!--803591-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--803591-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--803591-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--803591-->  <TEXT><![CDATA[Tot refund]]></TEXT>
-<!--803591-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.fo]]></FILENAME>
-<!--803591-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--803591-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--803591--></AD_TEXTINTERFACES>
-
-<!--803593--><AD_TEXTINTERFACES>
-<!--803593-->  <AD_TEXTINTERFACES_ID><![CDATA[803593]]></AD_TEXTINTERFACES_ID>
-<!--803593-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--803593-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--803593-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--803593-->  <TEXT><![CDATA[Tot sale ref]]></TEXT>
-<!--803593-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.fo]]></FILENAME>
-<!--803593-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--803593-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--803593--></AD_TEXTINTERFACES>
-
-<!--803602--><AD_TEXTINTERFACES>
-<!--803602-->  <AD_TEXTINTERFACES_ID><![CDATA[803602]]></AD_TEXTINTERFACES_ID>
-<!--803602-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--803602-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--803602-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--803602-->  <TEXT><![CDATA[%rat ref]]></TEXT>
-<!--803602-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.fo]]></FILENAME>
-<!--803602-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--803602-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--803602--></AD_TEXTINTERFACES>
-
-<!--803609--><AD_TEXTINTERFACES>
-<!--803609-->  <AD_TEXTINTERFACES_ID><![CDATA[803609]]></AD_TEXTINTERFACES_ID>
-<!--803609-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--803609-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--803609-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--803609-->  <TEXT><![CDATA[Total refund]]></TEXT>
-<!--803609-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.fo]]></FILENAME>
-<!--803609-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--803609-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--803609--></AD_TEXTINTERFACES>
-
 <!--803728--><AD_TEXTINTERFACES>
 <!--803728-->  <AD_TEXTINTERFACES_ID><![CDATA[803728]]></AD_TEXTINTERFACES_ID>
 <!--803728-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3500,36 +3423,6 @@
 <!--806745-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--806745--></AD_TEXTINTERFACES>
 
-<!--807001--><AD_TEXTINTERFACES>
-<!--807001-->  <AD_TEXTINTERFACES_ID><![CDATA[807001]]></AD_TEXTINTERFACES_ID>
-<!--807001-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807001-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807001-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807001-->  <TEXT><![CDATA[% rat ref]]></TEXT>
-<!--807001-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807001-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807001--></AD_TEXTINTERFACES>
-
-<!--807002--><AD_TEXTINTERFACES>
-<!--807002-->  <AD_TEXTINTERFACES_ID><![CDATA[807002]]></AD_TEXTINTERFACES_ID>
-<!--807002-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807002-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807002-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807002-->  <TEXT><![CDATA[% ratio]]></TEXT>
-<!--807002-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807002-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807002--></AD_TEXTINTERFACES>
-
-<!--807003--><AD_TEXTINTERFACES>
-<!--807003-->  <AD_TEXTINTERFACES_ID><![CDATA[807003]]></AD_TEXTINTERFACES_ID>
-<!--807003-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807003-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807003-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807003-->  <TEXT><![CDATA[% ratio ref.]]></TEXT>
-<!--807003-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807003-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807003--></AD_TEXTINTERFACES>
-
 <!--807004--><AD_TEXTINTERFACES>
 <!--807004-->  <AD_TEXTINTERFACES_ID><![CDATA[807004]]></AD_TEXTINTERFACES_ID>
 <!--807004-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -4210,56 +4103,6 @@
 <!--807110-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807110--></AD_TEXTINTERFACES>
 
-<!--807111--><AD_TEXTINTERFACES>
-<!--807111-->  <AD_TEXTINTERFACES_ID><![CDATA[807111]]></AD_TEXTINTERFACES_ID>
-<!--807111-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807111-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807111-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807111-->  <TEXT><![CDATA[Devolutions]]></TEXT>
-<!--807111-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807111-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807111--></AD_TEXTINTERFACES>
-
-<!--807112--><AD_TEXTINTERFACES>
-<!--807112-->  <AD_TEXTINTERFACES_ID><![CDATA[807112]]></AD_TEXTINTERFACES_ID>
-<!--807112-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807112-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807112-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807112-->  <TEXT><![CDATA[dif rat]]></TEXT>
-<!--807112-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807112-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807112--></AD_TEXTINTERFACES>
-
-<!--807113--><AD_TEXTINTERFACES>
-<!--807113-->  <AD_TEXTINTERFACES_ID><![CDATA[807113]]></AD_TEXTINTERFACES_ID>
-<!--807113-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807113-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807113-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807113-->  <TEXT><![CDATA[Dif ratio]]></TEXT>
-<!--807113-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807113-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807113--></AD_TEXTINTERFACES>
-
-<!--807114--><AD_TEXTINTERFACES>
-<!--807114-->  <AD_TEXTINTERFACES_ID><![CDATA[807114]]></AD_TEXTINTERFACES_ID>
-<!--807114-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807114-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807114-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807114-->  <TEXT><![CDATA[dif. Ratio]]></TEXT>
-<!--807114-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807114-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807114--></AD_TEXTINTERFACES>
-
-<!--807115--><AD_TEXTINTERFACES>
-<!--807115-->  <AD_TEXTINTERFACES_ID><![CDATA[807115]]></AD_TEXTINTERFACES_ID>
-<!--807115-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807115-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807115-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807115-->  <TEXT><![CDATA[Dif.ratio]]></TEXT>
-<!--807115-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807115-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807115--></AD_TEXTINTERFACES>
-
 <!--807118--><AD_TEXTINTERFACES>
 <!--807118-->  <AD_TEXTINTERFACES_ID><![CDATA[807118]]></AD_TEXTINTERFACES_ID>
 <!--807118-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5382,36 +5225,6 @@
 <!--807280-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807280--></AD_TEXTINTERFACES>
 
-<!--807281--><AD_TEXTINTERFACES>
-<!--807281-->  <AD_TEXTINTERFACES_ID><![CDATA[807281]]></AD_TEXTINTERFACES_ID>
-<!--807281-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807281-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807281-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807281-->  <TEXT><![CDATA[Qty dev]]></TEXT>
-<!--807281-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807281-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807281--></AD_TEXTINTERFACES>
-
-<!--807282--><AD_TEXTINTERFACES>
-<!--807282-->  <AD_TEXTINTERFACES_ID><![CDATA[807282]]></AD_TEXTINTERFACES_ID>
-<!--807282-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807282-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807282-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807282-->  <TEXT><![CDATA[Qty ref]]></TEXT>
-<!--807282-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807282-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807282--></AD_TEXTINTERFACES>
-
-<!--807283--><AD_TEXTINTERFACES>
-<!--807283-->  <AD_TEXTINTERFACES_ID><![CDATA[807283]]></AD_TEXTINTERFACES_ID>
-<!--807283-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807283-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807283-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807283-->  <TEXT><![CDATA[Qty refund ref]]></TEXT>
-<!--807283-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807283-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807283--></AD_TEXTINTERFACES>
-
 <!--807284--><AD_TEXTINTERFACES>
 <!--807284-->  <AD_TEXTINTERFACES_ID><![CDATA[807284]]></AD_TEXTINTERFACES_ID>
 <!--807284-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5422,46 +5235,6 @@
 <!--807284-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807284--></AD_TEXTINTERFACES>
 
-<!--807286--><AD_TEXTINTERFACES>
-<!--807286-->  <AD_TEXTINTERFACES_ID><![CDATA[807286]]></AD_TEXTINTERFACES_ID>
-<!--807286-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807286-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807286-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807286-->  <TEXT><![CDATA[Quantity retur.]]></TEXT>
-<!--807286-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807286-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807286--></AD_TEXTINTERFACES>
-
-<!--807287--><AD_TEXTINTERFACES>
-<!--807287-->  <AD_TEXTINTERFACES_ID><![CDATA[807287]]></AD_TEXTINTERFACES_ID>
-<!--807287-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807287-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807287-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807287-->  <TEXT><![CDATA[Quantity retur. Ref.]]></TEXT>
-<!--807287-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807287-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807287--></AD_TEXTINTERFACES>
-
-<!--807289--><AD_TEXTINTERFACES>
-<!--807289-->  <AD_TEXTINTERFACES_ID><![CDATA[807289]]></AD_TEXTINTERFACES_ID>
-<!--807289-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807289-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807289-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807289-->  <TEXT><![CDATA[%rat]]></TEXT>
-<!--807289-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807289-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807289--></AD_TEXTINTERFACES>
-
-<!--807290--><AD_TEXTINTERFACES>
-<!--807290-->  <AD_TEXTINTERFACES_ID><![CDATA[807290]]></AD_TEXTINTERFACES_ID>
-<!--807290-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807290-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807290-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807290-->  <TEXT><![CDATA[%ratio]]></TEXT>
-<!--807290-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807290-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807290--></AD_TEXTINTERFACES>
-
 <!--807291--><AD_TEXTINTERFACES>
 <!--807291-->  <AD_TEXTINTERFACES_ID><![CDATA[807291]]></AD_TEXTINTERFACES_ID>
 <!--807291-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5492,56 +5265,6 @@
 <!--807295-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807295--></AD_TEXTINTERFACES>
 
-<!--807297--><AD_TEXTINTERFACES>
-<!--807297-->  <AD_TEXTINTERFACES_ID><![CDATA[807297]]></AD_TEXTINTERFACES_ID>
-<!--807297-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807297-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807297-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807297-->  <TEXT><![CDATA[Refund]]></TEXT>
-<!--807297-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807297-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807297--></AD_TEXTINTERFACES>
-
-<!--807298--><AD_TEXTINTERFACES>
-<!--807298-->  <AD_TEXTINTERFACES_ID><![CDATA[807298]]></AD_TEXTINTERFACES_ID>
-<!--807298-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807298-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807298-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807298-->  <TEXT><![CDATA[Refund ref]]></TEXT>
-<!--807298-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807298-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807298--></AD_TEXTINTERFACES>
-
-<!--807299--><AD_TEXTINTERFACES>
-<!--807299-->  <AD_TEXTINTERFACES_ID><![CDATA[807299]]></AD_TEXTINTERFACES_ID>
-<!--807299-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807299-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807299-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807299-->  <TEXT><![CDATA[Refunded sale invoices report]]></TEXT>
-<!--807299-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807299-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807299--></AD_TEXTINTERFACES>
-
-<!--807300--><AD_TEXTINTERFACES>
-<!--807300-->  <AD_TEXTINTERFACES_ID><![CDATA[807300]]></AD_TEXTINTERFACES_ID>
-<!--807300-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807300-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807300-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807300-->  <TEXT><![CDATA[Refunded sales orders report]]></TEXT>
-<!--807300-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807300-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807300--></AD_TEXTINTERFACES>
-
-<!--807301--><AD_TEXTINTERFACES>
-<!--807301-->  <AD_TEXTINTERFACES_ID><![CDATA[807301]]></AD_TEXTINTERFACES_ID>
-<!--807301-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807301-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807301-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807301-->  <TEXT><![CDATA[Refunds]]></TEXT>
-<!--807301-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807301-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807301--></AD_TEXTINTERFACES>
-
 <!--807302--><AD_TEXTINTERFACES>
 <!--807302-->  <AD_TEXTINTERFACES_ID><![CDATA[807302]]></AD_TEXTINTERFACES_ID>
 <!--807302-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5622,16 +5345,6 @@
 <!--807311-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807311--></AD_TEXTINTERFACES>
 
-<!--807313--><AD_TEXTINTERFACES>
-<!--807313-->  <AD_TEXTINTERFACES_ID><![CDATA[807313]]></AD_TEXTINTERFACES_ID>
-<!--807313-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807313-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807313-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807313-->  <TEXT><![CDATA[Sal. Ref total]]></TEXT>
-<!--807313-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807313-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807313--></AD_TEXTINTERFACES>
-
 <!--807315--><AD_TEXTINTERFACES>
 <!--807315-->  <AD_TEXTINTERFACES_ID><![CDATA[807315]]></AD_TEXTINTERFACES_ID>
 <!--807315-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5672,26 +5385,6 @@
 <!--807318-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807318--></AD_TEXTINTERFACES>
 
-<!--807319--><AD_TEXTINTERFACES>
-<!--807319-->  <AD_TEXTINTERFACES_ID><![CDATA[807319]]></AD_TEXTINTERFACES_ID>
-<!--807319-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807319-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807319-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807319-->  <TEXT><![CDATA[Sales]]></TEXT>
-<!--807319-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807319-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807319--></AD_TEXTINTERFACES>
-
-<!--807322--><AD_TEXTINTERFACES>
-<!--807322-->  <AD_TEXTINTERFACES_ID><![CDATA[807322]]></AD_TEXTINTERFACES_ID>
-<!--807322-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807322-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807322-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807322-->  <TEXT><![CDATA[Sales ref]]></TEXT>
-<!--807322-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807322-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807322--></AD_TEXTINTERFACES>
-
 <!--807323--><AD_TEXTINTERFACES>
 <!--807323-->  <AD_TEXTINTERFACES_ID><![CDATA[807323]]></AD_TEXTINTERFACES_ID>
 <!--807323-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5702,16 +5395,6 @@
 <!--807323-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807323--></AD_TEXTINTERFACES>
 
-<!--807324--><AD_TEXTINTERFACES>
-<!--807324-->  <AD_TEXTINTERFACES_ID><![CDATA[807324]]></AD_TEXTINTERFACES_ID>
-<!--807324-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807324-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807324-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807324-->  <TEXT><![CDATA[Sales total]]></TEXT>
-<!--807324-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807324-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807324--></AD_TEXTINTERFACES>
-
 <!--807326--><AD_TEXTINTERFACES>
 <!--807326-->  <AD_TEXTINTERFACES_ID><![CDATA[807326]]></AD_TEXTINTERFACES_ID>
 <!--807326-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -6012,26 +5695,6 @@
 <!--807361-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807361--></AD_TEXTINTERFACES>
 
-<!--807362--><AD_TEXTINTERFACES>
-<!--807362-->  <AD_TEXTINTERFACES_ID><![CDATA[807362]]></AD_TEXTINTERFACES_ID>
-<!--807362-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807362-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807362-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807362-->  <TEXT><![CDATA[Tot refund ref]]></TEXT>
-<!--807362-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807362-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807362--></AD_TEXTINTERFACES>
-
-<!--807363--><AD_TEXTINTERFACES>
-<!--807363-->  <AD_TEXTINTERFACES_ID><![CDATA[807363]]></AD_TEXTINTERFACES_ID>
-<!--807363-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807363-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807363-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807363-->  <TEXT><![CDATA[Tot sales]]></TEXT>
-<!--807363-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807363-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807363--></AD_TEXTINTERFACES>
-
 <!--807364--><AD_TEXTINTERFACES>
 <!--807364-->  <AD_TEXTINTERFACES_ID><![CDATA[807364]]></AD_TEXTINTERFACES_ID>
 <!--807364-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -6072,26 +5735,6 @@
 <!--807371-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807371--></AD_TEXTINTERFACES>
 
-<!--807374--><AD_TEXTINTERFACES>
-<!--807374-->  <AD_TEXTINTERFACES_ID><![CDATA[807374]]></AD_TEXTINTERFACES_ID>
-<!--807374-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807374-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807374-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807374-->  <TEXT><![CDATA[Total devol.]]></TEXT>
-<!--807374-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807374-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807374--></AD_TEXTINTERFACES>
-
-<!--807377--><AD_TEXTINTERFACES>
-<!--807377-->  <AD_TEXTINTERFACES_ID><![CDATA[807377]]></AD_TEXTINTERFACES_ID>
-<!--807377-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--807377-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--807377-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--807377-->  <TEXT><![CDATA[Total sales]]></TEXT>
-<!--807377-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--807377-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--807377--></AD_TEXTINTERFACES>
-
 <!--807383--><AD_TEXTINTERFACES>
 <!--807383-->  <AD_TEXTINTERFACES_ID><![CDATA[807383]]></AD_TEXTINTERFACES_ID>
 <!--807383-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -7311,61 +6954,6 @@
 <!--808677-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--808677--></AD_TEXTINTERFACES>
 
-<!--808700--><AD_TEXTINTERFACES>
-<!--808700-->  <AD_TEXTINTERFACES_ID><![CDATA[808700]]></AD_TEXTINTERFACES_ID>
-<!--808700-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--808700-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--808700-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--808700-->  <TEXT><![CDATA[Refunded Sales Orders Report]]></TEXT>
-<!--808700-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html]]></FILENAME>
-<!--808700-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--808700-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--808700--></AD_TEXTINTERFACES>
-
-<!--808701--><AD_TEXTINTERFACES>
-<!--808701-->  <AD_TEXTINTERFACES_ID><![CDATA[808701]]></AD_TEXTINTERFACES_ID>
-<!--808701-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--808701-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--808701-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--808701-->  <TEXT><![CDATA[Total % ratio]]></TEXT>
-<!--808701-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html]]></FILENAME>
-<!--808701-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--808701-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--808701--></AD_TEXTINTERFACES>
-
-<!--808702--><AD_TEXTINTERFACES>
-<!--808702-->  <AD_TEXTINTERFACES_ID><![CDATA[808702]]></AD_TEXTINTERFACES_ID>
-<!--808702-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--808702-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--808702-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--808702-->  <TEXT><![CDATA[Total dev. ref]]></TEXT>
-<!--808702-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html]]></FILENAME>
-<!--808702-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--808702-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--808702--></AD_TEXTINTERFACES>
-
-<!--808703--><AD_TEXTINTERFACES>
-<!--808703-->  <AD_TEXTINTERFACES_ID><![CDATA[808703]]></AD_TEXTINTERFACES_ID>
-<!--808703-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--808703-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--808703-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--808703-->  <TEXT><![CDATA[Total %rat ref]]></TEXT>
-<!--808703-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html]]></FILENAME>
-<!--808703-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--808703-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--808703--></AD_TEXTINTERFACES>
-
-<!--808704--><AD_TEXTINTERFACES>
-<!--808704-->  <AD_TEXTINTERFACES_ID><![CDATA[808704]]></AD_TEXTINTERFACES_ID>
-<!--808704-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--808704-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--808704-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--808704-->  <TEXT><![CDATA[Quantity Ref..]]></TEXT>
-<!--808704-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html]]></FILENAME>
-<!--808704-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--808704-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--808704--></AD_TEXTINTERFACES>
-
 <!--809742--><AD_TEXTINTERFACES>
 <!--809742-->  <AD_TEXTINTERFACES_ID><![CDATA[809742]]></AD_TEXTINTERFACES_ID>
 <!--809742-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -7927,17 +7515,6 @@
 <!--809954-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--809954--></AD_TEXTINTERFACES>
 
-<!--809961--><AD_TEXTINTERFACES>
-<!--809961-->  <AD_TEXTINTERFACES_ID><![CDATA[809961]]></AD_TEXTINTERFACES_ID>
-<!--809961-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--809961-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--809961-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--809961-->  <TEXT><![CDATA[Ratio Greater Than]]></TEXT>
-<!--809961-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.html]]></FILENAME>
-<!--809961-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--809961-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--809961--></AD_TEXTINTERFACES>
-
 <!--809964--><AD_TEXTINTERFACES>
 <!--809964-->  <AD_TEXTINTERFACES_ID><![CDATA[809964]]></AD_TEXTINTERFACES_ID>
 <!--809964-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -8143,17 +7720,6 @@
 <!--810022-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--810022--></AD_TEXTINTERFACES>
 
-<!--810023--><AD_TEXTINTERFACES>
-<!--810023-->  <AD_TEXTINTERFACES_ID><![CDATA[810023]]></AD_TEXTINTERFACES_ID>
-<!--810023-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--810023-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--810023-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--810023-->  <TEXT><![CDATA[Amount Greater Than]]></TEXT>
-<!--810023-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.html]]></FILENAME>
-<!--810023-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--810023-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--810023--></AD_TEXTINTERFACES>
-
 <!--810027--><AD_TEXTINTERFACES>
 <!--810027-->  <AD_TEXTINTERFACES_ID><![CDATA[810027]]></AD_TEXTINTERFACES_ID>
 <!--810027-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TREENODE.xml	Wed Jan 16 12:30:05 2019 +0100
+++ b/src-db/database/sourcedata/AD_TREENODE.xml	Wed Jan 16 13:14:56 2019 +0100
@@ -2298,17 +2298,6 @@
 <!--52118BF1A2E94D84E040007F01005FEC-->  <SEQNO><![CDATA[200]]></SEQNO>
 <!--52118BF1A2E94D84E040007F01005FEC--></AD_TREENODE>
 
-<!--52118BF1A2EA4D84E040007F01005FEC--><AD_TREENODE>
-<!--52118BF1A2EA4D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A2EA4D84E040007F01005FEC]]></AD_TREENODE_ID>
-<!--52118BF1A2EA4D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
-<!--52118BF1A2EA4D84E040007F01005FEC-->  <NODE_ID><![CDATA[800085]]></NODE_ID>
-<!--52118BF1A2EA4D84E040007F01005FEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--52118BF1A2EA4D84E040007F01005FEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--52118BF1A2EA4D84E040007F01005FEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--52118BF1A2EA4D84E040007F01005FEC-->  <PARENT_ID><![CDATA[800075]]></PARENT_ID>
-<!--52118BF1A2EA4D84E040007F01005FEC-->  <SEQNO><![CDATA[50]]></SEQNO>
-<!--52118BF1A2EA4D84E040007F01005FEC--></AD_TREENODE>
-
 <!--52118BF1A2EB4D84E040007F01005FEC--><AD_TREENODE>
 <!--52118BF1A2EB4D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A2EB4D84E040007F01005FEC]]></AD_TREENODE_ID>
 <!--52118BF1A2EB4D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.fo	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,767 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html 
- * Software distributed under the License  is  distributed  on  an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- * License for the specific  language  governing  rights  and  limitations
- * under the License. 
- * The Original Code is Openbravo ERP. 
- * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2016 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
--->
-<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
-	<fo:layout-master-set>
-		<fo:simple-page-master master-name="first" page-height="21cm" page-width="29.7cm" margin-top="1cm" margin-bottom="0.25cm" margin-left="0.5cm" margin-right="0.5cm">
-			<fo:region-body margin-top="2cm"/>
-			<fo:region-before extent="2cm"/>
-		</fo:simple-page-master>
-		<fo:simple-page-master master-name="rest" page-height="21cm" page-width="29.7cm" margin-top="1cm" margin-bottom="0.25cm" margin-left="0.5cm" margin-right="0.5cm">
-			<fo:region-body margin-top="2cm"/>
-			<fo:region-before extent="2cm"/>
-		</fo:simple-page-master>
-		<fo:page-sequence-master master-name="basicPSM">
-			<fo:repeatable-page-master-alternatives>
-				<fo:conditional-page-master-reference master-reference="first" page-position="first"/>
-				<fo:conditional-page-master-reference master-reference="rest" page-position="rest"/>
-				<fo:conditional-page-master-reference master-reference="rest"/>
-			</fo:repeatable-page-master-alternatives>
-		</fo:page-sequence-master>
-	</fo:layout-master-set>
-	<fo:page-sequence master-reference="basicPSM">
-		<fo:static-content flow-name="xsl-region-before">
-			<fo:block font-size="12pt" text-align="center">Sale order refund report&#160;<fo:inline id="fieldTitle">xxdesde hasta</fo:inline>
-			</fo:block>
-			<fo:block font-size="12pt" text-align="center">Currency of the report:<fo:inline id="fieldCurISOSymbol">xxcurisosymbol</fo:inline>
-			</fo:block>
-		</fo:static-content>
-		<fo:flow flow-name="xsl-region-body">
-			<fo:block font-size="10pt" space-before.optimum="1cm" id="selEliminarBody1">
-				<fo:table table-layout="fixed" space-after.optimum="1cm">
-					<fo:table-column column-width="2cm"/>
-					<fo:table-column column-width="2.5cm"/>
-					<fo:table-column column-width="2.5cm"/>
-					<fo:table-column column-width="2.5cm"/>
-					<fo:table-column column-width="1.5cm"/>
-					<fo:table-column column-width="1.5cm"/>
-					<fo:table-column column-width="2.5cm"/>
-					<fo:table-column column-width="2.5cm"/>
-					<fo:table-column column-width="2.4cm"/>
-					<fo:table-column column-width="2.3cm"/>
-					<fo:table-column column-width="2cm"/>
-					<fo:table-column column-width="1.5cm"/>
-					<fo:table-column column-width="1.5cm"/>
-					<fo:table-column column-width="1.5cm"/>
-					<fo:table-body>
-						<fo:table-row>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">Tot sales</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldTotal">xx</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">Tot refund</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldTotalRefund">xx</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">% ratio</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldTotalAvg">xx</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">Tot sale ref</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldTotalRef">xx</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">Tot refund ref</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldTotalRefundRef">xx</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">% rat ref</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldTotalAvgRef">xx</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">dif rat</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldDifRatio">xx</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-				<fo:table>
-					<fo:table-column column-width="7.7cm"/>
-					<fo:table-column column-width="1.9cm"/>
-					<fo:table-column column-width="1.9cm"/>
-					<fo:table-column column-width="1.4cm"/>
-					<fo:table-column column-width="1.9cm"/>
-					<fo:table-column column-width="1.9cm"/>
-					<fo:table-column column-width="1.4cm"/>
-					<fo:table-column column-width="1.5cm"/>
-					<fo:table-column column-width="2.2cm"/>
-					<fo:table-column column-width="2.3cm"/>
-					<fo:table-column column-width="2.2cm"/>
-					<fo:table-column column-width="2.3cm"/>
-					<fo:table-header>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block>&#160;</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block/>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Sales</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Refund</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">%rat</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Sales ref</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Refund ref</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">%rat ref</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Dif ratio</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Qty</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Qty dev</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Qty ref</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block font-weight="bold" text-align="end">Qty refund ref</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-header>
-					<fo:table-body>
-						<DIVFO id="sectionNivel1">
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block font-size="12pt" start-indent="2pt" id="fieldNivel1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldTotalNivel1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldTotalRefundNivel1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldTotal1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldTotalRefNivel1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldTotalRefRefundNivel1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldTotalRef1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldDifRatio1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end">
-										<fo:inline id="fieldTotalQtyNivel1"/>&#160;<fo:inline id="fieldUomsymbol1"/>
-									</fo:block>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end">
-										<fo:inline id="fieldTotalRefundQtyNivel1"/>&#160;<fo:inline id="fieldUomsymbol1"/>
-									</fo:block>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end">
-										<fo:inline id="fieldTotalRefQtyNivel1"/>&#160;<fo:inline id="fieldUomsymbol1"/>
-									</fo:block>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end">
-										<fo:inline id="fieldTotalRefRefundQtyNivel1"/>&#160;<fo:inline id="fieldUomsymbol1"/>
-									</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<DIVFO id="sectionNivel2">
-								<fo:table-row id="fieldEliminar2" font-size="xxpt">
-									<fo:table-cell>
-										<fo:block font-size="11pt" start-indent="0.5cm" id="fieldNivel2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldTotalNivel2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldTotalRefundNivel2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldTotal2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldTotalRefNivel2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldTotalRefRefundNivel2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldTotalRef2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldDifRatio2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end">
-											<fo:inline id="fieldTotalQtyNivel2"/>&#160;<fo:inline id="fieldUomsymbol2"/>
-										</fo:block>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end">
-											<fo:inline id="fieldTotalRefundQtyNivel2"/>&#160;<fo:inline id="fieldUomsymbol2"/>
-										</fo:block>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end">
-											<fo:inline id="fieldTotalRefQtyNivel2"/>&#160;<fo:inline id="fieldUomsymbol2"/>
-										</fo:block>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block>
-											<fo:inline id="fieldTotalRefRefundQtyNivel2"/>&#160;<fo:inline id="fieldUomsymbol2"/>
-										</fo:block>
-									</fo:table-cell>
-								</fo:table-row>
-								<DIVFO id="sectionNivel3">
-									<fo:table-row id="fieldEliminar3" font-size="xxpt">
-										<fo:table-cell>
-											<fo:block font-size="10pt" start-indent="1cm" id="fieldNivel3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldTotalNivel3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldTotalRefundNivel3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldTotal3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldTotalRefNivel3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldTotalRefRefundNivel3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldTotalRef3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldDifRatio3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end">
-												<fo:inline id="fieldTotalQtyNivel3"/>&#160;<fo:inline id="fieldUomsymbol3"/>
-											</fo:block>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end">
-												<fo:inline id="fieldTotalRefundQtyNivel3"/>&#160;<fo:inline id="fieldUomsymbol3"/>
-											</fo:block>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end">
-												<fo:inline id="fieldTotalRefQtyNivel3"/>&#160;<fo:inline id="fieldUomsymbol3"/>
-											</fo:block>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end">
-												<fo:inline id="fieldTotalRefRefundQtyNivel3"/>&#160;<fo:inline id="fieldUomsymbol3"/>
-											</fo:block>
-										</fo:table-cell>
-									</fo:table-row>
-									<DIVFO id="sectionNivel4">
-										<fo:table-row id="fieldEliminar4" font-size="xxpt">
-											<fo:table-cell>
-												<fo:block font-size="9pt" start-indent="1.5cm" id="fieldNivel4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldTotalNivel4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldTotalRefundNivel4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldTotal4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldTotalRefNivel4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldTotalRefRefundNivel4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldTotalRef4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldDifRatio4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end">
-													<fo:inline id="fieldTotalQtyNivel4"/>&#160;<fo:inline id="fieldUomsymbol4"/>
-												</fo:block>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end">
-													<fo:inline id="fieldTotalRefundQtyNivel4"/>&#160;<fo:inline id="fieldUomsymbol4"/>
-												</fo:block>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end">
-													<fo:inline id="fieldTotalRefQtyNivel4"/>&#160;<fo:inline id="fieldUomsymbol4"/>
-												</fo:block>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end">
-													<fo:inline id="fieldTotalRefRefundQtyNivel4"/>&#160;<fo:inline id="fieldUomsymbol4"/>
-												</fo:block>
-											</fo:table-cell>
-										</fo:table-row>
-										<DIVFO id="sectionNivel5">
-											<fo:table-row id="fieldEliminar5" font-size="xxpt">
-												<fo:table-cell>
-													<fo:block font-size="8pt" start-indent="2cm" id="fieldNivel5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldTotalNivel5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldTotalRefundNivel5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldTotal5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldTotalRefNivel5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldTotalRefRefundNivel5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldTotalRef5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldDifRatio5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end">
-														<fo:inline id="fieldTotalQtyNivel5"/>&#160;<fo:inline id="fieldUomsymbol5"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end">
-														<fo:inline id="fieldTotalRefundQtyNivel5"/>&#160;<fo:inline id="fieldUomsymbol5"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end">
-														<fo:inline id="fieldTotalRefQtyNivel5"/>&#160;<fo:inline id="fieldUomsymbol5"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end">
-														<fo:inline id="fieldTotalRefRefundQtyNivel5"/>&#160;<fo:inline id="fieldUomsymbol5"/>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<DIVFO id="sectionNivel6">
-												<fo:table-row id="fieldEliminar6" font-size="xxpt">
-													<fo:table-cell>
-														<fo:block font-size="8pt" start-indent="2.5cm" id="fieldNivel6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldTotalNivel6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldTotalRefundNivel6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldTotal6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldTotalRefNivel6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldTotalRefRefundNivel6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldTotalRef6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldDifRatio6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end">
-															<fo:inline id="fieldTotalQtyNivel6"/>&#160;<fo:inline id="fieldUomsymbol6"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end">
-															<fo:inline id="fieldTotalRefundQtyNivel6"/>&#160;<fo:inline id="fieldUomsymbol6"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end">
-															<fo:inline id="fieldTotalRefQtyNivel6"/>&#160;<fo:inline id="fieldUomsymbol6"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end">
-															<fo:inline id="fieldTotalRefRefundQtyNivel6"/>&#160;<fo:inline id="fieldUomsymbol6"/>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<DIVFO id="sectionNivel7">
-													<DIVFO id="sectionDetail">
-														<fo:table-row id="fieldEliminar7" font-size="xxpt">
-															<fo:table-cell>
-																<fo:block font-size="8pt" start-indent="3cm" id="fieldNivel7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldTotalNivel7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldTotalRefundNivel7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldTotal7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldTotalRefNivel7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldTotalRefRefundNivel7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldTotalRef7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldDifRatio7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end">
-																	<fo:inline id="fieldTotalQtyNivel7"/>&#160;<fo:inline id="fieldUomsymbol7"/>
-																</fo:block>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end">
-																	<fo:inline id="fieldTotalRefundQtyNivel7"/>&#160;<fo:inline id="fieldUomsymbol7"/>
-																</fo:block>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end">
-																	<fo:inline id="fieldTotalRefQtyNivel7"/>&#160;<fo:inline id="fieldUomsymbol7"/>
-																</fo:block>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end">
-																	<fo:inline id="fieldTotalRefRefundQtyNivel7"/>&#160;<fo:inline id="fieldUomsymbol7"/>
-																</fo:block>
-															</fo:table-cell>
-														</fo:table-row>
-													</DIVFO>
-												</DIVFO>
-											</DIVFO>
-										</DIVFO>
-									</DIVFO>
-								</DIVFO>
-							</DIVFO>
-						</DIVFO>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-			<fo:block font-size="10pt" space-before.optimum="1cm" id="selEliminarBody2">
-				<fo:table table-layout="fixed" space-after.optimum="1cm">
-					<fo:table-column column-width="3.8cm"/>
-					<fo:table-column column-width="3cm"/>
-					<fo:table-column column-width="4cm"/>
-					<fo:table-column column-width="3cm"/>
-					<fo:table-column column-width="4cm"/>
-					<fo:table-column column-width="3cm"/>
-					<fo:table-column column-width="4cm"/>
-					<fo:table-column column-width="3.9cm"/>
-					<fo:table-body>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block/>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">Total sales</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldNoncomparativeTotal"/>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">Total refund</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldNoncomparativeTotalRefund"/>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt">% ratio</fo:block>
-							</fo:table-cell>
-							<fo:table-cell border-width="0.5pt" border-style="solid">
-								<fo:block padding-top="2pt" font-weight="bold" font-size="12pt" text-align="left" start-indent="2pt" id="fieldNoncomparativeTotalAvg"/>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block/>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-body>
-				</fo:table>
-				<fo:table>
-					<fo:table-column column-width="11.5cm"/>
-					<fo:table-column column-width="3.2cm"/>
-					<fo:table-column column-width="3.2cm"/>
-					<fo:table-column column-width="3.2cm"/>
-					<fo:table-column column-width="3.2cm"/>
-					<fo:table-column column-width="3.2cm"/>
-					<fo:table-header>
-						<fo:table-row>
-							<fo:table-cell>
-								<fo:block/>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block text-align="end" font-weight="bold">Sales</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block text-align="end" font-weight="bold">Refunds</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block text-align="end" font-weight="bold">%ratio</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block text-align="end" font-weight="bold">Quantity</fo:block>
-							</fo:table-cell>
-							<fo:table-cell>
-								<fo:block text-align="end" font-weight="bold">Dev. quantity</fo:block>
-							</fo:table-cell>
-						</fo:table-row>
-					</fo:table-header>
-					<fo:table-body>
-						<DIVFO id="sectionNoncomparativeNivel1">
-							<fo:table-row>
-								<fo:table-cell>
-									<fo:block font-size="12pt" start-indent="2pt" id="fieldNoncomparativeNivel1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldNoncomparativeTotalNivel1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldNoncomparativeTotalRefundNivel1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end" id="fieldNoncomparativeTotal1"/>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end">
-										<fo:inline id="fieldNoncomparativeTotalQtyNivel1"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol1"/>
-									</fo:block>
-								</fo:table-cell>
-								<fo:table-cell>
-									<fo:block text-align="end">
-										<fo:inline id="fieldNoncomparativeTotalRefundQtyNivel1"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol1"/>
-									</fo:block>
-								</fo:table-cell>
-							</fo:table-row>
-							<DIVFO id="sectionNoncomparativeNivel2">
-								<fo:table-row id="fieldNoncomparativeEliminar2" font-size="xxpt">
-									<fo:table-cell>
-										<fo:block font-size="11pt" start-indent="0.5cm" id="fieldNoncomparativeNivel2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldNoncomparativeTotalNivel2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldNoncomparativeTotalRefundNivel2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end" id="fieldNoncomparativeTotal2"/>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end">
-											<fo:inline id="fieldNoncomparativeTotalQtyNivel2"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol2"/>
-										</fo:block>
-									</fo:table-cell>
-									<fo:table-cell>
-										<fo:block text-align="end">
-											<fo:inline id="fieldNoncomparativeTotalRefundQtyNivel2"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol2"/>
-										</fo:block>
-									</fo:table-cell>
-								</fo:table-row>
-								<DIVFO id="sectionNoncomparativeNivel3">
-									<fo:table-row id="fieldNoncomparativeEliminar3" font-size="xxpt">
-										<fo:table-cell>
-											<fo:block font-size="10pt" start-indent="1cm" id="fieldNoncomparativeNivel3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldNoncomparativeTotalNivel3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldNoncomparativeTotalRefundNivel3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end" id="fieldNoncomparativeTotal3"/>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end">
-												<fo:inline id="fieldNoncomparativeTotalQtyNivel3"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol3"/>
-											</fo:block>
-										</fo:table-cell>
-										<fo:table-cell>
-											<fo:block text-align="end">
-												<fo:inline id="fieldNoncomparativeTotalRefundQtyNivel3"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol3"/>
-											</fo:block>
-										</fo:table-cell>
-									</fo:table-row>
-									<DIVFO id="sectionNoncomparativeNivel4">
-										<fo:table-row id="fieldNoncomparativeEliminar4" font-size="xxpt">
-											<fo:table-cell>
-												<fo:block font-size="9pt" start-indent="1.5cm" id="fieldNoncomparativeNivel4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldNoncomparativeTotalNivel4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldNoncomparativeTotalRefundNivel4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end" id="fieldNoncomparativeTotal4"/>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end">
-													<fo:inline id="fieldNoncomparativeTotalQtyNivel4"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol4"/>
-												</fo:block>
-											</fo:table-cell>
-											<fo:table-cell>
-												<fo:block text-align="end">
-													<fo:inline id="fieldNoncomparativeTotalRefundQtyNivel4"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol4"/>
-												</fo:block>
-											</fo:table-cell>
-										</fo:table-row>
-										<DIVFO id="sectionNoncomparativeNivel5">
-											<fo:table-row id="fieldNoncomparativeEliminar5" font-size="xxpt">
-												<fo:table-cell>
-													<fo:block font-size="8pt" start-indent="2cm" id="fieldNoncomparativeNivel5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldNoncomparativeTotalNivel5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldNoncomparativeTotalRefundNivel5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end" id="fieldNoncomparativeTotal5"/>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end">
-														<fo:inline id="fieldNoncomparativeTotalQtyNivel5"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol5"/>
-													</fo:block>
-												</fo:table-cell>
-												<fo:table-cell>
-													<fo:block text-align="end">
-														<fo:inline id="fieldNoncomparativeTotalRefundQtyNivel5"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol5"/>
-													</fo:block>
-												</fo:table-cell>
-											</fo:table-row>
-											<DIVFO id="sectionNoncomparativeNivel6">
-												<fo:table-row id="fieldNoncomparativeEliminar6" font-size="xxpt">
-													<fo:table-cell>
-														<fo:block font-size="8pt" start-indent="2.5cm" id="fieldNoncomparativeNivel6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldNoncomparativeTotalNivel6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldNoncomparativeTotalRefundNivel6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end" id="fieldNoncomparativeTotal6"/>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end">
-															<fo:inline id="fieldNoncomparativeTotalQtyNivel6"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol6"/>
-														</fo:block>
-													</fo:table-cell>
-													<fo:table-cell>
-														<fo:block text-align="end">
-															<fo:inline id="fieldNoncomparativeTotalRefundQtyNivel6"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol6"/>
-														</fo:block>
-													</fo:table-cell>
-												</fo:table-row>
-												<DIVFO id="sectionNoncomparativeNivel7">
-													<DIVFO id="sectionNoncomparativeDetail">
-														<fo:table-row id="fieldNoncomparativeEliminar7" font-size="xxpt">
-															<fo:table-cell>
-																<fo:block font-size="8pt" start-indent="3cm" id="fieldNoncomparativeNivel7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldNoncomparativeTotalNivel7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldNoncomparativeTotalRefundNivel7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end" id="fieldNoncomparativeTotal7"/>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end">
-																	<fo:inline id="fieldNoncomparativeTotalQtyNivel7"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol7"/>
-																</fo:block>
-															</fo:table-cell>
-															<fo:table-cell>
-																<fo:block text-align="end">
-																	<fo:inline id="fieldNoncomparativeTotalRefundQtyNivel7"/>&#160;<fo:inline id="fieldNoncomparativeUomsymbol7"/>
-																</fo:block>
-															</fo:table-cell>
-														</fo:table-row>
-													</DIVFO>
-												</DIVFO>
-											</DIVFO>
-										</DIVFO>
-									</DIVFO>
-								</DIVFO>
-							</DIVFO>
-						</DIVFO>
-					</fo:table-body>
-				</fo:table>
-			</fo:block>
-		</fo:flow>
-	</fo:page-sequence>
-</fo:root>
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses.java	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,629 +0,0 @@
-/*
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html 
- * Software distributed under the License  is  distributed  on  an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- * License for the specific  language  governing  rights  and  limitations
- * under the License. 
- * The Original Code is Openbravo ERP. 
- * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2015 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-
-package org.openbravo.erpCommon.ad_reports;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.StringTokenizer;
-
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.openbravo.base.filter.IsIDFilter;
-import org.openbravo.base.filter.IsPositiveIntFilter;
-import org.openbravo.base.secureApp.HttpSecureAppServlet;
-import org.openbravo.base.secureApp.VariablesSecureApp;
-import org.openbravo.erpCommon.businessUtility.Tree;
-import org.openbravo.erpCommon.businessUtility.TreeData;
-import org.openbravo.erpCommon.businessUtility.WindowTabs;
-import org.openbravo.erpCommon.info.SelectorUtilityData;
-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;
-
-public class ReportRefundSalesDimensionalAnalyses extends HttpSecureAppServlet {
-  private static final long serialVersionUID = 1L;
-
-  public void init(ServletConfig config) {
-    super.init(config);
-    boolHist = false;
-  }
-
-  public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException,
-      ServletException {
-    VariablesSecureApp vars = new VariablesSecureApp(request);
-
-    // Get user Client's base currency
-    String strUserCurrencyId = Utility.stringBaseCurrencyId(this, vars.getClient());
-    if (vars.commandIn("DEFAULT", "DEFAULT_COMPARATIVE")) {
-      String strDateFrom = vars.getGlobalVariable("inpDateFrom",
-          "ReportRefundSalesDimensionalAnalyses|dateFrom", "");
-      String strDateTo = vars.getGlobalVariable("inpDateTo",
-          "ReportRefundSalesDimensionalAnalyses|dateTo", "");
-      String strDateFromRef = vars.getGlobalVariable("inpDateFromRef",
-          "ReportRefundSalesDimensionalAnalyses|dateFromRef", "");
-      String strDateToRef = vars.getGlobalVariable("inpDateToRef",
-          "ReportRefundSalesDimensionalAnalyses|dateToRef", "");
-      String strPartnerGroup = vars.getGlobalVariable("inpPartnerGroup",
-          "ReportRefundSalesDimensionalAnalyses|partnerGroup", "");
-      String strcBpartnerId = vars.getInGlobalVariable("inpcBPartnerId_IN",
-          "ReportRefundSalesDimensionalAnalyses|partner", "", IsIDFilter.instance);
-      String strProductCategory = vars.getGlobalVariable("inpProductCategory",
-          "ReportRefundSalesDimensionalAnalyses|productCategory", "");
-      String strmProductId = vars.getInGlobalVariable("inpmProductId_IN",
-          "ReportRefundSalesDimensionalAnalyses|product", "", IsIDFilter.instance);
-      // ad_ref_list.value where reference_id = 800087
-      String strNotShown = vars.getInGlobalVariable("inpNotShown",
-          "ReportRefundSalesDimensionalAnalyses|notShown", "", IsPositiveIntFilter.instance);
-      String strShown = vars.getInGlobalVariable("inpShown",
-          "ReportRefundSalesDimensionalAnalyses|shown", "", IsPositiveIntFilter.instance);
-      String strOrg = vars.getGlobalVariable("inpOrg", "ReportRefundSalesDimensionalAnalyses|org",
-          "");
-      String strsalesrepId = vars.getGlobalVariable("inpSalesrepId",
-          "ReportRefundSalesDimensionalAnalyses|salesrep", "");
-      String strmWarehouseId = vars.getGlobalVariable("inpmWarehouseId",
-          "ReportRefundSalesDimensionalAnalyses|warehouseId", "");
-      String strOrder = vars.getGlobalVariable("inpOrder",
-          "ReportRefundSalesDimensionalAnalyses|order", "Normal");
-      String strMayor = vars.getNumericGlobalVariable("inpMayor",
-          "ReportRefundSalesDimensionalAnalyses|mayor", "");
-      String strMenor = vars.getNumericGlobalVariable("inpMenor",
-          "ReportRefundSalesDimensionalAnalyses|menor", "");
-      String strRatioMayor = vars.getNumericGlobalVariable("inpRatioMayor",
-          "ReportRefundSalesDimensionalAnalyses|ratioMayor", "");
-      String strRatioMenor = vars.getNumericGlobalVariable("inpRatioMenor",
-          "ReportRefundSalesDimensionalAnalyses|ratioMenor", "");
-      String strCurrencyId = vars.getGlobalVariable("inpCurrencyId",
-          "ReportRefundSalesDimensionalAnalyses|currency", strUserCurrencyId);
-      String strComparative = "";
-      if (vars.commandIn("DEFAULT_COMPARATIVE"))
-        strComparative = vars.getRequestGlobalVariable("inpComparative",
-            "ReportRefundSalesDimensionalAnalyses|comparative");
-      else
-        strComparative = vars.getGlobalVariable("inpComparative",
-            "ReportRefundSalesDimensionalAnalyses|comparative", "N");
-      printPageDataSheet(response, vars, strComparative, strDateFrom, strDateTo, strPartnerGroup,
-          strcBpartnerId, strProductCategory, strmProductId, strNotShown, strShown, strDateFromRef,
-          strDateToRef, strOrg, strsalesrepId, strmWarehouseId, strOrder, strMayor, strMenor,
-          strRatioMayor, strRatioMenor, strCurrencyId);
-    } else if (vars.commandIn("EDIT_HTML", "EDIT_HTML_COMPARATIVE")) {
-      String strDateFrom = vars.getRequestGlobalVariable("inpDateFrom",
-          "ReportRefundSalesDimensionalAnalyses|dateFrom");
-      String strDateTo = vars.getRequestGlobalVariable("inpDateTo",
-          "ReportRefundSalesDimensionalAnalyses|dateTo");
-      String strDateFromRef = vars.getRequestGlobalVariable("inpDateFromRef",
-          "ReportRefundSalesDimensionalAnalyses|dateFromRef");
-      String strDateToRef = vars.getRequestGlobalVariable("inpDateToRef",
-          "ReportRefundSalesDimensionalAnalyses|dateToRef");
-      String strPartnerGroup = vars.getRequestGlobalVariable("inpPartnerGroup",
-          "ReportRefundSalesDimensionalAnalyses|partnerGroup");
-      String strcBpartnerId = vars.getRequestInGlobalVariable("inpcBPartnerId_IN",
-          "ReportRefundSalesDimensionalAnalyses|partner", IsIDFilter.instance);
-      String strProductCategory = vars.getRequestGlobalVariable("inpProductCategory",
-          "ReportRefundSalesDimensionalAnalyses|productCategory");
-      String strmProductId = vars.getRequestInGlobalVariable("inpmProductId_IN",
-          "ReportRefundSalesDimensionalAnalyses|product", IsIDFilter.instance);
-      // ad_ref_list.value where reference_id = 800087
-      String strNotShown = vars.getInStringParameter("inpNotShown", IsPositiveIntFilter.instance);
-      String strShown = vars.getInStringParameter("inpShown", IsPositiveIntFilter.instance);
-      String strOrg = vars.getRequestGlobalVariable("inpOrg",
-          "ReportRefundSalesDimensionalAnalyses|org");
-      String strsalesrepId = vars.getRequestGlobalVariable("inpSalesrepId",
-          "ReportRefundSalesDimensionalAnalyses|salesrep");
-      String strmWarehouseId = vars.getRequestGlobalVariable("inpmWarehouseId",
-          "ReportRefundSalesDimensionalAnalyses|warehouseId");
-      String strOrder = vars.getRequestGlobalVariable("inpOrder",
-          "ReportRefundSalesDimensionalAnalyses|order");
-      String strMayor = vars.getNumericParameter("inpMayor", "");
-      String strMenor = vars.getNumericParameter("inpMenor", "");
-      String strRatioMayor = vars.getNumericParameter("inpRatioMayor", "");
-      String strRatioMenor = vars.getNumericParameter("inpRatioMenor", "");
-      String strComparative = vars.getStringParameter("inpComparative", "N");
-      String strCurrencyId = vars.getGlobalVariable("inpCurrencyId",
-          "ReportRefundSalesDimensionalAnalyses|currency", strUserCurrencyId);
-      printPageHtml(request, response, vars, strComparative, strDateFrom, strDateTo,
-          strPartnerGroup, strcBpartnerId, strProductCategory, strmProductId, strNotShown,
-          strShown, strDateFromRef, strDateToRef, strOrg, strsalesrepId, strmWarehouseId, strOrder,
-          strMayor, strMenor, strRatioMayor, strRatioMenor, strCurrencyId);
-    } else
-      pageErrorPopUp(response);
-  }
-
-  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
-      String strComparative, String strDateFrom, String strDateTo, String strPartnerGroup,
-      String strcBpartnerId, String strProductCategory, String strmProductId, String strNotShown,
-      String strShown, String strDateFromRef, String strDateToRef, String strOrg,
-      String strsalesrepId, String strmWarehouseId, String strOrder, String strMayor,
-      String strMenor, String strRatioMayor, String strRatioMenor, String strCurrencyId)
-      throws IOException, ServletException {
-    if (log4j.isDebugEnabled())
-      log4j.debug("Output: dataSheet");
-    String discard[] = { "selEliminarHeader1" };
-    String strCommand = "EDIT_PDF";
-    if (strComparative.equals("Y")) {
-      discard[0] = "selEliminarHeader2";
-      strCommand = "EDIT_PDF_COMPARATIVE";
-    }
-    XmlDocument xmlDocument = null;
-    xmlDocument = xmlEngine.readXmlTemplate(
-        "org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter", discard)
-        .createXmlDocument();
-
-    ToolBar toolbar = new ToolBar(this, vars.getLanguage(),
-        "ReportRefundSalesDimensionalAnalysesFilter", false, "", "", "", false, "ad_reports",
-        strReplaceWith, false, true);
-    toolbar.prepareSimpleToolBarTemplate();
-    xmlDocument.setParameter("toolbar", toolbar.toString());
-
-    try {
-      WindowTabs tabs = new WindowTabs(this, vars,
-          "org.openbravo.erpCommon.ad_reports.ReportRefundSalesDimensionalAnalyses");
-      xmlDocument.setParameter("parentTabContainer", tabs.parentTabs());
-      xmlDocument.setParameter("mainTabContainer", tabs.mainTabs());
-      xmlDocument.setParameter("childTabContainer", tabs.childTabs());
-      xmlDocument.setParameter("theme", vars.getTheme());
-      NavigationBar nav = new NavigationBar(this, vars.getLanguage(),
-          "ReportRefundSalesDimensionalAnalyses.html", classInfo.id, classInfo.type,
-          strReplaceWith, tabs.breadcrumb());
-      xmlDocument.setParameter("navigationBar", nav.toString());
-      LeftTabsBar lBar = new LeftTabsBar(this, vars.getLanguage(),
-          "ReportRefundSalesDimensionalAnalyses.html", strReplaceWith);
-      xmlDocument.setParameter("leftTabs", lBar.manualTemplate());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-    {
-      OBError myMessage = vars.getMessage("ReportRefundSalesDimensionalAnalyses");
-      vars.removeMessage("ReportRefundSalesDimensionalAnalyses");
-      if (myMessage != null) {
-        xmlDocument.setParameter("messageType", myMessage.getType());
-        xmlDocument.setParameter("messageTitle", myMessage.getTitle());
-        xmlDocument.setParameter("messageMessage", myMessage.getMessage());
-      }
-    }
-
-    xmlDocument.setParameter("calendar", vars.getLanguage().substring(0, 2));
-    xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
-    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
-    xmlDocument.setParameter("dateFrom", strDateFrom);
-    xmlDocument.setParameter("dateFromdisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
-    xmlDocument.setParameter("dateFromsaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
-    xmlDocument.setParameter("dateTo", strDateTo);
-    xmlDocument.setParameter("dateTodisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
-    xmlDocument.setParameter("dateTosaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
-    xmlDocument.setParameter("dateFromRef", strDateFromRef);
-    xmlDocument.setParameter("dateFromRefdisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
-    xmlDocument.setParameter("dateFromRefsaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
-    xmlDocument.setParameter("dateToRef", strDateToRef);
-    xmlDocument.setParameter("dateToRefdisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
-    xmlDocument.setParameter("dateToRefsaveFormat", vars.getSessionValue("#AD_SqlDateFormat"));
-    xmlDocument.setParameter("cBpGroupId", strPartnerGroup);
-    xmlDocument.setParameter("mProductCategoryId", strProductCategory);
-    xmlDocument.setParameter("adOrgId", strOrg);
-    xmlDocument.setParameter("salesRepId", strsalesrepId);
-    xmlDocument.setParameter("mWarehouseId", strmWarehouseId);
-    xmlDocument.setParameter("normal", strOrder);
-    xmlDocument.setParameter("amountasc", strOrder);
-    xmlDocument.setParameter("amountdesc", strOrder);
-    xmlDocument.setParameter("ratioasc", strOrder);
-    xmlDocument.setParameter("ratiodesc", strOrder);
-    xmlDocument.setParameter("mayor", strMayor);
-    xmlDocument.setParameter("menor", strMenor);
-    xmlDocument.setParameter("ratioMayor", strRatioMayor);
-    xmlDocument.setParameter("ratioMenor", strRatioMenor);
-    xmlDocument.setParameter("comparative", strComparative);
-    xmlDocument.setParameter("command", strCommand);
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_BP_Group_ID",
-          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
-              "ReportRefundSalesDimensionalAnalyses"), Utility.getContext(this, vars,
-              "#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData,
-          "ReportRefundSalesDimensionalAnalyses", strPartnerGroup);
-      xmlDocument.setData("reportC_BP_GROUPID", "liststructure", comboTableData.select(false));
-      comboTableData = null;
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR",
-          "M_Product_Category_ID", "", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
-              "ReportRefundSalesDimensionalAnalyses"), Utility.getContext(this, vars,
-              "#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData,
-          "ReportRefundSalesDimensionalAnalyses", strProductCategory);
-      xmlDocument.setData("reportM_PRODUCT_CATEGORYID", "liststructure",
-          comboTableData.select(false));
-      comboTableData = null;
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_Org_ID", "",
-          "", Utility.getContext(this, vars, "#User_Org", "ReportRefundSalesDimensionalAnalyses"),
-          Utility.getContext(this, vars, "#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData,
-          "ReportRefundSalesDimensionalAnalyses", strOrg);
-      xmlDocument.setData("reportAD_ORGID", "liststructure", comboTableData.select(false));
-      comboTableData = null;
-
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "SalesRep_ID",
-          "AD_User SalesRep", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
-              "ReportRefundSalesDimensionalAnalyses"), Utility.getContext(this, vars,
-              "#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData,
-          "ReportRefundSalesDimensionalAnalyses", strsalesrepId);
-      xmlDocument.setData("reportSalesRep_ID", "liststructure", comboTableData.select(false));
-      comboTableData = null;
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
-    xmlDocument.setData(
-        "reportCBPartnerId_IN",
-        "liststructure",
-        SelectorUtilityData.selectBpartner(this,
-            Utility.getContext(this, vars, "#AccessibleOrgTree", ""),
-            Utility.getContext(this, vars, "#User_Client", ""), strcBpartnerId));
-    xmlDocument.setData(
-        "reportMProductId_IN",
-        "liststructure",
-        SelectorUtilityData.selectMproduct(this,
-            Utility.getContext(this, vars, "#AccessibleOrgTree", ""),
-            Utility.getContext(this, vars, "#User_Client", ""), strmProductId));
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "M_Warehouse_ID",
-          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
-              "ReportSalesDimensionalAnalyze"), Utility.getContext(this, vars, "#User_Client",
-              "ReportRefundSalesDimensionalAnalyses"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData,
-          "ReportRefundSalesDimensionalAnalyses", strmWarehouseId);
-      xmlDocument.setData("reportM_WAREHOUSEID", "liststructure", comboTableData.select(false));
-      comboTableData = null;
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
-    xmlDocument.setParameter("ccurrencyid", strCurrencyId);
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_Currency_ID",
-          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
-              "ReportRefundSalesDimensionalAnalyses"), Utility.getContext(this, vars,
-              "#User_Client", "ReportRefundSalesDimensionalAnalyses"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData,
-          "ReportRefundSalesDimensionalAnalyses", strCurrencyId);
-      xmlDocument.setData("reportC_Currency_ID", "liststructure", comboTableData.select(false));
-      comboTableData = null;
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
-    if (vars.getLanguage().equals("en_US")) {
-      xmlDocument.setData("structure1",
-          ReportRefundSalesDimensionalAnalysesData.selectNotShown(this, strShown));
-      xmlDocument.setData("structure2",
-          strShown.equals("") ? new ReportRefundSalesDimensionalAnalysesData[0]
-              : ReportRefundSalesDimensionalAnalysesData.selectShown(this, strShown));
-    } else {
-      xmlDocument.setData("structure1", ReportRefundSalesDimensionalAnalysesData.selectNotShownTrl(
-          this, vars.getLanguage(), strShown));
-      xmlDocument.setData(
-          "structure2",
-          strShown.equals("") ? new ReportRefundSalesDimensionalAnalysesData[0]
-              : ReportRefundSalesDimensionalAnalysesData.selectShownTrl(this, vars.getLanguage(),
-                  strShown));
-    }
-
-    response.setContentType("text/html; charset=UTF-8");
-    PrintWriter out = response.getWriter();
-    out.println(xmlDocument.print());
-    out.close();
-  }
-
-  private void printPageHtml(HttpServletRequest request, HttpServletResponse response,
-      VariablesSecureApp vars, String strComparative, String strDateFrom, String strDateTo,
-      String strPartnerGroup, String strcBpartnerId, String strProductCategory,
-      String strmProductId, String strNotShown, String strShown, String strDateFromRef,
-      String strDateToRef, String strOrg, String strsalesrepId, String strmWarehouseId,
-      String strOrder, String strMayor, String strMenor, String strRatioMayor,
-      String strRatioMenor, String strCurrencyId) throws IOException, ServletException {
-    String localStrShown = strShown;
-    String localStrOrg = strOrg;
-    if (log4j.isDebugEnabled())
-      log4j.debug("Output: print html");
-    XmlDocument xmlDocument = null;
-    String strOrderby = "";
-    String[] discard = { "", "", "", "", "", "", "" };
-    String[] discard1 = { "selEliminarBody1", "discard", "discard", "discard", "discard",
-        "discard", "discard", "discard", "discard", "discard", "discard", "discard", "discard",
-        "discard", "discard", "discard", "discard", "discard", "discard", "discard", "discard",
-        "discard", "discard", "discard", "discard", "discard", "discard", "discard", "discard",
-        "discard", "discard" };
-    if (localStrOrg.equals(""))
-      localStrOrg = vars.getOrg();
-    if (strComparative.equals("Y"))
-      discard1[0] = "selEliminarBody2";
-    String strTitle = "";
-    strTitle = Utility.messageBD(this, "From", vars.getLanguage()) + " " + strDateFrom + " "
-        + Utility.messageBD(this, "To", vars.getLanguage()) + " " + strDateTo;
-    if (!strPartnerGroup.equals(""))
-      strTitle = strTitle + ", " + Utility.messageBD(this, "ForBPartnerGroup", vars.getLanguage())
-          + " " + ReportRefundSalesDimensionalAnalysesData.selectBpgroup(this, strPartnerGroup);
-    if (!strProductCategory.equals(""))
-      strTitle = strTitle
-          + ", "
-          + Utility.messageBD(this, "ProductCategory", vars.getLanguage())
-          + " "
-          + ReportRefundSalesDimensionalAnalysesData
-              .selectProductCategory(this, strProductCategory);
-    if (!strsalesrepId.equals(""))
-      strTitle = strTitle + ", " + Utility.messageBD(this, "TheSalesRep", vars.getLanguage()) + " "
-          + ReportRefundSalesDimensionalAnalysesData.selectSalesrep(this, strsalesrepId);
-    if (!strmWarehouseId.equals(""))
-      strTitle = strTitle + " " + Utility.messageBD(this, "And", vars.getLanguage()) + " "
-          + Utility.messageBD(this, "TheWarehouse", vars.getLanguage()) + " "
-          + ReportRefundSalesDimensionalAnalysesData.selectMwarehouse(this, strmWarehouseId);
-
-    ReportRefundSalesDimensionalAnalysesData[] data = null;
-    String[] strShownArray = { "", "", "", "", "", "", "" };
-    if (localStrShown.startsWith("("))
-      localStrShown = localStrShown.substring(1, localStrShown.length() - 1);
-    if (!localStrShown.equals("")) {
-      localStrShown = Replace.replace(localStrShown, "'", "");
-      localStrShown = Replace.replace(localStrShown, " ", "");
-      StringTokenizer st = new StringTokenizer(localStrShown, ",", false);
-      int intContador = 0;
-      while (st.hasMoreTokens()) {
-        strShownArray[intContador] = st.nextToken();
-        intContador++;
-      }
-
-    }
-    String[] strTextShow = { "", "", "", "", "", "", "" };
-    int intDiscard = 0;
-    int intAuxDiscard = -1;
-    for (int i = 0; i < 7; i++) {
-      if (strShownArray[i].equals("1")) {
-        strTextShow[i] = "C_BP_GROUP.NAME";
-        intDiscard++;
-      } else if (strShownArray[i].equals("2")) {
-        strTextShow[i] = "AD_COLUMN_IDENTIFIER(to_char('C_Bpartner'), to_char( C_BPARTNER.C_BPARTNER_ID), to_char('"
-            + vars.getLanguage() + "'))";
-        intDiscard++;
-      } else if (strShownArray[i].equals("3")) {
-        strTextShow[i] = "M_PRODUCT_CATEGORY.NAME";
-        intDiscard++;
-      } else if (strShownArray[i].equals("4")) {
-        strTextShow[i] = "AD_COLUMN_IDENTIFIER(to_char('M_Product'), to_char( M_PRODUCT.M_PRODUCT_ID), to_char('"
-            + vars.getLanguage()
-            + "'))|| CASE WHEN uomsymbol IS NULL THEN '' ELSE to_char(' ('||uomsymbol||')') END";
-        intAuxDiscard = i;
-        intDiscard++;
-      } else if (strShownArray[i].equals("5")) {
-        strTextShow[i] = "C_ORDER.DOCUMENTNO";
-        intDiscard++;
-      } else if (strShownArray[i].equals("6")) {
-        strTextShow[i] = "AD_USER.FIRSTNAME||' '||' '||AD_USER.LASTNAME";
-        intDiscard++;
-      } else if (strShownArray[i].equals("7")) {
-        strTextShow[i] = "M_WAREHOUSE.NAME";
-        intDiscard++;
-      } else {
-        strTextShow[i] = "''";
-        discard[i] = "display:none;";
-      }
-    }
-    if (intDiscard != 0 || intAuxDiscard != -1) {
-      int k = 1;
-      if (intDiscard == 1) {
-        strOrderby = " ORDER BY NIVEL" + k + ",";
-      } else {
-        strOrderby = " ORDER BY ";
-      }
-      while (k < intDiscard) {
-        strOrderby = strOrderby + "NIVEL" + k + ",";
-        k++;
-      }
-      if (k == 1) {
-        if (strOrder.equals("Normal")) {
-          strOrderby = " ORDER BY NIVEL" + k;
-        } else if (strOrder.equals("Amountasc")) {
-          strOrderby = " ORDER BY LINENETAMT ASC";
-        } else if (strOrder.equals("Amountdesc")) {
-          strOrderby = " ORDER BY LINENETAMT DESC";
-        } else if (strOrder.equals("Ratioasc")) {
-          strOrderby = " ORDER BY RATIO ASC";
-        } else if (strOrder.equals("Ratiodesc")) {
-          strOrderby = " ORDER BY RATIO DESC";
-        } else {
-          strOrderby = "1";
-        }
-      } else {
-        if (strOrder.equals("Normal")) {
-          strOrderby += "NIVEL" + k;
-        } else if (strOrder.equals("Amountasc")) {
-          strOrderby += "LINENETAMT ASC";
-        } else if (strOrder.equals("Amountdesc")) {
-          strOrderby += "LINENETAMT DESC";
-        } else if (strOrder.equals("Ratioasc")) {
-          strOrderby += "RATIO ASC";
-        } else if (strOrder.equals("Ratiodesc")) {
-          strOrderby += "RATIO DESC";
-        } else {
-          strOrderby = "1";
-        }
-      }
-
-    } else {
-      strOrderby = " ORDER BY 1";
-    }
-    String strHaving = "";
-    if (!strMayor.equals("") && !strMenor.equals("")) {
-      strHaving = " HAVING SUM(LINENETAMT) > " + strMayor + " AND SUM(LINENETAMT) < " + strMenor;
-    } else if (!strMayor.equals("") && strMenor.equals("")) {
-      strHaving = " HAVING SUM(LINENETAMT) > " + strMayor;
-    } else if (strMayor.equals("") && !strMenor.equals("")) {
-      strHaving = " HAVING SUM(LINENETAMT) < " + strMenor;
-    } else {
-    }
-    if (strHaving.equals("")) {
-      if (!strRatioMayor.equals("") && !strRatioMenor.equals("")) {
-        strHaving = " HAVING C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 > "
-            + strRatioMayor
-            + " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 < "
-            + strRatioMenor;
-      } else if (!strRatioMayor.equals("") && strRatioMenor.equals("")) {
-        strHaving = " HAVING C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 > "
-            + strRatioMayor;
-      } else if (strRatioMayor.equals("") && !strRatioMenor.equals("")) {
-        strHaving = " HAVING C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 < "
-            + strRatioMenor;
-      } else {
-      }
-    } else {
-      if (!strRatioMayor.equals("") && !strRatioMenor.equals("")) {
-        strHaving += " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 > "
-            + strRatioMayor
-            + " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 < "
-            + strRatioMenor;
-      } else if (!strRatioMayor.equals("") && strRatioMenor.equals("")) {
-        strHaving += " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 > "
-            + strRatioMayor;
-      } else if (strRatioMayor.equals("") && !strRatioMenor.equals("")) {
-        strHaving += " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 < "
-            + strRatioMenor;
-      } else {
-      }
-    }
-    strOrderby = strHaving + strOrderby;
-
-    // Checks if there is a conversion rate for each of the transactions of
-    // the report
-    String strConvRateErrorMsg = "";
-    OBError myMessage = null;
-    myMessage = new OBError();
-    if (strComparative.equals("Y")) {
-      try {
-        data = ReportRefundSalesDimensionalAnalysesData.select(this, strCurrencyId, strTextShow[0],
-            strTextShow[1], strTextShow[2], strTextShow[3], strTextShow[4], strTextShow[5],
-            strTextShow[6], Tree.getMembers(this, TreeData.getTreeOrg(this, vars.getClient()),
-                localStrOrg), Utility.getContext(this, vars, "#User_Client",
-                "ReportRefundInvoiceCustomerDimensionalAnalyses"), strDateFrom, DateTimeData
-                .nDaysAfter(this, strDateTo, "1"), strPartnerGroup, strcBpartnerId,
-            strProductCategory, strmProductId, strsalesrepId, strmWarehouseId, strDateFromRef,
-            DateTimeData.nDaysAfter(this, strDateToRef, "1"), strOrderby);
-      } catch (ServletException ex) {
-        myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
-      }
-    } else {
-      try {
-        data = ReportRefundSalesDimensionalAnalysesData.selectNoComparative(this, strCurrencyId,
-            strTextShow[0], strTextShow[1], strTextShow[2], strTextShow[3], strTextShow[4],
-            strTextShow[5], strTextShow[6], Tree.getMembers(this,
-                TreeData.getTreeOrg(this, vars.getClient()), localStrOrg), Utility.getContext(this,
-                vars, "#User_Client", "ReportRefundInvoiceCustomerDimensionalAnalyses"),
-            strDateFrom, DateTimeData.nDaysAfter(this, strDateTo, "1"), strPartnerGroup,
-            strcBpartnerId, strProductCategory, strmProductId, strsalesrepId, strmWarehouseId,
-            strOrderby);
-      } catch (ServletException ex) {
-        myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
-      }
-    }
-    strConvRateErrorMsg = myMessage.getMessage();
-    // If a conversion rate is missing for a certain transaction, an error
-    // message window pops-up.
-    if (!strConvRateErrorMsg.equals("") && strConvRateErrorMsg != null) {
-      advisePopUp(request, response, "ERROR",
-          Utility.messageBD(this, "NoConversionRateHeader", vars.getLanguage()),
-          strConvRateErrorMsg);
-    } else { // Otherwise, the report is launched
-      if (data.length == 0 || data == null) {
-        data = ReportRefundSalesDimensionalAnalysesData.set();
-      } else {
-        int contador = intDiscard;
-        if (intAuxDiscard != -1)
-          contador = intAuxDiscard;
-        int k = 1;
-        if (strComparative.equals("Y")) {
-          for (int j = contador; j > 0; j--) {
-            discard1[k] = "fieldTotalQtyNivel" + String.valueOf(j);
-            discard1[k + 12] = "fieldTotalRefundQtyNivel" + String.valueOf(j);
-            discard1[k + 24] = "fieldUomsymbol" + String.valueOf(j);
-            discard1[k + 6] = "fieldTotalRefQtyNivel" + String.valueOf(j);
-            discard1[k + 18] = "fieldTotalRefRefundQtyNivel" + String.valueOf(j);
-            k++;
-          }
-        } else {
-          for (int j = contador; j > 0; j--) {
-            discard1[k] = "fieldNoncomparativeTotalQtyNivel" + String.valueOf(j);
-            discard1[k + 10] = "fieldNoncomparativeTotalRefundQtyNivel" + String.valueOf(j);
-            discard1[k + 20] = "fieldNoncomparativeUomsymbol" + String.valueOf(j);
-            k++;
-          }
-        }
-
-      }
-      xmlDocument = xmlEngine.readXmlTemplate(
-          "org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition",
-          discard1).createXmlDocument();
-      xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
-      xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
-      xmlDocument.setParameter("theme", vars.getTheme());
-      xmlDocument.setParameter("eliminar2", discard[1]);
-      xmlDocument.setParameter("eliminar3", discard[2]);
-      xmlDocument.setParameter("eliminar4", discard[3]);
-      xmlDocument.setParameter("eliminar5", discard[4]);
-      xmlDocument.setParameter("eliminar6", discard[5]);
-      xmlDocument.setParameter("eliminar7", discard[6]);
-      xmlDocument.setParameter("title", strTitle);
-      String strCurISOSym = Utility.stringISOSymbol(this, strCurrencyId);
-      strCurISOSym = strCurISOSym.replace('(', ' ');
-      strCurISOSym = strCurISOSym.replace(')', ' ');
-      xmlDocument.setParameter("convisosym", strCurISOSym);
-      xmlDocument.setParameter("constante", "100");
-      if (strComparative.equals("Y")) {
-        xmlDocument.setData("structure1", data);
-      } else {
-        xmlDocument.setData("structure2", data);
-      }
-      response.setContentType("text/html; charset=UTF-8");
-      PrintWriter out = response.getWriter();
-      out.println(xmlDocument.print());
-      out.close();
-    }
-  }
-
-  public String getServletInfo() {
-    return "Servlet ReportRefundSalesDimensionalAnalyses. This Servlet was made by Jon Alegría";
-  } // end of getServletInfo() method
-}
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.html	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,511 +0,0 @@
-<!--
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html 
- * Software distributed under the License  is  distributed  on  an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- * License for the specific  language  governing  rights  and  limitations
- * under the License. 
- * The Original Code is Openbravo ERP. 
- * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2010 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
--->
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Refunded sales orders report</title>
-<link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
-<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS" />
-<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
-<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
-<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
-<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
-<script language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></script>
-<script language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirectory = "../../../../../web/";</script>
-<script language="JavaScript" type="text/javascript" id="paramLanguage">
-defaultLang="en_US";
-
-</script>
-</head>
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="background-color: #FFFFFF;">
-<form method="post" action="ReportRefundInvoiceCustomerDimensionalAnalyzeEdition.html" name="frmMain" >
-  <br></br>
-
-  <table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">
-    <tr><td width="4%"></td><td class="ReportTitle">Refunded Sales Orders Report<hr width="100%" align="center"></td><tr>
-    <tr><td width="4%"></td><td id="paramTitle" class="ReportSubTitle">xxdesde hasta<hr width="100%" align="center"></td><tr>
-    <tr><td width="4%"></td><td class="Total_Field_Title">Currency of the report:<span id="paramCurISOSymbol" class="Total_Field_Title">xxcurrencyisosymbol</span></td><tr>
-  </table>
-
-  <div id="selEliminarBody1"> 
-
-    <table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">
-      <tr>
-        <td width="4%"> </td>
-        <td class="Total_Field_Title">Sales total</td>
-        <td class="Total_Field" id="fieldTotal"></td>
-        <td class="Total_Field_Title">Total devol.</td>
-        <td class="Total_Field" id="fieldTotalRefund">xx3455.45</td>
-        <td class="Total_Field_Title">Total % ratio</td> 
-        <td class="Total_Field" id="fieldTotalAvg">xx3455.45</td>
-        <td class="Total_Field_Title">Sal. Ref total</td>
-        <td class="Total_Field" id="fieldTotalRef">xx3455.45</td>
-        <td class="Total_Field_Title">Total dev. ref</td> 
-        <td class="Total_Field" id="fieldTotalRefundRef">xx3455.45</td>
-        <td class="Total_Field_Title">Total %rat ref</td>
-        <td class="Total_Field" id="fieldTotalAvgRef">xx3455.45</td>
-        <td class="Total_Field_Title">Dif.ratio</td> 
-        <td class="Total_Field" id="fieldDifRatio">xx34.34</td>
-      </tr>
-    </table>
-
-    <br></br>
-    <div id="sectionNivel1"> 
-      <table border="0" cellpadding="0" cellspacing="0" width="90%" align="center" id="selEliminar1">
-        <tr> 
-          <td width="2%">&nbsp;</td>
-          <td width="2%">&nbsp;</td>
-          <td width="2%">&nbsp;</td>
-          <td width="2%">&nbsp;</td>
-          <td width="2%">&nbsp;</td>
-          <td width="2%">&nbsp;</td>
-          <td width="15%" align="right">&nbsp;</td>
-          <td width="6%" align="right">&nbsp;</td>
-          <td width="7%" align="right">&nbsp;</td>
-          <td width="5%" align="right">&nbsp;</td>
-          <td width="6%" align="right">&nbsp;</td>
-          <td width="6%" align="right">&nbsp;</td>
-          <td width="6%" align="right">&nbsp;</td>
-          <td width="5%" align="right">&nbsp;</td>
-          <td width="5%" align="right">&nbsp;</td>
-          <td width="3%" align="right">&nbsp;</td>
-          <td width="5%" align="right">&nbsp;</td>
-          <td width="3%" align="right">&nbsp;</td>
-          <td width="5%" align="right">&nbsp;</td>
-          <td width="3%" align="right">&nbsp;</td>
-          <td width="5%" align="right">&nbsp;</td>
-          <td width="3%" align="right">&nbsp;</td>
-        </tr>
-        <tr>
-
-          <td colspan="7" height="16" class="Bold"></td>
-          <td width="6%" align="right" class="TableDetailHeader"> <span class="Bold">Sales</span></td>
-          <td width="7%" align="right" class="TableDetailHeader"> <span class="Bold">Devolutions</span></td>
-          <td width="5%" align="right" class="TableDetailHeader"> <span class="Bold">% ratio</span></td>
-          <td width="6%" align="right" class="TableDetailHeader"> <span class="Bold">Sales ref</span></td>
-          <td width="6%" align="right" class="TableDetailHeader"> <span class="Bold">Devol. Ref</span></td>
-          <td width="6%" align="right" class="TableDetailHeader"> <span class="Bold">% ratio ref.</span></td>
-          <td width="5%" align="right" class="TableDetailHeader"> <span class="Bold">dif. Ratio</span></td>
-          <td colspan="2" width="2" align="right" class="TableDetailHeader"> <span class="Bold">Quantity</span></td>
-          <td colspan="2" width="2" align="right" class="TableDetailHeader"> <span class="Bold">Quantity retur.</span></td>
-          <td colspan="2" width="2" align="right" class="TableDetailHeader"> <span class="Bold">Quantity Ref..</span></td>
-          <td colspan="2" width="2" align="right" class="TableDetailHeader"> <span class="Bold">Quantity retur. Ref.</span></td>
-
-        </tr>
-        <tr> 
-          <td colspan="7"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-              <tr> 
-                <td width="50%" class="TableHeaderLevel1" id="fieldNivel1">xxTercero</td>
-              </tr>
-            </table></td>
-          <td width="6%" align="right" class="TableHeaderLevel1" id="fieldTotalNivel1">xx56.34</td>
-          <td width="7%" align="right" class="TableHeaderLevel1" id="fieldTotalRefundNivel1">xx56.34</td>
-          <td width="5%" align="right" class="TableHeaderLevel1" id="fieldTotal1">xx</td>
-          <td width="6%" align="right" class="TableHeaderLevel1" id="fieldTotalRefNivel1">xx56.34</td>
-          <td width="6%" align="right" class="TableHeaderLevel1" id="fieldTotalRefRefundNivel1">xx56.34</td>
-          <td width="6%" align="right" class="TableHeaderLevel1" id="fieldTotalRef1">xx</td>
-          <td width="5%" align="right" class="TableHeaderLevel1" id="fieldDifRatio1">xx</td>
-          <td width="5%" align="right" class="TableHeaderLevel1" id="fieldTotalQtyNivel1">xx</td>
-          <td width="3%" align="right" class="TableHeaderLevel1" id="fieldUomsymbol1">xx</td>
-          <td width="5%" align="right" class="TableHeaderLevel1" id="fieldTotalRefundQtyNivel1">xx</td>
-          <td width="3%" align="right" class="TableHeaderLevel1" id="fieldUomsymbol1">xx</td>
-          <td width="5%" align="right" class="TableHeaderLevel1" id="fieldTotalRefQtyNivel1">xx</td>
-          <td width="3%" align="right" class="TableHeaderLevel1" id="fieldUomsymbol1">xx</td>
-          <td width="5%" align="right" class="TableHeaderLevel1" id="fieldTotalRefRefundQtyNivel1">xx</td>
-          <td width="3%" align="right" class="TableHeaderLevel1" id="fieldUomsymbol1">xx</td>
-          <input type="hidden" name="inpAux1" value="" id="fieldAuxTotalQtyNivel1"></input>
-          <input type="hidden" name="inpAuxQty1" value="" id="fieldAuxTotalRefQtyNivel1"></input>
-        </tr>
-        <div id="sectionNivel2"> 
-          <tr id="paramEliminar2" style=""> 
-            <td width="2%"></td>
-            <td colspan="6"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                <tr > 
-                  <td width="50%" class="TableHeaderLevel2" id="fieldNivel2">xxCategoria 
-                    tercero</td>
-                </tr>
-              </table></td>
-            <td width="6%" align="right" class="TableHeaderLevel2" id="fieldTotalNivel2">xx2344</td>
-            <td width="7%" align="right" class="TableHeaderLevel2" id="fieldTotalRefundNivel2">xx34</td>
-            <td width="5%" align="right" class="TableHeaderLevel2" id="fieldTotal2">xx</td>
-            <td width="6%" align="right" class="TableHeaderLevel2" id="fieldTotalRefNivel2">xx2344</td>
-            <td width="6%" align="right" class="TableHeaderLevel2" id="fieldTotalRefRefundNivel2">xx34</td>
-            <td width="6%" align="right" class="TableHeaderLevel2" id="fieldTotalRef2">xx</td>
-            <td width="5%" align="right" class="TableHeaderLevel2" id="fieldDifRatio2">xx</td>
-            <td width="5%" align="right" class="TableHeaderLevel2" id="fieldTotalQtyNivel2">xx</td>
-            <td width="3%" align="right" class="TableHeaderLevel2" id="fieldUomsymbol2">xx</td>
-            <td width="5%" align="right" class="TableHeaderLevel2" id="fieldTotalRefundQtyNivel2">xx</td>
-            <td width="3%" align="right" class="TableHeaderLevel2" id="fieldUomsymbol2">xx</td>
-            <td width="5%" align="right" class="TableHeaderLevel2" id="fieldTotalRefQtyNivel2">xx</td>
-            <td width="3%" align="right" class="TableHeaderLevel2" id="fieldUomsymbol2">xx</td>
-            <td width="5%" align="right" class="TableHeaderLevel2" id="fieldTotalRefRefundQtyNivel2">xx</td>
-            <td width="3%" align="right" class="TableHeaderLevel2" id="fieldUomsymbol2">xx</td>
-            <input type="hidden" name="inpAux2" value="" id="fieldAuxTotalQtyNivel2"></input>
-            <input type="hidden" name="inpAuxQty2" value="" id="fieldAuxTotalRefQtyNivel2"></input>
-          </tr>
-          <div id="sectionNivel3"> 
-            <tr id="paramEliminar3" style=""> 
-              <td width="2%"></td>
-              <td width="2%"></td>
-              <td colspan="5"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                  <tr > 
-                    <td width="50%" class="TableHeaderLevel3" id="fieldNivel3">xxProducto</td>
-                  </tr>
-                </table></td>
-              <td width="6%" align="right" class="TableHeaderLevel3" id="fieldTotalNivel3">xx2344</td>
-              <td width="7%" align="right" class="TableHeaderLevel3" id="fieldTotalRefundNivel3">xx34</td>
-              <td width="5%" align="right" class="TableHeaderLevel3" id="fieldTotal3">xx</td>
-              <td width="6%" align="right" class="TableHeaderLevel3" id="fieldTotalRefNivel3">xx2344</td>
-              <td width="6%" align="right" class="TableHeaderLevel3" id="fieldTotalRefRefundNivel3">xx34</td>
-              <td width="6%" align="right" class="TableHeaderLevel3" id="fieldTotalRef3">xx</td>
-              <td width="5%" align="right" class="TableHeaderLevel3" id="fieldDifRatio3">xx</td>
-              <td width="5%" align="right" class="TableHeaderLevel3" id="fieldTotalQtyNivel3">xx</td>
-              <td width="3%" align="right" class="TableHeaderLevel3" id="fieldUomsymbol3">xx</td>
-              <td width="5%" align="right" class="TableHeaderLevel3" id="fieldTotalRefundQtyNivel3">xx</td>
-              <td width="3%" align="right" class="TableHeaderLevel3" id="fieldUomsymbol3">xx</td>
-              <td width="5%" align="right" class="TableHeaderLevel3" id="fieldTotalRefQtyNivel3">xx</td>
-              <td width="3%" align="right" class="TableHeaderLevel3" id="fieldUomsymbol3">xx</td>
-              <td width="5%" align="right" class="TableHeaderLevel3" id="fieldTotalRefRefundQtyNivel3">xx</td>
-              <td width="3%" align="right" class="TableHeaderLevel3" id="fieldUomsymbol3">xx</td>
-              <input type="hidden" name="inpAux3" value="" id="fieldAuxTotalQtyNivel3"></input>
-              <input type="hidden" name="inpAuxQty3" value="" id="fieldAuxTotalRefQtyNivel3"></input>
-            </tr>
-            <div id="sectionNivel4"> 
-              <tr id="paramEliminar4" style=""> 
-                <td width="2%"></td>
-                <td width="2%"></td>
-                <td width="2%"></td>
-                <td colspan="4"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                    <tr > 
-                      <td width="50%" class="TableHeaderLevel4" id="fieldNivel4">xxCategoria 
-                        producto</td>
-                    </tr>
-                  </table></td>
-                <td width="6%" align="right" class="TableHeaderLevel4" id="fieldTotalNivel4">xx2344</td>
-                <td width="7%" align="right" class="TableHeaderLevel4" id="fieldTotalRefundNivel4">xx34</td>
-                <td width="5%" align="right" class="TableHeaderLevel4" id="fieldTotal4">xx</td>
-                <td width="6%" align="right" class="TableHeaderLevel4" id="fieldTotalRefNivel4">xx2344</td>
-                <td width="6%" align="right" class="TableHeaderLevel4" id="fieldTotalRefRefundNivel4">xx34</td>
-                <td width="6%" align="right" class="TableHeaderLevel4" id="fieldTotalRef4">xx</td>
-                <td width="5%" align="right" class="TableHeaderLevel4" id="fieldDifRatio4">xx</td>
-                <td width="5%" align="right" class="TableHeaderLevel4" id="fieldTotalQtyNivel4">xx</td>
-                <td width="3%" align="right" class="TableHeaderLevel4" id="fieldUomsymbol4">xx</td>
-                <td width="5%" align="right" class="TableHeaderLevel4" id="fieldTotalRefundQtyNivel4">xx</td>
-                <td width="3%" align="right" class="TableHeaderLevel4" id="fieldUomsymbol4">xx</td>
-                <td width="5%" align="right" class="TableHeaderLevel4" id="fieldTotalRefQtyNivel4">xx</td>
-                <td width="3%" align="right" class="TableHeaderLevel4" id="fieldUomsymbol4">xx</td>
-                <td width="5%" align="right" class="TableHeaderLevel4" id="fieldTotalRefRefundQtyNivel4">xx</td>
-                <td width="3%" align="right" class="TableHeaderLevel4" id="fieldUomsymbol4">xx</td>
-                <input type="hidden" name="inpAux4" value="" id="fieldAuxTotalQtyNivel4"></input>
-                <input type="hidden" name="inpAuxQty4" value="" id="fieldAuxTotalRefQtyNivel4"></input>
-              </tr>
-              <div id="sectionNivel5"> 
-                <tr id="paramEliminar5" style=""> 
-                  <td width="2%"></td>
-                  <td width="2%"></td>
-                  <td width="2%"></td>
-                  <td width="2%"></td>
-                  <td colspan="3"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                      <tr > 
-                        <td width="50%" class="TableHeaderLevel5" id="fieldNivel5">xxAlmacen</td>
-                      </tr>
-                    </table></td>
-                  <td width="6%" align="right" class="TableHeaderLevel5" id="fieldTotalNivel5">xx2344</td>
-                  <td width="7%" align="right" class="TableHeaderLevel5" id="fieldTotalRefundNivel5">xx34</td>
-                  <td width="5%" align="right" class="TableHeaderLevel5" id="fieldTotal5">xx</td>
-                  <td width="6%" align="right" class="TableHeaderLevel5" id="fieldTotalRefNivel5">xx2344</td>
-                  <td width="6%" align="right" class="TableHeaderLevel5" id="fieldTotalRefRefundNivel5">xx34</td>
-                  <td width="6%" align="right" class="TableHeaderLevel5" id="fieldTotalRef5">xx</td>
-                  <td width="5%" align="right" class="TableHeaderLevel5" id="fieldDifRatio5">xx</td>
-                  <td width="5%" align="right" class="TableHeaderLevel5" id="fieldTotalQtyNivel5">xx</td>
-                  <td width="3%" align="right" class="TableHeaderLevel5" id="fieldUomsymbol5">xx</td>
-                  <td width="5%" align="right" class="TableHeaderLevel5" id="fieldTotalRefundQtyNivel5">xx</td>
-                  <td width="3%" align="right" class="TableHeaderLevel5" id="fieldUomsymbol5">xx</td>
-                  <td width="5%" align="right" class="TableHeaderLevel5" id="fieldTotalRefQtyNivel5">xx</td>
-                  <td width="3%" align="right" class="TableHeaderLevel5" id="fieldUomsymbol5">xx</td>
-                  <td width="5%" align="right" class="TableHeaderLevel5" id="fieldTotalRefRefundQtyNivel5">xx</td>
-                  <td width="3%" align="right" class="TableHeaderLevel5" id="fieldUomsymbol5">xx</td>
-                  <input type="hidden" name="inpAux5" value="" id="fieldAuxTotalQtyNivel5"></input>
-                  <input type="hidden" name="inpAuxQty5" value="" id="fieldAuxTotalRefQtyNivel5"></input>
-                </tr>
-                <div id="sectionNivel6"> 
-                  <tr id="paramEliminar6" style=""> 
-                    <td width="2%"></td>
-                    <td width="2%"></td>
-                    <td width="2%"></td>
-                    <td width="2%"></td>
-                    <td width="2%"></td>
-                    <td colspan="2"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                        <tr > 
-                          <td width="50%" class="TableHeaderLevel6" id="fieldNivel6">xxComercial</td>
-                        </tr>
-                      </table></td>
-                    <td width="6%" align="right" class="TableHeaderLevel6" id="fieldTotalNivel6">xx2344</td>
-                    <td width="7%" align="right" class="TableHeaderLevel6" id="fieldTotalRefundNivel6">xx34</td>
-                    <td width="5%" align="right" class="TableHeaderLevel6" id="fieldTotal6">xx</td>
-                    <td width="6%" align="right" class="TableHeaderLevel6" id="fieldTotalRefNivel6">xx2344</td>
-                    <td width="6%" align="right" class="TableHeaderLevel6" id="fieldTotalRefRefundNivel6">xx34</td>
-                    <td width="6%" align="right" class="TableHeaderLevel6" id="fieldTotalRef6">xx</td>
-                    <td width="5%" align="right" class="TableHeaderLevel6" id="fieldDifRatio6">xx</td>
-                    <td width="5%" align="right" class="TableHeaderLevel6" id="fieldTotalQtyNivel6">xx</td>
-                    <td width="3%" align="right" class="TableHeaderLevel6" id="fieldUomsymbol6">xx</td>
-                    <td width="5%" align="right" class="TableHeaderLevel6" id="fieldTotalRefundQtyNivel6">xx</td>
-                    <td width="3%" align="right" class="TableHeaderLevel6" id="fieldUomsymbol6">xx</td>
-                    <td width="5%" align="right" class="TableHeaderLevel6" id="fieldTotalRefQtyNivel6">xx</td>
-                    <td width="3%" align="right" class="TableHeaderLevel6" id="fieldUomsymbol6">xx</td>
-                    <td width="5%" align="right" class="TableHeaderLevel6" id="fieldTotalRefRefundQtyNivel6">xx</td>
-                    <td width="3%" align="right" class="TableHeaderLevel6" id="fieldUomsymbol6">xx</td>
-                    <input type="hidden" name="inpAux6" value="" id="fieldAuxTotalQtyNivel6"></input>
-                    <input type="hidden" name="inpAuxQty6" value="" id="fieldAuxTotalRefQtyNivel6"></input>
-                  </tr>
-                  <div id="sectionNivel7"> 
-                    <tr id="paramEliminar7" style=""> 
-                      <td width="2%"></td>
-                      <td width="2%"></td>
-                      <td width="2%"></td>
-                      <td width="2%"></td>
-                      <td width="2%"></td>
-                      <td width="2%"></td>
-                      <td> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                          <div id="sectionDetail"> 
-                            <tr > 
-                              <td width="50%" class="TableDetailRow1" id="fieldNivel7">xxComercial</td>
-                            </tr>
-                          </div>
-                        </table></td>
-                      <td width="6%" align="right" class="TableDetailRow1" id="fieldTotalNivel7">xx2344</td>
-                      <td width="7%" align="right" class="TableDetailRow1" id="fieldTotalRefundNivel7">xx34</td>
-                      <td width="5%" align="right" class="TableDetailRow1" id="fieldTotal7">xx</td>
-                      <td width="6%" align="right" class="TableDetailRow1" id="fieldTotalRefNivel7">xx2344</td>
-                      <td width="6%" align="right" class="TableDetailRow1" id="fieldTotalRefRefundNivel7">xx34</td>
-                      <td width="6%" align="right" class="TableDetailRow1" id="fieldTotalRef7">xx</td>
-                      <td width="5%" align="right" class="TableDetailRow1" id="fieldDifRatio7">xx</td>
-                      <td width="5%" align="right" class="TableDetailRow1" id="fieldTotalQtyNivel7">xx</td>
-                      <td width="3%" align="right" class="TableDetailRow1" id="fieldUomsymbol7">xx</td>
-                      <td width="5%" align="right" class="TableDetailRow1" id="fieldTotalRefundQtyNivel7">xx</td>
-                      <td width="3%" align="right" class="TableDetailRow1" id="fieldUomsymbol7">xx</td>
-                      <td width="5%" align="right" class="TableDetailRow1" id="fieldTotalRefQtyNivel7">xx</td>
-                      <td width="3%" align="right" class="TableDetailRow1" id="fieldUomsymbol7">xx</td>
-                      <td width="5%" align="right" class="TableDetailRow1" id="fieldTotalRefRefundQtyNivel7">xx</td>
-                      <td width="3%" align="right" class="TableDetailRow1" id="fieldUomsymbol7">xx</td>
-                      <input type="hidden" name="inpAux6" value="" id="fieldAuxTotalQtyNivel7"></input>
-                      <input type="hidden" name="inpAuxQty6" value="" id="fieldAuxTotalRefQtyNivel7"></input>
-                    </tr>
-                  </div>
-                </div>
-              </div>
-            </div>
-          </div>
-        </div>
-      </table>
-    </div>
-  </div>
-  <br></br>
-  <br></br>
-  <div id="selEliminarBody2"> 
-    <table width="90%" align="center" border="0" cellspacing="0" cellpadding="0">
-      <tr>
-        <td width="4%"> </td>
-        <td class="Total_Field_Title">Sales total</td> 
-        <td class="Total_Field" id="fieldNoncomparativeTotal"></td>
-        <td class="Total_Field_Title">Total devol.</td> 
-        <td class="Total_Field" id="fieldNoncomparativeTotalRefund">xx3455.45</td>
-        <td class="Total_Field_Title">Total % ratio</td> 
-        <td class="Total_Field" id="fieldNoncomparativeTotalAvg">xx3455.45</td>
-      </tr>
-
-    </table>
-
-    <br></br>
-    <div id="sectionNoncomparativeNivel1"> 
-      <table border="0" cellpadding="0" cellspacing="0" width="90%" align="center" id="selEliminar2">
-        <tr> 
-          <td width="5%">&nbsp;</td>
-          <td width="5%">&nbsp;</td>
-          <td width="5%">&nbsp;</td>
-          <td width="5%">&nbsp;</td>
-          <td width="5%">&nbsp;</td>
-          <td width="5%">&nbsp;</td>
-          <td width="22%" align="right">&nbsp;</td>
-          <td width="8%" align="right">&nbsp;</td>
-          <td width="9%" align="right">&nbsp;</td>
-          <td width="7%" align="right">&nbsp;</td>
-          <td width="7%" align="right">&nbsp;</td>
-          <td width="5%" align="right">&nbsp;</td>
-          <td width="7%" align="right">&nbsp;</td>
-          <td width="5%" align="right">&nbsp;</td>
-        </tr>
-        <tr> 
-          <td colspan="7" height="16" class="Bold"></td>
-          <td width="6%" align="right" class="TableDetailHeader"> <span class="Bold">Sales</span></td>
-          <td width="7%" align="right" class="TableDetailHeader"> <span class="Bold">Devolutions</span></td>
-          <td width="5%" align="right" class="TableDetailHeader"> <span class="Bold">% ratio</span></td>
-          <td colspan="2" width="2" align="right" class="TableDetailHeader"> <span class="Bold">Quantity</span></td>
-          <td colspan="2" width="2" align="right" class="TableDetailHeader"> <span class="Bold">Quantity retur.</span></td>
-        </tr>
-        <tr> 
-          <td colspan="7"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-              <tr> 
-                <td width="50%" class="TableHeaderLevel1" id="fieldNoncomparativeNivel1">xxTercero</td>
-              </tr>
-            </table></td>
-          <td width="8%" align="right" class="TableHeaderLevel1" id="fieldNoncomparativeTotalNivel1">xx56.34</td>
-          <td width="9%" align="right" class="TableHeaderLevel1" id="fieldNoncomparativeTotalRefundNivel1">xx56.34</td>
-          <td width="7%" align="right" class="TableHeaderLevel1" id="fieldNoncomparativeTotal1">xx</td>
-          <td width="7%" align="right" class="TableHeaderLevel1" id="fieldNoncomparativeTotalQtyNivel1">xx</td>
-          <td width="5%" align="right" class="TableHeaderLevel1" id="fieldNoncomparativeUomsymbol1">xx</td>
-          <td width="7%" align="right" class="TableHeaderLevel1" id="fieldNoncomparativeTotalRefundQtyNivel1">xx</td>
-          <td width="5%" align="right" class="TableHeaderLevel1" id="fieldNoncomparativeUomsymbol1">xx</td>
-          <input type="hidden" name="inpAux1" value="" id="fieldNoncomparativeAuxTotalQtyNivel1"></input>
-        </tr>
-        <div id="sectionNoncomparativeNivel2"> 
-          <tr id="paramEliminar2" style=""> 
-            <td width="5%"></td>
-            <td colspan="6"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                <tr > 
-                  <td width="50%" class="TableHeaderLevel2" id="fieldNoncomparativeNivel2">xxCategoria 
-                    tercero</td>
-                </tr>
-              </table></td>
-            <td width="8%" align="right" class="TableHeaderLevel2" id="fieldNoncomparativeTotalNivel2">xx2344</td>
-            <td width="9%" align="right" class="TableHeaderLevel2" id="fieldNoncomparativeTotalRefundNivel2">xx34</td>
-            <td width="7%" align="right" class="TableHeaderLevel2" id="fieldNoncomparativeTotal2">xx</td>
-            <td width="7%" align="right" class="TableHeaderLevel2" id="fieldNoncomparativeTotalQtyNivel2">xx</td>
-            <td width="5%" align="right" class="TableHeaderLevel2" id="fieldNoncomparativeUomsymbol2">xx</td>
-            <td width="7%" align="right" class="TableHeaderLevel2" id="fieldNoncomparativeTotalRefundQtyNivel2">xx</td>
-            <td width="5%" align="right" class="TableHeaderLevel2" id="fieldNoncomparativeUomsymbol2">xx</td>
-            <input type="hidden" name="inpAux2" value="" id="fieldNoncomparativeAuxTotalQtyNivel2"></input>
-          </tr>
-          <div id="sectionNoncomparativeNivel3"> 
-            <tr id="paramEliminar3" style=""> 
-              <td width="5%"></td>
-              <td width="5%"></td>
-              <td colspan="5"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                  <tr > 
-                    <td width="50%" class="TableHeaderLevel3" id="fieldNoncomparativeNivel3">xxProducto</td>
-                  </tr>
-                </table></td>
-              <td width="8%" align="right" class="TableHeaderLevel3" id="fieldNoncomparativeTotalNivel3">xx2344</td>
-              <td width="9%" align="right" class="TableHeaderLevel3" id="fieldNoncomparativeTotalRefundNivel3">xx34</td>
-              <td width="7%" align="right" class="TableHeaderLevel3" id="fieldNoncomparativeTotal3">xx</td>
-              <td width="7%" align="right" class="TableHeaderLevel3" id="fieldNoncomparativeTotalQtyNivel3">xx</td>
-              <td width="5%" align="right" class="TableHeaderLevel3" id="fieldNoncomparativeUomsymbol3">xx</td>
-              <td width="7%" align="right" class="TableHeaderLevel3" id="fieldNoncomparativeTotalRefundQtyNivel3">xx</td>
-              <td width="5%" align="right" class="TableHeaderLevel3" id="fieldNoncomparativeUomsymbol3">xx</td>
-              <input type="hidden" name="inpAux3" value="" id="fieldNoncomparativeAuxTotalQtyNivel3"></input>
-            </tr>
-            <div id="sectionNoncomparativeNivel4"> 
-              <tr id="paramEliminar4" style=""> 
-                <td width="5%"></td>
-                <td width="5%"></td>
-                <td width="5%"></td>
-                <td colspan="4"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                    <tr > 
-                      <td width="50%" class="TableHeaderLevel4" id="fieldNoncomparativeNivel4">xxCategoria 
-                        producto</td>
-                    </tr>
-                  </table></td>
-                <td width="8%" align="right" class="TableHeaderLevel4" id="fieldNoncomparativeTotalNivel4">xx2344</td>
-                <td width="9%" align="right" class="TableHeaderLevel4" id="fieldNoncomparativeTotalRefundNivel4">xx34</td>
-                <td width="7%" align="right" class="TableHeaderLevel4" id="fieldNoncomparativeTotal4">xx</td>
-                <td width="7%" align="right" class="TableHeaderLevel4" id="fieldNoncomparativeTotalQtyNivel4">xx</td>
-                <td width="5%" align="right" class="TableHeaderLevel4" id="fieldNoncomparativeUomsymbol4">xx</td>
-                <td width="7%" align="right" class="TableHeaderLevel4" id="fieldNoncomparativeTotalRefundQtyNivel4">xx</td>
-                <td width="5%" align="right" class="TableHeaderLevel4" id="fieldNoncomparativeUomsymbol4">xx</td>
-                <input type="hidden" name="inpAux4" value="" id="fieldNoncomparativeAuxTotalQtyNivel4"></input>
-              </tr>
-              <div id="sectionNoncomparativeNivel5"> 
-                <tr id="paramEliminar5" style=""> 
-                  <td width="5%"></td>
-                  <td width="5%"></td>
-                  <td width="5%"></td>
-                  <td width="5%"></td>
-                  <td colspan="3"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                      <tr > 
-                        <td width="50%" class="TableHeaderLevel5" id="fieldNoncomparativeNivel5">xxAlmacen</td>
-                      </tr>
-                    </table></td>
-                  <td width="8%" align="right" class="TableHeaderLevel5" id="fieldNoncomparativeTotalNivel5">xx2344</td>
-                  <td width="9%" align="right" class="TableHeaderLevel5" id="fieldNoncomparativeTotalRefundNivel5">xx34</td>
-                  <td width="7%" align="right" class="TableHeaderLevel5" id="fieldNoncomparativeTotal5">xx</td>
-                  <td width="7%" align="right" class="TableHeaderLevel5" id="fieldNoncomparativeTotalQtyNivel5">xx</td>
-                  <td width="5%" align="right" class="TableHeaderLevel5" id="fieldNoncomparativeUomsymbol5">xx</td>
-                  <td width="7%" align="right" class="TableHeaderLevel5" id="fieldNoncomparativeTotalRefundQtyNivel5">xx</td>
-                  <td width="5%" align="right" class="TableHeaderLevel5" id="fieldNoncomparativeUomsymbol5">xx</td>
-                  <input type="hidden" name="inpAux5" value="" id="fieldNoncomparativeAuxTotalQtyNivel5"></input>
-                </tr>
-                <div id="sectionNoncomparativeNivel6"> 
-                  <tr id="paramEliminar6" style=""> 
-                    <td width="5%"></td>
-                    <td width="5%"></td>
-                    <td width="5%"></td>
-                    <td width="5%"></td>
-                    <td width="5%"></td>
-                    <td colspan="2"> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                        <tr > 
-                          <td width="50%" class="TableHeaderLevel6" id="fieldNoncomparativeNivel6">xxComercial</td>
-                        </tr>
-                      </table></td>
-                    <td width="8%" align="right" class="TableHeaderLevel6" id="fieldNoncomparativeTotalNivel6">xx2344</td>
-                    <td width="9%" align="right" class="TableHeaderLevel6" id="fieldNoncomparativeTotalRefundNivel6">xx34</td>
-                    <td width="7%" align="right" class="TableHeaderLevel6" id="fieldNoncomparativeTotal6">xx</td>
-                    <td width="7%" align="right" class="TableHeaderLevel6" id="fieldNoncomparativeTotalQtyNivel6">xx</td>
-                    <td width="5%" align="right" class="TableHeaderLevel6" id="fieldNoncomparativeUomsymbol6">xx</td>
-                    <td width="7%" align="right" class="TableHeaderLevel6" id="fieldNoncomparativeTotalRefundQtyNivel6">xx</td>
-                    <td width="5%" align="right" class="TableHeaderLevel6" id="fieldNoncomparativeUomsymbol6">xx</td>
-                    <input type="hidden" name="inpAux6" value="" id="fieldNoncomparativeAuxTotalQtyNivel6"></input>
-                  </tr>
-                  <div id="sectionNoncomparativeNivel7"> 
-                    <tr id="paramEliminar7" style=""> 
-                      <td width="5%"></td>
-                      <td width="5%"></td>
-                      <td width="5%"></td>
-                      <td width="5%"></td>
-                      <td width="5%"></td>
-                      <td width="5%"></td>
-                      <td> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
-                          <div id="sectionNoncomparativeDetail"> 
-                            <tr > 
-                              <td width="50%" class="TableDetailRow1" id="fieldNoncomparativeNivel7">xxComercial</td>
-                            </tr>
-                          </div>
-                        </table></td>
-                      <td width="8%" align="right" class="TableDetailRow1" id="fieldNoncomparativeTotalNivel7">xx2344</td>
-                      <td width="9%" align="right" class="TableDetailRow1" id="fieldNoncomparativeTotalRefundNivel7">xx34</td>
-                      <td width="7%" align="right" class="TableDetailRow1" id="fieldNoncomparativeTotal7">xx</td>
-                      <td width="7%" align="right" class="TableDetailRow1" id="fieldNoncomparativeTotalQtyNivel7">xx</td>
-                      <td width="5%" align="right" class="TableDetailRow1" id="fieldNoncomparativeUomsymbol7">xx</td>
-                      <td width="7%" align="right" class="TableDetailRow1" id="fieldNoncomparativeTotalRefundQtyNivel7">xx</td>
-                      <td width="5%" align="right" class="TableDetailRow1" id="fieldNoncomparativeUomsymbol7">xx</td>
-                      <input type="hidden" name="inpAux6" value="" id="fieldNoncomparativeAuxTotalQtyNivel7"></input>
-                    </tr>
-                  </div>
-                </div>
-              </div>
-            </div>
-          </div>
-        </div>
-      </table>
-    </div>
-  </div>
-  <br></br>
-  <br></br>
-</form>
-</body>
-</html>
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEdition.xml	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,286 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-*************************************************************************
-* The contents of this file are subject to the Openbravo  Public  License
-* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
-* Version 1.1  with a permitted attribution clause; you may not  use this
-* file except in compliance with the License. You  may  obtain  a copy of
-* the License at http://www.openbravo.com/legal/license.html 
-* Software distributed under the License  is  distributed  on  an "AS IS"
-* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-* License for the specific  language  governing  rights  and  limitations
-* under the License. 
-* The Original Code is Openbravo ERP. 
-* The Initial Developer of the Original Code is Openbravo SLU 
-* All portions are Copyright (C) 2001-2008 Openbravo SLU 
-* All Rights Reserved. 
-* Contributor(s):  ______________________________________.
-************************************************************************
--->
-<REPORT>
-  <template file="ReportRefundSalesDimensionalAnalysesEdition.html"/>
-	<PARAMETER id="paramDirectory" name="directory" default=""/>
-	<PARAMETER id="paramLanguage" name="language" default=""/>
-	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
-  <PARAMETER id="paramEliminar2" name="eliminar2" attribute="style"/>
-  <PARAMETER id="paramEliminar3" name="eliminar3" attribute="style"/>
-  <PARAMETER id="paramEliminar4" name="eliminar4" attribute="style"/>
-  <PARAMETER id="paramEliminar5" name="eliminar5" attribute="style"/>
-  <PARAMETER id="paramEliminar6" name="eliminar6" attribute="style"/>
-  <PARAMETER id="paramEliminar7" name="eliminar7" attribute="style"/>
-  <PARAMETER id="param100" name="constante" default="100"/>
-  <PARAMETER id="paramTitle" name="title" default=""/>
-  <PARAMETER id="paramCurISOSymbol" name="convisosym" default=""/>
-  <structure name="structure1">
-    <FIELD id="fieldNivel1">nivel1</FIELD>
-    <FIELD id="fieldNivel2">nivel2</FIELD>
-    <FIELD id="fieldNivel3">nivel3</FIELD>
-    <FIELD id="fieldNivel4">nivel4</FIELD>
-    <FIELD id="fieldNivel5">nivel5</FIELD>
-    <FIELD id="fieldNivel6">nivel6</FIELD>
-    <FIELD id="fieldNivel7">nivel7</FIELD>
-    <FIELD id="fieldLinenetamt" format="euroInform">linenetamt</FIELD>
-    <FIELD id="fieldQtyinvoiced" format="euroInform">qtyinvoiced</FIELD>
-    <FIELD id="fieldLinenetref" format="euroInform">linenetref</FIELD>
-    <FIELD id="fieldQtyinvoicedref" format="euroInform">qtyinvoicedref</FIELD>
-    <FIELD id="fieldRefundamt" format="euroInform">refundamt</FIELD>
-    <FIELD id="fieldRefundamtref" format="euroInform">refundamtref</FIELD>
-    <FIELD id="fieldRefundqty" format="euroInform">refundqty</FIELD>
-    <FIELD id="fieldRefundqtyref" format="euroInform">refundqtyref</FIELD>
-    <FIELD id="fieldUomsymbol1">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol2">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol3">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol4">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol5">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol6">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol7">uomsymbol</FIELD>
-    <FUNCTION id="fieldTotalNivel1" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel2" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel3" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel4" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel5" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel6" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel7" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel1" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel2" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel3" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel4" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel5" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel6" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel7" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel1" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel2" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel3" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel4" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel5" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel6" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel7" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel1" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel2" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel3" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel4" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel5" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel6" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel7" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel1" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel2" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel3" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel4" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel5" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel6" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel7" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel1" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel2" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel3" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel4" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel5" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel6" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel7" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel1" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel2" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel3" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel4" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel5" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel6" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel7" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel1" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel2" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel3" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel4" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel5" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel6" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel7" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel1" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel2" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel3" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel4" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel5" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel6" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel7" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel1" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel2" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel3" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel4" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel5" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel6" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel7" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldSubTotalNivel1" name="ADD" arg1="fieldTotalNivel1" arg2="fieldTotalRefundNivel1"/>
-    <FUNCTION id="fieldSubTotalNivel2" name="ADD" arg1="fieldTotalNivel2" arg2="fieldTotalRefundNivel2"/>
-    <FUNCTION id="fieldSubTotalNivel3" name="ADD" arg1="fieldTotalNivel3" arg2="fieldTotalRefundNivel3"/>
-    <FUNCTION id="fieldSubTotalNivel4" name="ADD" arg1="fieldTotalNivel4" arg2="fieldTotalRefundNivel4"/>
-    <FUNCTION id="fieldSubTotalNivel5" name="ADD" arg1="fieldTotalNivel5" arg2="fieldTotalRefundNivel5"/>
-    <FUNCTION id="fieldSubTotalNivel6" name="ADD" arg1="fieldTotalNivel6" arg2="fieldTotalRefundNivel6"/>
-    <FUNCTION id="fieldSubTotalNivel7" name="ADD" arg1="fieldTotalNivel7" arg2="fieldTotalRefundNivel7"/>
-    <FUNCTION id="fieldTotalAvgNivel1" name="DIVIDE" arg1="fieldTotalRefundNivel1" arg2="fieldSubTotalNivel1"/>
-    <FUNCTION id="fieldTotalAvgNivel2" name="DIVIDE" arg1="fieldTotalRefundNivel2" arg2="fieldSubTotalNivel2"/>
-    <FUNCTION id="fieldTotalAvgNivel3" name="DIVIDE" arg1="fieldTotalRefundNivel3" arg2="fieldSubTotalNivel3"/>
-    <FUNCTION id="fieldTotalAvgNivel4" name="DIVIDE" arg1="fieldTotalRefundNivel4" arg2="fieldSubTotalNivel4"/>
-    <FUNCTION id="fieldTotalAvgNivel5" name="DIVIDE" arg1="fieldTotalRefundNivel5" arg2="fieldSubTotalNivel5"/>
-    <FUNCTION id="fieldTotalAvgNivel6" name="DIVIDE" arg1="fieldTotalRefundNivel6" arg2="fieldSubTotalNivel6"/>
-    <FUNCTION id="fieldTotalAvgNivel7" name="DIVIDE" arg1="fieldTotalRefundNivel7" arg2="fieldSubTotalNivel7"/>
-    <FUNCTION id="fieldTotal1" name="MULTIPLY" arg1="fieldTotalAvgNivel1" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal2" name="MULTIPLY" arg1="fieldTotalAvgNivel2" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal3" name="MULTIPLY" arg1="fieldTotalAvgNivel3" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal4" name="MULTIPLY" arg1="fieldTotalAvgNivel4" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal5" name="MULTIPLY" arg1="fieldTotalAvgNivel5" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal6" name="MULTIPLY" arg1="fieldTotalAvgNivel6" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal7" name="MULTIPLY" arg1="fieldTotalAvgNivel7" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldSubTotalRefNivel1" name="ADD" arg1="fieldTotalRefNivel1" arg2="fieldTotalRefRefundNivel1"/>
-    <FUNCTION id="fieldSubTotalRefNivel2" name="ADD" arg1="fieldTotalRefNivel2" arg2="fieldTotalRefRefundNivel2"/>
-    <FUNCTION id="fieldSubTotalRefNivel3" name="ADD" arg1="fieldTotalRefNivel3" arg2="fieldTotalRefRefundNivel3"/>
-    <FUNCTION id="fieldSubTotalRefNivel4" name="ADD" arg1="fieldTotalRefNivel4" arg2="fieldTotalRefRefundNivel4"/>
-    <FUNCTION id="fieldSubTotalRefNivel5" name="ADD" arg1="fieldTotalRefNivel5" arg2="fieldTotalRefRefundNivel5"/>
-    <FUNCTION id="fieldSubTotalRefNivel6" name="ADD" arg1="fieldTotalRefNivel6" arg2="fieldTotalRefRefundNivel6"/>
-    <FUNCTION id="fieldSubTotalRefNivel7" name="ADD" arg1="fieldTotalRefNivel7" arg2="fieldTotalRefRefundNivel7"/>
-    <FUNCTION id="fieldTotalAvgRefNivel1" name="DIVIDE" arg1="fieldTotalRefRefundNivel1" arg2="fieldSubTotalRefNivel1"/>
-    <FUNCTION id="fieldTotalAvgRefNivel2" name="DIVIDE" arg1="fieldTotalRefRefundNivel2" arg2="fieldSubTotalRefNivel2"/>
-    <FUNCTION id="fieldTotalAvgRefNivel3" name="DIVIDE" arg1="fieldTotalRefRefundNivel3" arg2="fieldSubTotalRefNivel3"/>
-    <FUNCTION id="fieldTotalAvgRefNivel4" name="DIVIDE" arg1="fieldTotalRefRefundNivel4" arg2="fieldSubTotalRefNivel4"/>
-    <FUNCTION id="fieldTotalAvgRefNivel5" name="DIVIDE" arg1="fieldTotalRefRefundNivel5" arg2="fieldSubTotalRefNivel5"/>
-    <FUNCTION id="fieldTotalAvgRefNivel6" name="DIVIDE" arg1="fieldTotalRefRefundNivel6" arg2="fieldSubTotalRefNivel6"/>
-    <FUNCTION id="fieldTotalAvgRefNivel7" name="DIVIDE" arg1="fieldTotalRefRefundNivel7" arg2="fieldSubTotalRefNivel7"/>
-    <FUNCTION id="fieldTotalRef1" name="MULTIPLY" arg1="fieldTotalAvgRefNivel1" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef2" name="MULTIPLY" arg1="fieldTotalAvgRefNivel2" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef3" name="MULTIPLY" arg1="fieldTotalAvgRefNivel3" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef4" name="MULTIPLY" arg1="fieldTotalAvgRefNivel4" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef5" name="MULTIPLY" arg1="fieldTotalAvgRefNivel5" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef6" name="MULTIPLY" arg1="fieldTotalAvgRefNivel6" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef7" name="MULTIPLY" arg1="fieldTotalAvgRefNivel7" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio1" name="SUBTRACT" arg1="fieldTotal1" arg2="fieldTotalRef1" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio2" name="SUBTRACT" arg1="fieldTotal2" arg2="fieldTotalRef2" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio3" name="SUBTRACT" arg1="fieldTotal3" arg2="fieldTotalRef3" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio4" name="SUBTRACT" arg1="fieldTotal4" arg2="fieldTotalRef4" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio5" name="SUBTRACT" arg1="fieldTotal5" arg2="fieldTotalRef5" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio6" name="SUBTRACT" arg1="fieldTotal6" arg2="fieldTotalRef6" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio7" name="SUBTRACT" arg1="fieldTotal7" arg2="fieldTotalRef7" format="euroInform"/>
-    <FUNCTION id="fieldTotal" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalRef" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefund" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundRef" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldSubTotal" name="ADD" arg1="fieldTotal" arg2="fieldTotalRefund"/>
-    <FUNCTION id="fieldTotalDivide" name="DIVIDE" arg1="fieldTotalRefund" arg2="fieldSubTotal"/>
-    <FUNCTION id="fieldTotalAvg" name="MULTIPLY" arg1="fieldTotalDivide" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldSubTotalRef" name="ADD" arg1="fieldTotalRef" arg2="fieldTotalRefundRef"/>
-    <FUNCTION id="fieldTotalDivideRef" name="DIVIDE" arg1="fieldTotalRefundRef" arg2="fieldSubTotalRef"/>
-    <FUNCTION id="fieldTotalAvgRef" name="MULTIPLY" arg1="fieldTotalDivideRef" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio" name="SUBTRACT" arg1="fieldTotalAvg" arg2="fieldTotalAvgRef" format="euroInform"/>
-    <SECTION id="sectionNivel1" field="nivel1"/>
-    <SECTION id="sectionNivel2" field="nivel2"/>
-    <SECTION id="sectionNivel3" field="nivel3"/>
-    <SECTION id="sectionNivel4" field="nivel4"/>
-    <SECTION id="sectionNivel5" field="nivel5"/>
-    <SECTION id="sectionNivel6" field="nivel6"/>
-    <SECTION id="sectionNivel7" field="nivel7"/>
-    <SECTION id="sectionDetail"/>
-  </structure>
-  <structure name="structure2">
-    <FIELD id="fieldNoncomparativeNivel1">nivel1</FIELD>
-    <FIELD id="fieldNoncomparativeNivel2">nivel2</FIELD>
-    <FIELD id="fieldNoncomparativeNivel3">nivel3</FIELD>
-    <FIELD id="fieldNoncomparativeNivel4">nivel4</FIELD>
-    <FIELD id="fieldNoncomparativeNivel5">nivel5</FIELD>
-    <FIELD id="fieldNoncomparativeNivel6">nivel6</FIELD>
-    <FIELD id="fieldNoncomparativeNivel7">nivel7</FIELD>
-    <FIELD id="fieldNoncomparativeLinenetamt" format="euroInform">linenetamt</FIELD>
-    <FIELD id="fieldNoncomparativeQtyinvoiced" format="euroInform">qtyinvoiced</FIELD>
-    <FIELD id="fieldNoncomparativeRefundamt" format="euroInform">refundamt</FIELD>
-    <FIELD id="fieldNoncomparativeRefundqty" format="euroInform">refundqty</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol1">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol2">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol3">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol4">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol5">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol6">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol7">uomsymbol</FIELD>
-    <FUNCTION id="fieldNoncomparativeTotalNivel1" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel2" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel3" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel4" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel5" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel6" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel7" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel1" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel2" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel3" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel4" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel5" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel6" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel7" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel1" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel2" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel3" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel4" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel5" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel6" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel7" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel1" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel2" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel3" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel4" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel5" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel6" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel7" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel1" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel2" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel3" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel4" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel5" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel6" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel7" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel1" name="ADD" arg1="fieldNoncomparativeTotalNivel1" arg2="fieldNoncomparativeTotalRefundNivel1"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel2" name="ADD" arg1="fieldNoncomparativeTotalNivel2" arg2="fieldNoncomparativeTotalRefundNivel2"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel3" name="ADD" arg1="fieldNoncomparativeTotalNivel3" arg2="fieldNoncomparativeTotalRefundNivel3"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel4" name="ADD" arg1="fieldNoncomparativeTotalNivel4" arg2="fieldNoncomparativeTotalRefundNivel4"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel5" name="ADD" arg1="fieldNoncomparativeTotalNivel5" arg2="fieldNoncomparativeTotalRefundNivel5"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel6" name="ADD" arg1="fieldNoncomparativeTotalNivel6" arg2="fieldNoncomparativeTotalRefundNivel6"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel7" name="ADD" arg1="fieldNoncomparativeTotalNivel7" arg2="fieldNoncomparativeTotalRefundNivel7"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel1" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel1" arg2="fieldNoncomparativeSubTotalNivel1"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel2" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel2" arg2="fieldNoncomparativeSubTotalNivel2"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel3" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel3" arg2="fieldNoncomparativeSubTotalNivel3"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel4" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel4" arg2="fieldNoncomparativeSubTotalNivel4"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel5" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel5" arg2="fieldNoncomparativeSubTotalNivel5"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel6" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel6" arg2="fieldNoncomparativeSubTotalNivel6"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel7" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel7" arg2="fieldNoncomparativeSubTotalNivel7"/>
-    <FUNCTION id="fieldNoncomparativeTotal1" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel1" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal2" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel2" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal3" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel3" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal4" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel4" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal5" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel5" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal6" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel6" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal7" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel7" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefund" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeSubTotal" name="ADD" arg1="fieldNoncomparativeTotal" arg2="fieldNoncomparativeTotalRefund"/>
-    <FUNCTION id="fieldNoncomparativeTotalDivide" name="DIVIDE" arg1="fieldNoncomparativeTotalRefund" arg2="fieldNoncomparativeSubTotal"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvg" name="MULTIPLY" arg1="fieldNoncomparativeTotalDivide" arg2="param100" format="euroInform"/>
-    <SECTION id="sectionNoncomparativeNivel1" field="nivel1"/>
-    <SECTION id="sectionNoncomparativeNivel2" field="nivel2"/>
-    <SECTION id="sectionNoncomparativeNivel3" field="nivel3"/>
-    <SECTION id="sectionNoncomparativeNivel4" field="nivel4"/>
-    <SECTION id="sectionNoncomparativeNivel5" field="nivel5"/>
-    <SECTION id="sectionNoncomparativeNivel6" field="nivel6"/>
-    <SECTION id="sectionNoncomparativeNivel7" field="nivel7"/>
-    <SECTION id="sectionNoncomparativeDetail"/>
-  </structure>
-  <DISCARD id="discard"/>
-</REPORT>
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEditionPDF.xml	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,289 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-*************************************************************************
-* The contents of this file are subject to the Openbravo  Public  License
-* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
-* Version 1.1  with a permitted attribution clause; you may not  use this
-* file except in compliance with the License. You  may  obtain  a copy of
-* the License at http://www.openbravo.com/legal/license.html 
-* Software distributed under the License  is  distributed  on  an "AS IS"
-* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-* License for the specific  language  governing  rights  and  limitations
-* under the License. 
-* The Original Code is Openbravo ERP. 
-* The Initial Developer of the Original Code is Openbravo SLU 
-* All portions are Copyright (C) 2001-2008 Openbravo SLU 
-* All Rights Reserved. 
-* Contributor(s):  ______________________________________.
-************************************************************************
--->
-<REPORT>
-  <template file="ReportRefundSalesDimensionalAnalyses.fo"/>
-  <PARAMETER id="fieldEliminar2" name="eliminar2" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldEliminar3" name="eliminar3" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldEliminar4" name="eliminar4" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldEliminar5" name="eliminar5" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldEliminar6" name="eliminar6" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldEliminar7" name="eliminar7" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldNoncomparativeEliminar2" name="eliminar2" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldNoncomparativeEliminar3" name="eliminar3" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldNoncomparativeEliminar4" name="eliminar4" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldNoncomparativeEliminar5" name="eliminar5" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldNoncomparativeEliminar6" name="eliminar6" attribute="font-size" replace="xx"/>
-  <PARAMETER id="fieldNoncomparativeEliminar7" name="eliminar7" attribute="font-size" replace="xx"/>
-  <PARAMETER id="param100" name="constante" default="100"/>
-  <PARAMETER id="fieldTitle" name="title" default=""/>
-  <PARAMETER id="fieldCurISOSymbol" name="convisosym" default=""/>
-  <structure name="structure1">
-    <FIELD id="fieldNivel1" replaceCharacters="fo">nivel1</FIELD>
-    <FIELD id="fieldNivel2" replaceCharacters="fo">nivel2</FIELD>
-    <FIELD id="fieldNivel3" replaceCharacters="fo">nivel3</FIELD>
-    <FIELD id="fieldNivel4" replaceCharacters="fo">nivel4</FIELD>
-    <FIELD id="fieldNivel5" replaceCharacters="fo">nivel5</FIELD>
-    <FIELD id="fieldNivel6" replaceCharacters="fo">nivel6</FIELD>
-    <FIELD id="fieldNivel7" replaceCharacters="fo">nivel7</FIELD>
-    <FIELD id="fieldLinenetamt" format="euroInform">linenetamt</FIELD>
-    <FIELD id="fieldQtyinvoiced" format="euroInform">qtyinvoiced</FIELD>
-    <FIELD id="fieldLinenetref" format="euroInform">linenetref</FIELD>
-    <FIELD id="fieldQtyinvoicedref" format="euroInform">qtyinvoicedref</FIELD>
-    <FIELD id="fieldRefundamt" format="euroInform">refundamt</FIELD>
-    <FIELD id="fieldRefundamtref" format="euroInform">refundamtref</FIELD>
-    <FIELD id="fieldRefundqty" format="euroInform">refundqty</FIELD>
-    <FIELD id="fieldRefundqtyref" format="euroInform">refundqtyref</FIELD>
-    <FIELD id="fieldUomsymbol1" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol2" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol3" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol4" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol5" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol6" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldUomsymbol7" replaceCharacters="fo">uomsymbol</FIELD>
-    <FUNCTION id="fieldTotalNivel1" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel2" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel3" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel4" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel5" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel6" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalNivel7" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel1" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel2" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel3" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel4" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel5" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel6" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefNivel7" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel1" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel2" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel3" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel4" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel5" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel6" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundNivel7" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel1" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel2" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel3" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel4" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel5" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel6" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundNivel7" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel1" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel2" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel3" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel4" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel5" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel6" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalQtyNivel7" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel1" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel2" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel3" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel4" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel5" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel6" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefQtyNivel7" name="SUM" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel1" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel2" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel3" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel4" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel5" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel6" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefundQtyNivel7" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel1" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel2" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel3" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel4" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel5" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel6" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldTotalRefRefundQtyNivel7" name="SUM" format="euroInform">refundqtyref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel1" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel2" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel3" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel4" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel5" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel6" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalQtyNivel7" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel1" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel2" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel3" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel4" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel5" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel6" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldAuxTotalRefQtyNivel7" name="SUM" attribute="value" format="euroInform">qtyinvoicedref</FUNCTION>
-    <FUNCTION id="fieldSubTotalNivel1" name="ADD" arg1="fieldTotalNivel1" arg2="fieldTotalRefundNivel1"/>
-    <FUNCTION id="fieldSubTotalNivel2" name="ADD" arg1="fieldTotalNivel2" arg2="fieldTotalRefundNivel2"/>
-    <FUNCTION id="fieldSubTotalNivel3" name="ADD" arg1="fieldTotalNivel3" arg2="fieldTotalRefundNivel3"/>
-    <FUNCTION id="fieldSubTotalNivel4" name="ADD" arg1="fieldTotalNivel4" arg2="fieldTotalRefundNivel4"/>
-    <FUNCTION id="fieldSubTotalNivel5" name="ADD" arg1="fieldTotalNivel5" arg2="fieldTotalRefundNivel5"/>
-    <FUNCTION id="fieldSubTotalNivel6" name="ADD" arg1="fieldTotalNivel6" arg2="fieldTotalRefundNivel6"/>
-    <FUNCTION id="fieldSubTotalNivel7" name="ADD" arg1="fieldTotalNivel6" arg2="fieldTotalRefundNivel7"/>
-    <FUNCTION id="fieldTotalAvgNivel1" name="DIVIDE" arg1="fieldTotalRefundNivel1" arg2="fieldSubTotalNivel1"/>
-    <FUNCTION id="fieldTotalAvgNivel2" name="DIVIDE" arg1="fieldTotalRefundNivel2" arg2="fieldSubTotalNivel2"/>
-    <FUNCTION id="fieldTotalAvgNivel3" name="DIVIDE" arg1="fieldTotalRefundNivel3" arg2="fieldSubTotalNivel3"/>
-    <FUNCTION id="fieldTotalAvgNivel4" name="DIVIDE" arg1="fieldTotalRefundNivel4" arg2="fieldSubTotalNivel4"/>
-    <FUNCTION id="fieldTotalAvgNivel5" name="DIVIDE" arg1="fieldTotalRefundNivel5" arg2="fieldSubTotalNivel5"/>
-    <FUNCTION id="fieldTotalAvgNivel6" name="DIVIDE" arg1="fieldTotalRefundNivel6" arg2="fieldSubTotalNivel6"/>
-    <FUNCTION id="fieldTotalAvgNivel7" name="DIVIDE" arg1="fieldTotalRefundNivel7" arg2="fieldSubTotalNivel7"/>
-    <FUNCTION id="fieldTotal1" name="MULTIPLY" arg1="fieldTotalAvgNivel1" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal2" name="MULTIPLY" arg1="fieldTotalAvgNivel2" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal3" name="MULTIPLY" arg1="fieldTotalAvgNivel3" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal4" name="MULTIPLY" arg1="fieldTotalAvgNivel4" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal5" name="MULTIPLY" arg1="fieldTotalAvgNivel5" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal6" name="MULTIPLY" arg1="fieldTotalAvgNivel6" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotal7" name="MULTIPLY" arg1="fieldTotalAvgNivel7" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldSubTotalRefNivel1" name="ADD" arg1="fieldTotalRefNivel1" arg2="fieldTotalRefRefundNivel1"/>
-    <FUNCTION id="fieldSubTotalRefNivel2" name="ADD" arg1="fieldTotalRefNivel2" arg2="fieldTotalRefRefundNivel2"/>
-    <FUNCTION id="fieldSubTotalRefNivel3" name="ADD" arg1="fieldTotalRefNivel3" arg2="fieldTotalRefRefundNivel3"/>
-    <FUNCTION id="fieldSubTotalRefNivel4" name="ADD" arg1="fieldTotalRefNivel4" arg2="fieldTotalRefRefundNivel4"/>
-    <FUNCTION id="fieldSubTotalRefNivel5" name="ADD" arg1="fieldTotalRefNivel5" arg2="fieldTotalRefRefundNivel5"/>
-    <FUNCTION id="fieldSubTotalRefNivel6" name="ADD" arg1="fieldTotalRefNivel6" arg2="fieldTotalRefRefundNivel6"/>
-    <FUNCTION id="fieldSubTotalRefNivel7" name="ADD" arg1="fieldTotalRefNivel7" arg2="fieldTotalRefRefundNivel7"/>
-    <FUNCTION id="fieldTotalAvgRefNivel1" name="DIVIDE" arg1="fieldTotalRefRefundNivel1" arg2="fieldSubTotalRefNivel1"/>
-    <FUNCTION id="fieldTotalAvgRefNivel2" name="DIVIDE" arg1="fieldTotalRefRefundNivel2" arg2="fieldSubTotalRefNivel2"/>
-    <FUNCTION id="fieldTotalAvgRefNivel3" name="DIVIDE" arg1="fieldTotalRefRefundNivel3" arg2="fieldSubTotalRefNivel3"/>
-    <FUNCTION id="fieldTotalAvgRefNivel4" name="DIVIDE" arg1="fieldTotalRefRefundNivel4" arg2="fieldSubTotalRefNivel4"/>
-    <FUNCTION id="fieldTotalAvgRefNivel5" name="DIVIDE" arg1="fieldTotalRefRefundNivel5" arg2="fieldSubTotalRefNivel5"/>
-    <FUNCTION id="fieldTotalAvgRefNivel6" name="DIVIDE" arg1="fieldTotalRefRefundNivel6" arg2="fieldSubTotalRefNivel6"/>
-    <FUNCTION id="fieldTotalAvgRefNivel7" name="DIVIDE" arg1="fieldTotalRefRefundNivel7" arg2="fieldSubTotalRefNivel7"/>
-    <FUNCTION id="fieldTotalRef1" name="MULTIPLY" arg1="fieldTotalAvgRefNivel1" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef2" name="MULTIPLY" arg1="fieldTotalAvgRefNivel2" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef3" name="MULTIPLY" arg1="fieldTotalAvgRefNivel3" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef4" name="MULTIPLY" arg1="fieldTotalAvgRefNivel4" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef5" name="MULTIPLY" arg1="fieldTotalAvgRefNivel5" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef6" name="MULTIPLY" arg1="fieldTotalAvgRefNivel6" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldTotalRef7" name="MULTIPLY" arg1="fieldTotalAvgRefNivel7" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio1" name="SUBTRACT" arg1="fieldTotal1" arg2="fieldTotalRef1" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio2" name="SUBTRACT" arg1="fieldTotal2" arg2="fieldTotalRef2" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio3" name="SUBTRACT" arg1="fieldTotal3" arg2="fieldTotalRef3" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio4" name="SUBTRACT" arg1="fieldTotal4" arg2="fieldTotalRef4" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio5" name="SUBTRACT" arg1="fieldTotal5" arg2="fieldTotalRef5" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio6" name="SUBTRACT" arg1="fieldTotal6" arg2="fieldTotalRef6" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio7" name="SUBTRACT" arg1="fieldTotal7" arg2="fieldTotalRef7" format="euroInform"/>
-    <FUNCTION id="fieldTotal" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldTotalRef" name="SUM" format="euroInform">linenetref</FUNCTION>
-    <FUNCTION id="fieldTotalRefund" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldTotalRefundRef" name="SUM" format="euroInform">refundamtref</FUNCTION>
-    <FUNCTION id="fieldSubTotal" name="ADD" arg1="fieldTotal" arg2="fieldTotalRefund"/>
-    <FUNCTION id="fieldTotalDivide" name="DIVIDE" arg1="fieldTotalRefund" arg2="fieldSubTotal"/>
-    <FUNCTION id="fieldTotalAvg" name="MULTIPLY" arg1="fieldTotalDivide" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldSubTotalRef" name="ADD" arg1="fieldTotalRef" arg2="fieldTotalRefundRef"/>
-    <FUNCTION id="fieldTotalDivideRef" name="DIVIDE" arg1="fieldTotalRefundRef" arg2="fieldSubTotalRef"/>
-    <FUNCTION id="fieldTotalAvgRef" name="MULTIPLY" arg1="fieldTotalDivideRef" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldDifRatio" name="SUBTRACT" arg1="fieldTotalAvg" arg2="fieldTotalAvgRef" format="euroInform"/>
-    <SECTION id="sectionNivel1" field="nivel1"/>
-    <SECTION id="sectionNivel2" field="nivel2"/>
-    <SECTION id="sectionNivel3" field="nivel3"/>
-    <SECTION id="sectionNivel4" field="nivel4"/>
-    <SECTION id="sectionNivel5" field="nivel5"/>
-    <SECTION id="sectionNivel6" field="nivel6"/>
-    <SECTION id="sectionNivel7" field="nivel7"/>
-    <SECTION id="sectionDetail"/>
-  </structure>
-  <structure name="structure2">
-    <FIELD id="fieldNoncomparativeNivel1" replaceCharacters="fo">nivel1</FIELD>
-    <FIELD id="fieldNoncomparativeNivel2" replaceCharacters="fo">nivel2</FIELD>
-    <FIELD id="fieldNoncomparativeNivel3" replaceCharacters="fo">nivel3</FIELD>
-    <FIELD id="fieldNoncomparativeNivel4" replaceCharacters="fo">nivel4</FIELD>
-    <FIELD id="fieldNoncomparativeNivel5" replaceCharacters="fo">nivel5</FIELD>
-    <FIELD id="fieldNoncomparativeNivel6" replaceCharacters="fo">nivel6</FIELD>
-    <FIELD id="fieldNoncomparativeNivel7" replaceCharacters="fo">nivel7</FIELD>
-    <FIELD id="fieldNoncomparativeLinenetamt" format="euroInform">linenetamt</FIELD>
-    <FIELD id="fieldNoncomparativeQtyinvoiced" format="euroInform">qtyinvoiced</FIELD>
-    <FIELD id="fieldNoncomparativeRefundamt" format="euroInform">refundamt</FIELD>
-    <FIELD id="fieldNoncomparativeRefundqty" format="euroInform">refundqty</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol1" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol2" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol3" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol4" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol5" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol6" replaceCharacters="fo">uomsymbol</FIELD>
-    <FIELD id="fieldNoncomparativeUomsymbol7" replaceCharacters="fo">uomsymbol</FIELD>
-    <FUNCTION id="fieldNoncomparativeTotalNivel1" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel2" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel3" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel4" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel5" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel6" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalNivel7" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel1" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel2" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel3" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel4" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel5" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel6" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundNivel7" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel1" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel2" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel3" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel4" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel5" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel6" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalQtyNivel7" name="SUM" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel1" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel2" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel3" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel4" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel5" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel6" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefundQtyNivel7" name="SUM" format="euroInform">refundqty</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel1" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel2" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel3" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel4" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel5" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel6" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeAuxTotalQtyNivel7" name="SUM" attribute="value" format="euroInform">qtyinvoiced</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel1" name="ADD" arg1="fieldNoncomparativeTotalNivel1" arg2="fieldNoncomparativeTotalRefundNivel1"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel2" name="ADD" arg1="fieldNoncomparativeTotalNivel2" arg2="fieldNoncomparativeTotalRefundNivel2"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel3" name="ADD" arg1="fieldNoncomparativeTotalNivel3" arg2="fieldNoncomparativeTotalRefundNivel3"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel4" name="ADD" arg1="fieldNoncomparativeTotalNivel4" arg2="fieldNoncomparativeTotalRefundNivel4"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel5" name="ADD" arg1="fieldNoncomparativeTotalNivel5" arg2="fieldNoncomparativeTotalRefundNivel5"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel6" name="ADD" arg1="fieldNoncomparativeTotalNivel6" arg2="fieldNoncomparativeTotalRefundNivel6"/>
-    <FUNCTION id="fieldNoncomparativeSubTotalNivel7" name="ADD" arg1="fieldNoncomparativeTotalNivel7" arg2="fieldNoncomparativeTotalRefundNivel7"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel1" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel1" arg2="fieldNoncomparativeSubTotalNivel1"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel2" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel2" arg2="fieldNoncomparativeSubTotalNivel2"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel3" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel3" arg2="fieldNoncomparativeSubTotalNivel3"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel4" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel4" arg2="fieldNoncomparativeSubTotalNivel4"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel5" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel5" arg2="fieldNoncomparativeSubTotalNivel5"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel6" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel6" arg2="fieldNoncomparativeSubTotalNivel6"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvgNivel7" name="DIVIDE" arg1="fieldNoncomparativeTotalRefundNivel7" arg2="fieldNoncomparativeSubTotalNivel7"/>
-    <FUNCTION id="fieldNoncomparativeTotal1" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel1" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal2" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel2" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal3" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel3" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal4" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel4" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal5" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel5" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal6" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel6" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal7" name="MULTIPLY" arg1="fieldNoncomparativeTotalAvgNivel7" arg2="param100" format="euroInform"/>
-    <FUNCTION id="fieldNoncomparativeTotal" name="SUM" format="euroInform">linenetamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeTotalRefund" name="SUM" format="euroInform">refundamt</FUNCTION>
-    <FUNCTION id="fieldNoncomparativeSubTotal" name="ADD" arg1="fieldNoncomparativeTotal" arg2="fieldNoncomparativeTotalRefund"/>
-    <FUNCTION id="fieldNoncomparativeTotalDivide" name="DIVIDE" arg1="fieldNoncomparativeTotalRefund" arg2="fieldNoncomparativeSubTotal"/>
-    <FUNCTION id="fieldNoncomparativeTotalAvg" name="MULTIPLY" arg1="fieldNoncomparativeTotalDivide" arg2="param100" format="euroInform"/>
-    <SECTION id="sectionNoncomparativeNivel1" field="nivel1"/>
-    <SECTION id="sectionNoncomparativeNivel2" field="nivel2"/>
-    <SECTION id="sectionNoncomparativeNivel3" field="nivel3"/>
-    <SECTION id="sectionNoncomparativeNivel4" field="nivel4"/>
-    <SECTION id="sectionNoncomparativeNivel5" field="nivel5"/>
-    <SECTION id="sectionNoncomparativeNivel6" field="nivel6"/>
-    <SECTION id="sectionNoncomparativeNivel7" field="nivel7"/>
-    <SECTION id="sectionNoncomparativeDetail"/>
-  </structure>
-  <DISCARD id="discard"/>
-</REPORT>
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.html	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,882 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
-<!--
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html
- * Software distributed under the License  is  distributed  on  an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- * License for the specific  language  governing  rights  and  limitations
- * under the License.
- * The Original Code is Openbravo ERP.
- * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2001-2011 Openbravo SLU
- * All Rights Reserved.
- * Contributor(s):  ______________________________________.
- ************************************************************************
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <head>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <title>Refunded sale invoices report</title>
-    <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
-    <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS" />
-     
-    <script language="JavaScript" type="text/javascript" id="paramDirectory">
-      var baseDirectory = "../../../../../web/";
-      </script>
-      <script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
-      <script language="JavaScript" type="text/javascript" id="paramLanguage">
-        var defaultLang = "en_US";
-      </script>
-      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></script>
-      <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
-      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
-      <script type="text/javascript">
-        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
-      </script>
-<script language="JavaScript" type="text/javascript">
-
-function imprimir()
-{
-	if (validate()){
-		openPDFFiltered("ReportRefundSales.html","PDF");
-	}
-	return true;
-}
-
-function validate(action)
-{
-	var frm = document.frmMain;
-	if (frm.inpCurrencyId.value == null || frm.inpCurrencyId.value == "") {
-	    setWindowElementFocus(frm.inpCurrencyId);
-	    showJSMessage(7);
-	    return false;
-	}
-	if (frm.inpDateFrom.value == null || frm.inpDateFrom.value == "") {
-		setWindowElementFocus(frm.inpDateFrom);
-		showJSMessage(7);
-		return false;
-	} else if (frm.inpDateTo.value == null || frm.inpDateTo.value == ""){
-		setWindowElementFocus(frm.inpDateTo);
-		showJSMessage(7);
-		return false;
-	}
-	if (frm.inpComparative.checked) {
-		if (frm.inpDateFromRef.value == null || frm.inpDateFromRef.value == "") {
-			setWindowElementFocus(frm.inpDateFromRef);
-			showJSMessage(7);
-			return false;
-		} else if (frm.inpDateToRef.value == null || frm.inpDateToRef.value == ""){
-			setWindowElementFocus(frm.inpDateToRef);
-			showJSMessage(7);
-			return false;
-		}
-	}
-    if (frm.inpShown.length == 0) {
-        setWindowElementFocus(frm.inpShown);
-        showJSMessage(7);
-        return false;
-    }
-	markCheckedAllElements(frm.inpmProductId_IN);
-	markCheckedAllElements(frm.inpcBPartnerId_IN);
-	markCheckedAllElements(frm.inpShown);
-	return true;
-}
-
-function onloadFunctions() {
-}
-</script>
-	<script language="JavaScript" type="text/javascript">
-	function onLoadDo(){
-		this.windowTables = new Array(
-		  new windowTableId('client', 'buttonHTML')
-		);
-		setWindowTableParentElement();
-		this.tabsTables = new Array(
-		  new tabTableId('tdtopTabs')
-		);
-		setTabTableParentElement();
-		enableShortcuts('edition');
-		setBrowserAutoComplete(false);
-		
-		resizeArea();
-		updateMenuIcon('buttonMenu');
-
-		setWindowElementFocus('firstElement');
-	}
-
-	function onResizeDo(){
-		resizeArea();
-	}
-	</script>
-</head>
-    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
-<form method="post" action="ReportRefundSalesDimensionalAnalysesEdition.html" name="frmMain" id="form">
-  <input type="hidden" name="Command"></input>
-  <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
-    <tr>
-      <td valign="top" id="tdleftTabs"></td>
-      <td valign="top">
-        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
-          <tr><td class="Main_NavBar_bg_left" id="tdleftSeparator"></td></tr>
-          <tr><td class="Main_ToolBar_bg_left" valign="top"></td></tr>
-          <tr><td class="Main_Client_bg_left"></td></tr>
-          <tr><td class="Main_Bottom_bg_left"></td></tr>
-        </table>
-      </td>
-      <td valign="top">
-        <div class="Main_ContentPane_NavBar" id="tdtopButtons"></div>
-        <div class="Main_ContentPane_ToolBar" id="paramToolBar"></div>
-        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
-          <tr id="paramParentTabContainer"></tr>
-          <tr id="paramMainTabContainer"></tr>
-          <tr id="paramChildTabContainer"></tr>
-        </table>
-        <div class="Main_ContentPane_Client" style="overflow: auto; display: none;" id="client">
-                <table class="dojoTabContainer" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
-                  <tr>
-                    <td>
-                      <table class="dojoTabPaneWrapper" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
-                        <tr>
-                          <td>
-                            <!-- MessageBox -->
-
-                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
-                              <tbody>
-                              <tr class="MessageBox_TopMargin">
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td></td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                              <tr>
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td>
-
-                                  <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
-                                    <tbody>
-                                    <tr>
-                                      <td class="MessageBox_LeftTrans">
-                                        <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
-                                          <tbody>
-                                          <tr>
-                                            <td class="MessageBox_TopLeft"></td>
-                                          </tr>
-                                          <tr>
-                                            <td class="MessageBox_Left"></td>
-                                          </tr>
-                                          </tbody>
-                                        </table>
-                                      </td>
-                                      <td class="MessageBox_bg">
-
-                                        <table class="MessageBox_Top">
-                                        <tbody>
-                                          <tr>
-                                            <td>
-                                              <span>
-                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
-                                                <tbody>
-                                                <tr>
-                                                  <td class="MessageBox_Icon_ContentCell">
-                                                    <div class="MessageBox_Icon"></div>
-                                                  </td>
-                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
-                                                    <span>
-                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
-                                                        xxInfo: AccessTableWithNoView
-                                                      </div>
-                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
-                                                        xxThe current information is empty.
-                                                      </div>
-                                                      <div class="MessageBox_TextSeparator"></div>
-                                                    </span>
-                                                  </td>
-                                                </tr>
-                                                </tbody>
-                                              </table>
-                                              </span>
-                                            </td>
-                                          </tr>
-                                          </tbody>
-                                        </table>
-
-                                      </td>
-                                      <td class="MessageBox_RightTrans">
-                                        <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
-                                          <tbody>
-                                          <tr>
-                                            <td class="MessageBox_TopRight"></td>
-                                          </tr>
-                                          <tr>
-                                            <td class="MessageBox_Right"></td>
-                                          </tr>
-                                          </tbody>
-                                        </table>
-                                      </td>
-                                    </tr>
-                                    <tr>
-                                      <td rowspan="2" class="MessageBox_BottomLeft">
-                                      </td>
-                                      <td class="MessageBox_BottomTrans MessageBox_bg">
-                                      </td>
-                                      <td rowspan="2" class="MessageBox_BottomRight">
-                                      </td>
-                                    </tr>
-                                    <tr>
-                                      <td class="MessageBox_Bottom">
-                                      </td>
-                                    </tr>
-                                    </tbody>
-                                  </table>
-
-                                </td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                              <tr class="MessageBox_BottomMargin">
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td></td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                              </tbody>
-                            </table>
-                            <!-- USER CONTROLS -->
-
-              <table class="Main_Client_TableEdition">
-                <tr>
-                  <td class="TableEdition_OneCell_width"></td>
-                  <td class="TableEdition_OneCell_width"></td>
-                  <td class="TableEdition_OneCell_width"></td>
-                  <td class="TableEdition_OneCell_width"></td>
-                  <td class="TableEdition_OneCell_width"></td>
-                  <td class="TableEdition_OneCell_width"></td>
-                </tr>
-                <tr>
-                <td colspan="6">
-                  <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
-                  <tbody>
-                    <tr class="FieldGroup_TopMargin"/>
-                    <tr>
-                      <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                      <td class="FieldGroupTitle">Primary Filters</td>
-                      <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                      <td class="FieldGroupContent"/>
-                    </tr>
-                    <tr class="FieldGroup_BottomMargin"/>
-                  </tbody>
-                  </table>
-                </td>
-                </tr>
-                <tr>
-                  <td class="TitleCell"><span class="LabelText">From Date</span></td>
-                  <td class="TextBox_btn_ContentCell">
-                    <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
-                      <tr>
-                        <td class="TextBox_ContentCell">
-                          <input dojoType="openbravo:DateTextbox" lowerThan="paramDateTo" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width required" required="true" type="text" name="inpDateFrom" id="paramDateFrom" size="10" maxlength="10" value="" onkeyup="autoCompleteDate(this.textbox, this.displayFormat);return true;"></input><script>djConfig.searchIds.push("paramDateFrom");</script>
-                        </td>
-                        <td class="FieldButton_ContentCell">
-                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmMain.inpDateFrom', document.frmMain.inpDateFrom.value, false);return false;" >
-                          <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
-                            <tr>
-                              <td class="FieldButton_bg">
-                                <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></img>
-                              </td>
-                            </tr>
-                          </table>
-                          </a>
-                        </td>
-                      </tr>
-                    </table>
-                 </td>
-                  <td class="TitleCell"><span class="LabelText">To Date</span></td>
-                  <td class="TextBox_btn_ContentCell">
-                    <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
-                      <tr>
-                        <td class="TextBox_ContentCell">
-                          <input dojoType="openbravo:DateTextbox" greaterThan="paramDateFrom" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width required" required="true" type="text" name="inpDateTo" id="paramDateTo" size="10" maxlength="10" value="" onkeyup="autoCompleteDate(this.textbox, this.displayFormat);return true;"></input><script>djConfig.searchIds.push("paramDateTo");</script>
-                        </td>
-                        <td class="FieldButton_ContentCell">
-                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmMain.inpDateTo', document.frmMain.inpDateTo.value, false);return false;" >
-                          <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
-                            <tr>
-                              <td class="FieldButton_bg">
-                                <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></img>
-                              </td>
-                            </tr>
-                          </table>
-                          </a>
-                        </td>
-                      </tr>
-                    </table>
-                  </td>
-                  <td class="TitleCell"><span class="LabelText">Comparative Report</span></td>
-                  <td class="Radio_Check_ContentCell"><span class="Checkbox_container_NOT_Focused"><input type="checkbox" onclick="submitCommandForm('DEFAULT_COMPARATIVE', false, null, 'ReportRefundSalesDimensionalAnalysesFilter.html', '_self');return false;" name="inpComparative" value="Y" id="paramComparative"></input></span></td>
-                </tr>
-
-                <tr id="selEliminarHeader1">
-                  <td class="TitleCell"><span class="LabelText">From Reference Date</span></td>
-                  <td class="TextBox_btn_ContentCell">
-                    <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
-                      <tr>
-                        <td class="TextBox_ContentCell">
-                          <input dojoType="openbravo:DateTextbox" lowerThan="paramDateToRef" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width required" required="true" type="text" name="inpDateFromRef" id="paramDateFromRef" size="10" maxlength="10" value="" onkeyup="autoCompleteDate(this.textbox, this.displayFormat);return true;"></input><script>djConfig.searchIds.push("paramDateFromRef");</script>
-                        </td>
-                        <td class="FieldButton_ContentCell">
-                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmMain.inpDateFromRef', document.frmMain.inpDateFromRef.value, false);return false;" >
-                          <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
-                            <tr>
-                              <td class="FieldButton_bg">
-                                <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></img>
-                              </td>
-                            </tr>
-                          </table>
-                          </a>
-                        </td>
-                      </tr>
-                    </table>
-                  </td>
-                  <td class="TitleCell"><span class="LabelText">To Reference Date</span></td>
-                  <td class="TextBox_btn_ContentCell">
-                    <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
-                      <tr>
-                        <td class="TextBox_ContentCell">
-                          <input dojoType="openbravo:DateTextbox" greaterThan="paramDateFromRef" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width required" required="true" type="text" name="inpDateToRef" id="paramDateToRef" maxlength="10" value="" onkeyup="autoCompleteDate(this.textbox, this.displayFormat);return true;"></input><script>djConfig.searchIds.push("paramDateToRef");</script>
-                        </td>
-                        <td class="FieldButton_ContentCell">
-                          <a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Calendar'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="showCalendar('frmMain.inpDateToRef', document.frmMain.inpDateToRef.value, false);return false;" >
-                          <table class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
-                            <tr>
-                              <td class="FieldButton_bg">
-                                <img alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></img>
-                              </td>
-                            </tr>
-                          </table>
-                          </a>
-                        </td>
-                      </tr>
-                    </table>
-                  </td>
-                  <td class="TitleCell"></td>
-                  <td class="ContentCell"></td>
-                </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="" 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="" outputformat="euroEdition"></input><script>djConfig.searchIds.push("paramMenor");</script>
-                  </td>
-                </tr>
-                <tr>
-                  <td class="TitleCell"><span class="LabelText">Ratio Greater Than</span></td>
-                  <td class="TextBox_ContentCell"> <input dojoType="openbravo:RealNumberTextbox" lowerThan="paramRatioMenor" class="TextBox_OneCell_width" type="text" name="inpRatioMayor" maxlength="10" id="paramRatioMayor" value="" outputformat="qtyEdition"></input><script>djConfig.searchIds.push("paramRatioMayor");</script>
-                  </td>
-                  <td class="TitleCell"><span class="LabelText">Less Than</span></td>
-                  <td class="TextBox_ContentCell"> <input dojoType="openbravo:RealNumberTextbox" greaterThan="paramRatioMayor" class="TextBox_OneCell_width" type="text" name="inpRatioMenor" maxlength="10" id="paramRatioMenor" value="" outputformat="qtyEdition"></input><script>djConfig.searchIds.push("paramRatioMenor");</script>
-                  </td>
-                  <td class="TitleCell"></td>
-                  <td class="ContentCell"></td>
-                </tr>
-                <tr>
-                  <td colspan="6">
-                    <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
-                    <tbody>
-                      <tr class="FieldGroup_TopMargin"/>
-                      <tr>
-                        <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                        <td class="FieldGroupTitle">Secondary Filters</td>
-                        <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                        <td class="FieldGroupContent"/>
-                      </tr>
-                      <tr class="FieldGroup_BottomMargin"/>
-                    </tbody>
-                    </table>
-                  </td>
-                </tr>
-                <tr>
-                  <td class="TitleCell"><span class="LabelText">Organization</span></td>
-                  <td class="Combo_ContentCell" colspan="2"> <select name="inpOrg" id="inpOrg" class="Combo Combo_TwoCells_width">
-                      <option value=""> <div id="reportAD_ORGID"></div></option>
-                    </select></td>
-                  <td class="ContentCell"></td>
-                  <td class="TitleCell"></td>
-                  <td class="ContentCell"></td>
-                </tr>
-                <tr>
-                  <td class="TitleCell"><span class="LabelText">Business Partner Group</span></td>
-                  <td class="Combo_ContentCell" colspan="2"><select name="inpPartnerGroup" id="inpPartnerGroup2" class="Combo Combo_TwoCells_width">
-                      <option value=""> <div id="reportC_BP_GROUPID"></div></option>
-                    </select></td>
-                  <td class="TitleCell"><span class="LabelText">Product Group</span></td>
-                  <td class="Combo_ContentCell" colspan="2"> <select name="inpProductCategory" id="inpProductCategory2" class="Combo Combo_TwoCells_width">
-                      <option value=""> <div id="reportM_PRODUCT_CATEGORYID"></div></option>
-                    </select></td>
-                </tr>
-
-                <tr>
-                  <td class="TitleCell"><span class="LabelText">Business Partner</span></td>
-                  <td class="List_ContentCell" colspan="2">
-                    <table border="0" cellspacing="0" cellpadding="0">
-                      <tr>
-                        <td>
-                          <select class="List_width List_height" name="inpcBPartnerId_IN" multiple="" id="reportCBPartnerId_IN"></select>
-                        </td>
-                        <td class="List_Button_ContentCell">
-                          <table border="0" cellspacing="0" cellpadding="0">
-                            <tr>
-                        <td>
-                                <a class="List_Button_TopLink" href="#"
-                                  onclick="openMultiSearch(null, null, '../info/BusinessPartnerMultiple.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBPartnerId_IN');return false;"
-                                  onfocus="setWindowElementFocus(this); window.status='Add'; return true;"
-                                  onblur="window.status=''; return true;"
-                                  onkeypress="this.className='List_Button_TopLink_active'; return true;"
-                                  onkeyup="this.className='List_Button_TopLink_focus'; return true;">
-                                  <table class="List_Button_Top"
-                                    onmousedown="this.className='List_Button_Top_active'; return true;"
-                                    onmouseup="this.className='List_Button_Top'; return true;"
-                                    onmouseover="this.className='List_Button_Top_hover'; window.status='Add'; return true;"
-                                    onmouseout="this.className='List_Button_Top'; window.status=''; return true;">
-                                    <tr>
-                                      <td class="List_Button_Top_bg">
-                                        <img class="List_Button_Icon List_Button_Icon_Add" src="../../../../../web/images/blank.gif" alt="Add" title="Add"/>
-                                      </td>
-                                    </tr>
-                                  </table>
-                          </a>
-                        </td>
-                      </tr>
-                      <tr>
-                        <td class="List_Button_Separator">
-                        </td>
-                      </tr>
-                      <tr>
-                        <td>
-                                <a class="List_Button_MiddleLink" href="#"
-                                  onclick="clearSelectedElements(document.frmMain.inpcBPartnerId_IN);return false;"
-                                  onfocus="setWindowElementFocus(this); window.status='Delete selected elements'; return true;"
-                                  onblur="window.status=''; return true;"
-                                  onkeypress="this.className='List_Button_MiddleLink_active'; return true;"
-                                  onkeyup="this.className='List_Button_MiddleLink_focus'; return true;">
-                                  <table class="List_Button_Middle"
-                                    onmousedown="this.className='List_Button_Middle_active'; return true;"
-                                    onmouseup="this.className='List_Button_Middle'; return true;"
-                                    onmouseover="this.className='List_Button_Middle_hover'; window.status='Delete selected elements'; return true;"
-                                    onmouseout="this.className='List_Button_Middle'; window.status=''; return true;">
-                                    <tr>
-                                      <td class="List_Button_Middle_bg">
-                                        <img class="List_Button_Icon List_Button_Icon_Delete" src="../../../../../web/images/blank.gif" alt="Delete selected elements" title="Delete selected elements"/>
-                                      </td>
-                                    </tr>
-                                  </table>
-                          </a>
-                        </td>
-                      </tr>
-                      <tr>
-                        <td class="List_Button_Separator">
-                        </td>
-                      </tr>
-                      <tr>
-                        <td>
-                                <a class="List_Button_BottomLink" href="#"
-                                  onclick="clearList(document.frmMain.inpcBPartnerId_IN);return false;"
-                                  onfocus="setWindowElementFocus(this); window.status='Delete all elements'; return true;"
-                                  onblur="window.status=''; return true;"
-                                  onkeypress="this.className='List_Button_BottomLink_active'; return true;"
-                                  onkeyup="this.className='List_Button_BottomLink_focus'; return true;">
-                                  <table class="List_Button_Bottom"
-                                    onmousedown="this.className='List_Button_Bottom_active'; return true;"
-                                    onmouseup="this.className='List_Button_Bottom'; return true;"
-                                    onmouseover="this.className='List_Button_Bottom_hover'; window.status='Delete all elements'; return true;"
-                                    onmouseout="this.className='List_Button_Bottom'; window.status=''; return true;">
-                                    <tr>
-                                      <td class="List_Button_Bottom_bg">
-                                        <img class="List_Button_Icon List_Button_Icon_DeleteAll" src="../../../../../web/images/blank.gif" alt="Delete all elements" title="Delete all elements"/>
-                                      </td>
-                                    </tr>
-                                  </table>
-                                </a>
-                              </td>
-                            </tr>
-                          </table>
-                        </td>
-                      </tr>
-                    </table>
-                  </td>
-                  <td class="TitleCell"><span class="LabelText">Product</span></td>
-                    <td class="List_ContentCell" colspan="2">
-                      <table border="0" cellspacing="0" cellpadding="0">
-                        <tr>
-                        <td>
-                          <select class="List_width List_height" name="inpmProductId_IN" multiple="" id="reportMProductId_IN"></select>
-                        </td>
-                        <td class="List_Button_ContentCell">
-                          <table border="0" cellspacing="0" cellpadding="0">
-                            <tr>
-                              <td>
-                                <a class="List_Button_TopLink" href="#"
-                                  onclick="openMultiSearch(null, null, '../info/ProductMultiple.html', 'SELECTOR_PRODUCT', false, 'frmMain', 'inpmProductId_IN');return false;"
-                                  onfocus="setWindowElementFocus(this); window.status='Add'; return true;"
-                                  onblur="window.status=''; return true;"
-                                  onkeypress="this.className='List_Button_TopLink_active'; return true;"
-                                  onkeyup="this.className='List_Button_TopLink_focus'; return true;">
-                                  <table class="List_Button_Top"
-                                    onmousedown="this.className='List_Button_Top_active'; return true;"
-                                    onmouseup="this.className='List_Button_Top'; return true;"
-                                    onmouseover="this.className='List_Button_Top_hover'; window.status='Add'; return true;"
-                                    onmouseout="this.className='List_Button_Top'; window.status=''; return true;">
-                                    <tr>
-                                      <td class="List_Button_Top_bg">
-                                        <img class="List_Button_Icon List_Button_Icon_Add" src="../../../../../web/images/blank.gif" alt="Add" title="Add"/>
-                                      </td>
-                                    </tr>
-                                  </table>
-                            </a>
-                          </td>
-                        </tr>
-                        <tr>
-                          <td class="List_Button_Separator">
-                          </td>
-                        </tr>
-                        <tr>
-                          <td>
-                                <a class="List_Button_MiddleLink" href="#"
-                                  onclick="clearSelectedElements(document.frmMain.inpmProductId_IN);return false;"
-                                  onfocus="setWindowElementFocus(this); window.status='Delete selected elements'; return true;"
-                                  onblur="window.status=''; return true;"
-                                  onkeypress="this.className='List_Button_MiddleLink_active'; return true;"
-                                  onkeyup="this.className='List_Button_MiddleLink_focus'; return true;">
-                                  <table class="List_Button_Middle"
-                                    onmousedown="this.className='List_Button_Middle_active'; return true;"
-                                    onmouseup="this.className='List_Button_Middle'; return true;"
-                                    onmouseover="this.className='List_Button_Middle_hover'; window.status='Delete selected elements'; return true;"
-                                    onmouseout="this.className='List_Button_Middle'; window.status=''; return true;">
-                                    <tr>
-                                      <td class="List_Button_Middle_bg">
-                                        <img class="List_Button_Icon List_Button_Icon_Delete" src="../../../../../web/images/blank.gif" alt="Delete selected elements" title="Delete selected elements"/>
-                                      </td>
-                                    </tr>
-                                  </table>
-                            </a>
-                          </td>
-                        </tr>
-                        <tr>
-                          <td class="List_Button_Separator">
-                          </td>
-                        </tr>
-                        <tr>
-                          <td>
-                                <a class="List_Button_BottomLink" href="#"
-                                  onclick="clearList(document.frmMain.inpmProductId_IN);return false;"
-                                  onfocus="setWindowElementFocus(this); window.status='Delete all elements'; return true;"
-                                  onblur="window.status=''; return true;"
-                                  onkeypress="this.className='List_Button_BottomLink_active'; return true;"
-                                  onkeyup="this.className='List_Button_BottomLink_focus'; return true;">
-                                  <table class="List_Button_Bottom"
-                                    onmousedown="this.className='List_Button_Bottom_active'; return true;"
-                                    onmouseup="this.className='List_Button_Bottom'; return true;"
-                                    onmouseover="this.className='List_Button_Bottom_hover'; window.status='Delete all elements'; return true;"
-                                    onmouseout="this.className='List_Button_Bottom'; window.status=''; return true;">
-                                    <tr>
-                                      <td class="List_Button_Bottom_bg">
-                                        <img class="List_Button_Icon List_Button_Icon_DeleteAll" src="../../../../../web/images/blank.gif" alt="Delete all elements" title="Delete all elements"/>
-                                      </td>
-                                    </tr>
-                                  </table>
-                                </a>
-                              </td>
-                            </tr>
-                          </table>
-                        </td>
-                      </tr>
-                    </table>
-                    </td>
-                  </tr>
-
-                  <tr>
-                    <td colspan="6">
-                      <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
-                      <tbody>
-                        <tr class="FieldGroup_TopMargin"/>
-                        <tr>
-                          <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                          <td class="FieldGroupTitle">Dimensions</td>
-                          <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                          <td class="FieldGroupContent"/>
-                        </tr>
-                        <tr class="FieldGroup_BottomMargin"/>
-                      </tbody>
-                      </table>
-                    </td>
-                  </tr>
-
-                  <tr>
-                    <td class="TitleCell"></td>
-                    <td class="Dimension_ContentCell" colspan="2">
-                      <select name="inpNotShown" multiple="" id="reportNotShown" class="Dimension_LeftSelect_width Dimension_LeftSelect_height">
-					   <option id="paramNotShown" value="1"></option>
-                        </select>
-                    </td>
-                  <td class="DimensionLRArrows_ContentCell">
-                      <table border="0" cellspacing="0" cellpadding="0">
-                        <tr>
-                          <td>
-                          <a class="Dimension_LeftRight_Button_TopLink" href="#"
-                            onclick="addList(document.frmMain.inpNotShown, document.frmMain.inpShown);return false;"
-                            onfocus="setWindowElementFocus(this); window.status='Include'; return true;"
-                            onblur="window.status=''; return true;"
-                            onkeypress="this.className='Dimension_LeftRight_Button_TopLink_active'; return true;"
-                            onkeyup="this.className='Dimension_LeftRight_Button_TopLink_focus'; return true;">
-                            <table class="Dimension_LeftRight_Button_Top"
-                              onmousedown="this.className='Dimension_LeftRight_Button_Top_active'; return true;"
-                              onmouseup="this.className='Dimension_LeftRight_Button_Top'; return true;"
-                              onmouseover="this.className='Dimension_LeftRight_Button_Top_hover'; window.status='Include'; return true;"
-                              onmouseout="this.className='Dimension_LeftRight_Button_Top'; window.status=''; return true;">
-                              <tr>
-                                <td class="Dimension_LeftRight_Button_Top_bg">
-                                  <img class="Dimension_LeftRight_Button_Icon Dimension_LeftRight_Button_Icon_Include" src="../../../../../web/images/blank.gif" alt="Include" title="Include"/>
-                                </td>
-                              </tr>
-                            </table>
-                            </a>
-                          </td>
-                        </tr>
-                        <tr>
-                          <td class="Dimension_LeftRight_Button_Separator">
-                          </td>
-                        </tr>
-                        <tr>
-                          <td>
-                          <a class="Dimension_LeftRight_Button_BottomLink" href="#"
-                            onclick="addList(document.frmMain.inpShown, document.frmMain.inpNotShown);return false;"
-                            onfocus="setWindowElementFocus(this); window.status='Exclude'; return true;"
-                            onblur="this.className='Dimension_LeftRight_Button_BottomLink'; window.status=''; return true;"
-                            onkeypress="this.className='Dimension_LeftRight_Button_BottomLink_active'; return true;"
-                            onkeyup="this.className='Dimension_LeftRight_Button_BottomLink_focus'; return true;">
-                            <table class="Dimension_LeftRight_Button_Bottom"
-                              onmousedown="this.className='Dimension_LeftRight_Button_Bottom_active'; return true;"
-                              onmouseup="this.className='Dimension_LeftRight_Button_Bottom'; return true;"
-                              onmouseover="this.className='Dimension_LeftRight_Button_Bottom_hover'; window.status='Exclude'; return true;"
-                              onmouseout="this.className='Dimension_LeftRight_Button_Bottom'; window.status=''; return true;">
-                              <tr>
-                                <td class="Dimension_LeftRight_Button_Bottom_bg">
-                                  <img class="Dimension_LeftRight_Button_Icon Dimension_LeftRight_Button_Icon_Exclude" src="../../../../../web/images/blank.gif" alt="Exclude" title="Exclude"/>
-                                </td>
-                              </tr>
-                            </table>
-                            </a>
-                          </td>
-                        </tr>
-                      </table>
-                    </td>
-                    <td class="Dimension_ContentCell" colspan="2">
-                      <table border="0" cellspacing="0" cellpadding="0">
-                        <tr>
-                        <td>
-                            <select name="inpShown" multiple="" id="reportShown" class="Dimension_RightSelect_width Dimension_RightSelect_height required">
-                              <option id="paramShown" value="1">Test</option>
-                            </select>
-                          </td>
-                        <td class="DimensionUDArrows_ContentCell">
-                          <table border="0" cellspacing="0" cellpadding="0">
-                            <tr>
-                              <td>
-                                <a class="Dimension_UpDown_Button_TopLink" href="#"
-                                  onclick="moveElementInList(document.frmMain.inpShown, -1);return false;"
-                                  onfocus="setWindowElementFocus(this); window.status='Go up'; return true;"
-                                  onblur="window.status=''; return true;"
-                                  onkeypress="this.className='Dimension_UpDown_Button_TopLink_active'; return true;"
-                                  onkeyup="this.className='Dimension_UpDown_Button_TopLink_focus'; return true;">
-                                  <table class="Dimension_UpDown_Button_Top"
-                                    onmousedown="this.className='Dimension_UpDown_Button_Top_active'; return true;"
-                                    onmouseup="this.className='Dimension_UpDown_Button_Top'; return true;"
-                                    onmouseover="this.className='Dimension_UpDown_Button_Top_hover'; window.status='Go up'; return true;"
-                                    onmouseout="this.className='Dimension_UpDown_Button_Top'; window.status=''; return true;">
-                                    <tr>
-                                      <td class="Dimension_UpDown_Button_Top_bg">
-                                        <img class="Dimension_UpDown_Button_Icon Dimension_UpDown_Button_Icon_Up" src="../../../../../web/images/blank.gif" alt="Go up" title="Go up"/>
-                                      </td>
-                                    </tr>
-                                  </table>
-                            </a>
-                          </td>
-                        </tr>
-                        <tr>
-                          <td class="Dimension_UpDown_Button_Separator">
-                          </td>
-                        </tr>
-                        <tr>
-                          <td>
-                                <a class="Dimension_UpDown_Button_BottomLink" href="#"
-                                  onclick="moveElementInList(document.frmMain.inpShown, 1);return false;"
-                                  onfocus="setWindowElementFocus(this); window.status='Go down'; return true;"
-                                  onblur="window.status=''; return true;"
-                                  onkeypress="this.className='Dimension_UpDown_Button_BottomLink_active'; return true;"
-                                  onkeyup="this.className='Dimension_UpDown_Button_BottomLink_focus'; return true;">
-                                  <table class="Dimension_UpDown_Button_Bottom"
-                                    onmousedown="this.className='Dimension_UpDown_Button_Bottom_active'; return true;"
-                                    onmouseup="this.className='Dimension_UpDown_Button_Bottom'; return true;"
-                                    onmouseover="this.className='Dimension_UpDown_Button_Bottom_hover'; window.status='Go down'; return true;"
-                                    onmouseout="this.className='Dimension_UpDown_Button_Bottom'; window.status=''; return true;">
-                                    <tr>
-                                      <td class="Dimension_UpDown_Button_Bottom_bg">
-                                        <img class="Dimension_UpDown_Button_Icon Dimension_UpDown_Button_Icon_Down" src="../../../../../web/images/blank.gif" alt="Go down" title="Go down"/>
-                                      </td>
-                                    </tr>
-                                  </table>
-                                </a>
-                              </td>
-                            </tr>
-                          </table>
-                          </td>
-                        </tr>
-                      </table>
-                    </td>
-                  </tr>
-
-                  <tr>
-                    <td colspan="6">
-                      <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
-                      <tbody>
-                        <tr class="FieldGroup_TopMargin"/>
-                        <tr>
-                          <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                          <td class="FieldGroupTitle">Sort</td>
-                          <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                          <td class="FieldGroupContent"/>
-                        </tr>
-                        <tr class="FieldGroup_BottomMargin"/>
-                      </tbody>
-                      </table>
-                    </td>
-                  </tr>
-
-                  <tr>
-                    <td class="TitleCell"><span class="LabelText">Standard</span></td>
-                    <td class="Radio_Check_ContentCell"><span class="Radio_container_NOT_Focused"><input type="radio" name="inpOrder" value="Normal" checked="" id="paramNormalOrder" class="RadioButton"></input></span>
-                    </td>
-                    <td class="TitleCell"><span class="LabelText">By Ascending Amount</span></td>
-                    <td class="Radio_Check_ContentCell"><span class="Radio_container_NOT_Focused"><input type="radio" name="inpOrder" value="Amountasc" checked="" id="paramAmountascOrder" class="RadioButton"></input></span>
-                    </td>
-                    <td class="TitleCell"><span class="LabelText">By Descending Amount</span></td>
-                    <td class="Radio_Check_ContentCell"><span class="Radio_container_NOT_Focused"><input type="radio" name="inpOrder" value="Amountdesc" checked="" id="paramAmountdescOrder" class="RadioButton"></input></span>
-                    </td>
-                  </tr>
-
-                  <tr>
-                    <td colspan="6">
-                      <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
-                      <tbody>
-                        <tr class="FieldGroup_TopMargin"/>
-                        <tr>
-                          <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                          <td class="FieldGroupTitle">View Results</td>
-                          <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
-                          <td class="FieldGroupContent"/>
-                        </tr>
-                        <tr class="FieldGroup_BottomMargin"/>
-                      </tbody>
-                      </table>
-                    </td>
-                  </tr>
-
-                  <tr>
-                    <td class="Button_RightAlign_ContentCell" colspan="2">
-                      <div>
-                        <button type="button" 
-                          id="buttonHTML" 
-                          class="ButtonLink" 
-                          onclick="openServletNewWindow('EDIT_HTML', true, 'ReportRefundSalesDimensionalAnalysesEdition.html', 'ReportRefundSalesDimensionalAnalysesEdition', null, false, '700', '1000', true);return false;" 
-                          onfocus="buttonEvent('onfocus', this); window.status='View Results in a New Window'; return true;" 
-                          onblur="buttonEvent('onblur', this);" 
-                          onkeyup="buttonEvent('onkeyup', this);" 
-                          onkeydown="buttonEvent('onkeydown', this);" 
-                          onkeypress="buttonEvent('onkeypress', this);" 
-                          onmouseup="buttonEvent('onmouseup', this);" 
-                          onmousedown="buttonEvent('onmousedown', this);" 
-                          onmouseover="buttonEvent('onmouseover', this); window.status='View Results in a New Window'; return true;" 
-                          onmouseout="buttonEvent('onmouseout', this);">
-                          <table class="Button">
-                            <tr>
-                              <td class="Button_left"><img class="Button_Icon Button_Icon_html" alt="View Results in a New Window" title="View Results in a New Window" src="../../../../../web/images/blank.gif" border="0" /></td>
-                              <td class="Button_text">HTML Format</td>
-                              <td class="Button_right"></td>
-                            </tr>
-                          </table>
-                        </button>
-                      </div>
-                    </td>
-                    <td class="Button_LeftAlign_ContentCell" colspan="0">
-                      <div>
-                        <button type="button" 
-                          class="ButtonLink" 
-                          onclick="imprimir();return false;" 
-                          onfocus="buttonEvent('onfocus', this); window.status='Export Results to PDF Format'; return true;" 
-                          onblur="buttonEvent('onblur', this);" 
-                          onkeyup="buttonEvent('onkeyup', this);" 
-                          onkeydown="buttonEvent('onkeydown', this);" 
-                          onkeypress="buttonEvent('onkeypress', this);" 
-                          onmouseup="buttonEvent('onmouseup', this);" 
-                          onmousedown="buttonEvent('onmousedown', this);" 
-                          onmouseover="buttonEvent('onmouseover', this); window.status='Export Results to PDF Format'; return true;" 
-                          onmouseout="buttonEvent('onmouseout', this);">
-                          <table class="Button">
-                            <tr>
-                              <td class="Button_left"><img class="Button_Icon Button_Icon_pdf" alt="Export Results to PDF Format" title="Export Results to PDF Format" src="../../../../../web/images/blank.gif" border="0" /></td>
-                              <td class="Button_text">PDF Format</td>
-                              <td class="Button_right"></td>
-                            </tr>
-                          </table>
-                        </button>
-                      </div>
-                    </td>
-                    <td class="TitleCell"><span class="LabelText">Currency</span></td>
-                  <td class="Combo_ContentCell">
-  		     		<select name="inpCurrencyId" id="inpCurrencyId" class="ComboKey Combo_OneCell_width" required="true">
-     		      	<option value=""><div id="reportC_Currency_ID"></div></option>
-   		     		</select>
-		   		  </td>
-                  </tr>
-
-</table>
-
-
-                      <!-- USER CONTROLS -->
-                </td>
-              </tr>
-              </table>
-              </td>
-            </tr>
-          </table>
-        </div>
-        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
-          <tr>
-            <td class="Main_Bottom_bg"><img src="../../../../../web/images/blank.gif" border="0"></td>
-          </tr>
-        </table></td>
-      <td valign="top">
-        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
-          <tr><td class="Main_NavBar_bg_right"></td></tr>
-          <tr><td class="Main_ToolBar_bg_right" valign="top"></td></tr>
-          <tr><td class="Main_Client_bg_right"></td></tr>
-          <tr><td class="Main_Bottom_bg_right"></td></tr>
-        </table>
-      </td>
-    </tr>
-  </table>
-</form>
-</body>
-</html>
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesFilter.xml	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-*************************************************************************
-* The contents of this file are subject to the Openbravo  Public  License
-* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
-* Version 1.1  with a permitted attribution clause; you may not  use this
-* file except in compliance with the License. You  may  obtain  a copy of
-* the License at http://www.openbravo.com/legal/license.html 
-* Software distributed under the License  is  distributed  on  an "AS IS"
-* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
-* License for the specific  language  governing  rights  and  limitations
-* under the License. 
-* The Original Code is Openbravo ERP. 
-* The Initial Developer of the Original Code is Openbravo SLU 
-* All portions are Copyright (C) 2001-2008 Openbravo SLU 
-* All Rights Reserved. 
-* Contributor(s):  ______________________________________.
-************************************************************************
--->
-<REPORT>
-  <template file="ReportRefundSalesDimensionalAnalysesFilter.html"/>
-  <PARAMETER id="paramToolBar" name="toolbar" default=""/>
-  <PARAMETER id="fieldCalendar" name="calendar" attribute="src" replace="es" default="en"/>
-  <PARAMETER id="paramLanguage" name="language" default=""/>
-  <PARAMETER id="paramDirectory" name="directory" default=""/>
-	<PARAMETER id="paramDateFrom" name="dateFrom" attribute="value"/>
-	<PARAMETER id="paramDateFrom" name="dateFromdisplayFormat" attribute="displayformat" replace="xx"/>
-	<PARAMETER id="paramDateFrom" name="dateFromsaveFormat" attribute="saveformat" replace="yy"/>
-	<PARAMETER id="paramDateTo" name="dateTo" attribute="value"/>
-	<PARAMETER id="paramDateTo" name="dateTodisplayFormat" attribute="displayformat" replace="xx"/>
-	<PARAMETER id="paramDateTo" name="dateTosaveFormat" attribute="saveformat" replace="yy"/>
-	<PARAMETER id="paramDateFromRef" name="dateFromRef" attribute="value"/>
-	<PARAMETER id="paramDateFromRef" name="dateFromRefdisplayFormat" attribute="displayformat" replace="xx"/>
-	<PARAMETER id="paramDateFromRef" name="dateFromRefsaveFormat" attribute="saveformat" replace="yy"/>
-	<PARAMETER id="paramDateToRef" name="dateToRef" attribute="value"/>
-	<PARAMETER id="paramDateToRef" name="dateToRefdisplayFormat" attribute="displayformat" replace="xx"/>
-	<PARAMETER id="paramDateToRef" name="dateToRefsaveFormat" attribute="saveformat" replace="yy"/>
-  <PARAMETER id="paramC_BP_GROUP_ID" name="cBpGroupId" attribute=""/>
-  <PARAMETER id="paramM_PRODUCT_CATEGORY_ID" name="mProductCategoryId" attribute=""/>
-  <PARAMETER id="paramShowName" name="showName" default=" "/>
-  <PARAMETER id="paramAD_ORGID" name="adOrgId" attribute=""/>
-  <PARAMETER id="paramSalesRepId" name="salesRepId" attribute=""/>
-  <PARAMETER id="paramM_WAREHOUSE_ID" name="mWarehouseId" attribute=""/>
-  <PARAMETER id="paramVacio" name="vacio" default=""/>
-  <PARAMETER id="parameterComparative" name="constantComprative" default="Y"/>
-  <PARAMETER id="paramComparative" name="comparative" boolean="checked" withId="parameterComparative"/>
-  <PARAMETER id="paramCommandPdf" name="command" attribute="onclick" replace="xx"/>
-  <PARAMETER id="paramConstanteNormalOrder" name="constanteNormalOrder" default="Normal"/>
-  <PARAMETER id="paramNormalOrder" name="normal" boolean="checked" withId="paramConstanteNormalOrder"/>
-  <PARAMETER id="paramConstanteAmountascOrder" name="constanteAmountascOrder" default="Amountasc"/>
-  <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="paramConstanteRatioascOrder" name="constanteRatioascOrder" default="Ratioasc"/>
-  <PARAMETER id="paramRatioascOrder" name="ratioasc" boolean="checked" withId="paramConstanteRatioascOrder"/>
-  <PARAMETER id="paramConstanteRatiodescOrder" name="constanteRatiodescOrder" default="Ratiodesc"/>
-  <PARAMETER id="paramRatiodescOrder" name="ratiodesc" boolean="checked" withId="paramConstanteRatiodescOrder"/>
-  <PARAMETER id="paramMayor" name="mayor" attribute="value" format="euroEdition"/>
-  <PARAMETER id="paramMenor" name="menor" attribute="value" format="euroEdition"/>
-  <PARAMETER id="paramRatioMayor" name="ratioMayor" attribute="value" format="qtyEdition"/>
-  <PARAMETER id="paramRatioMenor" name="ratioMenor" attribute="value" format="qtyEdition"/>
-  <PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
-  <PARAMETER id="tdleftTabs" name="leftTabs" default=""/>
-  <PARAMETER id="paramParentTabContainer" name="parentTabContainer" default=" "/>
-  <PARAMETER id="paramMainTabContainer" name="mainTabContainer" default=" "/>
-  <PARAMETER id="paramChildTabContainer" name="childTabContainer" default=" "/>
-  <PARAMETER id="tdtopButtons" name="navigationBar" default=""/>
-  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
-  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
-  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
-  <structure name="structure1">
-    <FIELD id="paramNotShown" attribute="value">id</FIELD>
-    <FIELD id="paramNotShown">name</FIELD>
-    <SECTION id="reportNotShown"/>
-  </structure>
-  <structure name="structure2">
-    <FIELD id="paramShown" attribute="value">id</FIELD>
-    <FIELD id="paramShown">name</FIELD>
-    <SECTION id="reportShown"/>
-  </structure>
-  <SUBREPORT id="reportC_BP_GROUPID" name="reportC_BP_GROUPID" report="org/openbravo/erpCommon/reference/List">
-    <ARGUMENT name="parameterListSelected" withId="paramC_BP_GROUP_ID"/>
-  </SUBREPORT>
-  <SUBREPORT id="reportM_PRODUCT_CATEGORYID" name="reportM_PRODUCT_CATEGORYID" report="org/openbravo/erpCommon/reference/List">
-    <ARGUMENT name="parameterListSelected" withId="paramM_PRODUCT_CATEGORY_ID"/>
-  </SUBREPORT>
-  <SUBREPORT id="reportAD_ORGID" name="reportAD_ORGID" report="org/openbravo/erpCommon/reference/List">
-    <ARGUMENT name="parameterListSelected" withId="paramAD_ORGID"/>
-  </SUBREPORT>
-  <SUBREPORT id="reportSalesRep_ID" name="reportSalesRep_ID" report="org/openbravo/erpCommon/reference/List">
-    <ARGUMENT name="parameterListSelected" withId="paramSalesRepId"/>
-  </SUBREPORT>
-  <SUBREPORT id="reportMProductId_IN" name="reportMProductId_IN" report="org/openbravo/erpCommon/reference/List">
-    <ARGUMENT name="parameterListSelected" withId="paramVacio"/>
-  </SUBREPORT>
-  <SUBREPORT id="reportCBPartnerId_IN" name="reportCBPartnerId_IN" report="org/openbravo/erpCommon/reference/List">
-    <ARGUMENT name="parameterListSelected" withId="paramVacio"/>
-  </SUBREPORT>
-  <SUBREPORT id="reportM_WAREHOUSEID" name="reportM_WAREHOUSEID" report="org/openbravo/erpCommon/reference/List">
-    <ARGUMENT name="parameterListSelected" withId="paramM_WAREHOUSE_ID"/>
-  </SUBREPORT>
-  <PARAMETER id="paramC_Currency_ID" name="ccurrencyid" attribute="value"/>
-  <SUBREPORT id="reportC_Currency_ID" name="reportC_Currency_ID" report="org/openbravo/erpCommon/reference/List">
-    <ARGUMENT name="parameterListSelected" withId="paramC_Currency_ID"/>
-  </SUBREPORT>  
-  <DISCARD id="discard"/>
-</REPORT>
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesPDF.java	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,382 +0,0 @@
-/*
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html 
- * Software distributed under the License  is  distributed  on  an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- * License for the specific  language  governing  rights  and  limitations
- * under the License. 
- * The Original Code is Openbravo ERP. 
- * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2010 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-
-package org.openbravo.erpCommon.ad_reports;
-
-import java.io.IOException;
-import java.util.StringTokenizer;
-
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.openbravo.base.filter.IsIDFilter;
-import org.openbravo.base.filter.IsPositiveIntFilter;
-import org.openbravo.base.secureApp.HttpSecureAppServlet;
-import org.openbravo.base.secureApp.VariablesSecureApp;
-import org.openbravo.erpCommon.businessUtility.Tree;
-import org.openbravo.erpCommon.businessUtility.TreeData;
-import org.openbravo.erpCommon.utility.DateTimeData;
-import org.openbravo.erpCommon.utility.OBError;
-import org.openbravo.erpCommon.utility.Utility;
-import org.openbravo.utils.Replace;
-import org.openbravo.xmlEngine.XmlDocument;
-
-public class ReportRefundSalesDimensionalAnalysesPDF extends HttpSecureAppServlet {
-  private static final long serialVersionUID = 1L;
-
-  public void init(ServletConfig config) {
-    super.init(config);
-    boolHist = false;
-  }
-
-  public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException,
-      ServletException {
-    VariablesSecureApp vars = new VariablesSecureApp(request);
-
-    // Get user Client's base currency
-    String strUserCurrencyId = Utility.stringBaseCurrencyId(this, vars.getClient());
-    if (vars.commandIn("DEFAULT")) {
-      String strDateFrom = vars.getRequestGlobalVariable("inpDateFrom",
-          "ReportRefundSalesDimensionalAnalyses|dateFrom");
-      String strDateTo = vars.getRequestGlobalVariable("inpDateTo",
-          "ReportRefundSalesDimensionalAnalyses|dateTo");
-      String strDateFromRef = vars.getRequestGlobalVariable("inpDateFromRef",
-          "ReportRefundSalesDimensionalAnalyses|dateFromRef");
-      String strDateToRef = vars.getRequestGlobalVariable("inpDateToRef",
-          "ReportRefundSalesDimensionalAnalyses|dateToRef");
-      String strPartnerGroup = vars.getRequestGlobalVariable("inpPartnerGroup",
-          "ReportRefundSalesDimensionalAnalyses|partnerGroup");
-      String strcBpartnerId = vars.getRequestInGlobalVariable("inpcBPartnerId_IN",
-          "ReportRefundSalesDimensionalAnalyses|partner", IsIDFilter.instance);
-      String strProductCategory = vars.getRequestGlobalVariable("inpProductCategory",
-          "ReportRefundSalesDimensionalAnalyses|productCategory");
-      String strmProductId = vars.getRequestInGlobalVariable("inpmProductId_IN",
-          "ReportRefundSalesDimensionalAnalyses|product", IsIDFilter.instance);
-      // hardcoded to numeric in switch in the code
-      String strNotShown = vars.getInStringParameter("inpNotShown", IsPositiveIntFilter.instance);
-      String strShown = vars.getInStringParameter("inpShown", IsPositiveIntFilter.instance);
-      String strOrg = vars.getRequestGlobalVariable("inpOrg",
-          "ReportRefundSalesDimensionalAnalyses|org");
-      String strsalesrepId = vars.getRequestGlobalVariable("inpSalesrepId",
-          "ReportRefundSalesDimensionalAnalyses|salesrep");
-      String strmWarehouseId = vars.getRequestGlobalVariable("inpmWarehouseId",
-          "ReportRefundSalesDimensionalAnalyses|warehouseId");
-      String strOrder = vars.getRequestGlobalVariable("inpOrder",
-          "ReportRefundSalesDimensionalAnalyses|order");
-      String strMayor = vars.getStringParameter("inpMayor", "");
-      String strMenor = vars.getStringParameter("inpMenor", "");
-      String strRatioMayor = vars.getStringParameter("inpRatioMayor", "");
-      String strRatioMenor = vars.getStringParameter("inpRatioMenor", "");
-      String strComparative = vars.getStringParameter("inpComparative", "N");
-      String strCurrencyId = vars.getGlobalVariable("inpCurrencyId",
-          "ReportRefundSalesDimensionalAnalyses|currency", strUserCurrencyId);
-      printPagePdf(request, response, vars, strComparative, strDateFrom, strDateTo,
-          strPartnerGroup, strcBpartnerId, strProductCategory, strmProductId, strNotShown,
-          strShown, strDateFromRef, strDateToRef, strOrg, strsalesrepId, strmWarehouseId, strOrder,
-          strMayor, strMenor, strRatioMayor, strRatioMenor, strCurrencyId);
-    } else
-      pageErrorPopUp(response);
-  }
-
-  private void printPagePdf(HttpServletRequest request, HttpServletResponse response,
-      VariablesSecureApp vars, String strComparative, String strDateFrom, String strDateTo,
-      String strPartnerGroup, String strcBpartnerId, String strProductCategory,
-      String strmProductId, String strNotShown, String strShown, String strDateFromRef,
-      String strDateToRef, String strOrg, String strsalesrepId, String strmWarehouseId,
-      String strOrder, String strMayor, String strMenor, String strRatioMayor,
-      String strRatioMenor, String strCurrencyId) throws IOException, ServletException {
-    String localStrShown = strShown;
-    String localStrOrg = strOrg;
-    if (log4j.isDebugEnabled())
-      log4j.debug("Output: print pdf");
-    XmlDocument xmlDocument = null;
-    String strOrderby = "";
-    if (log4j.isDebugEnabled())
-      log4j.debug("********************************" + strComparative);
-    String[] discard = { "", "", "", "", "", "", "" };
-    String[] discard1 = { "selEliminarBody1", "discard", "discard", "discard", "discard",
-        "discard", "discard", "discard", "discard", "discard", "discard", "discard", "discard",
-        "discard", "discard", "discard", "discard", "discard", "discard", "discard", "discard",
-        "discard", "discard", "discard", "discard", "discard", "discard", "discard", "discard",
-        "discard", "discard" };
-    if (localStrOrg.equals(""))
-      localStrOrg = vars.getOrg();
-    if (strComparative.equals("Y"))
-      discard1[0] = "selEliminarBody2";
-    String strTitle = "";
-    strTitle = Utility.messageBD(this, "From", vars.getLanguage()) + " " + strDateFrom + " "
-        + Utility.messageBD(this, "To", vars.getLanguage()) + " " + strDateTo;
-    if (!strPartnerGroup.equals(""))
-      strTitle = strTitle + ", " + Utility.messageBD(this, "ForBPartnerGroup", vars.getLanguage())
-          + " " + ReportRefundSalesDimensionalAnalysesData.selectBpgroup(this, strPartnerGroup);
-    if (!strProductCategory.equals(""))
-      strTitle = strTitle
-          + ", "
-          + Utility.messageBD(this, "ProductCategory", vars.getLanguage())
-          + " "
-          + ReportRefundSalesDimensionalAnalysesData
-              .selectProductCategory(this, strProductCategory);
-    if (!strsalesrepId.equals(""))
-      strTitle = strTitle + " " + Utility.messageBD(this, "And", vars.getLanguage()) + " "
-          + Utility.messageBD(this, "TheSalesRep", vars.getLanguage()) + " "
-          + ReportRefundSalesDimensionalAnalysesData.selectSalesrep(this, strsalesrepId);
-    if (!strmWarehouseId.equals(""))
-      strTitle = strTitle + " " + Utility.messageBD(this, "And", vars.getLanguage()) + " "
-          + Utility.messageBD(this, "TheWarehouse", vars.getLanguage()) + " "
-          + ReportRefundSalesDimensionalAnalysesData.selectMwarehouse(this, strmWarehouseId);
-
-    ReportRefundSalesDimensionalAnalysesData[] data = null;
-    String[] strShownArray = { "", "", "", "", "", "", "" };
-    if (localStrShown.startsWith("("))
-      localStrShown = localStrShown.substring(1, localStrShown.length() - 1);
-    if (!localStrShown.equals("")) {
-      localStrShown = Replace.replace(localStrShown, "'", "");
-      localStrShown = Replace.replace(localStrShown, " ", "");
-      StringTokenizer st = new StringTokenizer(localStrShown, ",", false);
-      int intContador = 0;
-      while (st.hasMoreTokens()) {
-        strShownArray[intContador] = st.nextToken();
-        intContador++;
-      }
-
-    }
-    String[] strTextShow = { "", "", "", "", "", "", "" };
-    int intDiscard = 0;
-    int intAuxDiscard = -1;
-    for (int i = 0; i < 7; i++) {
-      if (strShownArray[i].equals("1")) {
-        strTextShow[i] = "C_BP_GROUP.NAME";
-        discard[i] = "10";
-        intDiscard++;
-      } else if (strShownArray[i].equals("2")) {
-        strTextShow[i] = "AD_COLUMN_IDENTIFIER('C_Bpartner', TO_CHAR(C_BPARTNER.C_BPARTNER_ID), '"
-            + vars.getLanguage() + "')";
-        discard[i] = "10";
-        intDiscard++;
-      } else if (strShownArray[i].equals("3")) {
-        strTextShow[i] = "M_PRODUCT_CATEGORY.NAME";
-        discard[i] = "10";
-        intDiscard++;
-      } else if (strShownArray[i].equals("4")) {
-        strTextShow[i] = "AD_COLUMN_IDENTIFIER('M_Product', TO_CHAR(M_PRODUCT.M_PRODUCT_ID), '"
-            + vars.getLanguage() + "')";
-        discard[i] = "10";
-        intAuxDiscard = i;
-        intDiscard++;
-      } else if (strShownArray[i].equals("5")) {
-        strTextShow[i] = "C_ORDER.DOCUMENTNO";
-        discard[i] = "10";
-        intDiscard++;
-      } else if (strShownArray[i].equals("6")) {
-        strTextShow[i] = "AD_USER.FIRSTNAME||' '||' '||AD_USER.LASTNAME";
-        discard[i] = "10";
-        intDiscard++;
-      } else if (strShownArray[i].equals("7")) {
-        strTextShow[i] = "M_WAREHOUSE.NAME";
-        discard[i] = "10";
-        intDiscard++;
-      } else {
-        strTextShow[i] = "''";
-        discard[i] = "0.1";
-      }
-    }
-    if (intDiscard != 0 || intAuxDiscard != -1) {
-      int k = 1;
-      if (intDiscard == 1) {
-        strOrderby = " ORDER BY NIVEL" + k + ",";
-      } else {
-        strOrderby = " ORDER BY ";
-      }
-      while (k < intDiscard) {
-        strOrderby = strOrderby + "NIVEL" + k + ",";
-        k++;
-      }
-      if (k == 1) {
-        if (strOrder.equals("Normal")) {
-          strOrderby = " ORDER BY NIVEL" + k;
-        } else if (strOrder.equals("Amountasc")) {
-          strOrderby = " ORDER BY LINENETAMT ASC";
-        } else if (strOrder.equals("Amountdesc")) {
-          strOrderby = " ORDER BY LINENETAMT DESC";
-        } else if (strOrder.equals("Ratioasc")) {
-          strOrderby = " ORDER BY RATIO ASC";
-        } else if (strOrder.equals("Ratiodesc")) {
-          strOrderby = " ORDER BY RATIO DESC";
-        } else {
-          strOrderby = "1";
-        }
-      } else {
-        if (strOrder.equals("Normal")) {
-          strOrderby += "NIVEL" + k;
-        } else if (strOrder.equals("Amountasc")) {
-          strOrderby += "LINENETAMT ASC";
-        } else if (strOrder.equals("Amountdesc")) {
-          strOrderby += "LINENETAMT DESC";
-        } else if (strOrder.equals("Ratioasc")) {
-          strOrderby += "RATIO ASC";
-        } else if (strOrder.equals("Ratiodesc")) {
-          strOrderby += "RATIO DESC";
-        } else {
-          strOrderby = "1";
-        }
-      }
-
-    } else {
-      strOrderby = " ORDER BY 1";
-    }
-    String strHaving = "";
-    if (!strMayor.equals("") && !strMenor.equals("")) {
-      strHaving = " HAVING SUM(LINENETAMT) > " + strMayor + " AND SUM(LINENETAMT) < " + strMenor;
-    } else if (!strMayor.equals("") && strMenor.equals("")) {
-      strHaving = " HAVING SUM(LINENETAMT) > " + strMayor;
-    } else if (strMayor.equals("") && !strMenor.equals("")) {
-      strHaving = " HAVING SUM(LINENETAMT) < " + strMenor;
-    } else {
-    }
-    if (strHaving.equals("")) {
-      if (!strRatioMayor.equals("") && !strRatioMenor.equals("")) {
-        strHaving = " HAVING C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 > "
-            + strRatioMayor
-            + " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 < "
-            + strRatioMenor;
-      } else if (!strRatioMayor.equals("") && strRatioMenor.equals("")) {
-        strHaving = " HAVING C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 > "
-            + strRatioMayor;
-      } else if (strRatioMayor.equals("") && !strRatioMenor.equals("")) {
-        strHaving = " HAVING C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 < "
-            + strRatioMenor;
-      } else {
-      }
-    } else {
-      if (!strRatioMayor.equals("") && !strRatioMenor.equals("")) {
-        strHaving += " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 > "
-            + strRatioMayor
-            + " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 < "
-            + strRatioMenor;
-      } else if (!strRatioMayor.equals("") && strRatioMenor.equals("")) {
-        strHaving += " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 > "
-            + strRatioMayor;
-      } else if (strRatioMayor.equals("") && !strRatioMenor.equals("")) {
-        strHaving += " AND C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 < "
-            + strRatioMenor;
-      } else {
-      }
-    }
-    strOrderby = strHaving + strOrderby;
-
-    // Checks if there is a conversion rate for each of the transactions of
-    // the report
-    String strConvRateErrorMsg = "";
-    OBError myMessage = null;
-    myMessage = new OBError();
-    if (strComparative.equals("Y")) {
-      try {
-        data = ReportRefundSalesDimensionalAnalysesData.select(this, strCurrencyId, strTextShow[0],
-            strTextShow[1], strTextShow[2], strTextShow[3], strTextShow[4], strTextShow[5],
-            strTextShow[6],
-            Tree.getMembers(this, TreeData.getTreeOrg(this, vars.getClient()), localStrOrg),
-            Utility.getContext(this, vars, "#User_Client", "ReportRefundSalesDimensionalAnalyses"),
-            strDateFrom, DateTimeData.nDaysAfter(this, strDateTo, "1"), strPartnerGroup,
-            strcBpartnerId, strProductCategory, strmProductId, strsalesrepId, strmWarehouseId,
-            strDateFromRef, DateTimeData.nDaysAfter(this, strDateToRef, "1"), strOrderby);
-      } catch (ServletException ex) {
-        myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
-      }
-    } else {
-      try {
-        data = ReportRefundSalesDimensionalAnalysesData.selectNoComparative(this, strCurrencyId,
-            strTextShow[0], strTextShow[1], strTextShow[2], strTextShow[3], strTextShow[4],
-            strTextShow[5], strTextShow[6],
-            Tree.getMembers(this, TreeData.getTreeOrg(this, vars.getClient()), localStrOrg),
-            Utility.getContext(this, vars, "#User_Client", "ReportRefundSalesDimensionalAnalyses"),
-            strDateFrom, DateTimeData.nDaysAfter(this, strDateTo, "1"), strPartnerGroup,
-            strcBpartnerId, strProductCategory, strmProductId, strsalesrepId, strmWarehouseId,
-            strOrderby);
-      } catch (ServletException ex) {
-        myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
-      }
-    }
-    strConvRateErrorMsg = myMessage.getMessage();
-    // If a conversion rate is missing for a certain transaction, an error
-    // message window pops-up.
-    if (!strConvRateErrorMsg.equals("") && strConvRateErrorMsg != null) {
-      advisePopUp(request, response, "ERROR",
-          Utility.messageBD(this, "NoConversionRateHeader", vars.getLanguage()),
-          strConvRateErrorMsg);
-    } else { // Otherwise, the report is launched
-      if (log4j.isDebugEnabled())
-        log4j.debug("*******************PDF" + strOrderby);
-      if (data.length == 0 || data == null) {
-        data = ReportRefundSalesDimensionalAnalysesData.set();
-      } else {
-        int contador = intDiscard;
-        if (intAuxDiscard != -1)
-          contador = intAuxDiscard;
-        int k = 1;
-        if (strComparative.equals("Y")) {
-          for (int j = contador; j > 0; j--) {
-            discard1[k] = "fieldTotalQtyNivel" + String.valueOf(j);
-            discard1[k + 12] = "fieldTotalRefundQtyNivel" + String.valueOf(j);
-            discard1[k + 24] = "fieldUomsymbol" + String.valueOf(j);
-            discard1[k + 6] = "fieldTotalRefQtyNivel" + String.valueOf(j);
-            discard1[k + 18] = "fieldTotalRefRefundQtyNivel" + String.valueOf(j);
-            k++;
-          }
-        } else {
-          for (int j = contador; j > 0; j--) {
-            discard1[k] = "fieldNoncomparativeTotalQtyNivel" + String.valueOf(j);
-            discard1[k + 10] = "fieldNoncomparativeTotalRefundQtyNivel" + String.valueOf(j);
-            discard1[k + 20] = "fieldNoncomparativeUomsymbol" + String.valueOf(j);
-            k++;
-          }
-        }
-
-      }
-      xmlDocument = xmlEngine.readXmlTemplate(
-          "org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalysesEditionPDF",
-          discard1).createXmlDocument();
-
-      xmlDocument.setParameter("eliminar2", discard[1]);
-      xmlDocument.setParameter("eliminar3", discard[2]);
-      xmlDocument.setParameter("eliminar4", discard[3]);
-      xmlDocument.setParameter("eliminar5", discard[4]);
-      xmlDocument.setParameter("eliminar6", discard[5]);
-      xmlDocument.setParameter("eliminar7", discard[6]);
-      xmlDocument.setParameter("title", strTitle);
-      String strCurISOSym = Utility.stringISOSymbol(this, strCurrencyId);
-      strCurISOSym = strCurISOSym.replace('(', ' ');
-      strCurISOSym = strCurISOSym.replace(')', ' ');
-      xmlDocument.setParameter("convisosym", strCurISOSym);
-      xmlDocument.setParameter("constante", "100");
-      if (strComparative.equals("Y")) {
-        xmlDocument.setData("structure1", data);
-      } else {
-        xmlDocument.setData("structure2", data);
-      }
-      String strResult = xmlDocument.print();
-      renderFO(strResult, request, response);
-    }
-  }
-
-  public String getServletInfo() {
-    return "Servlet ReportRefundSalesDimensionalAnalyses. This Servlet was made by Jon Alegría";
-  } // end of getServletInfo() method
-}
--- a/src/org/openbravo/erpCommon/ad_reports/ReportRefundSalesDimensionalAnalyses_data.xsql	Wed Jan 16 12:30:05 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,333 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html 
- * Software distributed under the License  is  distributed  on  an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- * License for the specific  language  governing  rights  and  limitations
- * under the License. 
- * The Original Code is Openbravo ERP. 
- * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2010 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
--->
-
-
-
-
-
-<SqlClass name="ReportRefundSalesDimensionalAnalysesData" package="org.openbravo.erpCommon.ad_reports">
-  <SqlClassComment></SqlClassComment>
-  <SqlMethod name="select" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, 
-	  SUM(LINENETAMT) AS LINENETAMT, SUM(REFUNDAMT) AS REFUNDAMT, 
-	  C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 AS RATIO, 
-	  SUM(QTYINVOICED) AS QTYINVOICED, SUM(REFUNDQTY) AS REFUNDQTY, 
-	  SUM(LINENETREF) AS LINENETREF, SUM(REFUNDAMTREF) AS REFUNDAMTREF,
-	  C_DIVIDE(SUM(REFUNDAMTREF), (SUM(LINENETREF)+SUM(REFUNDAMTREF)))*100 AS RATIOREF, 
-	  SUM(QTYINVOICEDREF) AS QTYINVOICEDREF, SUM(REFUNDQTYREF) AS REFUNDQTYREF,
-	  C_CURRENCY_SYMBOL(?, 0, 'Y') AS CONVSYM,	  	  
-	  C_CURRENCY_ISOSYM(?) AS CONVISOSYM,
-	  '' AS ID, '' AS NAME, '' AS TRANSCURRENCYID, '' AS TRANSDATE, '' AS TRANSCLIENTID, '' AS TRANSORGID 
-	  FROM (SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, 
-      C_CURRENCY_CONVERT(SUM(LINENETAMT), TRCURRENCYID, ?, TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS LINENETAMT, 
-	  C_CURRENCY_CONVERT(SUM(REFUNDAMT), TRCURRENCYID, ?, TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS REFUNDAMT,  
-      SUM(QTYINVOICED) AS QTYINVOICED, SUM(REFUNDQTY) AS REFUNDQTY, 
-      C_CURRENCY_CONVERT(SUM(LINENETREF), TRCURRENCYID, ?, TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS LINENETREF, 
-	  C_CURRENCY_CONVERT(SUM(REFUNDAMTREF), TRCURRENCYID, ?, TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS REFUNDAMTREF,  
-      SUM(QTYINVOICEDREF) AS QTYINVOICEDREF, SUM(REFUNDQTYREF) AS REFUNDQTYREF, 
-      TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID
-      FROM (SELECT to_char('1') AS NIVEL1, to_char('2') AS NIVEL2, to_char('3') AS NIVEL3, to_char('4') AS NIVEL4, to_char('5') AS NIVEL5, to_char('6') AS NIVEL6, to_char('7') AS NIVEL7,
-      CASE SIGN(C_ORDERLINE.LINENETAMT) WHEN  -1 THEN  0 ELSE  C_ORDERLINE.LINENETAMT END AS LINENETAMT, 
-      CASE SIGN(C_ORDERLINE.LINENETAMT) WHEN  -1 THEN  -1*C_ORDERLINE.LINENETAMT ELSE  0 END AS REFUNDAMT, 
-      CASE SIGN(C_ORDERLINE.QTYORDERED) WHEN  -1 THEN  0 ELSE  C_ORDERLINE.QTYORDERED END AS QTYINVOICED, 
-      CASE SIGN(C_ORDERLINE.QTYORDERED) WHEN  -1 THEN  (-1*C_ORDERLINE.QTYORDERED) ELSE  0 END AS REFUNDQTY, 
-      0 AS LINENETREF, 0 AS REFUNDAMTREF, 0 AS QTYINVOICEDREF, 0 AS REFUNDQTYREF, C_UOM.UOMSYMBOL,
-      COALESCE(C_ORDERLINE.C_CURRENCY_ID, C_ORDER.C_CURRENCY_ID) AS TRCURRENCYID,      
-	  TO_DATE(COALESCE(C_ORDER.DATEORDERED, NOW())) AS TRDATE,
-      C_ORDERLINE.AD_CLIENT_ID AS TRCLIENTID,      
-      C_ORDERLINE.AD_ORG_ID AS TRORGID
-      FROM C_ORDER left join AD_USER on C_ORDER.SALESREP_ID = AD_USER.AD_USER_ID,
-           C_ORDERLINE left join M_PRODUCT on C_ORDERLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
-                       left join M_PRODUCT_CATEGORY on M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID
-                       left join C_UOM on C_ORDERLINE.C_UOM_ID = C_UOM.C_UOM_ID,
-         C_BPARTNER, C_BP_GROUP, M_WAREHOUSE
-      WHERE C_ORDER.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID
-      AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID
-      AND C_ORDER.C_ORDER_ID = C_ORDERLINE.C_ORDER_ID
-      AND C_ORDER.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID
-      AND C_ORDER.ISSOTRX = 'Y'
-      AND C_ORDER.PROCESSED = 'Y'
-      AND 0=0 AND C_ORDER.AD_ORG_ID IN ('1')
-      AND C_ORDER.AD_CLIENT_ID IN ('8')
-      AND 1=1
-      UNION ALL SELECT to_char('9') AS NIVEL1 , to_char('10') AS NIVEL2 , to_char('11') AS NIVEL3 , to_char('12') AS NIVEL4 , to_char('13') AS NIVEL5 , to_char('14') AS NIVEL6 , to_char('15') AS NIVEL7 ,
-      0 AS LINENETAMT, 0 AS REFUNDAMT, 0 AS QTYINVOICED, 0 AS REFUNDQTY, 
-      CASE SIGN(C_ORDERLINE.LINENETAMT) WHEN  -1 THEN  0 ELSE  C_ORDERLINE.LINENETAMT END AS LINENETREF, 
-      CASE SIGN(C_ORDERLINE.LINENETAMT) WHEN  -1 THEN  (-1*C_ORDERLINE.LINENETAMT) ELSE  0 END AS REFUNDAMTREF, 
-      CASE SIGN(C_ORDERLINE.QTYORDERED) WHEN  -1 THEN  0 ELSE  C_ORDERLINE.QTYORDERED END AS QTYINVOICEDREF, 
-      CASE SIGN(C_ORDERLINE.QTYORDERED) WHEN  -1 THEN  (-1*C_ORDERLINE.QTYORDERED) ELSE  0 END AS REFUNDQTYREF, C_UOM.UOMSYMBOL,
-      COALESCE(C_ORDERLINE.C_CURRENCY_ID, C_ORDER.C_CURRENCY_ID) AS TRCURRENCYID,      
-	  TO_DATE(COALESCE(C_ORDER.DATEORDERED, NOW())) AS TRDATE,
-      C_ORDERLINE.AD_CLIENT_ID AS TRCLIENTID,      
-      C_ORDERLINE.AD_ORG_ID AS TRORGID
-      FROM C_ORDER left join AD_USER on C_ORDER.SALESREP_ID = AD_USER.AD_USER_ID,
-           C_ORDERLINE left join M_PRODUCT on C_ORDERLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID 
-                       left join M_PRODUCT_CATEGORY on M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID
-                       left join C_UOM on C_ORDERLINE.C_UOM_ID = C_UOM.C_UOM_ID,
-           C_BPARTNER, C_BP_GROUP, M_WAREHOUSE
-      WHERE C_ORDER.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID
-      AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID
-      AND C_ORDER.C_ORDER_ID = C_ORDERLINE.C_ORDER_ID
-      AND C_ORDER.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID
-      AND C_ORDER.ISSOTRX = 'Y'
-      AND C_ORDER.PROCESSED = 'Y'
-      AND 3=3 AND C_ORDER.AD_ORG_ID IN ('1')
-      AND C_ORDER.AD_CLIENT_ID IN('16')
-      AND 2=2) AA
-      WHERE LINENETAMT <> 0
-      OR REFUNDAMT <> 0
-      OR LINENETREF <> 0
-      OR REFUNDAMTREF <> 0
-      GROUP BY NIVEL1,  NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID) ZZ      
-	  GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, 1
-     ]]></Sql>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="nivel1" type="replace" optional="true" after="FROM (SELECT to_char(" text="'1'"/>
-    <Parameter name="nivel2" type="replace" optional="true" after="AS NIVEL1, to_char(" text="'2'"/>
-    <Parameter name="nivel3" type="replace" optional="true" after="AS NIVEL2, to_char(" text="'3'"/>
-    <Parameter name="nivel4" type="replace" optional="true" after="AS NIVEL3, to_char(" text="'4'"/>
-    <Parameter name="nivel5" type="replace" optional="true" after="AS NIVEL4, to_char(" text="'5'"/>
-    <Parameter name="nivel6" type="replace" optional="true" after="AS NIVEL5, to_char(" text="'6'"/>
-    <Parameter name="nivel7" type="replace" optional="true" after="AS NIVEL6, to_char(" text="'7'"/>
-    <Parameter name="adOrgId" optional="true" type="replace" after="AND 0=0 AND C_ORDER.AD_ORG_ID IN (" text="'1'"/>
-    <Parameter name="adUserClient" type="replace" optional="true" after="AND C_ORDER.AD_CLIENT_ID IN (" text="'8'"/>
-    <Parameter name="dateFrom" optional="true" after="AND 1=1"><![CDATA[AND C_ORDER.DATEORDERED >= to_date(?)]]></Parameter>
-    <Parameter name="dateTo" optional="true" after="AND 1=1"><![CDATA[AND C_ORDER.DATEORDERED < to_date(?)]]></Parameter>
-    <Parameter name="cBpartnerGroupId" optional="true" after="AND 1=1"><![CDATA[AND C_BP_GROUP.C_BP_GROUP_ID = ?]]></Parameter>
-    <Parameter name="cBpartner" optional="true" type="argument" after="AND 1=1" text=" AND C_BPARTNER.C_BPARTNER_ID IN"/>
-    <Parameter name="mProductCategoryId" optional="true" after="AND 1=1"><![CDATA[AND M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID = ?]]></Parameter>
-    <Parameter name="mProduct" optional="true" type="argument" after="AND 1=1"><![CDATA[ AND M_PRODUCT.M_PRODUCT_ID IN]]></Parameter>
-    <Parameter name="salesrepId" optional="true" after="AND 1=1"><![CDATA[AND C_ORDER.SALESREP_ID = ?]]></Parameter>
-    <Parameter name="mWarehouseId" optional="true" after="AND 1=1"><![CDATA[AND M_WAREHOUSE.M_WAREHOUSE_ID = ?]]></Parameter>
-    <Parameter name="nivel1" type="replace" optional="true" after="UNION ALL SELECT to_char(" text="'9'"/>
-    <Parameter name="nivel2" type="replace" optional="true" after="AS NIVEL1 , to_char(" text="'10'"/>
-    <Parameter name="nivel3" type="replace" optional="true" after="AS NIVEL2 , to_char(" text="'11'"/>
-    <Parameter name="nivel4" type="replace" optional="true" after="AS NIVEL3 , to_char(" text="'12'"/>
-    <Parameter name="nivel5" type="replace" optional="true" after="AS NIVEL4 , to_char(" text="'13'"/>
-    <Parameter name="nivel6" type="replace" optional="true" after="AS NIVEL5 , to_char(" text="'14'"/>
-    <Parameter name="nivel7" type="replace" optional="true" after="AS NIVEL6 , to_char(" text="'15'"/>
-    <Parameter name="adOrgId" optional="true" type="replace" after="AND 3=3 AND C_ORDER.AD_ORG_ID IN (" text="'1'"/>
-    <Parameter name="adUserClient" type="replace" optional="true" after="AND C_ORDER.AD_CLIENT_ID IN(" text="'16'"/>
-    <Parameter name="dateFromRef" optional="true" after="AND 2=2"><![CDATA[AND C_ORDER.DATEORDERED >= to_date(?)]]></Parameter>
-    <Parameter name="dateToRef" optional="true" after="AND 2=2"><![CDATA[AND C_ORDER.DATEORDERED < to_date(?)]]></Parameter>
-    <Parameter name="cBpartnerGroupId" optional="true" after="AND 2=2"><![CDATA[AND C_BP_GROUP.C_BP_GROUP_ID = ?]]></Parameter>
-    <Parameter name="cBpartner" optional="true" type="argument" after="AND 2=2" text=" AND C_BPARTNER.C_BPARTNER_ID IN"/>
-    <Parameter name="mProductCategoryId" optional="true" after="AND 2=2"><![CDATA[AND M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID = ?]]></Parameter>
-    <Parameter name="mProduct" optional="true" type="argument" after="AND 2=2"><![CDATA[ AND M_PRODUCT.M_PRODUCT_ID IN]]></Parameter>
-    <Parameter name="salesrepId" optional="true" after="AND 2=2"><![CDATA[AND C_ORDER.SALESREP_ID = ?]]></Parameter>
-    <Parameter name="mWarehouseId" optional="true" after="AND 2=2"><![CDATA[AND M_WAREHOUSE.M_WAREHOUSE_ID = ?]]></Parameter>
-    <Parameter name="orderby" type="replace" optional="true" after="GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7" text=", 1"/>
-  </SqlMethod>
-  <SqlMethod name="set" type="constant" return="multiple">
-      <SqlMethodComment></SqlMethodComment>
-      <Sql></Sql>
-  </SqlMethod>
-  <SqlMethod name="selectNoComparative" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, 
-	  SUM(LINENETAMT) AS LINENETAMT, SUM(REFUNDAMT) AS REFUNDAMT, 
-	  C_DIVIDE(SUM(REFUNDAMT), (SUM(LINENETAMT)+SUM(REFUNDAMT)))*100 AS RATIO, 
-	  SUM(QTYINVOICED) AS QTYINVOICED, SUM(REFUNDQTY) AS REFUNDQTY, 
-	  SUM(LINENETREF) AS LINENETREF, SUM(REFUNDAMTREF) AS REFUNDAMTREF, 
-	  SUM(QTYINVOICEDREF) AS QTYINVOICEDREF, SUM(REFUNDQTYREF) AS REFUNDQTYREF,
-	  C_CURRENCY_SYMBOL(?, 0, 'Y') AS CONVSYM,        
-	  C_CURRENCY_ISOSYM(?) AS CONVISOSYM
-      FROM (SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, 
-      C_CURRENCY_CONVERT(SUM(LINENETAMT), TRCURRENCYID, ?, TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS LINENETAMT, 
-      C_CURRENCY_CONVERT(SUM(REFUNDAMT), TRCURRENCYID, ?, TO_DATE(TRDATE), NULL, TRCLIENTID, TRORGID) AS REFUNDAMT,  
-      SUM(QTYINVOICED) AS QTYINVOICED, SUM(REFUNDQTY) AS REFUNDQTY, 
-      SUM(LINENETREF) AS LINENETREF, SUM(REFUNDAMTREF) AS REFUNDAMTREF, 
-      SUM(QTYINVOICEDREF) AS QTYINVOICEDREF, SUM(REFUNDQTYREF) AS REFUNDQTYREF,
-	  TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID
-      FROM (SELECT to_char('1') AS NIVEL1, to_char('2') AS NIVEL2, to_char('3') AS NIVEL3, to_char('4') AS NIVEL4, to_char('5') AS NIVEL5, to_char('6') AS NIVEL6, to_char('7') AS NIVEL7,
-      CASE SIGN(C_ORDERLINE.LINENETAMT) WHEN  -1 THEN  0 ELSE  C_ORDERLINE.LINENETAMT END AS LINENETAMT, 
-      CASE SIGN(C_ORDERLINE.LINENETAMT) WHEN  -1 THEN  -1*C_ORDERLINE.LINENETAMT ELSE  0 END AS REFUNDAMT, 
-      CASE SIGN(C_ORDERLINE.QTYORDERED) WHEN  -1 THEN  0 ELSE  C_ORDERLINE.QTYORDERED END AS QTYINVOICED, 
-      CASE SIGN(C_ORDERLINE.QTYORDERED) WHEN  -1 THEN  (-1*C_ORDERLINE.QTYORDERED) ELSE  0 END AS REFUNDQTY, 
-      0 AS LINENETREF, 0 AS REFUNDAMTREF, 0 AS QTYINVOICEDREF, 0 AS REFUNDQTYREF, C_UOM.UOMSYMBOL,
-      COALESCE(C_ORDERLINE.C_CURRENCY_ID, C_ORDER.C_CURRENCY_ID) AS TRCURRENCYID,      
-	  TO_DATE(COALESCE(C_ORDER.DATEORDERED, NOW())) AS TRDATE,
-	  C_ORDERLINE.AD_CLIENT_ID AS TRCLIENTID,      
-	  C_ORDERLINE.AD_ORG_ID AS TRORGID
-      FROM C_ORDER left join AD_USER on C_ORDER.SALESREP_ID = AD_USER.AD_USER_ID,
-           C_ORDERLINE left join M_PRODUCT on C_ORDERLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
-                       left join M_PRODUCT_CATEGORY on M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID
-                       left join C_UOM on C_ORDERLINE.C_UOM_ID = C_UOM.C_UOM_ID,
-       C_BPARTNER, C_BP_GROUP, M_WAREHOUSE
-      WHERE C_ORDER.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID
-      AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID
-      AND C_ORDER.C_ORDER_ID = C_ORDERLINE.C_ORDER_ID
-      AND C_ORDER.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID
-      AND C_ORDER.ISSOTRX = 'Y'
-      AND C_ORDER.PROCESSED = 'Y'
-      AND 0=0 AND C_ORDER.AD_ORG_ID IN ('1')
-      AND C_ORDER.AD_CLIENT_ID IN ('8')
-      AND 1=1) AA
-      WHERE LINENETAMT <> 0
-      OR REFUNDAMT <> 0
-      OR LINENETREF <> 0
-      OR REFUNDAMTREF <> 0
-      GROUP BY NIVEL1,  NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, TRCURRENCYID, TRDATE, TRCLIENTID, TRORGID) ZZ
-      GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, 1 
-     ]]></Sql>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="cCurrencyConv"/>
-    <Parameter name="nivel1" type="replace" optional="true" after="FROM (SELECT to_char(" text="'1'"/>
-    <Parameter name="nivel2" type="replace" optional="true" after="AS NIVEL1, to_char(" text="'2'"/>
-    <Parameter name="nivel3" type="replace" optional="true" after="AS NIVEL2, to_char(" text="'3'"/>
-    <Parameter name="nivel4" type="replace" optional="true" after="AS NIVEL3, to_char(" text="'4'"/>
-    <Parameter name="nivel5" type="replace" optional="true" after="AS NIVEL4, to_char(" text="'5'"/>
-    <Parameter name="nivel6" type="replace" optional="true" after="AS NIVEL5, to_char(" text="'6'"/>
-    <Parameter name="nivel7" type="replace" optional="true" after="AS NIVEL6, to_char(" text="'7'"/>
-    <Parameter name="adOrgId" optional="true" type="replace" after="AND 0=0 AND C_ORDER.AD_ORG_ID IN (" text="'1'"/>
-    <Parameter name="adUserClient" type="replace" optional="true" after="AND C_ORDER.AD_CLIENT_ID IN (" text="'8'"/>
-    <Parameter name="dateFrom" optional="true" after="AND 1=1"><![CDATA[AND C_ORDER.DATEORDERED >= to_date(?)]]></Parameter>
-    <Parameter name="dateTo" optional="true" after="AND 1=1"><![CDATA[AND C_ORDER.DATEORDERED < to_date(?)]]></Parameter>
-    <Parameter name="cBpartnerGroupId" optional="true" after="AND 1=1"><![CDATA[AND C_BP_GROUP.C_BP_GROUP_ID = ?]]></Parameter>
-    <Parameter name="cBpartner" optional="true" type="argument" after="AND 1=1" text=" AND C_BPARTNER.C_BPARTNER_ID IN"/>
-    <Parameter name="mProductCategoryId" optional="true" after="AND 1=1"><![CDATA[AND M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID = ?]]></Parameter>
-    <Parameter name="mProduct" optional="true" type="argument" after="AND 1=1"><![CDATA[ AND M_PRODUCT.M_PRODUCT_ID IN]]></Parameter>
-    <Parameter name="salesrepId" optional="true" after="AND 1=1"><![CDATA[AND C_ORDER.SALESREP_ID = ?]]></Parameter>
-    <Parameter name="mWarehouseId" optional="true" after="AND 1=1"><![CDATA[AND M_WAREHOUSE.M_WAREHOUSE_ID = ?]]></Parameter>
-    <Parameter name="orderby" type="replace" optional="true" after="GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7" text=", 1"/>
-  </SqlMethod>
-
-  <SqlMethod name="selectBpgroup" type="preparedStatement" return="String" default="">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT C_BP_GROUP.NAME
-      FROM C_BP_GROUP
-      WHERE C_BP_GROUP.C_BP_GROUP_ID = ?
-     ]]></Sql>
-    <Parameter name="cBpGroupId"/>
-  </SqlMethod>
-
-  <SqlMethod name="selectProductCategory" type="preparedStatement" return="String" default="">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT M_PRODUCT_CATEGORY.NAME
-      FROM M_PRODUCT_CATEGORY
-      WHERE M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID = ?
-     ]]></Sql>
-    <Parameter name="mProductCategoryId"/>
-  </SqlMethod>
-
-  <SqlMethod name="selectSalesrep" type="preparedStatement" return="String" default="">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT AD_USER.FIRSTNAME||' '||AD_USER.LASTNAME
-      FROM AD_USER
-      WHERE AD_USER.AD_USER_ID = ?
-     ]]></Sql>
-    <Parameter name="salesrepId"/>
-  </SqlMethod>
-
-  <SqlMethod name="selectMwarehouse" type="preparedStatement" return="String" default="">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT M_WAREHOUSE.NAME
-      FROM M_WAREHOUSE
-      WHERE M_WAREHOUSE.M_WAREHOUSE_ID = ?
-     ]]></Sql>
-    <Parameter name="mWarehouseId"/>
-  </SqlMethod>
-
-  <SqlMethod name="selectNotShown" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT ID, NAME
-      FROM (SELECT VALUE AS ID, NAME 
-              FROM AD_REF_LIST 
-             WHERE AD_REFERENCE_ID = '800087'
-             AND AD_REF_LIST.VALUE IN ('1', '2', '3', '4', '5', '6', '7')
-             ORDER BY TO_NUMBER(VALUE)) AA
-      WHERE 1=1 
-     ]]></Sql>
-     <Parameter name="notShown" optional="true" type="argument" after="WHERE 1=1 "><![CDATA[AND ID NOT IN]]></Parameter>
-  </SqlMethod>
-  <SqlMethod name="selectShown" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT ID, NAME
-      FROM (SELECT VALUE AS ID, NAME 
-              FROM AD_REF_LIST 
-             WHERE AD_REFERENCE_ID = '800087' 
-             AND AD_REF_LIST.VALUE IN ('1', '2', '3', '4', '5', '6', '7')
-             ORDER BY TO_NUMBER(VALUE)) AA
-      WHERE 1=1 
-     ]]></Sql>
-     <Parameter name="shown" optional="true" type="argument" after="WHERE 1=1 "><![CDATA[AND ID IN]]></Parameter>
-  </SqlMethod>
-
-  <SqlMethod name="selectNotShownTrl" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT ID, NAME
-      FROM (SELECT VALUE AS ID, T.NAME 
-              FROM AD_REF_LIST_trl T,
-                   AD_REF_LIST     L
-             WHERE l.AD_REFERENCE_ID = '800087'
-               AND l.AD_REF_LIST_ID  = t.AD_REF_LIST_ID
-               AND L.VALUE IN ('1', '2', '3', '4', '5', '6', '7')
-               AND t.AD_LANGUAGE = ?
-             ORDER BY TO_NUMBER(VALUE)) AA
-      WHERE 1=1 
-     ]]></Sql>
-     <Parameter name="lang"/> 
-     <Parameter name="notShown" optional="true" type="argument" after="WHERE 1=1 "><![CDATA[AND ID NOT IN]]></Parameter>
-  </SqlMethod>
-  <SqlMethod name="selectShownTrl" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT ID, NAME
-      FROM (SELECT VALUE AS ID, T.NAME 
-              FROM AD_REF_LIST_trl T,
-                   AD_REF_LIST     L
-             WHERE l.AD_REFERENCE_ID = '800087'
-               AND l.AD_REF_LIST_ID  = t.AD_REF_LIST_ID
-               AND L.VALUE IN ('1', '2', '3', '4', '5', '6', '7')
-               AND t.AD_LANGUAGE = ?
-             ORDER BY TO_NUMBER(VALUE)) AA
-      WHERE 1=1 
-     ]]></Sql>
-     <Parameter name="lang"/> 
-     <Parameter name="shown" optional="true" type="argument" after="WHERE 1=1 "><![CDATA[AND ID IN]]></Parameter>
-  </SqlMethod>
-</SqlClass>