src/org/openbravo/erpCommon/ad_reports/ReportShipmentEdition.jrxml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 726 dac2a1486bd3
child 2199 efd783b991af
permissions -rw-r--r--
Removed old frame parameter of windowTableId
juanpablo@726
     1
<?xml version="1.0" encoding="UTF-8"  ?>
juanpablo@726
     2
<!-- Created with iReport - A designer for JasperReports -->
juanpablo@726
     3
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
juanpablo@726
     4
<jasperReport
juanpablo@726
     5
		 name="ReportShipmentEdition"
juanpablo@726
     6
		 columnCount="1"
juanpablo@726
     7
		 printOrder="Vertical"
juanpablo@726
     8
		 orientation="Portrait"
juanpablo@726
     9
		 pageWidth="595"
juanpablo@726
    10
		 pageHeight="842"
juanpablo@726
    11
		 columnWidth="535"
juanpablo@726
    12
		 columnSpacing="0"
juanpablo@726
    13
		 leftMargin="30"
juanpablo@726
    14
		 rightMargin="30"
juanpablo@726
    15
		 topMargin="20"
juanpablo@726
    16
		 bottomMargin="20"
juanpablo@726
    17
		 whenNoDataType="NoPages"
juanpablo@726
    18
		 isTitleNewPage="false"
juanpablo@726
    19
		 isSummaryNewPage="false">
juanpablo@726
    20
	<property name="ireport.scriptlethandling" value="0" />
juanpablo@726
    21
	<property name="ireport.encoding" value="UTF-8" />
juanpablo@726
    22
	<import value="java.util.*" />
juanpablo@726
    23
	<import value="net.sf.jasperreports.engine.*" />
juanpablo@726
    24
	<import value="net.sf.jasperreports.engine.data.*" />
juanpablo@726
    25
juanpablo@726
    26
	<style 
juanpablo@726
    27
		name="default"
juanpablo@726
    28
		isDefault="false"
juanpablo@726
    29
		vAlign="Middle"
juanpablo@726
    30
		fontName="Bitstream Vera Sans"
juanpablo@726
    31
		fontSize="10"
juanpablo@726
    32
	/>
juanpablo@726
    33
	<style 
juanpablo@726
    34
		name="Report_Title"
juanpablo@726
    35
		isDefault="false"
juanpablo@726
    36
		leftPadding="5"
juanpablo@726
    37
		fontName="Bitstream Vera Sans"
juanpablo@726
    38
		fontSize="18"
juanpablo@726
    39
	/>
juanpablo@726
    40
	<style 
juanpablo@726
    41
		name="Report_Subtitle"
juanpablo@726
    42
		isDefault="false"
juanpablo@726
    43
		forecolor="#555555"
juanpablo@726
    44
		leftPadding="5"
juanpablo@726
    45
		fontName="Bitstream Vera Sans"
juanpablo@726
    46
		fontSize="14"
juanpablo@726
    47
	/>
juanpablo@726
    48
	<style 
juanpablo@726
    49
		name="Total_Field"
juanpablo@726
    50
		isDefault="false"
juanpablo@726
    51
		mode="Opaque"
juanpablo@726
    52
		forecolor="#000000"
juanpablo@726
    53
		backcolor="#CCCCCC"
juanpablo@726
    54
		vAlign="Middle"
juanpablo@726
    55
		leftPadding="5"
juanpablo@726
    56
	/>
juanpablo@726
    57
	<style 
juanpablo@726
    58
		name="Detail_Header"
juanpablo@726
    59
		isDefault="false"
juanpablo@726
    60
		mode="Opaque"
juanpablo@726
    61
		forecolor="#FFFFFF"
juanpablo@726
    62
		backcolor="#555555"
juanpablo@726
    63
		vAlign="Middle"
juanpablo@726
    64
		leftBorder="1Point"
juanpablo@726
    65
		leftBorderColor="#FFFFFF"
juanpablo@726
    66
		leftPadding="5"
juanpablo@726
    67
		rightBorder="1Point"
juanpablo@726
    68
		rightBorderColor="#FFFFFF"
