src/org/openbravo/erpCommon/ad_reports/ReportWarehouseDetailInventory.jrxml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 121 1898f05a7bdc
child 1605 8a0fe0193bef
permissions -rw-r--r--
Removed old frame parameter of windowTableId
carlos@0
     1
<?xml version="1.0" encoding="UTF-8"  ?>
carlos@0
     2
<!-- Created with iReport - A designer for JasperReports -->
carlos@0
     3
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
carlos@0
     4
<jasperReport
carlos@0
     5
		 name="ReportWarehouseDetailInventory"
carlos@0
     6
		 columnCount="1"
carlos@0
     7
		 printOrder="Vertical"
carlos@0
     8
		 orientation="Portrait"
carlos@0
     9
		 pageWidth="595"
carlos@0
    10
		 pageHeight="842"
carlos@0
    11
		 columnWidth="535"
carlos@0
    12
		 columnSpacing="0"
carlos@0
    13
		 leftMargin="30"
carlos@0
    14
		 rightMargin="30"
carlos@0
    15
		 topMargin="20"
carlos@0
    16
		 bottomMargin="20"
david@121
    17
		 whenNoDataType="AllSectionsNoDetail"
carlos@0
    18
		 isTitleNewPage="false"
carlos@0
    19
		 isSummaryNewPage="false">
carlos@0
    20
	<property name="ireport.scriptlethandling" value="0" />
carlos@0
    21
	<property name="ireport.encoding" value="UTF-8" />
carlos@0
    22
	<import value="java.util.*" />
carlos@0
    23
	<import value="net.sf.jasperreports.engine.*" />
carlos@0
    24
	<import value="net.sf.jasperreports.engine.data.*" />
carlos@0
    25
carlos@0
    26
	<style 
carlos@0
    27
		name="default"
carlos@0
    28
		isDefault="false"
carlos@0
    29
		vAlign="Middle"
carlos@0
    30
		fontName="Bitstream Vera Sans"
carlos@0
    31
		fontSize="10"
carlos@0
    32
	/>
carlos@0
    33
	<style 
carlos@0
    34
		name="Report_Title"
carlos@0
    35
		isDefault="false"
carlos@0
    36
		leftPadding="5"
carlos@0
    37
		fontName="Bitstream Vera Sans"
carlos@0
    38
		fontSize="18"
carlos@0
    39
	/>
carlos@0
    40
	<style 
carlos@0
    41
		name="Report_Subtitle"
carlos@0
    42
		isDefault="false"
carlos@0
    43
		forecolor="#555555"
carlos@0
    44
		leftPadding="5"
carlos@0
    45
		fontName="Bitstream Vera Sans"
carlos@0
    46
		fontSize="14"
carlos@0
    47
	/>
carlos@0
    48
	<style 
carlos@0
    49
		name="Total_Field"
carlos@0
    50
		isDefault="false"
carlos@0
    51
		mode="Opaque"
carlos@0
    52
		forecolor="#000000"
carlos@0
    53
		backcolor="#CCCCCC"
carlos@0
    54
		vAlign="Middle"
carlos@0
    55
		leftPadding="5"
carlos@0
    56
	/>
carlos@0
    57
	<style 
carlos@0
    58
		name="Detail_Header"
carlos@0
    59
		isDefault="false"
carlos@0
    60
		mode="Opaque"
carlos@0
    61
		forecolor="#FFFFFF"
carlos@0
    62
		backcolor="#555555"
carlos@0
    63
		vAlign="Middle"
carlos@0
    64
		leftBorder="1Point"
carlos@0
    65
		leftBorderColor="#FFFFFF"
carlos@0
    66
		leftPadding="5"
carlos@0
    67
		rightBorder="1Point"
carlos@0
    68
		rightBorderColor="#FFFFFF"
carlos@0
    69
	/>
carlos@0
    70
	<style 
carlos@0
    71
		name="GroupHeader_DarkGray"
carlos@0
    72
		isDefault="false"
carlos@0
    73
		mode="Opaque"
carlos@0
    74
		forecolor="#FFFFFF"
carlos@0
    75
		backcolor="#555555"
carlos@0
    76
		vAlign="Middle"
carlos@0
    77
		leftPadding="5"
carlos@0
    78
		fontName="Bitstream Vera Sans"
carlos@0
    79
		fontSize="14"
carlos@0
    80
	/>
carlos@0
    81
	<style 
carlos@0
    82
		name="GroupHeader_Gray"
carlos@0
    83
		isDefault="false"
carlos@0
    84
		mode="Opaque"
carlos@0
    85
		backcolor="#999999"
carlos@0
    86
	/>
carlos@0
    87
	<style 
carlos@0
    88
		name="Detail_Line"
carlos@0
    89
		isDefault="false"
carlos@0
    90
	>
carlos@0
    91
carlos@0
    92
		<conditionalStyle>
carlos@0
    93
			<conditionExpression><![CDATA[new Boolean($V{PRODUCT_COUNT}.intValue()%2==1)]]></conditionExpression>
carlos@0
    94
			<style 
carlos@0
    95
				name="Detail_Line"
carlos@0
    96
				isDefault="false"
carlos@0
    97
				mode="Opaque"
carlos@0
    98
				backcolor="#CCCCCC"
carlos@0
    99
			/>
carlos@0
   100
		</conditionalStyle>
carlos@0
   101
	</style>
carlos@0
   102
	<style 
carlos@0
   103
		name="Total_Gray"
carlos@0
   104
		isDefault="false"
carlos@0
   105
		mode="Opaque"
carlos@0
   106
		forecolor="#000000"
carlos@0
   107
		backcolor="#CCCCCC"
