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