src/org/openbravo/erpCommon/ad_reports/ReportStandardCostsJR_srptcosts.jrxml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 0 0247c26f10c6
child 1859 f60af28f7794
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="ReportStandardCostsJR_srptcosts"
carlos@0
     6
		 columnCount="1"
carlos@0
     7
		 printOrder="Vertical"
carlos@0
     8
		 orientation="Landscape"
carlos@0
     9
		 pageWidth="505"
carlos@0
    10
		 pageHeight="46"
carlos@0
    11
		 columnWidth="505"
carlos@0
    12
		 columnSpacing="0"
carlos@0
    13
		 leftMargin="0"
carlos@0
    14
		 rightMargin="0"
carlos@0
    15
		 topMargin="0"
carlos@0
    16
		 bottomMargin="0"
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="Report_Data_Label"
carlos@0
    50
		isDefault="false"
carlos@0
    51
		fontName="Bitstream Vera Sans"
carlos@0
    52
		fontSize="11"
carlos@0
    53
		isBold="true"
carlos@0
    54
	/>
carlos@0
    55
	<style 
carlos@0
    56
		name="Report_Data_Field"
carlos@0
    57
		isDefault="false"
carlos@0
    58
		fontName="Bitstream Vera Sans"
carlos@0
    59
		fontSize="11"
carlos@0
    60
		isBold="false"
carlos@0
    61
	/>
carlos@0
    62
	<style 
carlos@0
    63
		name="Total_Field"
carlos@0
    64
		isDefault="false"
carlos@0
    65
		mode="Opaque"
carlos@0
    66
		forecolor="#000000"
carlos@0
    67
		backcolor="#CCCCCC"
carlos@0
    68
		vAlign="Middle"
carlos@0
    69
		leftPadding="5"
carlos@0
    70
		fontName="Bitstream Vera Sans"
carlos@0
    71
		fontSize="10"
carlos@0
    72
		isBold="true"
carlos@0
    73
	/>
carlos@0
    74
	<style 
carlos@0
    75
		name="GroupHeader_DarkGray"
carlos@0
    76
		isDefault="false"
carlos@0
    77
		mode="Opaque"
carlos@0
    78
		forecolor="#FFFFFF"
carlos@0
    79
		backcolor="#555555"
carlos@0
    80
		vAlign="Middle"
carlos@0
    81
		leftPadding="5"
carlos@0
    82
		fontName="Bitstream Vera Sans"
carlos@0
    83
		fontSize="12"
carlos@0
    84
		isBold="true"
carlos@0
    85
	/>
carlos@0
    86
	<style 
carlos@0
    87
		name="Group_Data_Label"
carlos@0
    88
		isDefault="false"
carlos@0
    89
		fontName="Bitstream Vera Sans"
carlos@0
    90
		fontSize="11"
carlos@0
    91
		isBold="true"
carlos@0
    92
	/>
carlos@0
    93
	<style 
carlos@0
    94
		name="Group_Data_Field"
carlos@0
    95
		isDefault="false"
carlos@0
    96
		fontName="Bitstream Vera Sans"
carlos@0
    97
		fontSize="11"
carlos@0
    98
	/>
carlos@0
    99
	<style 
carlos@0
   100
		name="Detail_Header"
carlos@0
   101
		isDefault="false"
carlos@0
   102
		mode="Opaque"
carlos@0
   103
		forecolor="#FFFFFF"
carlos@0
   104
		backcolor="#5D5D5D"
carlos@0
   105
		vAlign="Middle"
carlos@0
   106
		leftBorder="1Point"
carlos@0
   107
		leftBorderColor="#FFFFFF"
carlos@0
   108
		leftPadding="5"
carlos@0
   109
		rightBorder="1Point"
carlos@0
   110
		rightBorderColor="#FFFFFF"
carlos@0
   111
		fontName="Bitstream Vera Sans"
carlos@0
   112
		fontSize="10"
carlos@0
   113
		isBold="true"
carlos@0
   114
	/>
