src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.xml
author Carlos Romero <carlos.romero@openbravo.com>
Wed, 12 Mar 2008 10:08:42 +0000
changeset 520 568823778809
parent 445 d13156fc5fa3
child 528 7aa737db257f
permissions -rw-r--r--
Fixed bug [ 1904142 ] QA-MAS Balance sheet report
carlos@0
     1
<?xml version="1.0" encoding="UTF-8" ?>
carlos@0
     2
<!--
carlos@0
     3
*************************************************************************
carlos@0
     4
* The contents of this file are subject to the Openbravo  Public  License
carlos@0
     5
* Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     6
* Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     7
* file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     8
* the License at http://www.openbravo.com/legal/license.html 
carlos@0
     9
* Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
    10
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    11
* License for the specific  language  governing  rights  and  limitations
carlos@0
    12
* under the License. 
carlos@0
    13
* The Original Code is Openbravo ERP. 
carlos@0
    14
* The Initial Developer of the Original Code is Openbravo SL 
carlos@520
    15
* All portions are Copyright (C) 2001-2008 Openbravo SL 
carlos@0
    16
* All Rights Reserved. 
carlos@0
    17
* Contributor(s):  ______________________________________.
carlos@0
    18
************************************************************************
carlos@0
    19
-->
carlos@0
    20
<REPORT>
carlos@0
    21
  <template file="ReportTrialBalance.html"/>
carlos@0
    22
  <PARAMETER id="paramToolBar" name="toolbar" default=""/>
carlos@0
    23
  <PARAMETER id="fieldCalendar" name="calendar" attribute="src" replace="es" default="en"/>
carlos@0
    24
  <PARAMETER id="paramDirection" name="direction" default=""/>
carlos@0
    25
  <PARAMETER id="paramMessage" name="paramMessage" attribute="onload" replace="xx();"/>
carlos@66
    26
  <PARAMETER id="paramLanguage" name="paramLanguage" default=""/>
carlos@0
    27
  <PARAMETER id="paramDateFrom" name="dateFrom" attribute="value"/>
carlos@0
    28
	<PARAMETER id="paramDateFrom" name="dateFromdisplayFormat" attribute="displayformat" replace="xx"/>
carlos@0
    29
	<PARAMETER id="paramDateFrom" name="dateFromsaveFormat" attribute="saveformat" replace="yy"/>
carlos@0
    30
  <PARAMETER id="paramDateTo" name="dateTo" attribute="value"/>
carlos@0
    31
	<PARAMETER id="paramDateTo" name="dateTodisplayFormat" attribute="displayformat" replace="xx"/>
carlos@0
    32
	<PARAMETER id="paramDateTo" name="dateTosaveFormat" attribute="saveformat" replace="yy"/>
carlos@0
    33
  <PARAMETER id="paramAccountFrom" name="accountFrom"/>
carlos@0
    34
  <PARAMETER id="paramAccountTo" name="accountTo"/>
carlos@0
    35
  <PARAMETER id="parameterOnly" name="constantOnly" default="-1"/>
carlos@0
    36
  <PARAMETER id="paramOnly" name="Only" boolean="checked" withId="parameterOnly"/>
carlos@0
    37
  <PARAMETER id="paramAD_ORGID" name="adOrgId"/>
eduardo@445
    38
  <PARAMETER id="paramC_ACCTSCHEMA_ID" name="cAcctschemaId"/>  
carlos@0
    39
  <PARAMETER id="paramLevel" name="Level"/>
carlos@0
    40
  <PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
carlos@0
    41
  <PARAMETER id="tdleftTabs" name="leftTabs" default=""/>
carlos@0
    42
  <PARAMETER id="paramParentTabContainer" name="parentTabContainer" default=" "/>
carlos@0
    43
  <PARAMETER id="paramMainTabContainer" name="mainTabContainer" default=" "/>
carlos@0
    44
  <PARAMETER id="paramChildTabContainer" name="childTabContainer" default=" "/>
carlos@0
    45
  <PARAMETER id="tdtopButtons" name="navigationBar" default=""/>
