src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.xml
changeset 0 0247c26f10c6
child 66 a87e2aa1ca08
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.xml	Tue Nov 06 08:33:31 2007 +0000
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL 
+* All portions are Copyright (C) 2001-2006 Openbravo SL 
+* All Rights Reserved. 
+* Contributor(s):  ______________________________________.
+************************************************************************
+-->
+<REPORT>
+  <template file="ReportTrialBalance.html"/>
+  <PARAMETER id="paramToolBar" name="toolbar" default=""/>
+  <PARAMETER id="fieldCalendar" name="calendar" attribute="src" replace="es" default="en"/>
+  <PARAMETER id="paramDirection" name="direction" default=""/>
+  <PARAMETER id="paramMessage" name="paramMessage" attribute="onload" replace="xx();"/>
+  <PARAMETER id="paramLanguage" name="paramLanguage" attribute="value"/>
+  <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="paramAccountFrom" name="accountFrom"/>
+  <PARAMETER id="paramAccountTo" name="accountTo"/>
+  <PARAMETER id="parameterOnly" name="constantOnly" default="-1"/>
+  <PARAMETER id="paramOnly" name="Only" boolean="checked" withId="parameterOnly"/>
+  <PARAMETER id="paramAD_ORGID" name="adOrgId"/>
+  <PARAMETER id="paramLevel" name="Level"/>
+  <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="keyMap" name="keyMap" default=""/>
+  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
+  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
+  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
+
+  <PARAMETER id="parameterAll" name="all" default="1"/>
+  <PARAMETER id="paramAll" name="paramAll0" boolean="checked" withId="parameterAll" default="1"/>
+
+  <SUBREPORT id="reportCBPartnerId_IN" name="reportCBPartnerId_IN" report="org/openbravo/erpCommon/reference/List">
+    <ARGUMENT name="parameterListSelected" withId="paramVacio"/>
+  </SUBREPORT>
+
+  <SUBREPORT id="reportAD_ORGID" name="reportAD_ORGID" report="org/openbravo/erpCommon/reference/List">
+    <ARGUMENT name="parameterListSelected" withId="paramAD_ORGID"/>
+  </SUBREPORT>
+  <SUBREPORT id="reportLevel" name="reportLevel" report="org/openbravo/erpCommon/reference/List">
+    <ARGUMENT name="parameterListSelected" withId="paramLevel"/>
+  </SUBREPORT>
+  <SUBREPORT id="reportAccountTo_ID" name="reportAccountTo_ID" report="org/openbravo/erpCommon/reference/List">
+    <ARGUMENT name="parameterListSelected" withId="paramAccountTo"/>
+  </SUBREPORT>
+  <SUBREPORT id="reportAccountFrom_ID" name="reportAccountFrom_ID" report="org/openbravo/erpCommon/reference/List">
+    <ARGUMENT name="parameterListSelected" withId="paramAccountFrom"/>
+  </SUBREPORT>
+
+  <PARAMETER id="param2" name="param2" default="2"/>
+
+  <structure name="structure1">
+    <FIELD id="fieldRownum1">rownum</FIELD>
+    <FUNCTION id="funcEvenOddRow1xx" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
+    <FIELD id="fieldAccount">accountId</FIELD>
+    <FIELD id="fieldDescription">name</FIELD>
+    <FIELD id="fieldAmtacctdr" format="euroInform">amtacctdr</FIELD>
+    <FIELD id="fieldAmtacctcr" format="euroInform">amtacctcr</FIELD>
+    <FIELD id="fieldSaldoInicial" format="euroInform">saldoInicial</FIELD>
+    <FIELD id="fieldSaldoFinal" format="euroInform">saldoFinal</FIELD>
+    <FIELD id="fieldId" attribute="onclick" replace="xx">id</FIELD>
+    <FIELD id="fieldId1" attribute="onclick" replace="xx">id</FIELD>
+    <FIELD id="fieldId2" attribute="onclick" replace="xx">id</FIELD>
+    <FIELD id="fieldId2" attribute="onclick" replace="yy">dateFrom</FIELD>
+    <FIELD id="fieldId2" attribute="onclick" replace="zz">dateTo</FIELD>
+    <FIELD id="fieldId2" attribute="onclick" replace="ww">adOrgId</FIELD>
+
+
+
+    <FUNCTION id="fieldTotalAmtacctdr" name="SUM" format="euroInform">amtacctdr</FUNCTION>
+    <FUNCTION id="fieldTotalAmtacctcr" name="SUM" format="euroInform">amtacctcr</FUNCTION>
+    <FUNCTION id="fieldTotalSaldoInicial" name="SUM" format="euroInform">saldoInicial</FUNCTION>
+    <FUNCTION id="fieldTotalSaldoFinal" name="SUM" format="euroInform">saldoFinal</FUNCTION>
+    <DISCARD id="discard"/>
+    <SECTION id="sectionDiscard"/>
+    <SECTION id="sectionDetail"/>
+  </structure>
+
+
+  <structure name="structure2">
+    <FIELD id="fieldRownum2">rownum</FIELD>
+    <FUNCTION id="funcEvenOddRow2xx" name="MODULE" arg1="fieldRownum2" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
+    <FIELD id="fieldPartner">bp</FIELD>
+    <FIELD id="fieldAccount2">accountId</FIELD>
+    <FIELD id="fieldDescription2">name</FIELD>
+    <FIELD id="fieldAmtacctdr2" format="euroInform">amtacctdr</FIELD>
+    <FIELD id="fieldAmtacctcr2" format="euroInform">amtacctcr</FIELD>
+    <FIELD id="fieldSaldoInicial2" format="euroInform">saldoInicial</FIELD>
+    <FIELD id="fieldSaldoFinal2" format="euroInform">saldoFinal</FIELD>
+    <FIELD id="fieldId2" attribute="onclick" replace="xx">id</FIELD>
+    <FIELD id="fieldId12" attribute="onclick" replace="xx">id</FIELD>
+    <FIELD id="fieldId22" attribute="onclick" replace="xx">id</FIELD>
+    <FIELD id="fieldId22" attribute="onclick" replace="yy">dateFrom</FIELD>
+    <FIELD id="fieldId22" attribute="onclick" replace="zz">dateTo</FIELD>
+    <FIELD id="fieldId22" attribute="onclick" replace="ww">adOrgId</FIELD>
+
+    <FUNCTION id="fieldTotalAmtacctdr2" name="SUM" format="euroInform">amtacctdr</FUNCTION>
+    <FUNCTION id="fieldTotalAmtacctcr2" name="SUM" format="euroInform">amtacctcr</FUNCTION>
+    <FUNCTION id="fieldTotalSaldoInicial2" name="SUM" format="euroInform">saldoInicial</FUNCTION>
+    <FUNCTION id="fieldTotalSaldoFinal2" name="SUM" format="euroInform">saldoFinal</FUNCTION>
+    <DISCARD id="discard"/>
+    <SECTION id="sectionDetail2"/>
+    <SECTION id="sectionBP" field="bp"/>
+
+  </structure>
+</REPORT>