carlos@0
   108
	/>
carlos@0
   109
carlos@0
   110
	<parameter name="ATTACH" isForPrompting="false" class="java.lang.String"/>
carlos@0
   111
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String"/>
carlos@0
   112
	<parameter name="BASE_DESIGN" isForPrompting="false" class="java.lang.String"/>
carlos@0
   113
	<parameter name="LANGUAGE" isForPrompting="false" class="java.lang.String">
carlos@0
   114
		<defaultValueExpression ><![CDATA["en_US"]]></defaultValueExpression>
carlos@0
   115
	</parameter>
carlos@0
   116
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String">
carlos@0
   117
		<defaultValueExpression ><![CDATA["(1000000)"]]></defaultValueExpression>
carlos@0
   118
	</parameter>
carlos@0
   119
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String">
carlos@0
   120
		<defaultValueExpression ><![CDATA["(0)"]]></defaultValueExpression>
carlos@0
   121
	</parameter>
carlos@0
   122
	<parameter name="REPORT_TITLE" isForPrompting="false" class="java.lang.String">
carlos@0
   123
		<defaultValueExpression ><![CDATA["REPORT TITLE"]]></defaultValueExpression>
carlos@0
   124
	</parameter>
carlos@0
   125
	<parameter name="REPORT_SUBTITLE" isForPrompting="false" class="java.lang.String"/>
carlos@0
   126
	<parameter name="DATE_FROM" isForPrompting="false" class="java.util.Date"/>
carlos@0
   127
	<parameter name="DATE_TO" isForPrompting="false" class="java.util.Date"/>
carlos@0
   128
	<parameter name="M_WAREHOUSE_ID" isForPrompting="false" class="java.lang.String"/>
carlos@0
   129
	<parameter name="NUMBERFORMAT" isForPrompting="false" class="java.text.DecimalFormat"/>
carlos@0
   130
	<parameter name="LOCALE" isForPrompting="false" class="java.util.Locale"/>