carlos@0
    46
  <PARAMETER id="keyMap" name="keyMap" default=""/>
carlos@0
    47
  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
carlos@0
    48
  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
carlos@0
    49
  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
carlos@0
    50
carlos@520
    51
  <PARAMETER id="paramArrayAccountFrom" name="accounFromArray"/>
carlos@520
    52
  <PARAMETER id="paramArrayAccountTo" name="accounToArray"/>
carlos@520
    53
    
carlos@0
    54
  <PARAMETER id="parameterAll" name="all" default="1"/>
carlos@0
    55
  <PARAMETER id="paramAll" name="paramAll0" boolean="checked" withId="parameterAll" default="1"/>
carlos@0
    56
carlos@0
    57
  <SUBREPORT id="reportCBPartnerId_IN" name="reportCBPartnerId_IN" report="org/openbravo/erpCommon/reference/List">
carlos@0
    58
    <ARGUMENT name="parameterListSelected" withId="paramVacio"/>
carlos@0
    59
  </SUBREPORT>
carlos@0
    60
carlos@0
    61
  <SUBREPORT id="reportAD_ORGID" name="reportAD_ORGID" report="org/openbravo/erpCommon/reference/List">
carlos@0
    62
    <ARGUMENT name="parameterListSelected" withId="paramAD_ORGID"/>
carlos@0
    63
  </SUBREPORT>
eduardo@445
    64
  
carlos@0
    65
  <SUBREPORT id="reportLevel" name="reportLevel" report="org/openbravo/erpCommon/reference/List">
carlos@0
    66
    <ARGUMENT name="parameterListSelected" withId="paramLevel"/>
carlos@0
    67
  </SUBREPORT>
eduardo@445
    68
  
carlos@0
    69
  <SUBREPORT id="reportAccountTo_ID" name="reportAccountTo_ID" report="org/openbravo/erpCommon/reference/List">
carlos@0
    70
    <ARGUMENT name="parameterListSelected" withId="paramAccountTo"/>
carlos@0
    71
  </SUBREPORT>
eduardo@445
    72
  
carlos@0
    73
  <SUBREPORT id="reportAccountFrom_ID" name="reportAccountFrom_ID" report="org/openbravo/erpCommon/reference/List">
carlos@0
    74
    <ARGUMENT name="parameterListSelected" withId="paramAccountFrom"/>
carlos@0
    75
  </SUBREPORT>
carlos@0
    76
eduardo@445
    77
  <SUBREPORT id="reportC_ACCTSCHEMA_ID" name="reportC_ACCTSCHEMA_ID" report="org/openbravo/erpCommon/reference/List">
eduardo@445
    78
    <ARGUMENT name="parameterListSelected" withId="paramC_ACCTSCHEMA_ID"/>
eduardo@445
    79
  </SUBREPORT>
eduardo@445
    80
    
carlos@0
    81
  <PARAMETER id="param2" name="param2" default="2"/>
carlos@0
    82
carlos@0
    83
  <structure name="structure1">
carlos@0
    84
    <FIELD id="fieldRownum1">rownum</FIELD>
carlos@0
    85
    <FUNCTION id="funcEvenOddRow1xx" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
carlos@0
    86
    <FIELD id="fieldAccount">accountId</FIELD>
carlos@0
    87
    <FIELD id="fieldDescription">name</FIELD>
carlos@0
    88
    <FIELD id="fieldAmtacctdr" format="euroInform">amtacctdr</FIELD>
carlos@0
    89
    <FIELD id="fieldAmtacctcr" format="euroInform">amtacctcr</FIELD>
carlos@0
    90
    <FIELD id="fieldSaldoInicial" format="euroInform">saldoInicial</FIELD>
carlos@0
    91
    <FIELD id="fieldSaldoFinal" format="euroInform">saldoFinal</FIELD>
carlos@0
    92
    <FIELD id="fieldId" attribute="onclick" replace="xx">id</FIELD>
carlos@0
    93
    <FIELD id="fieldId1" attribute="onclick" replace="xx">id</FIELD>