juanpablo@726
    69
	/>
juanpablo@726
    70
	<style 
juanpablo@726
    71
		name="GroupHeader_DarkGray"
juanpablo@726
    72
		isDefault="false"
juanpablo@726
    73
		mode="Opaque"
juanpablo@726
    74
		forecolor="#FFFFFF"
juanpablo@726
    75
		backcolor="#555555"
juanpablo@726
    76
		vAlign="Middle"
juanpablo@726
    77
		leftPadding="5"
juanpablo@726
    78
		fontName="Bitstream Vera Sans"
juanpablo@726
    79
		fontSize="14"
juanpablo@726
    80
	/>
juanpablo@726
    81
	<style 
juanpablo@726
    82
		name="GroupHeader_Gray"
juanpablo@726
    83
		isDefault="false"
juanpablo@726
    84
		mode="Opaque"
juanpablo@726
    85
		backcolor="#999999"
juanpablo@726
    86
	/>
juanpablo@726
    87
	<style 
juanpablo@726
    88
		name="Detail_Line"
juanpablo@726
    89
		isDefault="false"
juanpablo@726
    90
	>
juanpablo@726
    91
juanpablo@726
    92
		<conditionalStyle>
juanpablo@726
    93
			<conditionExpression><![CDATA[new Boolean($V{DOCUMENTNO_COUNT}.intValue()%2==0)]]></conditionExpression>
juanpablo@726
    94
			<style 
juanpablo@726
    95
				name="Detail_Line"
juanpablo@726
    96
				isDefault="false"
juanpablo@726
    97
				mode="Opaque"
juanpablo@726
    98
				backcolor="#CCCCCC"
juanpablo@726
    99
			/>
juanpablo@726
   100
		</conditionalStyle>
juanpablo@726
   101
	</style>
juanpablo@726
   102
	<style 
juanpablo@726
   103
		name="Total_Gray"
juanpablo@726
   104
		isDefault="false"
juanpablo@726
   105
		mode="Opaque"
juanpablo@726
   106
		forecolor="#000000"
juanpablo@726
   107
		backcolor="#CCCCCC"
juanpablo@726
   108
	/>
juanpablo@726
   109
juanpablo@726
   110
	<parameter name="ATTACH" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   111
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   112
	<parameter name="BASE_DESIGN" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   113
	<parameter name="LANGUAGE" isForPrompting="false" class="java.lang.String">
juanpablo@726
   114
		<defaultValueExpression ><![CDATA["en_US"]]></defaultValueExpression>
juanpablo@726
   115
	</parameter>
juanpablo@726
   116
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String">
juanpablo@726
   117
		<defaultValueExpression ><![CDATA["(1000000)"]]></defaultValueExpression>
juanpablo@726
   118
	</parameter>
juanpablo@726
   119
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String">
juanpablo@726
   120
		<defaultValueExpression ><![CDATA["(0)"]]></defaultValueExpression>
juanpablo@726
   121
	</parameter>
juanpablo@726
   122
	<parameter name="REPORT_TITLE" isForPrompting="false" class="java.lang.String">
juanpablo@726
   123
		<defaultValueExpression ><![CDATA["REPORT TITLE"]]></defaultValueExpression>
juanpablo@726
   124
	</parameter>
juanpablo@726
   125
	<parameter name="REPORT_SUBTITLE" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   126
	<parameter name="NUMBERFORMAT" isForPrompting="false" class="java.text.DecimalFormat"/>
juanpablo@726
   127
	<parameter name="LOCALE" isForPrompting="false" class="java.util.Locale"/>