carlos@0
   131
	<queryString><![CDATA[SELECT SUM(INMOVEMENT) AS INMOVEMENT, SUM(INORDER) AS INORDER, SUM(OUTMOVEMENT) AS OUTMOVEMENT, SUM(OUTORDER) AS OUTORDER, 
carlos@0
   132
      SUM(INITIALMOVEMENT) AS INITIALMOVEMENT, SUM(INITIALORDER) AS INITIALORDER, 
carlos@0
   133
      A.WAREHOUSE, A.PRODUCT, A.UOM, A.CATEGORY_ID, (SUM(INITIALORDER) + SUM(INORDER) + SUM(OUTORDER)) AS OUTERORDER, A.MULTIPLYRATE, ((SUM(INITIALORDER) + SUM(INORDER) + SUM(OUTORDER))*A.MULTIPLYRATE) AS OUTERMOVEMENT
carlos@0
   134
      FROM (SELECT SUM(M_T_A.MOVEMENTQTY) AS INMOVEMENT, SUM(M_T_A.QUANTITYORDER) AS INORDER,
carlos@0
   135
      0 AS OUTMOVEMENT, 0 AS OUTORDER, 0 AS INITIALMOVEMENT, 0 AS INITIALORDER, 
carlos@0
   136
      M_WAREHOUSE.NAME AS WAREHOUSE, M_PRODUCT.NAME AS PRODUCT, C_UOM.NAME AS UOM, 
carlos@0
   137
      M_WAREHOUSE.M_WAREHOUSE_ID, M_PRODUCT.M_PRODUCT_ID, M_PRODUCT.M_PRODUCT_CATEGORY_ID AS CATEGORY_ID, C_UOM_CONVERSION.MULTIPLYRATE
carlos@0
   138
      FROM M_TRANSACTION M_T_A, M_LOCATOR, M_WAREHOUSE, M_PRODUCT, M_PRODUCT_UOM, C_UOM, C_UOM_CONVERSION
carlos@0
   139
      WHERE M_T_A.M_LOCATOR_ID = M_LOCATOR.M_LOCATOR_ID
carlos@0
   140
      AND M_LOCATOR.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID
carlos@0
   141
      AND M_T_A.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
carlos@0
   142
      AND M_T_A.M_PRODUCT_UOM_ID = M_PRODUCT_UOM.M_PRODUCT_UOM_ID
carlos@0
   143
      AND M_PRODUCT_UOM.C_UOM_ID = C_UOM.C_UOM_ID
carlos@0
   144
      AND C_UOM.C_UOM_ID = C_UOM_CONVERSION.C_UOM_ID
carlos@0
   145
      AND M_T_A.MOVEMENTDATE >= to_date('01/06/2006')
carlos@0
   146
--      AND M_T_A.MOVEMENTDATE < to_date('01/07/2006')
carlos@0
   147
      AND 1=1
carlos@0
   148
      AND M_T_A.MOVEMENTQTY > 0
carlos@0
   149
      GROUP BY M_WAREHOUSE.NAME, M_PRODUCT.NAME, C_UOM.NAME, M_WAREHOUSE.M_WAREHOUSE_ID, M_PRODUCT.M_PRODUCT_ID, 
carlos@0
   150
      M_PRODUCT.M_PRODUCT_CATEGORY_ID, C_UOM_CONVERSION.MULTIPLYRATE
carlos@0
   151
      UNION
carlos@0
   152
      SELECT 0 AS INMOVEMENT, 0 AS INORDER, SUM(M_T_B.MOVEMENTQTY) AS OUTMOVEMENT, 
carlos@0
   153
      SUM(M_T_B.QUANTITYORDER) AS OUTORDER, 0 AS INITIALMOVEMENT, 0 AS INITIALORDER, 
carlos@0
   154
      M_WAREHOUSE.NAME AS WAREHOUSE, M_PRODUCT.NAME AS PRODUCT, C_UOM.NAME AS UOM, 
carlos@0
   155
      M_WAREHOUSE.M_WAREHOUSE_ID, M_PRODUCT.M_PRODUCT_ID, M_PRODUCT.M_PRODUCT_CATEGORY_ID AS CATEGORY_ID, C_UOM_CONVERSION.MULTIPLYRATE
carlos@0
   156
      FROM M_TRANSACTION M_T_B, M_LOCATOR, M_WAREHOUSE, M_PRODUCT, M_PRODUCT_UOM, C_UOM, C_UOM_CONVERSION
carlos@0
   157
      WHERE M_T_B.M_LOCATOR_ID = M_LOCATOR.M_LOCATOR_ID
carlos@0
   158
      AND M_LOCATOR.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID
carlos@0
   159
      AND M_T_B.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
carlos@0
   160
      AND M_T_B.M_PRODUCT_UOM_ID = M_PRODUCT_UOM.M_PRODUCT_UOM_ID
carlos@0
   161
      AND M_PRODUCT_UOM.C_UOM_ID = C_UOM.C_UOM_ID
carlos@0
   162
      AND C_UOM.C_UOM_ID = C_UOM_CONVERSION.C_UOM_ID
carlos@0
   163
      AND 2=2
carlos@0
   164
      AND M_T_B.MOVEMENTDATE >= to_date('01/06/2006')
carlos@0
   165
--      AND M_T_B.MOVEMENTDATE < to_date('01/07/2006')
carlos@0
   166
      AND M_T_B.MOVEMENTQTY < 0
carlos@0
   167
      GROUP BY M_WAREHOUSE.NAME, M_PRODUCT.NAME, C_UOM.NAME, M_WAREHOUSE.M_WAREHOUSE_ID, M_PRODUCT.M_PRODUCT_ID, 
carlos@0
   168
      M_PRODUCT.M_PRODUCT_CATEGORY_ID, C_UOM_CONVERSION.MULTIPLYRATE
carlos@0
   169
      UNION
carlos@0
   170
      SELECT 0 AS INMOVEMENT, 0 AS INORDER, 0 AS OUTMOVEMENT, 0 AS OUTORDER, 
carlos@0
   171
      SUM(M_T_C.MOVEMENTQTY) AS INITIALMOVEMENT, SUM(M_T_C.QUANTITYORDER) AS INITIALORDER, 
carlos@0
   172
      M_WAREHOUSE.NAME AS WAREHOUSE, M_PRODUCT.NAME AS PRODUCT, C_UOM.NAME AS NAME, 
carlos@0
   173
      M_WAREHOUSE.M_WAREHOUSE_ID, M_PRODUCT.M_PRODUCT_ID, M_PRODUCT.M_PRODUCT_CATEGORY_ID AS CATEGORY_ID, C_UOM_CONVERSION.MULTIPLYRATE
carlos@0
   174
      FROM M_TRANSACTION M_T_C, M_LOCATOR, M_WAREHOUSE, M_PRODUCT, M_PRODUCT_UOM, C_UOM, C_UOM_CONVERSION
carlos@0
   175
      WHERE M_T_C.M_LOCATOR_ID = M_LOCATOR.M_LOCATOR_ID
carlos@0
   176
      AND M_LOCATOR.M_WAREHOUSE_ID = M_WAREHOUSE.M_WAREHOUSE_ID
carlos@0
   177
      AND M_T_C.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
carlos@0
   178
      AND M_T_C.M_PRODUCT_UOM_ID = M_PRODUCT_UOM.M_PRODUCT_UOM_ID
carlos@0
   179
      AND M_PRODUCT_UOM.C_UOM_ID = C_UOM.C_UOM_ID
carlos@0
   180
      AND C_UOM.C_UOM_ID = C_UOM_CONVERSION.C_UOM_ID
carlos@0
   181
      AND 3=3
carlos@0
   182
      AND M_T_C.MOVEMENTDATE >= to_date('01/06/2006')
carlos@0
   183
--      AND M_T_C.MOVEMENTDATE < to_date('01/07/2006')
carlos@0
   184
      GROUP BY M_WAREHOUSE.NAME, M_PRODUCT.NAME, C_UOM.NAME, M_WAREHOUSE.M_WAREHOUSE_ID, M_PRODUCT.M_PRODUCT_ID, 
carlos@0
   185
      M_PRODUCT.M_PRODUCT_CATEGORY_ID, C_UOM_CONVERSION.MULTIPLYRATE) A
carlos@0
   186
      GROUP BY A.PRODUCT, A.WAREHOUSE, A.UOM, A.CATEGORY_ID, A.MULTIPLYRATE
carlos@0
   187
      HAVING (CASE SUM(INORDER) WHEN 0 THEN (CASE SUM(INITIALORDER) WHEN 0 THEN (CASE SUM(OUTORDER) WHEN 0 THEN (CASE (SUM(INITIALORDER)+SUM(INORDER)+SUM(OUTORDER)) WHEN 0 THEN 0 ELSE 1 END) ELSE 1 END) ELSE 1 END) ELSE 1 END)<>0]]></queryString>
carlos@0
   188
carlos@0
   189
	<field name="INMOVEMENT" class="java.math.BigDecimal"/>
carlos@0
   190
	<field name="INORDER" class="java.math.BigDecimal"/>
carlos@0
   191
	<field name="OUTMOVEMENT" class="java.math.BigDecimal"/>
carlos@0
   192
	<field name="OUTORDER" class="java.math.BigDecimal"/>