carlos@0
   115
	<style 
carlos@0
   116
		name="Detail_Line"
carlos@0
   117
		isDefault="false"
carlos@0
   118
		fontName="Bitstream Vera Sans"
carlos@0
   119
		fontSize="8"
carlos@0
   120
	>
carlos@0
   121
carlos@0
   122
		<conditionalStyle>
carlos@0
   123
			<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
carlos@0
   124
			<style 
carlos@0
   125
				name="Detail_Line"
carlos@0
   126
				isDefault="false"
carlos@0
   127
				mode="Opaque"
carlos@0
   128
				backcolor="#CCCCCC"
carlos@0
   129
			/>
carlos@0
   130
		</conditionalStyle>
carlos@0
   131
	</style>
carlos@0
   132
	<style 
carlos@0
   133
		name="Total_Gray"
carlos@0
   134
		isDefault="false"
carlos@0
   135
		mode="Opaque"
carlos@0
   136
		forecolor="#000000"
carlos@0
   137
		backcolor="#CCCCCC"
carlos@0
   138
	/>
carlos@0
   139
	<style 
carlos@0
   140
		name="Detail_Data_Label"
carlos@0
   141
		isDefault="false"
carlos@0
   142
		mode="Opaque"
carlos@0
   143
		backcolor="#CCCCCC"
carlos@0
   144
		fontName="Bitstream Vera Sans"
carlos@0
   145
		fontSize="10"
carlos@0
   146
		isBold="true"
carlos@0
   147
	/>
carlos@0
   148
	<style 
carlos@0
   149
		name="Detail_Data_Field"
carlos@0
   150
		isDefault="false"
carlos@0
   151
		mode="Opaque"
carlos@0
   152
		backcolor="#CCCCCC"
carlos@0
   153
		fontName="Bitstream Vera Sans"
carlos@0
   154
		fontSize="10"
carlos@0
   155
	/>
carlos@0
   156
	<style 
carlos@0
   157
		name="Group_Footer"
carlos@0
   158
		isDefault="false"
carlos@0
   159
		fontName="Bitstream Vera Sans"
carlos@0
   160
		fontSize="11"
carlos@0
   161
		isBold="true"
carlos@0
   162
	/>
carlos@0
   163
	<style 
carlos@0
   164
		name="Report_Footer"
carlos@0
   165
		isDefault="true"
carlos@0
   166
		vAlign="Middle"
carlos@0
   167
		fontName="Bitstream Vera Sans"
carlos@0
   168
		fontSize="11"
carlos@0
   169
	/>
carlos@0
   170
carlos@0
   171
	<parameter name="ATTACH" isForPrompting="false" class="java.lang.String"/>
carlos@0
   172
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String"/>
carlos@0
   173
	<parameter name="BASE_DESIGN" isForPrompting="false" class="java.lang.String"/>
carlos@0
   174
	<parameter name="LANGUAGE" isForPrompting="false" class="java.lang.String">
carlos@0
   175
		<defaultValueExpression ><![CDATA["en_US"]]></defaultValueExpression>
carlos@0
   176
	</parameter>
carlos@0
   177
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String">
carlos@0
   178
		<defaultValueExpression ><![CDATA["(1000000)"]]></defaultValueExpression>
carlos@0
   179
	</parameter>
carlos@0
   180
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String">
carlos@0
   181
		<defaultValueExpression ><![CDATA["(0)"]]></defaultValueExpression>
carlos@0
   182
	</parameter>
carlos@0
   183
	<parameter name="SEQUENCE_ID" isForPrompting="false" class="java.math.BigDecimal">
carlos@0
   184
		<defaultValueExpression ><![CDATA[new BigDecimal(1000004)]]></defaultValueExpression>
carlos@0
   185
	</parameter>
carlos@0
   186
	<parameter name="NUMBERFORMAT" isForPrompting="false" class="java.text.DecimalFormat"/>
carlos@0
   187
	<parameter name="LOCALE" isForPrompting="false" class="java.util.Locale"/>