carlos@0
   128
	<queryString><![CDATA[SELECT M_INOUT.DOCUMENTNO AS DOCUMENTNO, M_INOUT.MOVEMENTDATE AS MOVEMENTDATE, C_BPARTNER.NAME AS CLIENT_NAME, M_PRODUCT.NAME AS PRODUCT_NAME, SUM(M_INOUTLINE.MOVEMENTQTY) AS QUANTITYORDER, C_UOM.NAME AS UOMNAME
carlos@0
   129
      FROM M_INOUT, M_INOUTLINE, C_BPARTNER, M_PRODUCT, C_UOM
carlos@0
   130
      WHERE M_INOUT.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID
carlos@0
   131
      AND M_INOUT.M_INOUT_ID = M_INOUTLINE.M_INOUT_ID
carlos@0
   132
      AND M_INOUTLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
carlos@0
   133
      AND M_INOUTLINE.C_UOM_ID = C_UOM.C_UOM_ID
carlos@0
   134
      --AND M_INOUT.AD_ORG_ID IN ('1')
carlos@0
   135
      --AND M_INOUT.AD_CLIENT_ID IN ('1')
carlos@0
   136
      AND 1=1
carlos@0
   137
      AND M_INOUT.ISSOTRX = 'Y'
carlos@0
   138
      GROUP BY C_BPARTNER.NAME, M_PRODUCT.NAME, C_UOM.NAME, M_INOUT.DOCUMENTNO, M_INOUT.MOVEMENTDATE
juanpablo@726
   139
      ORDER BY C_BPARTNER.NAME, M_INOUT.MOVEMENTDATE]]></queryString>
juanpablo@726
   140
juanpablo@726
   141
	<field name="DOCUMENTNO" class="java.lang.String"/>
juanpablo@726
   142
	<field name="MOVEMENTDATE" class="java.util.Date"/>
juanpablo@726
   143
	<field name="CLIENT_NAME" class="java.lang.String"/>
juanpablo@726
   144
	<field name="PRODUCT_NAME" class="java.lang.String"/>
juanpablo@726
   145
	<field name="QUANTITYORDER" class="java.math.BigDecimal"/>
juanpablo@726
   146
	<field name="UOMNAME" class="java.lang.String"/>
juanpablo@726
   147
juanpablo@726
   148
juanpablo@726
   149
		<group  name="CLIENT_NAME" >
juanpablo@726
   150
			<groupExpression><![CDATA[$F{CLIENT_NAME}]]></groupExpression>
juanpablo@726
   151
			<groupHeader>
juanpablo@726
   152
			<band height="33"  isSplitAllowed="true" >
juanpablo@726
   153
				<staticText>
carlos@0
   154
					<reportElement
carlos@0
   155
						style="GroupHeader_DarkGray"
carlos@0
   156
						x="0"
carlos@0
   157
						y="0"
carlos@0
   158
						width="120"
carlos@0
   159
						height="23"
juanpablo@726
   160
						key="staticText"/>
juanpablo@726
   161
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   162
					<textElement>
juanpablo@726
   163
						<font pdfFontName="Helvetica"/>
juanpablo@726
   164
					</textElement>
juanpablo@726
   165
				<text><![CDATA[Client:]]></text>
juanpablo@726
   166
				</staticText>
juanpablo@726
   167
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   168
					<reportElement
carlos@0
   169
						style="GroupHeader_DarkGray"
carlos@0
   170
						x="120"
carlos@0
   171
						y="0"
carlos@0
   172
						width="415"
carlos@0
   173
						height="23"
juanpablo@726
   174
						key="textField"/>
juanpablo@726
   175
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   176
					<textElement>
juanpablo@726
   177
						<font pdfFontName="Helvetica"/>
juanpablo@726
   178
					</textElement>
juanpablo@726
   179
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{CLIENT_NAME}]]></textFieldExpression>
juanpablo@726
   180
				</textField>
juanpablo@726
   181
				<line direction="TopDown">
carlos@0
   182
					<reportElement
carlos@0
   183
						x="0"
carlos@0
   184
						y="23"
carlos@0
   185
						width="0"
carlos@0
   186
						height="10"
carlos@0
   187
						forecolor="#555555"
carlos@0
   188
						key="line-2"
juanpablo@726
   189
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   190
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   191
				</line>
juanpablo@726
   192
				<line direction="TopDown">
carlos@0
   193
					<reportElement
carlos@0
   194
						x="535"
carlos@0
   195
						y="1"
carlos@0
   196
						width="0"
carlos@0
   197
						height="32"
carlos@0
   198
						forecolor="#555555"
carlos@0
   199
						key="line-3"
