src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.xml
author Carlos Romero <carlos.romero@openbravo.com>
Tue, 06 Nov 2007 08:33:31 +0000
changeset 0 0247c26f10c6
child 66 a87e2aa1ca08
permissions -rw-r--r--
Modified PostgreSQL post script in order to include C_DEBT_PAYMENT_GENERATE modification tules
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="ReportValuationStock.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="paramLanguage" name="paramLanguage" attribute="value"/>
carlos@0
    26
	<PARAMETER id="paramDate" name="dateFromdisplayFormat" attribute="displayformat" replace="xx"/>
carlos@0
    27
	<PARAMETER id="paramDate" name="dateFromsaveFormat" attribute="saveformat" replace="yy"/>
carlos@0
    28
  <PARAMETER id="paramDate" name="date" attribute="value"/>
carlos@0
    29
  <PARAMETER id="paramM_WAREHOUSE_ID" name="mWarehouseId" attribute="value"/>
carlos@0
    30
  <PARAMETER id="paramM_PRODUCT_CATEGORY_ID" name="categoryProduct" attribute="value"/>
carlos@0
    31
  <PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
carlos@0
    32
  <PARAMETER id="tdleftTabs" name="leftTabs" default=""/>
carlos@0
    33
  <PARAMETER id="paramParentTabContainer" name="parentTabContainer" default=" "/>
carlos@0
    34
  <PARAMETER id="paramMainTabContainer" name="mainTabContainer" default=" "/>
carlos@0
    35
  <PARAMETER id="paramChildTabContainer" name="childTabContainer" default=" "/>
carlos@0
    36
  <PARAMETER id="tdtopButtons" name="navigationBar" default=""/>
carlos@0
    37
  <PARAMETER id="keyMap" name="keyMap" default=""/>
carlos@0
    38
  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
carlos@0
    39
  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
carlos@0
    40
  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
carlos@0
    41
  <PARAMETER id="param2" name="param2" default="2"/>
carlos@0
    42
  <structure name="structure1">
carlos@0
    43
    <FIELD id="fieldRownum1">rownum</FIELD>
carlos@0
    44
    <FUNCTION id="funcEvenOddRow1xx" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
carlos@0
    45
    <FIELD id="fieldCategoryName">categoryName</FIELD>
carlos@0
    46
    <FIELD id="idfieldmProductId" attribute="onclick" replace="xx">mProductId</FIELD>
carlos@0
    47
    <FIELD id="fieldProductName">productName</FIELD>
carlos@0
    48
    <FIELD id="fieldQty">qty</FIELD>
carlos@0
    49
    <FIELD id="fieldUomName">uomName</FIELD>
carlos@0
    50
    <FIELD id="fieldAverageCost" format="euroInform">averageCost</FIELD>
carlos@0
    51
    <FIELD id="fieldTotalCost" format="euroInform">totalCost</FIELD>
carlos@0
    52
    <SUBREPORT id="reportM_Warehouse_ID" name="reportM_Warehouse_ID" report="org/openbravo/erpCommon/reference/List">
carlos@0
    53
      <ARGUMENT name="parameterListSelected" withId="paramWarehouse"/>
carlos@0
    54
    </SUBREPORT>
carlos@0
    55
    <SUBREPORT id="reportM_PRODUCT_CATEGORYID" name="reportM_PRODUCT_CATEGORYID" report="org/openbravo/erpCommon/reference/List">
carlos@0
    56
      <ARGUMENT name="parameterListSelected" withId="paramM_PRODUCT_CATEGORY_ID"/>
carlos@0
    57
    </SUBREPORT>
carlos@0
    58
    <FUNCTION id="fieldSumCost" name="SUM" format="euroInform">totalCost</FUNCTION>
carlos@0
    59
    <FUNCTION id="fieldSumCostTotal" name="SUM" format="euroInform">totalCost</FUNCTION>
carlos@0
    60
    <SECTION id="sectionCategoryProduct" field="categoryName"/>
carlos@0
    61
    <SECTION id="sectionDetail"/>    
carlos@0
    62
  </structure>
carlos@0
    63
  <SUBREPORT id="reportM_WAREHOUSEID" name="reportM_WAREHOUSEID" report="org/openbravo/erpCommon/reference/List">
carlos@0
    64
    <ARGUMENT name="parameterListSelected" withId="paramM_WAREHOUSE_ID"/>
carlos@0
    65
  </SUBREPORT>
carlos@0
    66
</REPORT>