carlos@0
   188
	<queryString><![CDATA[SELECT 1 AS LINEORDER, 
carlos@0
   189
       AD_COLUMN_IDENTIFIER(to_char('M_PRODUCT'), to_char(M_PRODUCT_ID), $P{LANGUAGE}) AS CONCEPT,
carlos@0
   190
       quantity*COALESCE(decrease,1)*COALESCE(rejected,1) AS QUANTITY,
carlos@0
   191
       COALESCE(COST, 0) AS UNIT_COST,
carlos@0
   192
       COALESCE(COST*quantity*COALESCE(decrease,1)*COALESCE(rejected,1),0) AS COST
carlos@0
   193
FROM MA_SEQUENCEPRODUCT
carlos@0
   194
WHERE MA_SEQUENCEPRODUCT.MA_SEQUENCE_ID = $P{SEQUENCE_ID}
carlos@0
   195
  AND MA_SEQUENCEPRODUCT.PRODUCTIONTYPE = '-'
carlos@0
   196
UNION ALL
carlos@0
   197
SELECT 2 AS LINEORDER, 
carlos@0
   198
       AD_COLUMN_IDENTIFIER(to_char('MA_SEQUENCE'), to_char(MA_SEQUENCE_ID), $P{LANGUAGE}) AS CONCEPT,
carlos@0
   199
       1 AS QUANTITY, COALESCE(OUTSOURCINGCOST,0) AS UNIT_COST, COALESCE(OUTSOURCINGCOST,0) AS COST
carlos@0
   200
FROM MA_SEQUENCE
carlos@0
   201
WHERE MA_SEQUENCE_ID = $P{SEQUENCE_ID}
carlos@0
   202
  AND OUTSOURCED = 'Y'
carlos@0
   203
UNION ALL
carlos@0
   204
SELECT 3 AS LINEORDER,
carlos@0
   205
       AD_COLUMN_IDENTIFIER(to_char('MA_COSTCENTER'), to_char(MA_PROCESS.MA_COSTCENTER_ID), $P{LANGUAGE}) AS CONCEPT,
carlos@0
   206
       1 AS QUANTITY, COALESCE(MA_SEQUENCE.COSTCENTERCOST,0) AS UNIT_COST, COALESCE(MA_SEQUENCE.COSTCENTERCOST,0) AS COST
carlos@0
   207
FROM MA_SEQUENCE, MA_PROCESS
carlos@0
   208
WHERE MA_SEQUENCE.MA_SEQUENCE_ID = $P{SEQUENCE_ID}
carlos@0
   209
  AND MA_SEQUENCE.OUTSOURCED = 'N'
carlos@0
   210
  AND MA_SEQUENCE.MA_PROCESS_ID = MA_PROCESS.MA_PROCESS_ID
carlos@0
   211
UNION ALL
carlos@0
   212
SELECT 4 AS LINEORDER,
carlos@0
   213
       AD_COLUMN_IDENTIFIER(to_char('C_SALARY_CATEGORY'), to_char(MA_SEQUENCE_EMPLOYEE.C_SALARY_CATEGORY_ID), $P{LANGUAGE}) AS CONCEPT,
carlos@0
   214
       1 AS QUANTITY, MA_SEQUENCE_EMPLOYEE.CALCCOST AS UNIT_COST, MA_SEQUENCE_EMPLOYEE.CALCCOST AS COST
carlos@0
   215
FROM MA_SEQUENCE, MA_SEQUENCE_EMPLOYEE
carlos@0
   216
WHERE MA_SEQUENCE.MA_SEQUENCE_ID = MA_SEQUENCE_EMPLOYEE.MA_SEQUENCE_ID
carlos@0
   217
  AND MA_SEQUENCE.MA_SEQUENCE_ID = $P{SEQUENCE_ID}
carlos@0
   218
  AND MA_SEQUENCE.OUTSOURCED = 'N'
carlos@0
   219
UNION ALL
carlos@0
   220
SELECT 5 AS LINEORDER,
carlos@0
   221
       AD_COLUMN_IDENTIFIER(to_char('MA_MACHINE'), to_char(MA_SEQUENCE_MACHINE.MA_MACHINE_ID), $P{LANGUAGE}) AS CONCEPT,
carlos@0
   222
       1 AS QUANTITY, MA_SEQUENCE_MACHINE.CALCCOST AS UNIT_COST, MA_SEQUENCE_MACHINE.CALCCOST AS COST
carlos@0
   223
FROM MA_SEQUENCE, MA_SEQUENCE_MACHINE
carlos@0
   224
WHERE MA_SEQUENCE.MA_SEQUENCE_ID = MA_SEQUENCE_MACHINE.MA_SEQUENCE_ID
carlos@0
   225
  AND MA_SEQUENCE.MA_SEQUENCE_ID = $P{SEQUENCE_ID}
carlos@0
   226
  AND MA_SEQUENCE.OUTSOURCED = 'N'
carlos@0
   227
UNION ALL
carlos@0
   228
SELECT 6 AS LINEORDER,
carlos@0
   229
       AD_COLUMN_IDENTIFIER(to_char('MA_INDIRECT_COST'), to_char(MA_SEQUENCE_IC.MA_INDIRECT_COST_ID), $P{LANGUAGE}) AS CONCEPT,
carlos@0
   230
       1 AS QUANTITY, MA_SEQUENCE_IC.CALCCOST AS UNIT_COST, MA_SEQUENCE_IC.CALCCOST AS COST
carlos@0
   231
FROM MA_SEQUENCE, MA_SEQUENCE_IC
carlos@0
   232
WHERE MA_SEQUENCE.MA_SEQUENCE_ID = MA_SEQUENCE_IC.MA_SEQUENCE_ID
carlos@0
   233
  AND MA_SEQUENCE.MA_SEQUENCE_ID = $P{SEQUENCE_ID}
carlos@0
   234
  AND MA_SEQUENCE.OUTSOURCED = 'N'
carlos@0
   235
ORDER BY LINEORDER, QUANTITY DESC, COST DESC]]></queryString>
carlos@0
   236