juanpablo@726
   200
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   201
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   202
				</line>
juanpablo@726
   203
			</band>
juanpablo@726
   204
			</groupHeader>
juanpablo@726
   205
			<groupFooter>
juanpablo@726
   206
			<band height="50"  isSplitAllowed="true" >
juanpablo@726
   207
				<line direction="TopDown">
carlos@0
   208
					<reportElement
carlos@0
   209
						x="0"
carlos@0
   210
						y="0"
carlos@0
   211
						width="0"
carlos@0
   212
						height="10"
carlos@0
   213
						forecolor="#555555"
carlos@0
   214
						key="line-32"
juanpablo@726
   215
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   216
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   217
				</line>
juanpablo@726
   218
				<line direction="TopDown">
carlos@0
   219
					<reportElement
carlos@0
   220
						x="535"
carlos@0
   221
						y="0"
carlos@0
   222
						width="0"
carlos@0
   223
						height="10"
carlos@0
   224
						forecolor="#555555"
carlos@0
   225
						key="line-33"
juanpablo@726
   226
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   227
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   228
				</line>
juanpablo@726
   229
				<line direction="TopDown">
carlos@0
   230
					<reportElement
carlos@0
   231
						x="0"
carlos@0
   232
						y="10"
carlos@0
   233
						width="535"
carlos@0
   234
						height="0"
carlos@0
   235
						forecolor="#555555"
juanpablo@726
   236
						key="line-34"/>
juanpablo@726
   237
					<graphicElement stretchType="NoStretch" pen="1Point"/>
juanpablo@726
   238
				</line>
juanpablo@726
   239
			</band>
juanpablo@726
   240
			</groupFooter>
juanpablo@726
   241
		</group>
juanpablo@726
   242
		<group  name="DOCUMENTNO" >
juanpablo@726
   243
			<groupExpression><![CDATA[$F{DOCUMENTNO}]]></groupExpression>
juanpablo@726
   244
			<groupHeader>
juanpablo@726
   245
			<band height="42"  isSplitAllowed="true" >
juanpablo@726
   246
				<staticText>
carlos@0
   247
					<reportElement
carlos@0
   248
						style="GroupHeader_DarkGray"
carlos@0
   249
						x="10"
carlos@0
   250
						y="0"
carlos@0
   251
						width="102"
carlos@0
   252
						height="22"
juanpablo@726
   253
						key="staticText"/>
juanpablo@726
   254
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   255
					<textElement>
juanpablo@726
   256
						<font pdfFontName="Helvetica"/>
juanpablo@726
   257
					</textElement>
juanpablo@726
   258
				<text><![CDATA[Shipment No:]]></text>
juanpablo@726
   259
				</staticText>
juanpablo@726
   260
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   261
					<reportElement
carlos@0
   262
						style="GroupHeader_DarkGray"
carlos@0
   263
						x="112"
carlos@0
   264
						y="0"
carlos@0
   265
						width="165"
carlos@0
   266
						height="22"
juanpablo@726
   267
						key="textField"/>
juanpablo@726
   268
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   269
					<textElement>
juanpablo@726
   270
						<font pdfFontName="Helvetica" isBold="false"/>
juanpablo@726
   271
					</textElement>
juanpablo@726
   272
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{DOCUMENTNO}]]></textFieldExpression>
juanpablo@726
   273
				</textField>
juanpablo@726
   274
				<line direction="TopDown">
carlos@0
   275
					<reportElement
carlos@0
   276
						x="10"
carlos@0
   277
						y="22"
carlos@0
   278
						width="0"
carlos@0
   279
						height="20"
carlos@0
   280
						forecolor="#555555"
carlos@0
   281
						key="line-4"
juanpablo@726
   282
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   283
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   284
				</line>
juanpablo@726
   285
				<line direction="TopDown">
carlos@0
   286
					<reportElement
carlos@0
   287
						x="535"
carlos@0
   288
						y="0"
carlos@0
   289
						width="0"
carlos@0
   290
						height="42"
carlos@0
   291
						forecolor="#555555"
carlos@0
   292
						key="line-6"
