src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.xml
author Sandra Huguet <sandra.huguet@openbravo.com>
Wed, 25 Apr 2012 10:38:10 +0200
changeset 16207 705c297b4a4e
parent 15925 3d5a75391c27
child 20356 c8f69b3d8d6c
permissions -rw-r--r--
Fixed issue 14610 Add warehouse to Product Movements Report
Add a new column with warehouse for each table Product
Movements 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
priya@9085
     5
* Version  1.1  (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. 
ggi@6702
    14
* The Initial Developer of the Original Code is Openbravo SLU 
sandra@16207
    15
* All portions are Copyright (C) 2001-2012 Openbravo SLU 
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="ReportProductMovement.html"/>
carlos@0
    22
  <PARAMETER id="paramToolBar" name="toolbar" default=""/>
carlos@0
    23
  <PARAMETER id="fieldCalendar" name="calendar" attribute="src" replace="es" default="en"/>
juanpablo@1605
    24
  <PARAMETER id="paramDirectory" name="directory" default=""/>
carlos@66
    25
  <PARAMETER id="paramLanguage" name="paramLanguage" default=""/>
carlos@0
    26
  <PARAMETER id="paramDateFrom" name="dateFrom" attribute="value"/>
juanpablo@1605
    27
  <PARAMETER id="paramDateFrom" name="dateFromdisplayFormat" attribute="displayformat" replace="xx"/>
juanpablo@1605
    28
  <PARAMETER id="paramDateFrom" name="dateFromsaveFormat" attribute="saveformat" replace="yy"/>
carlos@0
    29
  <PARAMETER id="paramDateTo" name="dateTo" attribute="value"/>
juanpablo@1605
    30
  <PARAMETER id="paramDateTo" name="dateTodisplayFormat" attribute="displayformat" replace="xx"/>
juanpablo@1605
    31
  <PARAMETER id="paramDateTo" name="dateTosaveFormat" attribute="saveformat" replace="yy"/>
carlos@0
    32
  <PARAMETER id="paramBPartnerId" name="paramBPartnerId" attribute="value"/>
carlos@0
    33
  <PARAMETER id="paramBPartnerDescription" name="bPartnerDescription" attribute="value"/>
carlos@0
    34
  <PARAMETER id="paramProductId" name="mProduct" attribute="value"/>
juanpablo@1605
    35
  <PARAMETER id="paramM_ATTRIBUTESETINSTANCE_ID" name="parameterM_ATTRIBUTESETINSTANCE_ID"/>
carlos@0
    36
  <PARAMETER id="paramProductDescription" name="productDescription" attribute="value"/>
carlos@0
    37
  <PARAMETER id="parameterInOut" name="constantInout" default="-1"/>
carlos@0
    38
  <PARAMETER id="paramInOut" name="inout" boolean="checked" withId="parameterInOut"/>
carlos@0
    39
  <PARAMETER id="parameterInventory" name="constantInventory" default="-1"/>
carlos@0
    40
  <PARAMETER id="paramInventory" name="inventory" boolean="checked" withId="parameterInventory"/>
carlos@0
    41
  <PARAMETER id="parameterMovement" name="constantMovement" default="-1"/>
carlos@0
    42
  <PARAMETER id="paramMovement" name="movement" boolean="checked" withId="parameterMovement"/>
carlos@0
    43
  <PARAMETER id="parameterProduction" name="constantProduction" default="-1"/>
carlos@0
    44
  <PARAMETER id="paramProduction" name="production" boolean="checked" withId="parameterProduction"/>
unai@15925
    45
  <PARAMETER id="parameterInternalConsumption" name="constantInternalConsumption" default="-1"/>
unai@15925
    46
  <PARAMETER id="paramInternalConsumption" name="internalConsumption" boolean="checked" withId="parameterInternalConsumption"/>
carlos@0
    47
  <PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
carlos@0
    48
  <PARAMETER id="tdleftTabs" name="leftTabs" default=""/>
carlos@0
    49
  <PARAMETER id="paramParentTabContainer" name="parentTabContainer" default=" "/>
carlos@0
    50
  <PARAMETER id="paramMainTabContainer" name="mainTabContainer" default=" "/>
carlos@0
    51
  <PARAMETER id="paramChildTabContainer" name="childTabContainer" default=" "/>
carlos@0
    52
  <PARAMETER id="tdtopButtons" name="navigationBar" default=""/>
carlos@0
    53
  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
carlos@0
    54
  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
carlos@0
    55
  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
carlos@0
    56
carlos@0
    57
  <PARAMETER id="param2" name="param2" default="2"/>
juanpablo@1605
    58
  
juanpablo@1605
    59
  <SUBREPORT id="reportM_ATTRIBUTESETINSTANCE_ID" name="reportM_ATTRIBUTESETINSTANCE_ID" report="org/openbravo/erpCommon/reference/List">
juanpablo@1605
    60
    <ARGUMENT name="parameterListSelected" withId="paramM_ATTRIBUTESETINSTANCE_ID"/>
juanpablo@1605
    61
  </SUBREPORT>
carlos@0
    62
carlos@0
    63
  <structure name="structure1">
carlos@0
    64
    <FIELD id="fieldRownum1">rownum</FIELD>
carlos@0
    65
    <FUNCTION id="funcEvenOddRow1xx" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
carlos@0
    66
    <FIELD id="fieldId" attribute="onclick" replace="xx">mInoutId</FIELD>
ainhoa@3600
    67
    <FIELD id="fieldId" attribute="onclick" replace="yy">issotrx</FIELD>
carlos@0
    68
    <FIELD id="fieldDocumentNo">documentno</FIELD>
carlos@0
    69
    <FIELD id="fieldName">name</FIELD>
vinoth@3684
    70
    <FIELD id="fieldAttr">attr</FIELD>
carlos@0
    71
    <FIELD id="fieldPartnername">partnername</FIELD>
carlos@0
    72
    <FIELD id="fieldMovementdate">movementdate</FIELD>
carlos@0
    73
    <FIELD id="fieldMovementqty">movementqty</FIELD>
carlos@0
    74
    <FIELD id="fieldXOrigin">xOrigin</FIELD>
carlos@0
    75
    <FIELD id="fieldYOrigin">yOrigin</FIELD>
carlos@0
    76
    <FIELD id="fieldZOrigin">zOrigin</FIELD>
sandra@16207
    77
    <FIELD id="fieldWaOrigin">waOrigin</FIELD>
carlos@0
    78
    <FIELD id="fieldXDestiny">xDestiny</FIELD>
carlos@0
    79
    <FIELD id="fieldYDestiny">yDestiny</FIELD>
carlos@0
    80
    <FIELD id="fieldZDestiny">zDestiny</FIELD>
sandra@16207
    81
    <FIELD id="fieldWaDestiny">waDestiny</FIELD>
carlos@0
    82
    <FIELD id="fieldOut">out</FIELD>
carlos@0
    83
    <SECTION id="sectionPartner" field="partnername"/>
carlos@0
    84
    <SECTION id="sectionDetail"/>
carlos@0
    85
  </structure>
carlos@0
    86
  <structure name="structure2">
carlos@0
    87
    <FIELD id="fieldRownum2">rownum</FIELD>
carlos@0
    88
    <FUNCTION id="funcEvenOddRow2xx" name="MODULE" arg1="fieldRownum2" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
carlos@0
    89
    <FIELD id="fieldId2" attribute="onclick" replace="xx">mInventoryId</FIELD>
carlos@0
    90
    <FIELD id="fieldId2" attribute="onmouseover" replace="yy">movementDescription</FIELD>
carlos@0
    91
    <FIELD id="fieldMovement">movement</FIELD>
carlos@0
    92
    <FIELD id="fieldName1">name</FIELD>
carlos@0
    93
    <FIELD id="fieldPartnername1">partnername</FIELD>
carlos@0
    94
    <FIELD id="fieldMovementdate1">movementdate</FIELD>
carlos@0
    95
    <FIELD id="fieldMovementqty1">movementqty</FIELD>
carlos@0
    96
    <FIELD id="fieldXOrigin1">xOrigin</FIELD>
carlos@0
    97
    <FIELD id="fieldYOrigin1">yOrigin</FIELD>
carlos@0
    98
    <FIELD id="fieldZOrigin1">zOrigin</FIELD>
sandra@16207
    99
    <FIELD id="fieldWaOrigin1">waOrigin</FIELD>
carlos@0
   100
    <FIELD id="fieldOut1">out</FIELD>
carlos@0
   101
    <SECTION id="sectionPartner1" field="partnername"/>
carlos@0
   102
    <SECTION id="sectionDetail1"/>
carlos@0
   103
  </structure>
carlos@0
   104
  <structure name="structure3">
carlos@0
   105
    <FIELD id="fieldRownum3">rownum</FIELD>
carlos@0
   106
    <FUNCTION id="funcEvenOddRow3xx" name="MODULE" arg1="fieldRownum3" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
carlos@0
   107
    <FIELD id="fieldId3" attribute="onclick" replace="xx">mMovementId</FIELD>
carlos@0
   108
    <FIELD id="fieldMovement2">movement</FIELD>
carlos@0
   109
    <FIELD id="fieldName2">name</FIELD>
carlos@0
   110
    <FIELD id="fieldPartnername2">partnername</FIELD>
carlos@0
   111
    <FIELD id="fieldMovementdate2">movementdate</FIELD>
carlos@0
   112
    <FIELD id="fieldMovementqty2">movementqty</FIELD>
carlos@0
   113
    <FIELD id="fieldXOrigin2">xOrigin</FIELD>
carlos@0
   114
    <FIELD id="fieldYOrigin2">yOrigin</FIELD>
carlos@0
   115
    <FIELD id="fieldZOrigin2">zOrigin</FIELD>
sandra@16207
   116
    <FIELD id="fieldWaOrigin2">waOrigin</FIELD>
carlos@0
   117
    <FIELD id="fieldXDestiny2">xDestiny</FIELD>
carlos@0
   118
    <FIELD id="fieldYDestiny2">yDestiny</FIELD>
carlos@0
   119
    <FIELD id="fieldZDestiny2">zDestiny</FIELD>
sandra@16207
   120
    <FIELD id="fieldWaDestiny2">waDestiny</FIELD>
carlos@0
   121
    <FIELD id="fieldOut2">out</FIELD>
carlos@0
   122
    <SECTION id="sectionPartner2" field="partnername"/>
carlos@0
   123
    <SECTION id="sectionDetail2"/>
carlos@0
   124
  </structure>
carlos@0
   125
  <structure name="structure4">
carlos@0
   126
    <FIELD id="fieldRownum4">rownum</FIELD>
carlos@0
   127
    <FUNCTION id="funcEvenOddRow4xx" name="MODULE" arg1="fieldRownum4" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
carlos@0
   128
    <FIELD id="fieldId4" attribute="onclick" replace="xx">mProductionplanId</FIELD>
ainhoa@3600
   129
    <FIELD id="fieldId4" attribute="onclick" replace="yy">issotrx</FIELD>
carlos@0
   130
    <FIELD id="fieldProductionPlan">productionPlan</FIELD>
carlos@0
   131
    <FIELD id="fieldName3">name</FIELD>
carlos@0
   132
    <FIELD id="fieldPartnername3">partnername</FIELD>
carlos@0
   133
    <FIELD id="fieldMovementdate3">movementdate</FIELD>
carlos@0
   134
    <FIELD id="fieldMovementqty3">movementqty</FIELD>
carlos@0
   135
    <FIELD id="fieldXOrigin3">xOrigin</FIELD>
carlos@0
   136
    <FIELD id="fieldYOrigin3">yOrigin</FIELD>
carlos@0
   137
    <FIELD id="fieldZOrigin3">zOrigin</FIELD>
sandra@16207
   138
    <FIELD id="fieldWaOrigin3">waOrigin</FIELD>
carlos@0
   139
    <FIELD id="fieldXDestiny3">xDestiny</FIELD>
carlos@0
   140
    <FIELD id="fieldYDestiny3">yDestiny</FIELD>
carlos@0
   141
    <FIELD id="fieldZDestiny3">zDestiny</FIELD>
sandra@16207
   142
    <FIELD id="fieldWaDestiny3">waDestiny</FIELD>
carlos@0
   143
    <FIELD id="fieldOut3">out</FIELD>
carlos@0
   144
    <SECTION id="sectionPartner3" field="partnername"/>
carlos@0
   145
    <SECTION id="sectionDetail3"/>
carlos@0
   146
  </structure>
unai@15925
   147
  <structure name="structure5">
unai@15925
   148
    <FIELD id="fieldRownum5">rownum</FIELD>
unai@15925
   149
    <FUNCTION id="funcEvenOddRow5xx" name="MODULE" arg1="fieldRownum5" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
unai@15925
   150
    <FIELD id="fieldId5" attribute="onclick" replace="xx">mInternalConsumptionId</FIELD>
unai@15925
   151
    <FIELD id="fieldId5" attribute="onmouseover" replace="yy">movementDescription</FIELD>
unai@15925
   152
    <FIELD id="fieldMovement3">movement</FIELD>
unai@15925
   153
    <FIELD id="fieldName4">name</FIELD>
unai@15925
   154
    <FIELD id="fieldPartnername4">partnername</FIELD>
unai@15925
   155
    <FIELD id="fieldMovementdate4">movementdate</FIELD>
unai@15925
   156
    <FIELD id="fieldMovementqty4">movementqty</FIELD>
unai@15925
   157
    <FIELD id="fieldXOrigin4">xOrigin</FIELD>
unai@15925
   158
    <FIELD id="fieldYOrigin4">yOrigin</FIELD>
unai@15925
   159
    <FIELD id="fieldZOrigin4">zOrigin</FIELD>
sandra@16207
   160
    <FIELD id="fieldWaOrigin4">waOrigin</FIELD>
unai@15925
   161
    <FIELD id="fieldOut4">out</FIELD>
unai@15925
   162
    <SECTION id="sectionPartner4" field="partnername"/>
unai@15925
   163
    <SECTION id="sectionDetail4"/>
unai@15925
   164
  </structure>
carlos@0
   165
</REPORT>