carlos@0
    94
    <FIELD id="fieldId2" attribute="onclick" replace="xx">id</FIELD>
carlos@0
    95
    <FIELD id="fieldId2" attribute="onclick" replace="yy">dateFrom</FIELD>
carlos@0
    96
    <FIELD id="fieldId2" attribute="onclick" replace="zz">dateTo</FIELD>
carlos@0
    97
    <FIELD id="fieldId2" attribute="onclick" replace="ww">adOrgId</FIELD>
carlos@0
    98
carlos@0
    99
carlos@0
   100
carlos@0
   101
    <FUNCTION id="fieldTotalAmtacctdr" name="SUM" format="euroInform">amtacctdr</FUNCTION>
carlos@0
   102
    <FUNCTION id="fieldTotalAmtacctcr" name="SUM" format="euroInform">amtacctcr</FUNCTION>
carlos@0
   103
    <FUNCTION id="fieldTotalSaldoInicial" name="SUM" format="euroInform">saldoInicial</FUNCTION>
carlos@0
   104
    <FUNCTION id="fieldTotalSaldoFinal" name="SUM" format="euroInform">saldoFinal</FUNCTION>
carlos@0
   105
    <DISCARD id="discard"/>
carlos@0
   106
    <SECTION id="sectionDiscard"/>
carlos@0
   107
    <SECTION id="sectionDetail"/>
carlos@0
   108
  </structure>
carlos@0
   109
carlos@0
   110
carlos@0
   111
  <structure name="structure2">
carlos@0
   112
    <FIELD id="fieldRownum2">rownum</FIELD>
carlos@0
   113
    <FUNCTION id="funcEvenOddRow2xx" name="MODULE" arg1="fieldRownum2" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
carlos@0
   114
    <FIELD id="fieldPartner">bp</FIELD>
carlos@0
   115
    <FIELD id="fieldAccount2">accountId</FIELD>
carlos@0
   116
    <FIELD id="fieldDescription2">name</FIELD>
carlos@0
   117
    <FIELD id="fieldAmtacctdr2" format="euroInform">amtacctdr</FIELD>
carlos@0
   118
    <FIELD id="fieldAmtacctcr2" format="euroInform">amtacctcr</FIELD>
carlos@0
   119
    <FIELD id="fieldSaldoInicial2" format="euroInform">saldoInicial</FIELD>
carlos@0
   120
    <FIELD id="fieldSaldoFinal2" format="euroInform">saldoFinal</FIELD>
carlos@0
   121
    <FIELD id="fieldId2" attribute="onclick" replace="xx">id</FIELD>
carlos@0
   122
    <FIELD id="fieldId12" attribute="onclick" replace="xx">id</FIELD>
carlos@0
   123
    <FIELD id="fieldId22" attribute="onclick" replace="xx">id</FIELD>
carlos@0
   124
    <FIELD id="fieldId22" attribute="onclick" replace="yy">dateFrom</FIELD>
carlos@0
   125
    <FIELD id="fieldId22" attribute="onclick" replace="zz">dateTo</FIELD>
carlos@0
   126
    <FIELD id="fieldId22" attribute="onclick" replace="ww">adOrgId</FIELD>
carlos@0
   127
carlos@0
   128
    <FUNCTION id="fieldTotalAmtacctdr2" name="SUM" format="euroInform">amtacctdr</FUNCTION>
carlos@0
   129
    <FUNCTION id="fieldTotalAmtacctcr2" name="SUM" format="euroInform">amtacctcr</FUNCTION>
carlos@0
   130
    <FUNCTION id="fieldTotalSaldoInicial2" name="SUM" format="euroInform">saldoInicial</FUNCTION>
carlos@0
   131
    <FUNCTION id="fieldTotalSaldoFinal2" name="SUM" format="euroInform">saldoFinal</FUNCTION>
carlos@0
   132
    <DISCARD id="discard"/>
carlos@0
   133
    <SECTION id="sectionDetail2"/>
carlos@0
   134
    <SECTION id="sectionBP" field="bp"/>
carlos@0
   135
carlos@0
   136
  </structure>
carlos@0
   137
</REPORT>