juanpablo@726
   293
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   294
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   295
				</line>
juanpablo@726
   296
				<line direction="TopDown">
carlos@0
   297
					<reportElement
carlos@0
   298
						x="0"
carlos@0
   299
						y="0"
carlos@0
   300
						width="0"
carlos@0
   301
						height="42"
carlos@0
   302
						forecolor="#555555"
carlos@0
   303
						key="line-8"
juanpablo@726
   304
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   305
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   306
				</line>
juanpablo@726
   307
				<staticText>
carlos@0
   308
					<reportElement
carlos@0
   309
						style="Detail_Header"
carlos@0
   310
						x="20"
carlos@0
   311
						y="26"
carlos@0
   312
						width="260"
carlos@0
   313
						height="16"
juanpablo@726
   314
						key="element-90"/>
juanpablo@726
   315
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   316
					<textElement>
juanpablo@726
   317
						<font/>
juanpablo@726
   318
					</textElement>
juanpablo@726
   319
				<text><![CDATA[Article]]></text>
juanpablo@726
   320
				</staticText>
juanpablo@726
   321
				<staticText>
carlos@0
   322
					<reportElement
carlos@0
   323
						style="Detail_Header"
carlos@0
   324
						x="280"
carlos@0
   325
						y="26"
carlos@0
   326
						width="130"
carlos@0
   327
						height="16"
juanpablo@726
   328
						key="element-90"/>
juanpablo@726
   329
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="4" rightBorder="None" rightBorderColor="#FFFFFF" rightPadding="4" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   330
					<textElement textAlignment="Right">
juanpablo@726
   331
						<font/>
juanpablo@726
   332
					</textElement>
juanpablo@726
   333
				<text><![CDATA[Quantity]]></text>
juanpablo@726
   334
				</staticText>
juanpablo@726
   335
				<staticText>
carlos@0
   336
					<reportElement
carlos@0
   337
						style="Detail_Header"
carlos@0
   338
						x="410"
carlos@0
   339
						y="26"
carlos@0
   340
						width="122"
carlos@0
   341
						height="16"
juanpablo@726
   342
						key="element-90"/>
juanpablo@726
   343
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   344
					<textElement>
juanpablo@726
   345
						<font/>
juanpablo@726
   346
					</textElement>
juanpablo@726
   347
				<text><![CDATA[Unit]]></text>
juanpablo@726
   348
				</staticText>
juanpablo@726
   349
				<staticText>
carlos@0
   350
					<reportElement
carlos@0
   351
						style="GroupHeader_DarkGray"
carlos@0
   352
						x="277"
carlos@0
   353
						y="0"
carlos@0
   354
						width="114"
carlos@0
   355
						height="22"
juanpablo@726
   356
						key="staticText-2"/>
juanpablo@726
   357
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   358
					<textElement>
juanpablo@726
   359
						<font pdfFontName="Helvetica"/>
juanpablo@726
   360
					</textElement>
juanpablo@726
   361
				<text><![CDATA[Shipment date:]]></text>
juanpablo@726
   362
				</staticText>
juanpablo@726
   363
				<textField isStretchWithOverflow="false" pattern="dd-MM-yyyy" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   364
					<reportElement
carlos@0
   365
						style="GroupHeader_DarkGray"
carlos@0
   366
						x="391"
carlos@0
   367
						y="0"
carlos@0
   368
						width="144"
carlos@0
   369
						height="22"
juanpablo@726
   370
						key="textField-1"/>
juanpablo@726
   371
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   372
					<textElement>
juanpablo@726
   373
						<font pdfFontName="Helvetica" isBold="false"/>
juanpablo@726
   374
					</textElement>
juanpablo@726
   375
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{MOVEMENTDATE}]]></textFieldExpression>
juanpablo@726
   376
				</textField>
juanpablo@726
   377
			</band>
juanpablo@726
   378
			</groupHeader>
juanpablo@726
   379
			<groupFooter>
juanpablo@726
   380
			<band height="20"  isSplitAllowed="true" >
juanpablo@726
   381
				<line direction="TopDown">
carlos@0
   382
					<reportElement
