src/org/openbravo/erpCommon/ad_reports/ReportAccountingComparativePeriod.xml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 0 0247c26f10c6
child 6701 690d2af86089
permissions -rw-r--r--
Removed old frame parameter of windowTableId
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@0
    15
* All portions are Copyright (C) 2001-2006 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="ReportAccountingComparativePeriod.srpt"/>
carlos@0
    22
  <PARAMETER id="paramColspan" name="constante" default="6"/>
carlos@0
    23
  <structure name="structure">
carlos@0
    24
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="xx">level1</FIELD>
carlos@0
    25
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="yy">level2</FIELD>
carlos@0
    26
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="zz">level3</FIELD>
carlos@0
    27
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="ww">level4</FIELD>
carlos@0
    28
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="mm">levelId</FIELD>
carlos@0
    29
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="pp">levelReport</FIELD>
carlos@0
    30
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="aa">columnLevel</FIELD>
carlos@0
    31
    <FIELD id="buttonTreexj" attribute="class">classImage</FIELD>
carlos@0
    32
    <FIELD id="buttonTreexj" attribute="id" replace="xj">levelId</FIELD>
carlos@0
    33
    <FIELD id="fieldComparativePeriodWidthMargin" attribute="width" replace="xx">widthMargin</FIELD>
carlos@0
    34
    <FIELD id="fieldComparativePeriodWidthText" attribute="width" replace="yy">widthText</FIELD>
carlos@0
    35
    <FIELD id="fieldComparativePeriodNivel">nivel</FIELD>
carlos@0
    36
    <FIELD id="fieldComparativePeriodOrden">orden</FIELD>
carlos@0
    37
    <FIELD id="fieldComparativePeriodTotalAmt" format="euroInform">totalamt</FIELD>
carlos@0
    38
    <FIELD id="returnTextsj" attribute="id" replace="sj">levelId</FIELD>
carlos@0
    39
    <FIELD id="fieldComparativePeriodWidthText" attribute="class">classLevel</FIELD>
carlos@0
    40
    <FIELD id="fieldComparativePeriodClassLevel" attribute="class">classLevel</FIELD>
carlos@0
    41
    <FIELD id="fieldComparativePeriodTotalFinalClass" attribute="class">classLevel</FIELD>
carlos@0
    42
    <FIELD id="fieldComparativePeriodWidthTextRef" attribute="width" replace="yy">widthText</FIELD>
carlos@0
    43
    <FIELD id="fieldComparativePeriodWidthTextRef" attribute="class">classLevelRef</FIELD>
carlos@0
    44
    <FIELD id="fieldComparativePeriodClassLevelRef" attribute="class">classLevelRef</FIELD>
carlos@0
    45
    <FIELD id="fieldComparativePeriodTotalAmtRef" format="euroInform">totalamtRef</FIELD>
carlos@0
    46
    <FIELD id="fieldComparativePeriodTotalFinalRefClass" attribute="class">classLevelRef</FIELD>
carlos@0
    47
    <FUNCTION id="fieldComparativePeriodAcumulativeTotalAmt" name="SUM" format="euroInform">totalamt</FUNCTION>
carlos@0
    48
    <FUNCTION id="fieldComparativePeriodAcumulativeTotalAmtRef" name="SUM" format="euroInform">totalamtRef</FUNCTION>
carlos@0
    49
    <FUNCTION id="fieldComparativePeriodAux" name="SUBTRACT" arg1="fieldComparativePeriodAcumulativeTotalAmt" arg2="fieldComparativePeriodAcumulativeTotalAmtRef" format="euroInform"/>
carlos@0
    50
    <FUNCTION id="fieldCPAcumulativePercent" name="DIVIDE" arg1="fieldComparativePeriodAux" arg2="fieldComparativePeriodAcumulativeTotalAmt" format="euroInform"/>
carlos@0
    51
    <FUNCTION id="fieldComparativePeriodTotalFinal" name="SUM" format="euroInform">totalamt</FUNCTION>
carlos@0
    52
    <FUNCTION id="fieldComparativePeriodTotalFinalRef" name="SUM" format="euroInform">totalamtRef</FUNCTION>
carlos@0
    53
    <FUNCTION id="fieldComparativePeriodTotalAux" name="SUBTRACT" arg1="fieldComparativePeriodTotalFinal" arg2="fieldComparativePeriodTotalFinalRef" format="euroInform"/>
carlos@0
    54
    <FUNCTION id="fieldComparativePeriodTotalFinalPercent" name="DIVIDE" arg1="fieldComparativePeriodTotalAux" arg2="fieldComparativePeriodTotalFinal" format="euroInform"/>
carlos@0
    55
    <FUNCTION id="fieldComparativePeriodFinal" name="SUM" format="euroInform">totalAmt</FUNCTION>
carlos@0
    56
    <SECTION id="sectionNivelComparativePeriod" field="nivel"/>
carlos@0
    57
    <SECTION id="sectionDetailComparativePeriod"/>
carlos@0
    58
  </structure>
carlos@0
    59
  <DISCARD id="discard"/>
carlos@0
    60
</REPORT>