carlos@0
   237
	<field name="LINEORDER" class="java.math.BigDecimal"/>
carlos@0
   238
	<field name="CONCEPT" class="java.lang.String"/>
carlos@0
   239
	<field name="QUANTITY" class="java.math.BigDecimal"/>
carlos@0
   240
	<field name="UNIT_COST" class="java.math.BigDecimal"/>
carlos@0
   241
	<field name="COST" class="java.math.BigDecimal"/>
carlos@0
   242
carlos@0
   243
	<variable name="DetailFieldTotal" class="java.lang.String" resetType="Report" calculation="Nothing">
carlos@0
   244
	</variable>
carlos@0
   245
	<variable name="COST_TOTAL" class="java.math.BigDecimal" resetType="Report" calculation="Sum">
carlos@0
   246
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   247
	</variable>
carlos@0
   248
		<background>
carlos@0
   249
			<band height="0"  isSplitAllowed="true" >
carlos@0
   250
			</band>
carlos@0
   251
		</background>
carlos@0
   252
		<title>
carlos@0
   253
			<band height="0"  isSplitAllowed="true" >
carlos@0
   254
			</band>
carlos@0
   255
		</title>
carlos@0
   256
		<pageHeader>
carlos@0
   257
			<band height="0"  isSplitAllowed="true" >
carlos@0
   258
			</band>
carlos@0
   259
		</pageHeader>
carlos@0
   260
		<columnHeader>
carlos@0
   261
			<band height="16"  isSplitAllowed="true" >
carlos@0
   262
				<staticText>
carlos@0
   263
					<reportElement
carlos@0
   264
						style="Detail_Header"
carlos@0
   265
						x="0"
carlos@0
   266
						y="0"
carlos@0
   267
						width="272"
carlos@0
   268
						height="16"
carlos@0
   269
						key="element-90"/>
carlos@0
   270
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   271
					<textElement>