carlos@0
   383
						x="0"
carlos@0
   384
						y="0"
carlos@0
   385
						width="0"
carlos@0
   386
						height="20"
carlos@0
   387
						forecolor="#555555"
carlos@0
   388
						key="line-28"
juanpablo@726
   389
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   390
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   391
				</line>
juanpablo@726
   392
				<line direction="TopDown">
carlos@0
   393
					<reportElement
carlos@0
   394
						x="10"
carlos@0
   395
						y="0"
carlos@0
   396
						width="0"
carlos@0
   397
						height="10"
carlos@0
   398
						forecolor="#555555"
carlos@0
   399
						key="line-29"
juanpablo@726
   400
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   401
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   402
				</line>
juanpablo@726
   403
				<line direction="TopDown">
carlos@0
   404
					<reportElement
carlos@0
   405
						x="535"
carlos@0
   406
						y="0"
carlos@0
   407
						width="0"
carlos@0
   408
						height="20"
carlos@0
   409
						forecolor="#555555"
carlos@0
   410
						key="line-30"
juanpablo@726
   411
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   412
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   413
				</line>
juanpablo@726
   414
				<line direction="TopDown">
carlos@0
   415
					<reportElement
carlos@0
   416
						x="10"
carlos@0
   417
						y="10"
carlos@0
   418
						width="525"
carlos@0
   419
						height="0"
carlos@0
   420
						forecolor="#555555"
juanpablo@726
   421
						key="line-31"/>
juanpablo@726
   422
					<graphicElement stretchType="NoStretch" pen="1Point"/>
juanpablo@726
   423
				</line>
juanpablo@726
   424
				<line direction="TopDown">
carlos@0
   425
					<reportElement
carlos@0
   426
						x="20"
carlos@0
   427
						y="0"
carlos@0
   428
						width="512"
carlos@0
   429
						height="0"
carlos@0
   430
						forecolor="#555555"
juanpablo@726
   431
						key="line-35"/>
juanpablo@726
   432
					<graphicElement stretchType="NoStretch" pen="1Point"/>
juanpablo@726
   433
				</line>
juanpablo@726
   434
			</band>
juanpablo@726
   435
			</groupFooter>
juanpablo@726
   436
		</group>
juanpablo@726
   437
		<background>
juanpablo@726
   438
			<band height="0"  isSplitAllowed="true" >
juanpablo@726
   439
			</band>
juanpablo@726
   440
		</background>
juanpablo@726
   441
		<title>
juanpablo@726
   442
			<band height="20"  isSplitAllowed="true" >
juanpablo@726
   443
			</band>
juanpablo@726
   444
		</title>
juanpablo@726
   445
		<pageHeader>
juanpablo@726
   446
			<band height="71"  isSplitAllowed="true" >
juanpablo@726
   447
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   448
					<reportElement
carlos@0
   449
						style="Report_Title"
carlos@0
   450
						mode="Transparent"
carlos@0
   451
						x="0"
carlos@0
   452
						y="0"
carlos@0
   453
						width="535"
carlos@0
   454
						height="20"
juanpablo@726
   455
						key="textField"/>
juanpablo@726
   456
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   457
					<textElement>
juanpablo@726
   458
						<font/>
juanpablo@726
   459
					</textElement>
juanpablo@726
   460
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORT_TITLE}]]></textFieldExpression>
juanpablo@726
   461
				</textField>
juanpablo@726
   462
				<line direction="TopDown">
carlos@0
   463
					<reportElement
carlos@0
   464
						x="0"
carlos@0
   465
						y="20"
carlos@0
   466
						width="535"
carlos@0
   467
						height="0"
juanpablo@726
   468
						key="line-1"/>
juanpablo@726
   469
					<graphicElement stretchType="NoStretch" pen="2Point"/>
juanpablo@726
   470
				</line>
juanpablo@726
   471
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   472
					<reportElement
carlos@0
   473
						style="Report_Subtitle"
carlos@0
   474
						x="0"
carlos@0
   475
						y="20"
carlos@0
   476
						width="535"
carlos@0
   477
						height="20"