carlos@0
   193
	<field name="INITIALMOVEMENT" class="java.math.BigDecimal"/>
carlos@0
   194
	<field name="INITIALORDER" class="java.math.BigDecimal"/>
carlos@0
   195
	<field name="WAREHOUSE" class="java.lang.String"/>
carlos@0
   196
	<field name="PRODUCT" class="java.lang.String"/>
carlos@0
   197
	<field name="UOM" class="java.lang.String"/>
carlos@0
   198
	<field name="CATEGORY_ID" class="java.math.BigDecimal"/>
carlos@0
   199
	<field name="OUTERORDER" class="java.math.BigDecimal"/>
carlos@0
   200
	<field name="MULTIPLYRATE" class="java.math.BigDecimal"/>
carlos@0
   201
	<field name="OUTERMOVEMENT" class="java.math.BigDecimal"/>
carlos@0
   202
carlos@0
   203
	<variable name="total" class="java.math.BigDecimal" resetType="Report" calculation="Sum">
carlos@0
   204
		<variableExpression><![CDATA[$F{OUTERMOVEMENT}]]></variableExpression>
carlos@0
   205
	</variable>
carlos@0
   206
	<variable name="TotalReport" class="java.math.BigDecimal" resetType="Report" incrementType="Report" calculation="Sum">
carlos@0
   207
		<variableExpression><![CDATA[$V{total}]]></variableExpression>
carlos@0
   208
	</variable>
carlos@0
   209
carlos@0
   210
		<group  name="WAREHOUSE" >
carlos@0
   211
			<groupExpression><![CDATA[$F{WAREHOUSE}]]></groupExpression>
carlos@0
   212
			<groupHeader>
carlos@0
   213
			<band height="33"  isSplitAllowed="true" >
carlos@0
   214
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   215
					<reportElement
carlos@0
   216
						style="GroupHeader_DarkGray"
carlos@0
   217
						x="0"
carlos@0
   218
						y="-1"
carlos@0
   219
						width="535"
carlos@0
   220
						height="23"
carlos@0
   221
						key="textField"/>
carlos@0
   222
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   223
					<textElement>
carlos@0
   224
						<font fontName="Bitstream Vera Sans" pdfFontName="Helvetica"/>
carlos@0
   225
					</textElement>
carlos@0
   226
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{WAREHOUSE}]]></textFieldExpression>
carlos@0
   227
				</textField>
carlos@0
   228
				<line direction="TopDown">
carlos@0
   229
					<reportElement
carlos@0
   230
						x="0"
carlos@0
   231
						y="0"
carlos@0
   232
						width="0"
carlos@0
   233
						height="32"
carlos@0
   234
						forecolor="#555555"
carlos@0
   235
						key="line-2"
carlos@0
   236
						stretchType="RelativeToBandHeight"/>
carlos@0
   237
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   238
				</line>
carlos@0
   239
				<line direction="TopDown">
carlos@0
   240
					<reportElement
carlos@0
   241
						x="535"
carlos@0
   242
						y="0"
carlos@0
   243
						width="0"
carlos@0
   244
						height="32"
carlos@0
   245
						forecolor="#555555"
carlos@0
   246
						key="line-3"
carlos@0
   247
						stretchType="RelativeToBandHeight"/>
carlos@0
   248
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   249
				</line>
carlos@0
   250
			</band>
carlos@0
   251
			</groupHeader>
carlos@0
   252
			<groupFooter>
carlos@0
   253
			<band height="40"  isSplitAllowed="true" >
carlos@0
   254
				<line direction="TopDown">
carlos@0
   255
					<reportElement
carlos@0
   256
						x="0"
carlos@0
   257
						y="0"
carlos@0
   258
						width="0"
carlos@0
   259
						height="10"
carlos@0
   260
						forecolor="#555555"
carlos@0
   261
						key="line-32"
carlos@0
   262
						stretchType="RelativeToBandHeight"/>
carlos@0
   263
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   264
				</line>
carlos@0
   265
				<line direction="TopDown">
carlos@0
   266
					<reportElement
carlos@0
   267
						x="535"
carlos@0
   268
						y="0"
carlos@0
   269
						width="0"
carlos@0
   270
						height="10"
carlos@0
   271
						forecolor="#555555"
carlos@0
   272
						key="line-33"
carlos@0
   273
						stretchType="RelativeToBandHeight"/>
carlos@0
   274
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   275
				</line>
carlos@0
   276
				<line direction="TopDown">
carlos@0
   277
					<reportElement
carlos@0
   278
						x="0"
carlos@0
   279
						y="9"
carlos@0
   280
						width="535"
carlos@0
   281
						height="0"
carlos@0
   282
						forecolor="#555555"
carlos@0
   283
						key="line-34"/>
carlos@0
   284
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   285
				</line>
carlos@0
   286
				<staticText>
carlos@0
   287
					<reportElement
carlos@0
   288
						style="default"
carlos@0
   289
						x="380"
carlos@0
   290
						y="11"
carlos@0
   291
						width="74"
carlos@0
   292
						height="16"
carlos@0
   293
						key="staticText-4">
carlos@0
   294
							<printWhenExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()==1)]]></printWhenExpression>
carlos@0
   295
						</reportElement>
carlos@0
   296
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   297
					<textElement textAlignment="Right">
carlos@0
   298
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   299
					</textElement>
carlos@0
   300
				<text><![CDATA[Total:]]></text>
carlos@0
   301
				</staticText>
carlos@0
   302
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   303
					<reportElement
carlos@0
   304
						style="Total_Field"
carlos@0
   305
						x="454"
carlos@0
   306
						y="11"