carlos@0
   272
						<font/>
carlos@0
   273
					</textElement>
carlos@0
   274
				<text><![CDATA[CONCEPT]]></text>
carlos@0
   275
				</staticText>
carlos@0
   276
				<staticText>
carlos@0
   277
					<reportElement
carlos@0
   278
						style="Detail_Header"
carlos@0
   279
						x="272"
carlos@0
   280
						y="0"
carlos@0
   281
						width="75"
carlos@0
   282
						height="16"
carlos@0
   283
						key="element-90"/>
carlos@0
   284
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   285
					<textElement>
carlos@0
   286
						<font/>
carlos@0
   287
					</textElement>
carlos@0
   288
				<text><![CDATA[Quantity]]></text>
carlos@0
   289
				</staticText>
carlos@0
   290
				<staticText>
carlos@0
   291
					<reportElement
carlos@0
   292
						style="Detail_Header"
carlos@0
   293
						x="347"
carlos@0
   294
						y="0"
carlos@0
   295
						width="75"
carlos@0
   296
						height="16"
carlos@0
   297
						key="element-90"/>
carlos@0
   298
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="None" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   299
					<textElement textAlignment="Right">
carlos@0
   300
						<font pdfFontName="Helvetica-Bold"/>
carlos@0
   301
					</textElement>
carlos@0
   302
				<text><![CDATA[Cost]]></text>
carlos@0
   303
				</staticText>
carlos@0
   304
				<staticText>
carlos@0
   305
					<reportElement
carlos@0
   306
						style="Detail_Header"
carlos@0
   307
						x="422"
carlos@0
   308
						y="0"
carlos@0
   309
						width="83"
carlos@0
   310
						height="16"
carlos@0
   311
						key="element-90"/>
carlos@0
   312
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="5" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   313
					<textElement textAlignment="Right">
carlos@0
   314
						<font pdfFontName="Helvetica-Bold"/>
carlos@0
   315
					</textElement>
carlos@0
   316
				<text><![CDATA[Amount]]></text>
carlos@0
   317
				</staticText>
carlos@0
   318
			</band>
carlos@0
   319
		</columnHeader>
carlos@0
   320
		<detail>
carlos@0
   321
			<band height="14"  isSplitAllowed="true" >
carlos@0
   322
				<frame>					<reportElement
carlos@0
   323
						style="Detail_Line"
carlos@0
   324
						x="0"
carlos@0
   325
						y="0"
carlos@0
   326
						width="505"
carlos@0
   327
						height="14"
carlos@0
   328
						key="frame-1"
carlos@0
   329
						stretchType="RelativeToBandHeight"/>
carlos@0
   330
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   331
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   332
					<reportElement
carlos@0
   333
						style="default"
carlos@0
   334
						x="422"
carlos@0
   335
						y="0"
carlos@0
   336
						width="83"
carlos@0
   337
						height="14"
carlos@0
   338
						key="textField-1"
carlos@0
   339
						stretchType="RelativeToBandHeight"/>
carlos@0
   340
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#666666" leftPadding="5" rightBorder="1Point" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   341
					<textElement textAlignment="Right">
carlos@0
   342
						<font/>
carlos@0
   343
					</textElement>
carlos@0
   344
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{COST}!=null)?$P{NUMBERFORMAT}.format($F{COST}):new String(" ")]]></textFieldExpression>
carlos@0
   345
				</textField>
carlos@0
   346
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   347
					<reportElement
carlos@0
   348
						style="default"
carlos@0
   349
						x="347"
carlos@0
   350
						y="0"
carlos@0
   351
						width="75"
carlos@0
   352
						height="14"
carlos@0
   353
						key="textField-2"
carlos@0
   354
						stretchType="RelativeToBandHeight"/>
carlos@0
   355
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#666666" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   356
					<textElement textAlignment="Right">
carlos@0
   357
						<font/>
carlos@0
   358
					</textElement>