juanpablo@726
   478
						key="textField"/>
juanpablo@726
   479
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   480
					<textElement>
juanpablo@726
   481
						<font/>
juanpablo@726
   482
					</textElement>
juanpablo@726
   483
				<textFieldExpression   class="java.lang.String"><![CDATA[($P{REPORT_SUBTITLE}!=null)?$P{REPORT_SUBTITLE}:new String(" ")]]></textFieldExpression>
juanpablo@726
   484
				</textField>
juanpablo@726
   485
			</band>
juanpablo@726
   486
		</pageHeader>
juanpablo@726
   487
		<columnHeader>
juanpablo@726
   488
			<band height="16"  isSplitAllowed="true" >
juanpablo@726
   489
			</band>
juanpablo@726
   490
		</columnHeader>
juanpablo@726
   491
		<detail>
juanpablo@726
   492
			<band height="16"  isSplitAllowed="true" >
juanpablo@726
   493
				<line direction="TopDown">
carlos@0
   494
					<reportElement
carlos@0
   495
						x="535"
carlos@0
   496
						y="0"
carlos@0
   497
						width="0"
carlos@0
   498
						height="16"
carlos@0
   499
						forecolor="#555555"
carlos@0
   500
						key="line-16"
juanpablo@726
   501
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   502
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   503
				</line>
juanpablo@726
   504
				<line direction="TopDown">
carlos@0
   505
					<reportElement
carlos@0
   506
						x="0"
carlos@0
   507
						y="0"
carlos@0
   508
						width="0"
carlos@0
   509
						height="16"
carlos@0
   510
						forecolor="#555555"
carlos@0
   511
						key="line-17"
juanpablo@726
   512
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   513
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   514
				</line>
juanpablo@726
   515
				<line direction="TopDown">
carlos@0
   516
					<reportElement
carlos@0
   517
						x="10"
carlos@0
   518
						y="0"
carlos@0
   519
						width="0"
carlos@0
   520
						height="16"
carlos@0
   521
						forecolor="#555555"
carlos@0
   522
						key="line-18"
juanpablo@726
   523
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   524
					<graphicElement stretchType="RelativeToBandHeight" pen="1Point"/>
juanpablo@726
   525
				</line>
juanpablo@726
   526
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   527
					<reportElement
carlos@0
   528
						style="Detail_Line"
carlos@0
   529
						x="20"
carlos@0
   530
						y="0"
carlos@0
   531
						width="260"
carlos@0
   532
						height="16"
juanpablo@726
   533
						key="textField"/>
juanpablo@726
   534
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#555555" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#555555"/>
juanpablo@726
   535
					<textElement verticalAlignment="Middle">
juanpablo@726
   536
						<font/>
juanpablo@726
   537
					</textElement>
juanpablo@726
   538
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{PRODUCT_NAME}]]></textFieldExpression>
juanpablo@726
   539
				</textField>
juanpablo@726
   540
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   541
					<reportElement
carlos@0
   542
						style="Detail_Line"
carlos@0
   543
						x="280"
carlos@0
   544
						y="0"
carlos@0
   545
						width="130"
carlos@0
   546
						height="16"
juanpablo@726
   547
						key="textField"/>
juanpablo@726
   548
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#555555" leftPadding="4" rightBorder="None" rightBorderColor="#000000" rightPadding="4" bottomBorder="None" bottomBorderColor="#555555"/>
juanpablo@726
   549
					<textElement textAlignment="Right" verticalAlignment="Middle">
juanpablo@726
   550
						<font/>
juanpablo@726
   551
					</textElement>
juanpablo@726
   552
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{QUANTITYORDER}!=null)?$P{NUMBERFORMAT}.format($F{QUANTITYORDER}):new String(" ")]]></textFieldExpression>
juanpablo@726
   553
				</textField>
juanpablo@726
   554
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   555
					<reportElement
carlos@0
   556
						style="Detail_Line"
carlos@0
   557
						x="410"
carlos@0
   558
						y="0"
carlos@0
   559
						width="122"
carlos@0
   560
						height="16"
juanpablo@726
   561
						key="textField"/>