carlos@0
   307
						width="80"
carlos@0
   308
						height="16"
carlos@0
   309
						key="textField-8"/>
carlos@0
   310
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   311
					<textElement>
carlos@0
   312
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   313
					</textElement>
carlos@0
   314
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{TotalReport}!=null)?$P{NUMBERFORMAT}.format($V{TotalReport}):new String(" ")]]></textFieldExpression>
carlos@0
   315
				</textField>
carlos@0
   316
			</band>
carlos@0
   317
			</groupFooter>
carlos@0
   318
		</group>
carlos@0
   319
		<group  name="PRODUCT" >
carlos@0
   320
			<groupExpression><![CDATA[$F{PRODUCT}]]></groupExpression>
carlos@0
   321
			<groupHeader>
carlos@0
   322
			<band height="45"  isSplitAllowed="true" >
carlos@0
   323
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   324
					<reportElement
carlos@0
   325
						style="GroupHeader_DarkGray"
carlos@0
   326
						x="10"
carlos@0
   327
						y="-1"
carlos@0
   328
						width="525"
carlos@0
   329
						height="25"
carlos@0
   330
						key="textField"/>
carlos@0
   331
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   332
					<textElement>
carlos@0
   333
						<font fontName="Bitstream Vera Sans" pdfFontName="Helvetica" isBold="false"/>
carlos@0
   334
					</textElement>
carlos@0
   335
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{PRODUCT}]]></textFieldExpression>
carlos@0
   336
				</textField>
carlos@0
   337
				<line direction="TopDown">
carlos@0
   338
					<reportElement
carlos@0
   339
						x="10"
carlos@0
   340
						y="0"
carlos@0
   341
						width="0"
carlos@0
   342
						height="44"
carlos@0
   343
						forecolor="#555555"
carlos@0
   344
						key="line-4"
carlos@0
   345
						stretchType="RelativeToBandHeight"/>
carlos@0
   346
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   347
				</line>
carlos@0
   348
				<line direction="TopDown">
carlos@0
   349
					<reportElement
carlos@0
   350
						x="535"
carlos@0
   351
						y="0"
carlos@0
   352
						width="0"
carlos@0
   353
						height="45"
carlos@0
   354
						forecolor="#555555"
carlos@0
   355
						key="line-6"
carlos@0
   356
						stretchType="RelativeToBandHeight"/>
carlos@0
   357
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   358
				</line>
carlos@0
   359
				<line direction="TopDown">
carlos@0
   360
					<reportElement
carlos@0
   361
						x="0"
carlos@0
   362
						y="0"
carlos@0
   363
						width="0"
carlos@0
   364
						height="45"
carlos@0
   365
						forecolor="#555555"
carlos@0
   366
						key="line-8"
carlos@0
   367
						stretchType="RelativeToBandHeight"/>
carlos@0
   368
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   369
				</line>
carlos@0
   370
				<staticText>
carlos@0
   371
					<reportElement
carlos@0
   372
						style="Detail_Header"
carlos@0
   373
						x="20"
carlos@0
   374
						y="29"
carlos@0
   375
						width="138"
carlos@0
   376
						height="16"
carlos@0
   377
						key="element-1"/>
carlos@0
   378
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   379
					<textElement>
carlos@0
   380
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   381
					</textElement>
carlos@0
   382
				<text><![CDATA[M2/ROLL]]></text>
carlos@0
   383
				</staticText>
carlos@0
   384
				<staticText>
carlos@0
   385
					<reportElement
carlos@0
   386
						style="Detail_Header"
carlos@0
   387
						x="158"
carlos@0
   388
						y="29"
carlos@0
   389
						width="74"
carlos@0
   390
						height="16"
carlos@0
   391
						key="element-2"/>
carlos@0
   392
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   393
					<textElement>
carlos@0
   394
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   395
					</textElement>
carlos@0
   396
				<text><![CDATA[ROLLS]]></text>
carlos@0
   397
				</staticText>
carlos@0
   398
				<staticText>
carlos@0
   399
					<reportElement
carlos@0
   400
						style="Detail_Header"
carlos@0
   401
						x="232"
carlos@0
   402
						y="29"
carlos@0
   403
						width="74"
carlos@0
   404
						height="16"
carlos@0
   405
						key="element-3"/>
carlos@0
   406
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   407
					<textElement>
carlos@0
   408
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   409
					</textElement>
carlos@0
   410
				<text><![CDATA[INCOMINGS]]></text>
carlos@0
   411
				</staticText>
carlos@0
   412
				<staticText>
carlos@0
   413
					<reportElement
carlos@0
   414
						style="Detail_Header"
carlos@0
   415
						x="306"
carlos@0
   416
						y="29"
carlos@0
   417
						width="74"
carlos@0
   418
						height="16"
carlos@0
   419
						key="element-4"/>
carlos@0
   420
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   421
					<textElement>
carlos@0
   422
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   423
					</textElement>
carlos@0
   424
				<text><![CDATA[OUTGOINGS]]></text>
carlos@0
   425
				</staticText>
carlos@0
   426
				<staticText>
carlos@0
   427
					<reportElement
carlos@0
   428
						style="Detail_Header"
carlos@0
   429
						x="380"
carlos@0
   430
						y="29"
carlos@0
   431
						width="74"
carlos@0
   432
						height="16"
carlos@0
   433
						key="element-5"/>
carlos@0
   434
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   435
					<textElement>
carlos@0
   436
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   437
					</textElement>
carlos@0
   438
				<text><![CDATA[ROLLS]]></text>
carlos@0
   439
				</staticText>
carlos@0
   440
				<staticText>
carlos@0
   441
					<reportElement