carlos@0
   359
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{UNIT_COST}!=null)?$P{NUMBERFORMAT}.format($F{UNIT_COST}):new String(" ")]]></textFieldExpression>
carlos@0
   360
				</textField>
carlos@0
   361
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   362
					<reportElement
carlos@0
   363
						style="default"
carlos@0
   364
						x="272"
carlos@0
   365
						y="0"
carlos@0
   366
						width="75"
carlos@0
   367
						height="14"
carlos@0
   368
						key="textField-3"
carlos@0
   369
						stretchType="RelativeToBandHeight"/>
carlos@0
   370
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#666666" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   371
					<textElement textAlignment="Right">
carlos@0
   372
						<font/>
carlos@0
   373
					</textElement>
carlos@0
   374
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{QUANTITY}!=null)?$P{NUMBERFORMAT}.format($F{QUANTITY}):new String(" ")]]></textFieldExpression>
carlos@0
   375
				</textField>
carlos@0
   376
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   377
					<reportElement
carlos@0
   378
						style="default"
carlos@0
   379
						x="0"
carlos@0
   380
						y="0"
carlos@0
   381
						width="272"
carlos@0
   382
						height="14"
carlos@0
   383
						key="textField-4"
carlos@0
   384
						stretchType="RelativeToBandHeight"/>
carlos@0
   385
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#666666" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   386
					<textElement>
carlos@0
   387
						<font/>
carlos@0
   388
					</textElement>
carlos@0
   389
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{CONCEPT}]]></textFieldExpression>
carlos@0
   390
				</textField>
carlos@0
   391
				</frame>			</band>
carlos@0
   392
		</detail>
carlos@0
   393
		<columnFooter>
carlos@0
   394
			<band height="16"  isSplitAllowed="true" >
carlos@0
   395
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   396
					<reportElement
carlos@0
   397
						style="Total_Field"
carlos@0
   398
						x="422"
carlos@0
   399
						y="1"
carlos@0
   400
						width="83"
carlos@0
   401
						height="15"
carlos@0
   402
						key="textField"/>
carlos@0
   403
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   404
					<textElement textAlignment="Right">
carlos@0
   405
						<font pdfFontName="Helvetica-Bold"/>
carlos@0
   406
					</textElement>
carlos@0
   407
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{COST_TOTAL}!=null)?$P{NUMBERFORMAT}.format($V{COST_TOTAL}):new String(" ")]]></textFieldExpression>
carlos@0
   408
				</textField>
carlos@0
   409
				<staticText>
carlos@0
   410
					<reportElement
carlos@0
   411
						style="Report_Footer"
carlos@0
   412
						x="272"
carlos@0
   413
						y="1"
carlos@0
   414
						width="150"
carlos@0
   415
						height="15"
carlos@0
   416
						key="staticText-1"/>
carlos@0
   417
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   418
					<textElement textAlignment="Right">
carlos@0
   419
						<font/>
carlos@0
   420
					</textElement>
carlos@0
   421
				<text><![CDATA[Sequence Total Cost: ]]></text>
carlos@0
   422
				</staticText>
carlos@0
   423
				<line direction="TopDown">
carlos@0
   424
					<reportElement
carlos@0
   425
						style="Report_Footer"
carlos@0
   426
						x="0"
carlos@0
   427
						y="0"
carlos@0
   428
						width="505"
carlos@0
   429
						height="0"
carlos@0
   430
						forecolor="#666666"
carlos@0
   431
						key="line-1"/>
carlos@0
   432
					<graphicElement stretchType="NoStretch"/>
carlos@0
   433
				</line>
carlos@0
   434
			</band>
carlos@0
   435
		</columnFooter>
carlos@0
   436
		<pageFooter>
carlos@0
   437
			<band height="0"  isSplitAllowed="true" >
carlos@0
   438
			</band>
carlos@0
   439
		</pageFooter>
carlos@0
   440
		<summary>
carlos@0
   441
			<band height="0"  isSplitAllowed="true" >
carlos@0
   442
			</band>
carlos@0
   443
		</summary>
carlos@0
   444
</jasperReport>