juanpablo@726
   562
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#555555" leftPadding="5" rightBorder="1Point" rightBorderColor="#555555" rightPadding="2" bottomBorder="None" bottomBorderColor="#555555"/>
juanpablo@726
   563
					<textElement verticalAlignment="Middle">
juanpablo@726
   564
						<font/>
juanpablo@726
   565
					</textElement>
juanpablo@726
   566
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{UOMNAME}]]></textFieldExpression>
juanpablo@726
   567
				</textField>
juanpablo@726
   568
			</band>
juanpablo@726
   569
		</detail>
juanpablo@726
   570
		<columnFooter>
juanpablo@726
   571
			<band height="16"  isSplitAllowed="true" >
juanpablo@726
   572
			</band>
juanpablo@726
   573
		</columnFooter>
juanpablo@726
   574
		<pageFooter>
juanpablo@726
   575
			<band height="27"  isSplitAllowed="true" >
juanpablo@726
   576
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   577
					<reportElement
carlos@0
   578
						x="400"
carlos@0
   579
						y="4"
carlos@0
   580
						width="95"
carlos@0
   581
						height="19"
juanpablo@726
   582
						key="textField"/>
juanpablo@726
   583
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   584
					<textElement textAlignment="Right" verticalAlignment="Middle">
juanpablo@726
   585
						<font fontName="Helvetica" size="10"/>
juanpablo@726
   586
					</textElement>
juanpablo@726
   587
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
juanpablo@726
   588
				</textField>
juanpablo@726
   589
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   590
					<reportElement
carlos@0
   591
						x="499"
carlos@0
   592
						y="4"
carlos@0
   593
						width="36"
carlos@0
   594
						height="19"
carlos@0
   595
						forecolor="#000000"
carlos@0
   596
						backcolor="#FFFFFF"
juanpablo@726
   597
						key="textField"/>
juanpablo@726
   598
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   599
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
juanpablo@726
   600
						<font fontName="Helvetica" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
juanpablo@726
   601
					</textElement>
juanpablo@726
   602
				<textFieldExpression   class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
juanpablo@726
   603
				</textField>
juanpablo@726
   604
				<line direction="TopDown">
carlos@0
   605
					<reportElement
carlos@0
   606
						x="0"
carlos@0
   607
						y="1"
carlos@0
   608
						width="535"
carlos@0
   609
						height="0"
carlos@0
   610
						forecolor="#000000"
juanpablo@726
   611
						key="line"/>
juanpablo@726
   612
					<graphicElement stretchType="NoStretch" pen="2Point"/>
juanpablo@726
   613
				</line>
juanpablo@726
   614
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   615
					<reportElement
carlos@0
   616
						x="277"
carlos@0
   617
						y="4"
carlos@0
   618
						width="69"
carlos@0
   619
						height="19"
juanpablo@726
   620
						key="textField"/>
juanpablo@726
   621
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   622
					<textElement verticalAlignment="Middle">
juanpablo@726
   623
						<font fontName="Times-Roman" size="10"/>
juanpablo@726
   624
					</textElement>
juanpablo@726
   625
				<textFieldExpression   class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
juanpablo@726
   626
				</textField>
juanpablo@726
   627
				<staticText>
carlos@0
   628
					<reportElement
carlos@0
   629
						x="213"
carlos@0
   630
						y="4"
carlos@0
   631
						width="60"
carlos@0
   632
						height="19"
juanpablo@726
   633
						key="staticText-1"/>
juanpablo@726
   634
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   635
					<textElement textAlignment="Right" verticalAlignment="Middle">
juanpablo@726
   636
						<font/>
juanpablo@726
   637
					</textElement>
juanpablo@726
   638
				<text><![CDATA[Printed on]]></text>
juanpablo@726
   639
				</staticText>
juanpablo@726
   640
			</band>
juanpablo@726
   641
		</pageFooter>
juanpablo@726
   642
		<summary>
juanpablo@726
   643
			<band height="0"  isSplitAllowed="true" >
juanpablo@726
   644
			</band>
juanpablo@726
   645
		</summary>
juanpablo@726
   646
</jasperReport>