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