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