carlos@0
   442
						style="Detail_Header"
carlos@0
   443
						x="454"
carlos@0
   444
						y="29"
carlos@0
   445
						width="80"
carlos@0
   446
						height="16"
carlos@0
   447
						key="element-6"/>
carlos@0
   448
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   449
					<textElement>
carlos@0
   450
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   451
					</textElement>
carlos@0
   452
				<text><![CDATA[M2]]></text>
carlos@0
   453
				</staticText>
carlos@0
   454
			</band>
carlos@0
   455
			</groupHeader>
carlos@0
   456
			<groupFooter>
carlos@0
   457
			<band height="37"  isSplitAllowed="true" >
carlos@0
   458
				<line direction="TopDown">
carlos@0
   459
					<reportElement
carlos@0
   460
						x="0"
carlos@0
   461
						y="0"
carlos@0
   462
						width="0"
carlos@0
   463
						height="37"
carlos@0
   464
						forecolor="#555555"
carlos@0
   465
						key="line-28"
carlos@0
   466
						stretchType="RelativeToBandHeight"/>
carlos@0
   467
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   468
				</line>
carlos@0
   469
				<line direction="TopDown">
carlos@0
   470
					<reportElement
carlos@0
   471
						x="10"
carlos@0
   472
						y="0"
carlos@0
   473
						width="0"
carlos@0
   474
						height="25"
carlos@0
   475
						forecolor="#555555"
carlos@0
   476
						key="line-29"
carlos@0
   477
						stretchType="RelativeToBandHeight"/>
carlos@0
   478
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   479
				</line>
carlos@0
   480
				<line direction="TopDown">
carlos@0
   481
					<reportElement
carlos@0
   482
						x="535"
carlos@0
   483
						y="0"
carlos@0
   484
						width="0"
carlos@0
   485
						height="37"
carlos@0
   486
						forecolor="#555555"
carlos@0
   487
						key="line-30"
carlos@0
   488
						stretchType="RelativeToBandHeight"/>
carlos@0
   489
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   490
				</line>
carlos@0
   491
				<line direction="TopDown">
carlos@0
   492
					<reportElement
carlos@0
   493
						x="10"
carlos@0
   494
						y="25"
carlos@0
   495
						width="525"
carlos@0
   496
						height="0"
carlos@0
   497
						forecolor="#555555"
carlos@0
   498
						key="line-31"/>
carlos@0
   499
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   500
				</line>
carlos@0
   501
				<line direction="TopDown">
carlos@0
   502
					<reportElement
carlos@0
   503
						x="20"
carlos@0
   504
						y="0"
carlos@0
   505
						width="514"
carlos@0
   506
						height="0"
carlos@0
   507
						key="line-35"/>
carlos@0
   508
					<graphicElement stretchType="NoStretch" pen="Thin"/>
carlos@0
   509
				</line>
carlos@0
   510
				<staticText>
carlos@0
   511
					<reportElement
carlos@0
   512
						x="380"
carlos@0
   513
						y="2"
carlos@0
   514
						width="74"
carlos@0
   515
						height="16"
carlos@0
   516
						key="staticText-7"/>
carlos@0
   517
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   518
					<textElement textAlignment="Right" verticalAlignment="Middle">
carlos@0
   519
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   520
					</textElement>
carlos@0
   521
				<text><![CDATA[Subtotal:]]></text>
carlos@0
   522
				</staticText>
carlos@0
   523
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   524
					<reportElement
carlos@0
   525
						style="Total_Field"
carlos@0
   526
						x="454"
carlos@0
   527
						y="2"
carlos@0
   528
						width="80"
carlos@0
   529
						height="16"
carlos@0
   530
						key="textField-10">
carlos@0
   531
							<printWhenExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()==1)]]></printWhenExpression>
carlos@0
   532
						</reportElement>
carlos@0
   533
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   534
					<textElement>
carlos@0
   535
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   536
					</textElement>
carlos@0
   537
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{total}!=null)?$P{NUMBERFORMAT}.format($V{total}):new String(" ")]]></textFieldExpression>
carlos@0
   538
				</textField>
carlos@0
   539
			</band>
carlos@0
   540
			</groupFooter>
carlos@0
   541
		</group>
carlos@0
   542
		<background>
carlos@0
   543
			<band height="0"  isSplitAllowed="true" >
carlos@0
   544
			</band>
carlos@0
   545
		</background>
carlos@0
   546
		<title>
carlos@0
   547
			<band height="20"  isSplitAllowed="true" >
carlos@0
   548
			</band>
carlos@0
   549
		</title>
carlos@0
   550
		<pageHeader>
carlos@0
   551
			<band height="75"  isSplitAllowed="true" >
carlos@0
   552
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   553
					<reportElement
carlos@0
   554
						style="Report_Title"
carlos@0
   555
						mode="Transparent"
carlos@0
   556
						x="0"
carlos@0
   557
						y="0"
carlos@0
   558
						width="535"
carlos@0
   559
						height="21"
carlos@0
   560
						key="textField"/>
carlos@0
   561
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   562
					<textElement>
carlos@0
   563
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   564
					</textElement>
carlos@0
   565
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORT_TITLE}]]></textFieldExpression>
carlos@0
   566
				</textField>
carlos@0
   567
				<line direction="TopDown">
carlos@0
   568
					<reportElement
carlos@0
   569
						x="0"
carlos@0
   570
						y="22"
carlos@0
   571
						width="535"
carlos@0
   572
						height="0"
carlos@0
   573
						key="line-1"/>
carlos@0
   574
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   575
				</line>
carlos@0
   576
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   577
					<reportElement
carlos@0
   578
						style="Report_Subtitle"
carlos@0
   579
						x="0"
carlos@0
   580
						y="24"
carlos@0
   581
						width="535"
carlos@0
   582
						height="20"
carlos@0
   583
						key="textField"/>
carlos@0
   584
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   585
					<textElement>
carlos@0
   586
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   587
					</textElement>
carlos@0
   588
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORT_SUBTITLE}]]></textFieldExpression>
carlos@0
   589
				</textField>
carlos@0
   590
				<staticText>
carlos@0
   591
					<reportElement
carlos@0
   592
						style="default"
carlos@0
   593
						x="380"
carlos@0
   594
						y="57"
carlos@0
   595
						width="74"
carlos@0
   596
						height="16"
carlos@0
   597
						key="staticText-6"/>
carlos@0
   598
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   599
					<textElement textAlignment="Right">
carlos@0
   600
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   601
					</textElement>
carlos@0
   602
				<text><![CDATA[Total:]]></text>
carlos@0
   603
				</staticText>
carlos@0
   604
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   605
					<reportElement
carlos@0
   606
						style="Total_Field"
carlos@0
   607
						x="454"
carlos@0
   608
						y="57"
carlos@0
   609
						width="80"
carlos@0
   610
						height="16"
carlos@0
   611
						key="textField-9"/>
carlos@0
   612
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   613
					<textElement>
carlos@0
   614
						<font fontName="Bitstream Vera Sans"/>
carlos@0
   615
					</textElement>
carlos@0
   616
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{TotalReport}!=null)?$P{NUMBERFORMAT}.format($V{TotalReport}):new String(" ")]]></textFieldExpression>
carlos@0
   617
				</textField>
carlos@0
   618
			</band>
carlos@0
   619
		</pageHeader>
carlos@0
   620
		<columnHeader>
carlos@0
   621
			<band height="0"  isSplitAllowed="true" >
carlos@0
   622
			</band>
carlos@0
   623
		</columnHeader>
carlos@0
   624
		<detail>
carlos@0
   625
			<band height="16"  isSplitAllowed="true" >
carlos@0
   626
				<line direction="TopDown">
carlos@0
   627
					<reportElement
carlos@0
   628
						x="535"
carlos@0
   629
						y="0"
carlos@0
   630
						width="0"
carlos@0
   631
						height="16"
carlos@0
   632
						forecolor="#555555"
carlos@0
   633
						key="line-16"
carlos@0
   634
						stretchType="RelativeToBandHeight"/>
carlos@0
   635
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   636
				</line>
carlos@0
   637
				<line direction="TopDown">
carlos@0
   638
					<reportElement
carlos@0
   639
						x="0"
carlos@0
   640
						y="0"
carlos@0
   641
						width="0"
carlos@0
   642
						height="16"
carlos@0
   643
						forecolor="#555555"
carlos@0
   644
						key="line-17"
carlos@0
   645
						stretchType="RelativeToBandHeight"/>
carlos@0
   646
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   647
				</line>
carlos@0
   648
				<line direction="TopDown">
carlos@0
   649
					<reportElement
carlos@0
   650
						x="10"
carlos@0
   651
						y="0"
carlos@0
   652
						width="0"
carlos@0
   653
						height="16"
carlos@0
   654
						forecolor="#555555"
carlos@0
   655
						key="line-18"
carlos@0
   656
						stretchType="RelativeToBandHeight"/>
carlos@0
   657
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   658
				</line>
carlos@0
   659
				<frame>					<reportElement
carlos@0
   660
						x="20"
carlos@0
   661
						y="0"
carlos@0
   662
						width="515"
carlos@0
   663
						height="16"
carlos@0
   664
						key="frame-1"/>
carlos@0
   665
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   666
				</frame>				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   667
					<reportElement
carlos@0
   668
						x="20"
carlos@0
   669
						y="0"
carlos@0
   670
						width="138"
carlos@0
   671
						height="16"
carlos@0
   672
						key="textField"
carlos@0
   673
						stretchType="RelativeToBandHeight"/>
carlos@0
   674
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   675
					<textElement verticalAlignment="Middle">
carlos@0
   676
						<font fontName="Bitstream Vera Sans" size="12"/>
carlos@0
   677
					</textElement>
carlos@0
   678
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{UOM}]]></textFieldExpression>
carlos@0
   679
				</textField>
carlos@0
   680
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   681
					<reportElement
carlos@0
   682
						x="158"
carlos@0
   683
						y="0"
carlos@0
   684
						width="74"
carlos@0
   685
						height="16"
carlos@0
   686
						key="textField"
carlos@0
   687
						stretchType="RelativeToBandHeight"/>
carlos@0
   688
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   689
					<textElement verticalAlignment="Middle">
carlos@0
   690
						<font fontName="Bitstream Vera Sans" size="12"/>
carlos@0
   691
					</textElement>
carlos@0
   692
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{MULTIPLYRATE}!=null)?$P{NUMBERFORMAT}.format($F{MULTIPLYRATE}):new String(" ")]]></textFieldExpression>
carlos@0
   693
				</textField>
carlos@0
   694
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   695
					<reportElement
carlos@0
   696
						x="232"
carlos@0
   697
						y="0"
carlos@0
   698
						width="74"
carlos@0
   699
						height="16"
carlos@0
   700
						key="textField"
carlos@0
   701
						stretchType="RelativeToBandHeight"/>
carlos@0
   702
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   703
					<textElement verticalAlignment="Middle">
carlos@0
   704
						<font fontName="Bitstream Vera Sans" size="12"/>
carlos@0
   705
					</textElement>
carlos@0
   706
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{INITIALORDER}!=null)?$P{NUMBERFORMAT}.format($F{INITIALORDER}):new String(" ")]]></textFieldExpression>
carlos@0
   707
				</textField>
carlos@0
   708
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   709
					<reportElement
carlos@0
   710
						x="306"
carlos@0
   711
						y="0"
carlos@0
   712
						width="74"
carlos@0
   713
						height="16"
carlos@0
   714
						key="textField"
carlos@0
   715
						stretchType="RelativeToBandHeight"/>
carlos@0
   716
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   717
					<textElement verticalAlignment="Middle">
carlos@0
   718
						<font fontName="Bitstream Vera Sans" size="12"/>
carlos@0
   719
					</textElement>
carlos@0
   720
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{INORDER}!=null)?$P{NUMBERFORMAT}.format($F{INORDER}):new String(" ")]]></textFieldExpression>
carlos@0
   721
				</textField>
carlos@0
   722
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   723
					<reportElement
carlos@0
   724
						x="379"
carlos@0
   725
						y="0"
carlos@0
   726
						width="75"
carlos@0
   727
						height="16"
carlos@0
   728
						key="textField"
carlos@0
   729
						stretchType="RelativeToBandHeight"/>
carlos@0
   730
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   731
					<textElement verticalAlignment="Middle">
carlos@0
   732
						<font fontName="Bitstream Vera Sans" size="12"/>
carlos@0
   733
					</textElement>
carlos@0
   734
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{OUTORDER}!=null)?$P{NUMBERFORMAT}.format($F{OUTORDER}):new String(" ")]]></textFieldExpression>
carlos@0
   735
				</textField>
carlos@0
   736
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   737
					<reportElement
carlos@0
   738
						mode="Transparent"
carlos@0
   739
						x="454"
carlos@0
   740
						y="0"
carlos@0
   741
						width="79"
carlos@0
   742
						height="16"
carlos@0
   743
						key="textField"
carlos@0
   744
						stretchType="RelativeToBandHeight"/>
carlos@0
   745
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   746
					<textElement verticalAlignment="Middle">
carlos@0
   747
						<font fontName="Bitstream Vera Sans" size="12"/>
carlos@0
   748
					</textElement>
carlos@0
   749
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{OUTERMOVEMENT}!=null)?$P{NUMBERFORMAT}.format($F{OUTERMOVEMENT}):new String(" ")]]></textFieldExpression>
carlos@0
   750
				</textField>
carlos@0
   751
			</band>
carlos@0
   752
		</detail>
carlos@0
   753
		<columnFooter>
carlos@0
   754
			<band height="33"  isSplitAllowed="true" >
carlos@0
   755
			</band>
carlos@0
   756
		</columnFooter>
carlos@0
   757
		<pageFooter>
carlos@0
   758
			<band height="27"  isSplitAllowed="true" >
carlos@0
   759
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   760
					<reportElement
carlos@0
   761
						x="400"
carlos@0
   762
						y="4"
carlos@0
   763
						width="95"
carlos@0
   764
						height="19"
carlos@0
   765
						key="textField"/>
carlos@0
   766
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   767
					<textElement textAlignment="Right" verticalAlignment="Middle">
carlos@0
   768
						<font fontName="Helvetica" size="10"/>
carlos@0
   769
					</textElement>
carlos@0
   770
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
carlos@0
   771
				</textField>
carlos@0
   772
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   773
					<reportElement
carlos@0
   774
						x="499"
carlos@0
   775
						y="4"
carlos@0
   776
						width="36"
carlos@0
   777
						height="19"
carlos@0
   778
						forecolor="#000000"
carlos@0
   779
						backcolor="#FFFFFF"
carlos@0
   780
						key="textField"/>
carlos@0
   781
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   782
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
carlos@0
   783
						<font fontName="Helvetica" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
carlos@0
   784
					</textElement>
carlos@0
   785
				<textFieldExpression   class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
carlos@0
   786
				</textField>
carlos@0
   787
				<line direction="TopDown">
carlos@0
   788
					<reportElement
carlos@0
   789
						x="0"
carlos@0
   790
						y="1"
carlos@0
   791
						width="535"
carlos@0
   792
						height="0"
carlos@0
   793
						forecolor="#000000"
carlos@0
   794
						key="line"/>
carlos@0
   795
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   796
				</line>
carlos@0
   797
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   798
					<reportElement
carlos@0
   799
						x="277"
carlos@0
   800
						y="4"
carlos@0
   801
						width="69"
carlos@0
   802
						height="19"
carlos@0
   803
						key="textField"/>
carlos@0
   804
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   805
					<textElement verticalAlignment="Middle">
carlos@0
   806
						<font fontName="Times-Roman" size="10"/>
carlos@0
   807
					</textElement>
carlos@0
   808
				<textFieldExpression   class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
carlos@0
   809
				</textField>
carlos@0
   810
				<staticText>
carlos@0
   811
					<reportElement
carlos@0
   812
						x="213"
carlos@0
   813
						y="4"
carlos@0
   814
						width="60"
carlos@0
   815
						height="19"
carlos@0
   816
						key="staticText-1"/>
carlos@0
   817
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   818
					<textElement textAlignment="Right">
carlos@0
   819
						<font/>
carlos@0
   820
					</textElement>
carlos@0
   821
				<text><![CDATA[Printed on]]></text>
carlos@0
   822
				</staticText>
carlos@0
   823
			</band>
carlos@0
   824
		</pageFooter>
carlos@0
   825
		<summary>
carlos@0
   826
			<band height="0"  isSplitAllowed="true" >
carlos@0
   827
			</band>
carlos@0
   828
		</summary>
carlos@0
   829
</jasperReport>