src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesNoComparativeJR.jrxml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 0 0247c26f10c6
child 1787 84217f37d788
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="ReportInvoiceCustomerDimensionalAnalysesNoComparativeJR"
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="483"
carlos@0
    12
		 columnSpacing="0"
carlos@0
    13
		 leftMargin="56"
carlos@0
    14
		 rightMargin="56"
carlos@0
    15
		 topMargin="56"
carlos@0
    16
		 bottomMargin="56"
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="true"
carlos@0
    29
		vAlign="Middle"
carlos@0
    30
		fontName="Bitstream Vera Sans"
carlos@0
    31
		fontSize="11"
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
		vAlign="Middle"
carlos@0
    52
		fontName="Bitstream Vera Sans"
carlos@0
    53
		fontSize="11"
carlos@0
    54
		isBold="true"
carlos@0
    55
	/>
carlos@0
    56
	<style 
carlos@0
    57
		name="Report_Data_Field"
carlos@0
    58
		isDefault="false"
carlos@0
    59
		fontName="Bitstream Vera Sans"
carlos@0
    60
		fontSize="11"
carlos@0
    61
		isBold="false"
carlos@0
    62
	/>
carlos@0
    63
	<style 
carlos@0
    64
		name="Total_Field"
carlos@0
    65
		isDefault="false"
carlos@0
    66
		mode="Opaque"
carlos@0
    67
		forecolor="#000000"
carlos@0
    68
		backcolor="#CCCCCC"
carlos@0
    69
		vAlign="Middle"
carlos@0
    70
		leftPadding="5"
carlos@0
    71
		fontName="Bitstream Vera Sans"
carlos@0
    72
		fontSize="9"
carlos@0
    73
		isBold="true"
carlos@0
    74
	/>
carlos@0
    75
	<style 
carlos@0
    76
		name="Detail_Header"
carlos@0
    77
		isDefault="false"
carlos@0
    78
		mode="Opaque"
carlos@0
    79
		forecolor="#FFFFFF"
carlos@0
    80
		backcolor="#5D5D5D"
carlos@0
    81
		vAlign="Middle"
carlos@0
    82
		leftBorder="1Point"
carlos@0
    83
		leftBorderColor="#FFFFFF"
carlos@0
    84
		leftPadding="1"
carlos@0
    85
		rightBorder="1Point"
carlos@0
    86
		rightBorderColor="#FFFFFF"
carlos@0
    87
	/>
carlos@0
    88
	<style 
carlos@0
    89
		name="Detail_Line"
carlos@0
    90
		isDefault="false"
carlos@0
    91
		fontName="Bitstream Vera Sans"
carlos@0
    92
		fontSize="8"
carlos@0
    93
		isBold="true"
carlos@0
    94
	>
carlos@0
    95
carlos@0
    96
		<conditionalStyle>
carlos@0
    97
			<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==1)]]></conditionExpression>
carlos@0
    98
			<style 
carlos@0
    99
				name="Detail_Line"
carlos@0
   100
				isDefault="false"
carlos@0
   101
				mode="Opaque"
carlos@0
   102
				backcolor="#CCCCCC"
carlos@0
   103
			/>
carlos@0
   104
		</conditionalStyle>
carlos@0
   105
	</style>
carlos@0
   106
	<style 
carlos@0
   107
		name="Level1_Line"
carlos@0
   108
		isDefault="false"
carlos@0
   109
		mode="Opaque"
carlos@0
   110
		backcolor="#E5E5E5"
carlos@0
   111
		vAlign="Middle"
carlos@0
   112
		fontName="Bitstream Vera Sans"
carlos@0
   113
		fontSize="8"
carlos@0
   114
		isBold="false"
carlos@0
   115
	>
carlos@0
   116
carlos@0
   117
		<conditionalStyle>
carlos@0
   118
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==1)&&($V{NIVEL1_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   119
			<style 
carlos@0
   120
				name="Level1_Line"
carlos@0
   121
				isDefault="false"
carlos@0
   122
				mode="Opaque"
carlos@0
   123
				backcolor="#FFFFFF"
carlos@0
   124
				vAlign="Middle"
carlos@0
   125
				fontName="Bitstream Vera Sans"
carlos@0
   126
				fontSize="8"
carlos@0
   127
				isBold="false"
carlos@0
   128
			/>
carlos@0
   129
		</conditionalStyle>
carlos@0
   130
			<conditionalStyle>
carlos@0
   131
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==1)&&($V{NIVEL1_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   132
				<style 
carlos@0
   133
					name="Level1_Line"
carlos@0
   134
					isDefault="false"
carlos@0
   135
					mode="Opaque"
carlos@0
   136
					backcolor="#E5E5E5"
carlos@0
   137
					vAlign="Middle"
carlos@0
   138
					fontName="Bitstream Vera Sans"
carlos@0
   139
					fontSize="8"
carlos@0
   140
					isBold="false"
carlos@0
   141
				/>
carlos@0
   142
			</conditionalStyle>
carlos@0
   143
	</style>
carlos@0
   144
	<style 
carlos@0
   145
		name="Level2_Line"
carlos@0
   146
		isDefault="false"
carlos@0
   147
		mode="Opaque"
carlos@0
   148
		backcolor="#CCCCCC"
carlos@0
   149
		vAlign="Middle"
carlos@0
   150
		fontName="Bitstream Vera Sans"
carlos@0
   151
		fontSize="8"
carlos@0
   152
		isBold="false"
carlos@0
   153
	>
carlos@0
   154
carlos@0
   155
		<conditionalStyle>
carlos@0
   156
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==2)&&($V{NIVEL1_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   157
			<style 
carlos@0
   158
				name="Level2_Line"
carlos@0
   159
				isDefault="false"
carlos@0
   160
				mode="Opaque"
carlos@0
   161
				backcolor="#FFFFFF"
carlos@0
   162
				vAlign="Middle"
carlos@0
   163
				fontName="Bitstream Vera Sans"
carlos@0
   164
				fontSize="8"
carlos@0
   165
				isBold="false"
carlos@0
   166
			/>
carlos@0
   167
		</conditionalStyle>
carlos@0
   168
			<conditionalStyle>
carlos@0
   169
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==2)&&($V{NIVEL1_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   170
				<style 
carlos@0
   171
					name="Level2_Line"
carlos@0
   172
					isDefault="false"
carlos@0
   173
					mode="Opaque"
carlos@0
   174
					backcolor="#E5E5E5"
carlos@0
   175
					vAlign="Middle"
carlos@0
   176
					fontName="Bitstream Vera Sans"
carlos@0
   177
					fontSize="8"
carlos@0
   178
					isBold="false"
carlos@0
   179
				/>
carlos@0
   180
			</conditionalStyle>
carlos@0
   181
	</style>
carlos@0
   182
	<style 
carlos@0
   183
		name="Level3_Line"
carlos@0
   184
		isDefault="false"
carlos@0
   185
		mode="Opaque"
carlos@0
   186
		backcolor="#E5E5E5"
carlos@0
   187
		vAlign="Middle"
carlos@0
   188
		fontName="Bitstream Vera Sans"
carlos@0
   189
		fontSize="8"
carlos@0
   190
		isBold="false"
carlos@0
   191
	>
carlos@0
   192
carlos@0
   193
		<conditionalStyle>
carlos@0
   194
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==3)&&($V{NIVEL2_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   195
			<style 
carlos@0
   196
				name="Level3_Line"
carlos@0
   197
				isDefault="false"
carlos@0
   198
				mode="Opaque"
carlos@0
   199
				backcolor="#FFFFFF"
carlos@0
   200
				vAlign="Middle"
carlos@0
   201
				fontName="Bitstream Vera Sans"
carlos@0
   202
				fontSize="8"
carlos@0
   203
				isBold="false"
carlos@0
   204
			/>
carlos@0
   205
		</conditionalStyle>
carlos@0
   206
			<conditionalStyle>
carlos@0
   207
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==3)&&($V{NIVEL2_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   208
				<style 
carlos@0
   209
					name="Level3_Line"
carlos@0
   210
					isDefault="false"
carlos@0
   211
					mode="Opaque"
carlos@0
   212
					backcolor="#E5E5E5"
carlos@0
   213
					vAlign="Middle"
carlos@0
   214
					fontName="Bitstream Vera Sans"
carlos@0
   215
					fontSize="8"
carlos@0
   216
					isBold="false"
carlos@0
   217
				/>
carlos@0
   218
			</conditionalStyle>
carlos@0
   219
	</style>
carlos@0
   220
	<style 
carlos@0
   221
		name="Level4_Line"
carlos@0
   222
		isDefault="false"
carlos@0
   223
		mode="Opaque"
carlos@0
   224
		backcolor="#CCCCCC"
carlos@0
   225
		vAlign="Middle"
carlos@0
   226
		fontName="Bitstream Vera Sans"
carlos@0
   227
		fontSize="8"
carlos@0
   228
		isBold="false"
carlos@0
   229
	>
carlos@0
   230
carlos@0
   231
		<conditionalStyle>
carlos@0
   232
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==4)&&($V{NIVEL3_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   233
			<style 
carlos@0
   234
				name="Level4_Line"
carlos@0
   235
				isDefault="false"
carlos@0
   236
				backcolor="#FFFFFF"
carlos@0
   237
				vAlign="Middle"
carlos@0
   238
				fontName="Bitstream Vera Sans"
carlos@0
   239
				fontSize="8"
carlos@0
   240
				isBold="false"
carlos@0
   241
			/>
carlos@0
   242
		</conditionalStyle>
carlos@0
   243
			<conditionalStyle>
carlos@0
   244
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==4)&&($V{NIVEL3_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   245
				<style 
carlos@0
   246
					name="Level4_Line"
carlos@0
   247
					isDefault="false"
carlos@0
   248
					mode="Opaque"
carlos@0
   249
					backcolor="#E5E5E5"
carlos@0
   250
					vAlign="Middle"
carlos@0
   251
					fontName="Bitstream Vera Sans"
carlos@0
   252
					fontSize="8"
carlos@0
   253
					isBold="false"
carlos@0
   254
				/>
carlos@0
   255
			</conditionalStyle>
carlos@0
   256
	</style>
carlos@0
   257
	<style 
carlos@0
   258
		name="Level5_Line"
carlos@0
   259
		isDefault="false"
carlos@0
   260
		mode="Opaque"
carlos@0
   261
		backcolor="#E5E5E5"
carlos@0
   262
		vAlign="Middle"
carlos@0
   263
		fontName="Bitstream Vera Sans"
carlos@0
   264
		fontSize="8"
carlos@0
   265
		isBold="false"
carlos@0
   266
	>
carlos@0
   267
carlos@0
   268
		<conditionalStyle>
carlos@0
   269
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==5)&&($V{NIVEL4_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   270
			<style 
carlos@0
   271
				name="Level5_Line"
carlos@0
   272
				isDefault="false"
carlos@0
   273
				mode="Opaque"
carlos@0
   274
				backcolor="#FFFFFF"
carlos@0
   275
				vAlign="Middle"
carlos@0
   276
				fontName="Bitstream Vera Sans"
carlos@0
   277
				fontSize="8"
carlos@0
   278
				isBold="false"
carlos@0
   279
			/>
carlos@0
   280
		</conditionalStyle>
carlos@0
   281
			<conditionalStyle>
carlos@0
   282
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==5)&&($V{NIVEL4_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   283
				<style 
carlos@0
   284
					name="Level5_Line"
carlos@0
   285
					isDefault="false"
carlos@0
   286
					mode="Opaque"
carlos@0
   287
					backcolor="#E5E5E5"
carlos@0
   288
					vAlign="Middle"
carlos@0
   289
					fontName="Bitstream Vera Sans"
carlos@0
   290
					fontSize="8"
carlos@0
   291
					isBold="false"
carlos@0
   292
				/>
carlos@0
   293
			</conditionalStyle>
carlos@0
   294
	</style>
carlos@0
   295
	<style 
carlos@0
   296
		name="Level6_Line"
carlos@0
   297
		isDefault="false"
carlos@0
   298
		mode="Opaque"
carlos@0
   299
		backcolor="#CCCCCC"
carlos@0
   300
		vAlign="Middle"
carlos@0
   301
		fontName="Bitstream Vera Sans"
carlos@0
   302
		fontSize="8"
carlos@0
   303
		isBold="false"
carlos@0
   304
	>
carlos@0
   305
carlos@0
   306
		<conditionalStyle>
carlos@0
   307
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==6)&&($V{LEVEL5_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   308
			<style 
carlos@0
   309
				name="Level6_Line"
carlos@0
   310
				isDefault="false"
carlos@0
   311
				mode="Opaque"
carlos@0
   312
				backcolor="#FFFFFF"
carlos@0
   313
				vAlign="Middle"
carlos@0
   314
				fontName="Bitstream Vera Sans"
carlos@0
   315
				fontSize="8"
carlos@0
   316
				isBold="false"
carlos@0
   317
			/>
carlos@0
   318
		</conditionalStyle>
carlos@0
   319
			<conditionalStyle>
carlos@0
   320
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==6)&&($V{LEVEL5_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   321
				<style 
carlos@0
   322
					name="Level6_Line"
carlos@0
   323
					isDefault="false"
carlos@0
   324
					mode="Opaque"
carlos@0
   325
					backcolor="#E5E5E5"
carlos@0
   326
					vAlign="Middle"
carlos@0
   327
					fontName="Bitstream Vera Sans"
carlos@0
   328
					fontSize="8"
carlos@0
   329
					isBold="false"
carlos@0
   330
				/>
carlos@0
   331
			</conditionalStyle>
carlos@0
   332
	</style>
carlos@0
   333
	<style 
carlos@0
   334
		name="Level7_Line"
carlos@0
   335
		isDefault="false"
carlos@0
   336
		mode="Opaque"
carlos@0
   337
		backcolor="#E5E5E5"
carlos@0
   338
		vAlign="Middle"
carlos@0
   339
		fontName="Bitstream Vera Sans"
carlos@0
   340
		fontSize="8"
carlos@0
   341
		isBold="false"
carlos@0
   342
	>
carlos@0
   343
carlos@0
   344
		<conditionalStyle>
carlos@0
   345
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==7)&&($V{LEVEL6_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   346
			<style 
carlos@0
   347
				name="Level7_Line"
carlos@0
   348
				isDefault="false"
carlos@0
   349
				mode="Opaque"
carlos@0
   350
				backcolor="#FFFFFF"
carlos@0
   351
				vAlign="Middle"
carlos@0
   352
				fontName="Bitstream Vera Sans"
carlos@0
   353
				fontSize="8"
carlos@0
   354
				isBold="false"
carlos@0
   355
			/>
carlos@0
   356
		</conditionalStyle>
carlos@0
   357
			<conditionalStyle>
carlos@0
   358
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==7)&&($V{LEVEL6_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   359
				<style 
carlos@0
   360
					name="Level7_Line"
carlos@0
   361
					isDefault="false"
carlos@0
   362
					mode="Opaque"
carlos@0
   363
					backcolor="#E5E5E5"
carlos@0
   364
					vAlign="Middle"
carlos@0
   365
					fontName="Bitstream Vera Sans"
carlos@0
   366
					fontSize="8"
carlos@0
   367
					isBold="false"
carlos@0
   368
				/>
carlos@0
   369
			</conditionalStyle>
carlos@0
   370
	</style>
carlos@0
   371
	<style 
carlos@0
   372
		name="Level8_Line"
carlos@0
   373
		isDefault="false"
carlos@0
   374
		mode="Opaque"
carlos@0
   375
		backcolor="#CCCCCC"
carlos@0
   376
		vAlign="Middle"
carlos@0
   377
		fontName="Bitstream Vera Sans"
carlos@0
   378
		fontSize="8"
carlos@0
   379
		isBold="false"
carlos@0
   380
	>
carlos@0
   381
carlos@0
   382
		<conditionalStyle>
carlos@0
   383
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==8)&&($V{LEVEL7_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   384
			<style 
carlos@0
   385
				name="Level8_Line"
carlos@0
   386
				isDefault="false"
carlos@0
   387
				mode="Opaque"
carlos@0
   388
				backcolor="#FFFFFF"
carlos@0
   389
				vAlign="Middle"
carlos@0
   390
				fontName="Bitstream Vera Sans"
carlos@0
   391
				fontSize="8"
carlos@0
   392
				isBold="false"
carlos@0
   393
			/>
carlos@0
   394
		</conditionalStyle>
carlos@0
   395
			<conditionalStyle>
carlos@0
   396
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==8)&&($V{LEVEL7_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   397
				<style 
carlos@0
   398
					name="Level8_Line"
carlos@0
   399
					isDefault="false"
carlos@0
   400
					mode="Opaque"
carlos@0
   401
					backcolor="#E5E5E5"
carlos@0
   402
					vAlign="Middle"
carlos@0
   403
					fontName="Bitstream Vera Sans"
carlos@0
   404
					fontSize="8"
carlos@0
   405
					isBold="false"
carlos@0
   406
				/>
carlos@0
   407
			</conditionalStyle>
carlos@0
   408
	</style>
carlos@0
   409
	<style 
carlos@0
   410
		name="Level9_Line"
carlos@0
   411
		isDefault="false"
carlos@0
   412
		mode="Opaque"
carlos@0
   413
		backcolor="#E5E5E5"
carlos@0
   414
		vAlign="Middle"
carlos@0
   415
		fontName="Bitstream Vera Sans"
carlos@0
   416
		fontSize="8"
carlos@0
   417
		isBold="false"
carlos@0
   418
	>
carlos@0
   419
carlos@0
   420
		<conditionalStyle>
carlos@0
   421
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==9)&&($V{LEVEL8_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   422
			<style 
carlos@0
   423
				name="Level9_Line"
carlos@0
   424
				isDefault="false"
carlos@0
   425
				mode="Opaque"
carlos@0
   426
				backcolor="#FFFFFF"
carlos@0
   427
				vAlign="Middle"
carlos@0
   428
				fontName="Bitstream Vera Sans"
carlos@0
   429
				fontSize="8"
carlos@0
   430
				isBold="false"
carlos@0
   431
			/>
carlos@0
   432
		</conditionalStyle>
carlos@0
   433
			<conditionalStyle>
carlos@0
   434
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==9)&&($V{LEVEL8_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   435
				<style 
carlos@0
   436
					name="Level9_Line"
carlos@0
   437
					isDefault="false"
carlos@0
   438
					mode="Opaque"
carlos@0
   439
					backcolor="#E5E5E5"
carlos@0
   440
					vAlign="Middle"
carlos@0
   441
					fontName="Bitstream Vera Sans"
carlos@0
   442
					fontSize="8"
carlos@0
   443
					isBold="false"
carlos@0
   444
				/>
carlos@0
   445
			</conditionalStyle>
carlos@0
   446
	</style>
carlos@0
   447
	<style 
carlos@0
   448
		name="Level10_Line"
carlos@0
   449
		isDefault="false"
carlos@0
   450
		mode="Opaque"
carlos@0
   451
		backcolor="#CCCCCC"
carlos@0
   452
		vAlign="Middle"
carlos@0
   453
		fontName="Bitstream Vera Sans"
carlos@0
   454
		fontSize="8"
carlos@0
   455
		isBold="false"
carlos@0
   456
	>
carlos@0
   457
carlos@0
   458
		<conditionalStyle>
carlos@0
   459
			<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==10)&&($V{LEVEL9_COUNT}.intValue()%2==0))]]></conditionExpression>
carlos@0
   460
			<style 
carlos@0
   461
				name="Level10_Line"
carlos@0
   462
				isDefault="false"
carlos@0
   463
				mode="Opaque"
carlos@0
   464
				backcolor="#FFFFFF"
carlos@0
   465
				vAlign="Middle"
carlos@0
   466
				fontName="Bitstream Vera Sans"
carlos@0
   467
				fontSize="8"
carlos@0
   468
				isBold="false"
carlos@0
   469
			/>
carlos@0
   470
		</conditionalStyle>
carlos@0
   471
			<conditionalStyle>
carlos@0
   472
				<conditionExpression><![CDATA[new Boolean(($P{DIMENSIONS}.intValue()==10)&&($V{LEVEL9_COUNT}.intValue()%2==1))]]></conditionExpression>
carlos@0
   473
				<style 
carlos@0
   474
					name="Level10_Line"
carlos@0
   475
					isDefault="false"
carlos@0
   476
					mode="Opaque"
carlos@0
   477
					backcolor="#E5E5E5"
carlos@0
   478
					vAlign="Middle"
carlos@0
   479
					fontName="Bitstream Vera Sans"
carlos@0
   480
					fontSize="8"
carlos@0
   481
					isBold="false"
carlos@0
   482
				/>
carlos@0
   483
			</conditionalStyle>
carlos@0
   484
	</style>
carlos@0
   485
	<style 
carlos@0
   486
		name="Report_Footer"
carlos@0
   487
		isDefault="false"
carlos@0
   488
		vAlign="Middle"
carlos@0
   489
		fontName="Bitstream Vera Sans"
carlos@0
   490
		fontSize="11"
carlos@0
   491
	/>
carlos@0
   492
	<style 
carlos@0
   493
		name="Detail_Border"
carlos@0
   494
		isDefault="false"
carlos@0
   495
		forecolor="#8A8A8A"
carlos@0
   496
		pen="Thin"
carlos@0
   497
	/>
carlos@0
   498
carlos@0
   499
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String">
carlos@0
   500
		<defaultValueExpression ><![CDATA["0,1000000"]]></defaultValueExpression>
carlos@0
   501
	</parameter>
carlos@0
   502
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String">
carlos@0
   503
		<defaultValueExpression ><![CDATA["0,1000000"]]></defaultValueExpression>
carlos@0
   504
	</parameter>
carlos@0
   505
	<parameter name="DATEFROM" isForPrompting="false" class="java.util.Date">
carlos@0
   506
		<defaultValueExpression ><![CDATA[(new SimpleDateFormat("dd-MM-yyyy")).parse("01-01-2006")]]></defaultValueExpression>
carlos@0
   507
	</parameter>
carlos@0
   508
	<parameter name="DATETO" isForPrompting="false" class="java.util.Date">
carlos@0
   509
		<defaultValueExpression ><![CDATA[(new SimpleDateFormat("dd-MM-yyyy")).parse("01-02-2006")]]></defaultValueExpression>
carlos@0
   510
	</parameter>
carlos@0
   511
	<parameter name="cBpGroupId" isForPrompting="false" class="java.lang.String">
carlos@0
   512
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
carlos@0
   513
	</parameter>
carlos@0
   514
	<parameter name="cBpGroupId_Aux" isForPrompting="false" class="java.lang.String">
carlos@0
   515
		<defaultValueExpression ><![CDATA[$P{cBpGroupId}.equals("") ? " " : (" AND C_BP_Group.C_BP_Group_ID = " + $P{cBpGroupId})]]></defaultValueExpression>
carlos@0
   516
	</parameter>
carlos@0
   517
	<parameter name="cBpartnerId" isForPrompting="false" class="java.lang.String">
carlos@0
   518
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
carlos@0
   519
	</parameter>
carlos@0
   520
	<parameter name="cBpartnerId_Aux" isForPrompting="false" class="java.lang.String">
carlos@0
   521
		<defaultValueExpression ><![CDATA[($P{cBpartnerId}.equals(""))?"  ":" AND C_BPartner.C_BPartner_ID IN " + $P{cBpartnerId}]]></defaultValueExpression>
carlos@0
   522
	</parameter>
carlos@0
   523
	<parameter name="mProductCategoryId" isForPrompting="false" class="java.lang.String">
carlos@0
   524
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
carlos@0
   525
	</parameter>
carlos@0
   526
	<parameter name="mProductCategoryId_Aux" isForPrompting="false" class="java.lang.String">
carlos@0
   527
		<defaultValueExpression ><![CDATA[($P{mProductCategoryId}.equals(""))?"  ":" AND M_Product_Category.M_Product_Category_Id = " + $P{mProductCategoryId}]]></defaultValueExpression>
carlos@0
   528
	</parameter>
carlos@0
   529
	<parameter name="mProductId" isForPrompting="false" class="java.lang.String">
carlos@0
   530
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
carlos@0
   531
	</parameter>
carlos@0
   532
	<parameter name="mProductId_Aux" isForPrompting="false" class="java.lang.String">
carlos@0
   533
		<defaultValueExpression ><![CDATA[($P{mProductId}.equals(""))?" ":" AND M_Product.M_Product_ID IN " + $P{mProductId}]]></defaultValueExpression>
carlos@0
   534
	</parameter>
carlos@0
   535
	<parameter name="orderBy" isForPrompting="false" class="java.lang.String">
carlos@0
   536
		<defaultValueExpression ><![CDATA[" ORDER BY 1 "]]></defaultValueExpression>
carlos@0
   537
	</parameter>
carlos@0
   538
	<parameter name="REPORT_TITLE" isForPrompting="false" class="java.lang.String">
carlos@0
   539
		<defaultValueExpression ><![CDATA["Purchase Orders Report"]]></defaultValueExpression>
carlos@0
   540
	</parameter>
carlos@0
   541
	<parameter name="PRODUCT_LEVEL" isForPrompting="false" class="java.lang.Integer">
carlos@0
   542
		<defaultValueExpression ><![CDATA[new Integer(3)]]></defaultValueExpression>
carlos@0
   543
	</parameter>
carlos@0
   544
	<parameter name="THEME" isForPrompting="false" class="java.lang.String">
carlos@0
   545
		<defaultValueExpression ><![CDATA["Default"]]></defaultValueExpression>
carlos@0
   546
	</parameter>
carlos@0
   547
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String">
carlos@0
   548
		<defaultValueExpression ><![CDATA["/var/lib/tomcat-5.5/webapps/alerts/web"]]></defaultValueExpression>
carlos@0
   549
	</parameter>
carlos@0
   550
	<parameter name="REPORT_SUBTITLE" isForPrompting="false" class="java.lang.String"/>
carlos@0
   551
	<parameter name="LEVEL1_LABEL" isForPrompting="false" class="java.lang.String">
carlos@0
   552
		<defaultValueExpression ><![CDATA["Partner Group"]]></defaultValueExpression>
carlos@0
   553
	</parameter>
carlos@0
   554
	<parameter name="LEVEL2_LABEL" isForPrompting="false" class="java.lang.String">
carlos@0
   555
		<defaultValueExpression ><![CDATA["Product Category"]]></defaultValueExpression>
carlos@0
   556
	</parameter>
carlos@0
   557
	<parameter name="LEVEL3_LABEL" isForPrompting="false" class="java.lang.String">
carlos@0
   558
		<defaultValueExpression ><![CDATA["Product"]]></defaultValueExpression>
carlos@0
   559
	</parameter>
carlos@0
   560
	<parameter name="LEVEL4_LABEL" isForPrompting="false" class="java.lang.String">
carlos@0
   561
		<defaultValueExpression ><![CDATA["Partner"]]></defaultValueExpression>
carlos@0
   562
	</parameter>
carlos@0
   563
	<parameter name="LEVEL5_LABEL" isForPrompting="false" class="java.lang.String"/>
carlos@0
   564
	<parameter name="LEVEL6_LABEL" isForPrompting="false" class="java.lang.String"/>
carlos@0
   565
	<parameter name="LEVEL7_LABEL" isForPrompting="false" class="java.lang.String"/>
carlos@0
   566
	<parameter name="LEVEL8_LABEL" isForPrompting="false" class="java.lang.String"/>
carlos@0
   567
	<parameter name="LEVEL9_LABEL" isForPrompting="false" class="java.lang.String"/>
carlos@0
   568
	<parameter name="LEVEL10_LABEL" isForPrompting="false" class="java.lang.String"/>
carlos@0
   569
	<parameter name="DIMENSIONS" isForPrompting="false" class="java.lang.Integer">
carlos@0
   570
		<defaultValueExpression ><![CDATA[new Integer(10)]]></defaultValueExpression>
carlos@0
   571
	</parameter>
carlos@0
   572
	<parameter name="LEVEL_LABEL" isForPrompting="false" class="java.lang.String">
carlos@0
   573
		<defaultValueExpression ><![CDATA["1.- "+$P{LEVEL1_LABEL}
carlos@0
   574
+($P{LEVEL2_LABEL}==""?"":", 2.- "+$P{LEVEL2_LABEL})
carlos@0
   575
+($P{LEVEL3_LABEL}==""?"":", 3.- "+$P{LEVEL3_LABEL})
carlos@0
   576
+($P{LEVEL4_LABEL}==""?"":", 4.- "+$P{LEVEL4_LABEL})
carlos@0
   577
+($P{LEVEL5_LABEL}==""?"":", 5.- "+$P{LEVEL5_LABEL})
carlos@0
   578
+($P{LEVEL6_LABEL}==""?"":", 6.- "+$P{LEVEL6_LABEL})
carlos@0
   579
+($P{LEVEL7_LABEL}==""?"":", 7.- "+$P{LEVEL7_LABEL})
carlos@0
   580
+($P{LEVEL8_LABEL}==""?"":", 8.- "+$P{LEVEL8_LABEL})
carlos@0
   581
+($P{LEVEL9_LABEL}==""?"":", 9.- "+$P{LEVEL9_LABEL})
carlos@0
   582
+($P{LEVEL10_LABEL}==""?"":", 10.- "+$P{LEVEL10_LABEL})]]></defaultValueExpression>
carlos@0
   583
	</parameter>
carlos@0
   584
	<parameter name="LOCALE" isForPrompting="false" class="java.util.Locale">
carlos@0
   585
		<defaultValueExpression ><![CDATA[new Locale("en","US")]]></defaultValueExpression>
carlos@0
   586
	</parameter>
carlos@0
   587
	<parameter name="NUMBERFORMAT" isForPrompting="false" class="java.text.DecimalFormat"/>
carlos@0
   588
	<queryString><![CDATA[SELECT NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, NIVEL10, SUM(LINENETAMT) AS AMOUNT, SUM(QTYINVOICED) AS QTY, SUM(COST) AS COST, SUM(LINENETREF) AS AMOUNTREF, SUM(QTYINVOICEDREF) AS QTYREF, SUM(WEIGHT) AS WEIGHT, SUM(WEIGHT_REF) AS WEIGHTREF, '' AS ID, '' AS NAME, UOMSYMBOL
carlos@0
   589
      FROM (SELECT to_char(C_BP_GROUP.NAME) AS NIVEL1, to_char(AD_COLUMN_IDENTIFIER(to_char('C_Bpartner'), to_char( C_BPARTNER.C_BPARTNER_ID), to_char( 'en_US'))) AS NIVEL2, to_char(C_PROJECT.NAME
carlos@0
   590
) AS NIVEL3, to_char(M_PRODUCT_CATEGORY.NAME) AS NIVEL4, to_char('5') AS NIVEL5, to_char('6') AS NIVEL6, to_char('7') AS NIVEL7, to_char('9') AS NIVEL8, to_char('10') AS NIVEL9, to_char('11') AS NIVEL10,
carlos@0
   591
      C_INVOICELINE.LINENETAMT, C_INVOICELINE.QTYINVOICED, GET_PRODUCT_COST(M_PRODUCT.M_PRODUCT_ID, C_INVOICE.DATEINVOICED, NULL)*C_INVOICELINE.QTYINVOICED AS COST, 0 AS LINENETREF, 0 AS QTYINVOICEDREF, C_UOM.UOMSYMBOL, C_INVOICELINE.QTYINVOICED*M_PRODUCT.WEIGHT AS WEIGHT, 0 AS WEIGHT_REF
carlos@0
   592
      FROM C_INVOICE left join AD_USER on C_INVOICE.SALESREP_ID = AD_USER.AD_USER_ID
carlos@0
   593
                     left join C_PROJECT on C_INVOICE.C_PROJECT_ID = C_PROJECT.C_PROJECT_ID,
carlos@0
   594
           C_INVOICELINE left join M_PRODUCT on C_INVOICELINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
carlos@0
   595
                         left join C_UOM on C_INVOICELINE.C_UOM_ID = C_UOM.C_UOM_ID
carlos@0
   596
                         left join M_PRODUCT_CATEGORY on M_PRODUCT.M_PRODUCT_CATEGORY_ID = M_PRODUCT_CATEGORY.M_PRODUCT_CATEGORY_ID
carlos@0
   597
                         left join M_INOUTLINE on C_INVOICELINE.M_INOUTLINE_ID = M_INOUTLINE.M_INOUTLINE_ID
carlos@0
   598
                         left join  M_INOUT ON M_INOUTLINE.M_INOUT_ID = M_INOUT.M_INOUT_ID,
carlos@0
   599
           C_BPARTNER    left join C_BPARTNER CB on C_BPARTNER.SALESREP_ID = CB.C_BPARTNER_ID,
carlos@0
   600
           C_BP_GROUP, AD_ORG 
carlos@0
   601
      WHERE C_INVOICE.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID
carlos@0
   602
      AND C_BPARTNER.C_BP_GROUP_ID = C_BP_GROUP.C_BP_GROUP_ID
carlos@0
   603
      AND C_INVOICE.C_INVOICE_ID = C_INVOICELINE.C_INVOICE_ID
carlos@0
   604
      AND C_INVOICE.AD_ORG_ID = AD_ORG.AD_ORG_ID
carlos@0
   605
      AND C_INVOICE.ISSOTRX = 'Y'
carlos@0
   606
      AND C_INVOICE.PROCESSED = 'Y'
carlos@0
   607
      AND AD_ORG.AD_ORG_ID IN ('1000000')
carlos@0
   608
      AND C_INVOICE.AD_CLIENT_ID IN ('1000000')
carlos@0
   609
      AND 1=1
carlos@0
   610
      ORDER BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, NIVEL10) AA
carlos@0
   611
      GROUP BY NIVEL1, NIVEL2, NIVEL3, NIVEL4, NIVEL5, NIVEL6, NIVEL7, NIVEL8, NIVEL9, NIVEL10, UOMSYMBOL, 1]]></queryString>
carlos@0
   612
carlos@0
   613
	<field name="NIVEL1" class="java.lang.String"/>
carlos@0
   614
	<field name="NIVEL2" class="java.lang.String"/>
carlos@0
   615
	<field name="NIVEL3" class="java.lang.String"/>
carlos@0
   616
	<field name="NIVEL4" class="java.lang.String"/>
carlos@0
   617
	<field name="NIVEL5" class="java.lang.String"/>
carlos@0
   618
	<field name="NIVEL6" class="java.lang.String"/>
carlos@0
   619
	<field name="NIVEL7" class="java.lang.String"/>
carlos@0
   620
	<field name="NIVEL8" class="java.lang.String"/>
carlos@0
   621
	<field name="NIVEL9" class="java.lang.String"/>
carlos@0
   622
	<field name="NIVEL10" class="java.lang.String"/>
carlos@0
   623
	<field name="AMOUNT" class="java.math.BigDecimal"/>
carlos@0
   624
	<field name="QTY" class="java.math.BigDecimal"/>
carlos@0
   625
	<field name="COST" class="java.math.BigDecimal"/>
carlos@0
   626
	<field name="AMOUNTREF" class="java.math.BigDecimal"/>
carlos@0
   627
	<field name="QTYREF" class="java.math.BigDecimal"/>
carlos@0
   628
	<field name="WEIGHT" class="java.math.BigDecimal"/>
carlos@0
   629
	<field name="WEIGHTREF" class="java.math.BigDecimal"/>
carlos@0
   630
	<field name="ID" class="java.lang.String"/>
carlos@0
   631
	<field name="NAME" class="java.lang.String"/>
carlos@0
   632
	<field name="UOMSYMBOL" class="java.lang.String"/>
carlos@0
   633
carlos@0
   634
	<variable name="QTY_SUM1" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL1" calculation="Sum">
carlos@0
   635
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   636
	</variable>
carlos@0
   637
	<variable name="QTY_SUM2" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL2" calculation="Sum">
carlos@0
   638
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   639
	</variable>
carlos@0
   640
	<variable name="QTY_SUM3" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL3" calculation="Sum">
carlos@0
   641
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   642
	</variable>
carlos@0
   643
	<variable name="QTY_SUM4" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL4" calculation="Sum">
carlos@0
   644
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   645
	</variable>
carlos@0
   646
	<variable name="QTY_SUM5" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL5" calculation="Sum">
carlos@0
   647
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   648
	</variable>
carlos@0
   649
	<variable name="QTY_SUM6" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL6" calculation="Sum">
carlos@0
   650
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   651
	</variable>
carlos@0
   652
	<variable name="QTY_SUM7" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL7" calculation="Sum">
carlos@0
   653
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   654
	</variable>
carlos@0
   655
	<variable name="QTY_SUM8" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL8" calculation="Sum">
carlos@0
   656
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   657
	</variable>
carlos@0
   658
	<variable name="QTY_SUM9" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL9" calculation="Sum">
carlos@0
   659
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   660
	</variable>
carlos@0
   661
	<variable name="QTY_SUM10" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL10" calculation="Sum">
carlos@0
   662
		<variableExpression><![CDATA[$F{QTY}]]></variableExpression>
carlos@0
   663
	</variable>
carlos@0
   664
	<variable name="AMOUNT_TOTAL" class="java.math.BigDecimal" resetType="Report" calculation="Sum">
carlos@0
   665
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   666
	</variable>
carlos@0
   667
	<variable name="AMOUNT_SUM1" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL1" calculation="Sum">
carlos@0
   668
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   669
	</variable>
carlos@0
   670
	<variable name="AMOUNT_SUM2" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL2" calculation="Sum">
carlos@0
   671
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   672
	</variable>
carlos@0
   673
	<variable name="AMOUNT_SUM3" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL3" calculation="Sum">
carlos@0
   674
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   675
	</variable>
carlos@0
   676
	<variable name="AMOUNT_SUM4" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL4" calculation="Sum">
carlos@0
   677
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   678
	</variable>
carlos@0
   679
	<variable name="AMOUNT_SUM5" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL5" calculation="Sum">
carlos@0
   680
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   681
	</variable>
carlos@0
   682
	<variable name="AMOUNT_SUM6" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL6" calculation="Sum">
carlos@0
   683
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   684
	</variable>
carlos@0
   685
	<variable name="AMOUNT_SUM7" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL7" calculation="Sum">
carlos@0
   686
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   687
	</variable>
carlos@0
   688
	<variable name="AMOUNT_SUM8" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL8" calculation="Sum">
carlos@0
   689
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   690
	</variable>
carlos@0
   691
	<variable name="AMOUNT_SUM9" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL9" calculation="Sum">
carlos@0
   692
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   693
	</variable>
carlos@0
   694
	<variable name="AMOUNT_SUM10" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL10" calculation="Sum">
carlos@0
   695
		<variableExpression><![CDATA[$F{AMOUNT}]]></variableExpression>
carlos@0
   696
	</variable>
carlos@0
   697
	<variable name="COST_SUM1" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL1" calculation="Sum">
carlos@0
   698
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   699
	</variable>
carlos@0
   700
	<variable name="COST_SUM2" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL2" calculation="Sum">
carlos@0
   701
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   702
	</variable>
carlos@0
   703
	<variable name="COST_SUM3" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL3" calculation="Sum">
carlos@0
   704
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   705
	</variable>
carlos@0
   706
	<variable name="COST_SUM4" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL4" calculation="Sum">
carlos@0
   707
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   708
	</variable>
carlos@0
   709
	<variable name="COST_SUM5" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL5" calculation="Sum">
carlos@0
   710
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   711
	</variable>
carlos@0
   712
	<variable name="COST_SUM6" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL6" calculation="Sum">
carlos@0
   713
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   714
	</variable>
carlos@0
   715
	<variable name="COST_SUM7" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL7" calculation="Sum">
carlos@0
   716
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   717
	</variable>
carlos@0
   718
	<variable name="COST_SUM8" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL8" calculation="Sum">
carlos@0
   719
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   720
	</variable>
carlos@0
   721
	<variable name="COST_SUM9" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL9" calculation="Sum">
carlos@0
   722
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   723
	</variable>
carlos@0
   724
	<variable name="COST_SUM10" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL10" calculation="Sum">
carlos@0
   725
		<variableExpression><![CDATA[$F{COST}]]></variableExpression>
carlos@0
   726
	</variable>
carlos@0
   727
	<variable name="PROFIT_1" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL1" calculation="Nothing">
carlos@0
   728
		<variableExpression><![CDATA[$V{AMOUNT_SUM1}.subtract($V{COST_SUM1})]]></variableExpression>
carlos@0
   729
	</variable>
carlos@0
   730
	<variable name="PROFIT_2" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL2" calculation="Nothing">
carlos@0
   731
		<variableExpression><![CDATA[$V{AMOUNT_SUM2}.subtract($V{COST_SUM2})]]></variableExpression>
carlos@0
   732
	</variable>
carlos@0
   733
	<variable name="PROFIT_3" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL3" calculation="Nothing">
carlos@0
   734
		<variableExpression><![CDATA[$V{AMOUNT_SUM3}.subtract($V{COST_SUM3})]]></variableExpression>
carlos@0
   735
	</variable>
carlos@0
   736
	<variable name="PROFIT_4" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL4" calculation="Nothing">
carlos@0
   737
		<variableExpression><![CDATA[$V{AMOUNT_SUM4}.subtract($V{COST_SUM4})]]></variableExpression>
carlos@0
   738
	</variable>
carlos@0
   739
	<variable name="PROFIT_5" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL5" calculation="Nothing">
carlos@0
   740
		<variableExpression><![CDATA[$V{AMOUNT_SUM5}.subtract($V{COST_SUM5})]]></variableExpression>
carlos@0
   741
	</variable>
carlos@0
   742
	<variable name="PROFIT_6" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL6" calculation="Nothing">
carlos@0
   743
		<variableExpression><![CDATA[$V{AMOUNT_SUM6}.subtract($V{COST_SUM6})]]></variableExpression>
carlos@0
   744
	</variable>
carlos@0
   745
	<variable name="PROFIT_7" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL7" calculation="Nothing">
carlos@0
   746
		<variableExpression><![CDATA[$V{AMOUNT_SUM7}.subtract($V{COST_SUM7})]]></variableExpression>
carlos@0
   747
	</variable>
carlos@0
   748
	<variable name="PROFIT_8" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL8" calculation="Nothing">
carlos@0
   749
		<variableExpression><![CDATA[$V{AMOUNT_SUM8}.subtract($V{COST_SUM8})]]></variableExpression>
carlos@0
   750
	</variable>
carlos@0
   751
	<variable name="PROFIT_9" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL9" calculation="Nothing">
carlos@0
   752
		<variableExpression><![CDATA[$V{AMOUNT_SUM9}.subtract($V{COST_SUM9})]]></variableExpression>
carlos@0
   753
	</variable>
carlos@0
   754
	<variable name="PROFIT_10" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL10" calculation="Nothing">
carlos@0
   755
		<variableExpression><![CDATA[$V{AMOUNT_SUM10}.subtract($V{COST_SUM10})]]></variableExpression>
carlos@0
   756
	</variable>
carlos@0
   757
	<variable name="MARGIN_1" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL1" calculation="Nothing">
carlos@0
   758
		<variableExpression><![CDATA[($V{AMOUNT_SUM1}.compareTo( new BigDecimal(0.0) )==0)?
carlos@0
   759
null:
carlos@0
   760
$V{PROFIT_1}.divide( $V{AMOUNT_SUM1}, 2, BigDecimal.ROUND_HALF_UP ).multiply( new BigDecimal(100.0) )]]></variableExpression>
carlos@0
   761
	</variable>
carlos@0
   762
	<variable name="MARGIN_2" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL2" calculation="Nothing">
carlos@0
   763
		<variableExpression><![CDATA[($V{AMOUNT_SUM2}.compareTo( new BigDecimal(0.0) )==0)? null: $V{PROFIT_2}.divide( $V{AMOUNT_SUM2}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0) )]]></variableExpression>
carlos@0
   764
	</variable>
carlos@0
   765
	<variable name="MARGIN_3" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL3" calculation="Nothing">
carlos@0
   766
		<variableExpression><![CDATA[($V{AMOUNT_SUM3}.compareTo( new BigDecimal(0.0) )==0)? null: $V{PROFIT_3}.divide( $V{AMOUNT_SUM3}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0))]]></variableExpression>
carlos@0
   767
	</variable>
carlos@0
   768
	<variable name="MARGIN_4" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL4" calculation="Nothing">
carlos@0
   769
		<variableExpression><![CDATA[($V{AMOUNT_SUM4}.compareTo( new BigDecimal(0.0) )==0)? null: $V{PROFIT_4}.divide( $V{AMOUNT_SUM4}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0))]]></variableExpression>
carlos@0
   770
	</variable>
carlos@0
   771
	<variable name="MARGIN_5" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL5" calculation="Nothing">
carlos@0
   772
		<variableExpression><![CDATA[($V{AMOUNT_SUM5}.compareTo( new BigDecimal(0.0) )==0)? null: $V{PROFIT_5}.divide( $V{AMOUNT_SUM5}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0))]]></variableExpression>
carlos@0
   773
	</variable>
carlos@0
   774
	<variable name="MARGIN_6" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL6" calculation="Nothing">
carlos@0
   775
		<variableExpression><![CDATA[($V{AMOUNT_SUM6}.compareTo( new BigDecimal(0.0) )==0)? null: $V{PROFIT_6}.divide( $V{AMOUNT_SUM6}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0))]]></variableExpression>
carlos@0
   776
	</variable>
carlos@0
   777
	<variable name="MARGIN_7" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL7" calculation="Nothing">
carlos@0
   778
		<variableExpression><![CDATA[($V{AMOUNT_SUM7}.compareTo( new BigDecimal(0.0) )==0)? null: $V{PROFIT_7}.divide( $V{AMOUNT_SUM7}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0))]]></variableExpression>
carlos@0
   779
	</variable>
carlos@0
   780
	<variable name="MARGIN_8" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL8" calculation="Nothing">
carlos@0
   781
		<variableExpression><![CDATA[($V{AMOUNT_SUM8}.compareTo( new BigDecimal(0.0) )==0)? null: $V{PROFIT_8}.divide( $V{AMOUNT_SUM8}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0))]]></variableExpression>
carlos@0
   782
	</variable>
carlos@0
   783
	<variable name="MARGIN_9" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL9" calculation="Nothing">
carlos@0
   784
		<variableExpression><![CDATA[($V{AMOUNT_SUM9}.compareTo( new BigDecimal(0.0) )==0)? null: $V{PROFIT_9}.divide( $V{AMOUNT_SUM9}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0))]]></variableExpression>
carlos@0
   785
	</variable>
carlos@0
   786
	<variable name="MARGIN_10" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL10" calculation="Nothing">
carlos@0
   787
		<variableExpression><![CDATA[($V{AMOUNT_SUM10}.compareTo( new BigDecimal(0.0) )==0)? null:$V{PROFIT_10}.divide( $V{AMOUNT_SUM10}, 2, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal(100.0))]]></variableExpression>
carlos@0
   788
	</variable>
carlos@0
   789
	<variable name="WEIGHT_SUM1" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL1" calculation="Sum">
carlos@0
   790
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   791
	</variable>
carlos@0
   792
	<variable name="WEIGHT_SUM2" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL2" calculation="Sum">
carlos@0
   793
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   794
	</variable>
carlos@0
   795
	<variable name="WEIGHT_SUM3" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL3" calculation="Sum">
carlos@0
   796
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   797
	</variable>
carlos@0
   798
	<variable name="WEIGHT_SUM4" class="java.math.BigDecimal" resetType="Group" resetGroup="NIVEL4" calculation="Sum">
carlos@0
   799
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   800
	</variable>
carlos@0
   801
	<variable name="WEIGHT_SUM5" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL5" calculation="Sum">
carlos@0
   802
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   803
	</variable>
carlos@0
   804
	<variable name="WEIGHT_SUM6" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL6" calculation="Sum">
carlos@0
   805
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   806
	</variable>
carlos@0
   807
	<variable name="WEIGHT_SUM7" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL7" calculation="Sum">
carlos@0
   808
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   809
	</variable>
carlos@0
   810
	<variable name="WEIGHT_SUM8" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL8" calculation="Sum">
carlos@0
   811
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   812
	</variable>
carlos@0
   813
	<variable name="WEIGHT_SUM9" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL9" calculation="Sum">
carlos@0
   814
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   815
	</variable>
carlos@0
   816
	<variable name="WEIGHT_SUM10" class="java.math.BigDecimal" resetType="Group" resetGroup="LEVEL10" calculation="Sum">
carlos@0
   817
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   818
	</variable>
carlos@0
   819
	<variable name="WEIGHT_TOTAL" class="java.math.BigDecimal" resetType="Report" calculation="Sum">
carlos@0
   820
		<variableExpression><![CDATA[$F{WEIGHT}]]></variableExpression>
carlos@0
   821
	</variable>
carlos@0
   822
carlos@0
   823
		<group  name="TOTALIZE" >
carlos@0
   824
			<groupExpression><![CDATA[]]></groupExpression>
carlos@0
   825
			<groupHeader>
carlos@0
   826
			<band height="0"  isSplitAllowed="true" >
carlos@0
   827
			</band>
carlos@0
   828
			</groupHeader>
carlos@0
   829
			<groupFooter>
carlos@0
   830
			<band height="20"  isSplitAllowed="true" >
carlos@0
   831
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   832
					<reportElement
carlos@0
   833
						style="Total_Field"
carlos@0
   834
						x="178"
carlos@0
   835
						y="2"
carlos@0
   836
						width="75"
carlos@0
   837
						height="16"
carlos@0
   838
						key="textField-21"/>
carlos@0
   839
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   840
					<textElement textAlignment="Right">
carlos@0
   841
						<font isBold="false"/>
carlos@0
   842
					</textElement>
carlos@0
   843
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{AMOUNT_TOTAL}!=null)?$P{NUMBERFORMAT}.format($V{AMOUNT_TOTAL}):new String(" ")]]></textFieldExpression>
carlos@0
   844
				</textField>
carlos@0
   845
				<staticText>
carlos@0
   846
					<reportElement
carlos@0
   847
						style="Report_Data_Label"
carlos@0
   848
						x="100"
carlos@0
   849
						y="2"
carlos@0
   850
						width="78"
carlos@0
   851
						height="16"
carlos@0
   852
						key="staticText-8"/>
carlos@0
   853
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   854
					<textElement textAlignment="Right" verticalAlignment="Middle">
carlos@0
   855
						<font/>
carlos@0
   856
					</textElement>
carlos@0
   857
				<text><![CDATA[Total:]]></text>
carlos@0
   858
				</staticText>
carlos@0
   859
				<line direction="TopDown">
carlos@0
   860
					<reportElement
carlos@0
   861
						x="0"
carlos@0
   862
						y="0"
carlos@0
   863
						width="483"
carlos@0
   864
						height="0"
carlos@0
   865
						key="line-3"/>
carlos@0
   866
					<graphicElement stretchType="NoStretch"/>
carlos@0
   867
				</line>
carlos@0
   868
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   869
					<reportElement
carlos@0
   870
						style="Detail_Header"
carlos@0
   871
						mode="Opaque"
carlos@0
   872
						x="15"
carlos@0
   873
						y="1"
carlos@0
   874
						width="15"
carlos@0
   875
						height="16"
carlos@0
   876
						key="textField-23">
carlos@0
   877
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=2)]]></printWhenExpression>
carlos@0
   878
						</reportElement>
carlos@0
   879
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" leftPadding="1" rightBorder="Thin" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   880
					<textElement rotation="None">
carlos@0
   881
						<font/>
carlos@0
   882
					</textElement>
carlos@0
   883
				<textFieldExpression   class="java.lang.String"><![CDATA[(($P{DIMENSIONS}.compareTo(new Integer(2))>=0)?"2":"")]]></textFieldExpression>
carlos@0
   884
				</textField>
carlos@0
   885
				<textField isStretchWithOverflow="true" pattern="##0.00" isBlankWhenNull="true" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   886
					<reportElement
carlos@0
   887
						style="Detail_Header"
carlos@0
   888
						x="0"
carlos@0
   889
						y="1"
carlos@0
   890
						width="15"
carlos@0
   891
						height="16"
carlos@0
   892
						key="textField-22">
carlos@0
   893
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=1)]]></printWhenExpression>
carlos@0
   894
						</reportElement>
carlos@0
   895
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#FFFFFF" leftPadding="1" rightBorder="Thin" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   896
					<textElement rotation="None">
carlos@0
   897
						<font/>
carlos@0
   898
					</textElement>
carlos@0
   899
				<textFieldExpression   class="java.lang.String"><![CDATA[(($P{DIMENSIONS}.compareTo(new Integer(1))>=0)?"1":"")]]></textFieldExpression>
carlos@0
   900
				</textField>
carlos@0
   901
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   902
					<reportElement
carlos@0
   903
						style="Detail_Header"
carlos@0
   904
						mode="Opaque"
carlos@0
   905
						x="30"
carlos@0
   906
						y="1"
carlos@0
   907
						width="15"
carlos@0
   908
						height="16"
carlos@0
   909
						key="textField-24">
carlos@0
   910
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=3)]]></printWhenExpression>
carlos@0
   911
						</reportElement>
carlos@0
   912
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" leftPadding="1" rightBorder="Thin" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   913
					<textElement rotation="None">
carlos@0
   914
						<font/>
carlos@0
   915
					</textElement>
carlos@0
   916
				<textFieldExpression   class="java.lang.String"><![CDATA[(($P{DIMENSIONS}.compareTo(new Integer(3))>=0)?"3":"")]]></textFieldExpression>
carlos@0
   917
				</textField>
carlos@0
   918
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   919
					<reportElement
carlos@0
   920
						style="Detail_Header"
carlos@0
   921
						mode="Opaque"
carlos@0
   922
						x="45"
carlos@0
   923
						y="1"
carlos@0
   924
						width="15"
carlos@0
   925
						height="16"
carlos@0
   926
						key="textField-25">
carlos@0
   927
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=4)]]></printWhenExpression>
carlos@0
   928
						</reportElement>
carlos@0
   929
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" leftPadding="1" rightBorder="Thin" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   930
					<textElement rotation="None">
carlos@0
   931
						<font/>
carlos@0
   932
					</textElement>
carlos@0
   933
				<textFieldExpression   class="java.lang.String"><![CDATA[(($P{DIMENSIONS}.compareTo(new Integer(4))>=0)?"4":"")]]></textFieldExpression>
carlos@0
   934
				</textField>
carlos@0
   935
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   936
					<reportElement
carlos@0
   937
						style="Detail_Header"
carlos@0
   938
						mode="Opaque"
carlos@0
   939
						x="60"
carlos@0
   940
						y="1"
carlos@0
   941
						width="15"
carlos@0
   942
						height="16"
carlos@0
   943
						key="textField-26">
carlos@0
   944
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=5)]]></printWhenExpression>
carlos@0
   945
						</reportElement>
carlos@0
   946
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#FFFFFF" leftPadding="1" rightBorder="Thin" rightBorderColor="#FFFFFF" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   947
					<textElement rotation="None">
carlos@0
   948
						<font/>
carlos@0
   949
					</textElement>
carlos@0
   950
				<textFieldExpression   class="java.lang.String"><![CDATA[(($P{DIMENSIONS}.compareTo(new Integer(5))>=0)?"5":" ")]]></textFieldExpression>
carlos@0
   951
				</textField>
carlos@0
   952
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   953
					<reportElement
carlos@0
   954
						style="Total_Field"
carlos@0
   955
						x="253"
carlos@0
   956
						y="2"
carlos@0
   957
						width="180"
carlos@0
   958
						height="16"
carlos@0
   959
						key="textField-204"/>
carlos@0
   960
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   961
					<textElement textAlignment="Right">
carlos@0
   962
						<font isBold="false"/>
carlos@0
   963
					</textElement>
carlos@0
   964
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{WEIGHT_TOTAL}!=null)?$P{NUMBERFORMAT}.format($V{WEIGHT_TOTAL}):new String(" ")]]></textFieldExpression>
carlos@0
   965
				</textField>
carlos@0
   966
			</band>
carlos@0
   967
			</groupFooter>
carlos@0
   968
		</group>
carlos@0
   969
		<group  name="NIVEL1" >
carlos@0
   970
			<groupExpression><![CDATA[$F{NIVEL1}]]></groupExpression>
carlos@0
   971
			<groupHeader>
carlos@0
   972
			<band height="18"  isSplitAllowed="true" >
carlos@0
   973
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=1)]]></printWhenExpression>
carlos@0
   974
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   975
					<reportElement
carlos@0
   976
						style="Level1_Line"
carlos@0
   977
						x="0"
carlos@0
   978
						y="0"
carlos@0
   979
						width="203"
carlos@0
   980
						height="18"
carlos@0
   981
						key="textField"
carlos@0
   982
						stretchType="RelativeToBandHeight"/>
carlos@0
   983
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#999999" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   984
					<textElement>
carlos@0
   985
						<font/>
carlos@0
   986
					</textElement>
carlos@0
   987
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{NIVEL1}]]></textFieldExpression>
carlos@0
   988
				</textField>
carlos@0
   989
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL1"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   990
					<reportElement
carlos@0
   991
						style="Level1_Line"
carlos@0
   992
						x="203"
carlos@0
   993
						y="0"
carlos@0
   994
						width="50"
carlos@0
   995
						height="18"
carlos@0
   996
						key="textField-155"
carlos@0
   997
						stretchType="RelativeToBandHeight"/>
carlos@0
   998
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#555555" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   999
					<textElement textAlignment="Right">
carlos@0
  1000
						<font/>
carlos@0
  1001
					</textElement>
carlos@0
  1002
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{AMOUNT_SUM1}!=null)?$P{NUMBERFORMAT}.format($V{AMOUNT_SUM1}):new String(" ")]]></textFieldExpression>
carlos@0
  1003
				</textField>
carlos@0
  1004
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL1"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1005
					<reportElement
carlos@0
  1006
						style="Level1_Line"
carlos@0
  1007
						x="253"
carlos@0
  1008
						y="0"
carlos@0
  1009
						width="50"
carlos@0
  1010
						height="18"
carlos@0
  1011
						key="textField-154"
carlos@0
  1012
						stretchType="RelativeToBandHeight"/>
carlos@0
  1013
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1014
					<textElement textAlignment="Right">
carlos@0
  1015
						<font/>
carlos@0
  1016
					</textElement>
carlos@0
  1017
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{COST_SUM1}!=null)?$P{NUMBERFORMAT}.format($V{COST_SUM1}):new String(" ")]]></textFieldExpression>
carlos@0
  1018
				</textField>
carlos@0
  1019
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL1"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1020
					<reportElement
carlos@0
  1021
						style="Level1_Line"
carlos@0
  1022
						x="303"
carlos@0
  1023
						y="0"
carlos@0
  1024
						width="50"
carlos@0
  1025
						height="18"
carlos@0
  1026
						key="textField-153"
carlos@0
  1027
						stretchType="RelativeToBandHeight"/>
carlos@0
  1028
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1029
					<textElement textAlignment="Right">
carlos@0
  1030
						<font/>
carlos@0
  1031
					</textElement>
carlos@0
  1032
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{PROFIT_1}!=null)?$P{NUMBERFORMAT}.format($V{PROFIT_1}):new String(" ")]]></textFieldExpression>
carlos@0
  1033
				</textField>
carlos@0
  1034
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL1"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1035
					<reportElement
carlos@0
  1036
						style="Level1_Line"
carlos@0
  1037
						x="353"
carlos@0
  1038
						y="0"
carlos@0
  1039
						width="30"
carlos@0
  1040
						height="18"
carlos@0
  1041
						key="textField"
carlos@0
  1042
						stretchType="RelativeToBandHeight"/>
carlos@0
  1043
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1044
					<textElement textAlignment="Right">
carlos@0
  1045
						<font/>
carlos@0
  1046
					</textElement>
carlos@0
  1047
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{MARGIN_1}!=null)?$P{NUMBERFORMAT}.format($V{MARGIN_1}):new String(" ")]]></textFieldExpression>
carlos@0
  1048
				</textField>
carlos@0
  1049
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL1"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1050
					<reportElement
carlos@0
  1051
						style="Level1_Line"
carlos@0
  1052
						x="383"
carlos@0
  1053
						y="0"
carlos@0
  1054
						width="45"
carlos@0
  1055
						height="18"
carlos@0
  1056
						key="textField-152"
carlos@0
  1057
						stretchType="RelativeToBandHeight"/>
carlos@0
  1058
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1059
					<textElement textAlignment="Right">
carlos@0
  1060
						<font/>
carlos@0
  1061
					</textElement>
carlos@0
  1062
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{WEIGHT_SUM1}!=null)?$P{NUMBERFORMAT}.format($V{WEIGHT_SUM1}):new String(" ")]]></textFieldExpression>
carlos@0
  1063
				</textField>
carlos@0
  1064
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL1"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1065
					<reportElement
carlos@0
  1066
						style="Level1_Line"
carlos@0
  1067
						x="428"
carlos@0
  1068
						y="0"
carlos@0
  1069
						width="40"
carlos@0
  1070
						height="18"
carlos@0
  1071
						key="textField"
carlos@0
  1072
						stretchType="RelativeToBandHeight">
carlos@0
  1073
							<printWhenExpression><![CDATA[new Boolean($P{PRODUCT_LEVEL}.intValue()<=1)]]></printWhenExpression>
carlos@0
  1074
						</reportElement>
carlos@0
  1075
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1076
					<textElement textAlignment="Right">
carlos@0
  1077
						<font/>
carlos@0
  1078
					</textElement>
carlos@0
  1079
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{QTY_SUM1}!=null)?$P{NUMBERFORMAT}.format($V{QTY_SUM1}):new String(" ")]]></textFieldExpression>
carlos@0
  1080
				</textField>
carlos@0
  1081
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL1"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1082
					<reportElement
carlos@0
  1083
						style="Level1_Line"
carlos@0
  1084
						x="468"
carlos@0
  1085
						y="0"
carlos@0
  1086
						width="15"
carlos@0
  1087
						height="18"
carlos@0
  1088
						key="textField"
carlos@0
  1089
						stretchType="RelativeToBandHeight">
carlos@0
  1090
							<printWhenExpression><![CDATA[new Boolean($P{PRODUCT_LEVEL}.intValue()<=1)]]></printWhenExpression>
carlos@0
  1091
						</reportElement>
carlos@0
  1092
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#999999" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1093
					<textElement>
carlos@0
  1094
						<font/>
carlos@0
  1095
					</textElement>
carlos@0
  1096
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{UOMSYMBOL}!=null)?$F{UOMSYMBOL}:new String(" ")]]></textFieldExpression>
carlos@0
  1097
				</textField>
carlos@0
  1098
			</band>
carlos@0
  1099
			</groupHeader>
carlos@0
  1100
			<groupFooter>
carlos@0
  1101
			<band height="5"  isSplitAllowed="true" >
carlos@0
  1102
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()==2)]]></printWhenExpression>
carlos@0
  1103
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1104
					<reportElement
carlos@0
  1105
						style="Level1_Line"
carlos@0
  1106
						mode="Opaque"
carlos@0
  1107
						x="0"
carlos@0
  1108
						y="0"
carlos@0
  1109
						width="15"
carlos@0
  1110
						height="5"
carlos@0
  1111
						key="textField-60"
carlos@0
  1112
						stretchType="RelativeToBandHeight">
carlos@0
  1113
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=2)]]></printWhenExpression>
carlos@0
  1114
						</reportElement>
carlos@0
  1115
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1116
					<textElement rotation="None">
carlos@0
  1117
						<font/>
carlos@0
  1118
					</textElement>
carlos@0
  1119
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1120
				</textField>
carlos@0
  1121
				<line direction="TopDown">
carlos@0
  1122
					<reportElement
carlos@0
  1123
						style="Detail_Border"
carlos@0
  1124
						x="15"
carlos@0
  1125
						y="0"
carlos@0
  1126
						width="468"
carlos@0
  1127
						height="0"
carlos@0
  1128
						key="line-6">
carlos@0
  1129
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()==2)]]></printWhenExpression>
carlos@0
  1130
						</reportElement>
carlos@0
  1131
					<graphicElement stretchType="NoStretch"/>
carlos@0
  1132
				</line>
carlos@0
  1133
			</band>
carlos@0
  1134
			</groupFooter>
carlos@0
  1135
		</group>
carlos@0
  1136
		<group  name="NIVEL2" >
carlos@0
  1137
			<groupExpression><![CDATA[$F{NIVEL2}]]></groupExpression>
carlos@0
  1138
			<groupHeader>
carlos@0
  1139
			<band height="18"  isSplitAllowed="true" >
carlos@0
  1140
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=2)]]></printWhenExpression>
carlos@0
  1141
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1142
					<reportElement
carlos@0
  1143
						style="Level1_Line"
carlos@0
  1144
						x="0"
carlos@0
  1145
						y="0"
carlos@0
  1146
						width="15"
carlos@0
  1147
						height="18"
carlos@0
  1148
						key="textField-2"
carlos@0
  1149
						stretchType="RelativeToBandHeight"/>
carlos@0
  1150
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1151
					<textElement rotation="Left">
carlos@0
  1152
						<font/>
carlos@0
  1153
					</textElement>
carlos@0
  1154
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1155
				</textField>
carlos@0
  1156
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1157
					<reportElement
carlos@0
  1158
						style="Level2_Line"
carlos@0
  1159
						x="15"
carlos@0
  1160
						y="0"
carlos@0
  1161
						width="188"
carlos@0
  1162
						height="18"
carlos@0
  1163
						key="textField"
carlos@0
  1164
						stretchType="RelativeToBandHeight"/>
carlos@0
  1165
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#999999" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1166
					<textElement>
carlos@0
  1167
						<font/>
carlos@0
  1168
					</textElement>
carlos@0
  1169
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{NIVEL2}]]></textFieldExpression>
carlos@0
  1170
				</textField>
carlos@0
  1171
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL2"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1172
					<reportElement
carlos@0
  1173
						style="Level2_Line"
carlos@0
  1174
						x="203"
carlos@0
  1175
						y="0"
carlos@0
  1176
						width="50"
carlos@0
  1177
						height="18"
carlos@0
  1178
						key="textField"
carlos@0
  1179
						stretchType="RelativeToBandHeight"/>
carlos@0
  1180
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1181
					<textElement textAlignment="Right">
carlos@0
  1182
						<font/>
carlos@0
  1183
					</textElement>
carlos@0
  1184
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{AMOUNT_SUM2}!=null)?$P{NUMBERFORMAT}.format($V{AMOUNT_SUM2}):new String(" ")]]></textFieldExpression>
carlos@0
  1185
				</textField>
carlos@0
  1186
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL2"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1187
					<reportElement
carlos@0
  1188
						style="Level2_Line"
carlos@0
  1189
						x="428"
carlos@0
  1190
						y="0"
carlos@0
  1191
						width="40"
carlos@0
  1192
						height="18"
carlos@0
  1193
						key="textField"
carlos@0
  1194
						stretchType="RelativeToBandHeight">
carlos@0
  1195
							<printWhenExpression><![CDATA[new Boolean($P{PRODUCT_LEVEL}.intValue()<=2)]]></printWhenExpression>
carlos@0
  1196
						</reportElement>
carlos@0
  1197
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1198
					<textElement textAlignment="Right">
carlos@0
  1199
						<font/>
carlos@0
  1200
					</textElement>
carlos@0
  1201
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{QTY_SUM2}!=null)?$P{NUMBERFORMAT}.format($V{QTY_SUM2}):new String(" ")]]></textFieldExpression>
carlos@0
  1202
				</textField>
carlos@0
  1203
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL2"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1204
					<reportElement
carlos@0
  1205
						style="Level2_Line"
carlos@0
  1206
						x="468"
carlos@0
  1207
						y="0"
carlos@0
  1208
						width="15"
carlos@0
  1209
						height="18"
carlos@0
  1210
						key="textField"
carlos@0
  1211
						stretchType="RelativeToBandHeight">
carlos@0
  1212
							<printWhenExpression><![CDATA[new Boolean($P{PRODUCT_LEVEL}.intValue()<=2)]]></printWhenExpression>
carlos@0
  1213
						</reportElement>
carlos@0
  1214
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#999999" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1215
					<textElement>
carlos@0
  1216
						<font/>
carlos@0
  1217
					</textElement>
carlos@0
  1218
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{UOMSYMBOL}!=null)?$F{UOMSYMBOL}:new String(" ")]]></textFieldExpression>
carlos@0
  1219
				</textField>
carlos@0
  1220
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL2"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1221
					<reportElement
carlos@0
  1222
						style="Level2_Line"
carlos@0
  1223
						x="253"
carlos@0
  1224
						y="0"
carlos@0
  1225
						width="50"
carlos@0
  1226
						height="18"
carlos@0
  1227
						key="textField-156"
carlos@0
  1228
						stretchType="RelativeToBandHeight"/>
carlos@0
  1229
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1230
					<textElement textAlignment="Right">
carlos@0
  1231
						<font/>
carlos@0
  1232
					</textElement>
carlos@0
  1233
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{COST_SUM2}!=null)?$P{NUMBERFORMAT}.format($V{COST_SUM2}):new String(" ")]]></textFieldExpression>
carlos@0
  1234
				</textField>
carlos@0
  1235
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL2"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1236
					<reportElement
carlos@0
  1237
						style="Level2_Line"
carlos@0
  1238
						x="303"
carlos@0
  1239
						y="0"
carlos@0
  1240
						width="50"
carlos@0
  1241
						height="18"
carlos@0
  1242
						key="textField-157"
carlos@0
  1243
						stretchType="RelativeToBandHeight"/>
carlos@0
  1244
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1245
					<textElement textAlignment="Right">
carlos@0
  1246
						<font/>
carlos@0
  1247
					</textElement>
carlos@0
  1248
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{PROFIT_2}!=null)?$P{NUMBERFORMAT}.format($V{PROFIT_2}):new String(" ")]]></textFieldExpression>
carlos@0
  1249
				</textField>
carlos@0
  1250
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL2"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1251
					<reportElement
carlos@0
  1252
						style="Level2_Line"
carlos@0
  1253
						x="353"
carlos@0
  1254
						y="0"
carlos@0
  1255
						width="30"
carlos@0
  1256
						height="18"
carlos@0
  1257
						key="textField-158"
carlos@0
  1258
						stretchType="RelativeToBandHeight"/>
carlos@0
  1259
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1260
					<textElement textAlignment="Right">
carlos@0
  1261
						<font/>
carlos@0
  1262
					</textElement>
carlos@0
  1263
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{MARGIN_2}!=null)?$P{NUMBERFORMAT}.format($V{MARGIN_2}):new String(" ")]]></textFieldExpression>
carlos@0
  1264
				</textField>
carlos@0
  1265
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL2"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1266
					<reportElement
carlos@0
  1267
						style="Level2_Line"
carlos@0
  1268
						x="383"
carlos@0
  1269
						y="0"
carlos@0
  1270
						width="45"
carlos@0
  1271
						height="18"
carlos@0
  1272
						key="textField-159"
carlos@0
  1273
						stretchType="RelativeToBandHeight"/>
carlos@0
  1274
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1275
					<textElement textAlignment="Right">
carlos@0
  1276
						<font/>
carlos@0
  1277
					</textElement>
carlos@0
  1278
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{WEIGHT_SUM2}!=null)?$P{NUMBERFORMAT}.format($V{WEIGHT_SUM2}):new String(" ")]]></textFieldExpression>
carlos@0
  1279
				</textField>
carlos@0
  1280
			</band>
carlos@0
  1281
			</groupHeader>
carlos@0
  1282
			<groupFooter>
carlos@0
  1283
			<band height="5"  isSplitAllowed="true" >
carlos@0
  1284
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()==3)]]></printWhenExpression>
carlos@0
  1285
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1286
					<reportElement
carlos@0
  1287
						style="Level1_Line"
carlos@0
  1288
						mode="Opaque"
carlos@0
  1289
						x="0"
carlos@0
  1290
						y="0"
carlos@0
  1291
						width="15"
carlos@0
  1292
						height="5"
carlos@0
  1293
						key="textField-56"
carlos@0
  1294
						stretchType="RelativeToBandHeight">
carlos@0
  1295
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=2)]]></printWhenExpression>
carlos@0
  1296
						</reportElement>
carlos@0
  1297
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1298
					<textElement rotation="None">
carlos@0
  1299
						<font/>
carlos@0
  1300
					</textElement>
carlos@0
  1301
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1302
				</textField>
carlos@0
  1303
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1304
					<reportElement
carlos@0
  1305
						style="Level2_Line"
carlos@0
  1306
						mode="Opaque"
carlos@0
  1307
						x="15"
carlos@0
  1308
						y="0"
carlos@0
  1309
						width="15"
carlos@0
  1310
						height="5"
carlos@0
  1311
						key="textField-58"
carlos@0
  1312
						stretchType="RelativeToBandHeight">
carlos@0
  1313
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=3)]]></printWhenExpression>
carlos@0
  1314
						</reportElement>
carlos@0
  1315
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1316
					<textElement rotation="None">
carlos@0
  1317
						<font/>
carlos@0
  1318
					</textElement>
carlos@0
  1319
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1320
				</textField>
carlos@0
  1321
				<line direction="TopDown">
carlos@0
  1322
					<reportElement
carlos@0
  1323
						style="Detail_Border"
carlos@0
  1324
						x="30"
carlos@0
  1325
						y="0"
carlos@0
  1326
						width="453"
carlos@0
  1327
						height="0"
carlos@0
  1328
						key="line-7">
carlos@0
  1329
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()==3)]]></printWhenExpression>
carlos@0
  1330
						</reportElement>
carlos@0
  1331
					<graphicElement stretchType="NoStretch"/>
carlos@0
  1332
				</line>
carlos@0
  1333
			</band>
carlos@0
  1334
			</groupFooter>
carlos@0
  1335
		</group>
carlos@0
  1336
		<group  name="NIVEL3" >
carlos@0
  1337
			<groupExpression><![CDATA[$F{NIVEL3}]]></groupExpression>
carlos@0
  1338
			<groupHeader>
carlos@0
  1339
			<band height="18"  isSplitAllowed="true" >
carlos@0
  1340
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=3)]]></printWhenExpression>
carlos@0
  1341
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1342
					<reportElement
carlos@0
  1343
						style="Level1_Line"
carlos@0
  1344
						x="0"
carlos@0
  1345
						y="0"
carlos@0
  1346
						width="15"
carlos@0
  1347
						height="18"
carlos@0
  1348
						key="textField-3"
carlos@0
  1349
						stretchType="RelativeToBandHeight"/>
carlos@0
  1350
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1351
					<textElement rotation="Left">
carlos@0
  1352
						<font/>
carlos@0
  1353
					</textElement>
carlos@0
  1354
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1355
				</textField>
carlos@0
  1356
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1357
					<reportElement
carlos@0
  1358
						style="Level2_Line"
carlos@0
  1359
						x="15"
carlos@0
  1360
						y="0"
carlos@0
  1361
						width="15"
carlos@0
  1362
						height="18"
carlos@0
  1363
						key="textField-8"
carlos@0
  1364
						stretchType="RelativeToBandHeight"/>
carlos@0
  1365
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1366
					<textElement rotation="Left">
carlos@0
  1367
						<font/>
carlos@0
  1368
					</textElement>
carlos@0
  1369
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1370
				</textField>
carlos@0
  1371
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1372
					<reportElement
carlos@0
  1373
						style="Level3_Line"
carlos@0
  1374
						x="30"
carlos@0
  1375
						y="0"
carlos@0
  1376
						width="173"
carlos@0
  1377
						height="18"
carlos@0
  1378
						key="textField"
carlos@0
  1379
						stretchType="RelativeToBandHeight"/>
carlos@0
  1380
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#999999" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1381
					<textElement>
carlos@0
  1382
						<font/>
carlos@0
  1383
					</textElement>
carlos@0
  1384
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{NIVEL3}]]></textFieldExpression>
carlos@0
  1385
				</textField>
carlos@0
  1386
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL3"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1387
					<reportElement
carlos@0
  1388
						style="Level3_Line"
carlos@0
  1389
						x="203"
carlos@0
  1390
						y="0"
carlos@0
  1391
						width="50"
carlos@0
  1392
						height="18"
carlos@0
  1393
						key="textField"
carlos@0
  1394
						stretchType="RelativeToBandHeight"/>
carlos@0
  1395
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1396
					<textElement textAlignment="Right">
carlos@0
  1397
						<font/>
carlos@0
  1398
					</textElement>
carlos@0
  1399
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{AMOUNT_SUM3}!=null)?$P{NUMBERFORMAT}.format($V{AMOUNT_SUM3}):new String(" ")]]></textFieldExpression>
carlos@0
  1400
				</textField>
carlos@0
  1401
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL3"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1402
					<reportElement
carlos@0
  1403
						style="Level3_Line"
carlos@0
  1404
						x="428"
carlos@0
  1405
						y="0"
carlos@0
  1406
						width="40"
carlos@0
  1407
						height="18"
carlos@0
  1408
						key="textField"
carlos@0
  1409
						stretchType="RelativeToBandHeight">
carlos@0
  1410
							<printWhenExpression><![CDATA[new Boolean($P{PRODUCT_LEVEL}.intValue()<=3)]]></printWhenExpression>
carlos@0
  1411
						</reportElement>
carlos@0
  1412
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1413
					<textElement textAlignment="Right">
carlos@0
  1414
						<font/>
carlos@0
  1415
					</textElement>
carlos@0
  1416
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{QTY_SUM3}!=null)?$P{NUMBERFORMAT}.format($V{QTY_SUM3}):new String(" ")]]></textFieldExpression>
carlos@0
  1417
				</textField>
carlos@0
  1418
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL3"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1419
					<reportElement
carlos@0
  1420
						style="Level3_Line"
carlos@0
  1421
						x="468"
carlos@0
  1422
						y="0"
carlos@0
  1423
						width="15"
carlos@0
  1424
						height="18"
carlos@0
  1425
						key="textField"
carlos@0
  1426
						stretchType="RelativeToBandHeight">
carlos@0
  1427
							<printWhenExpression><![CDATA[new Boolean($P{PRODUCT_LEVEL}.intValue()<=3)]]></printWhenExpression>
carlos@0
  1428
						</reportElement>
carlos@0
  1429
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#999999" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1430
					<textElement>
carlos@0
  1431
						<font/>
carlos@0
  1432
					</textElement>
carlos@0
  1433
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{UOMSYMBOL}!=null)?$F{UOMSYMBOL}:new String(" ")]]></textFieldExpression>
carlos@0
  1434
				</textField>
carlos@0
  1435
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL3"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1436
					<reportElement
carlos@0
  1437
						style="Level3_Line"
carlos@0
  1438
						x="253"
carlos@0
  1439
						y="0"
carlos@0
  1440
						width="50"
carlos@0
  1441
						height="18"
carlos@0
  1442
						key="textField-160"
carlos@0
  1443
						stretchType="RelativeToBandHeight"/>
carlos@0
  1444
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1445
					<textElement textAlignment="Right">
carlos@0
  1446
						<font/>
carlos@0
  1447
					</textElement>
carlos@0
  1448
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{COST_SUM3}!=null)?$P{NUMBERFORMAT}.format($V{COST_SUM3}):new String(" ")]]></textFieldExpression>
carlos@0
  1449
				</textField>
carlos@0
  1450
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL3"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1451
					<reportElement
carlos@0
  1452
						style="Level3_Line"
carlos@0
  1453
						x="303"
carlos@0
  1454
						y="0"
carlos@0
  1455
						width="50"
carlos@0
  1456
						height="18"
carlos@0
  1457
						key="textField-161"
carlos@0
  1458
						stretchType="RelativeToBandHeight"/>
carlos@0
  1459
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1460
					<textElement textAlignment="Right">
carlos@0
  1461
						<font/>
carlos@0
  1462
					</textElement>
carlos@0
  1463
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{PROFIT_3}!=null)?$P{NUMBERFORMAT}.format($V{PROFIT_3}):new String(" ")]]></textFieldExpression>
carlos@0
  1464
				</textField>
carlos@0
  1465
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL3"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1466
					<reportElement
carlos@0
  1467
						style="Level3_Line"
carlos@0
  1468
						x="353"
carlos@0
  1469
						y="0"
carlos@0
  1470
						width="30"
carlos@0
  1471
						height="18"
carlos@0
  1472
						key="textField-162"
carlos@0
  1473
						stretchType="RelativeToBandHeight"/>
carlos@0
  1474
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1475
					<textElement textAlignment="Right">
carlos@0
  1476
						<font/>
carlos@0
  1477
					</textElement>
carlos@0
  1478
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{MARGIN_3}!=null)?$P{NUMBERFORMAT}.format($V{MARGIN_3}):new String(" ")]]></textFieldExpression>
carlos@0
  1479
				</textField>
carlos@0
  1480
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL3"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1481
					<reportElement
carlos@0
  1482
						style="Level3_Line"
carlos@0
  1483
						x="383"
carlos@0
  1484
						y="0"
carlos@0
  1485
						width="45"
carlos@0
  1486
						height="18"
carlos@0
  1487
						key="textField-163"
carlos@0
  1488
						stretchType="RelativeToBandHeight"/>
carlos@0
  1489
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1490
					<textElement textAlignment="Right">
carlos@0
  1491
						<font/>
carlos@0
  1492
					</textElement>
carlos@0
  1493
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{WEIGHT_SUM3}!=null)?$P{NUMBERFORMAT}.format($V{WEIGHT_SUM3}):new String(" ")]]></textFieldExpression>
carlos@0
  1494
				</textField>
carlos@0
  1495
			</band>
carlos@0
  1496
			</groupHeader>
carlos@0
  1497
			<groupFooter>
carlos@0
  1498
			<band height="5"  isSplitAllowed="true" >
carlos@0
  1499
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()==4)]]></printWhenExpression>
carlos@0
  1500
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1501
					<reportElement
carlos@0
  1502
						style="Level1_Line"
carlos@0
  1503
						mode="Opaque"
carlos@0
  1504
						x="0"
carlos@0
  1505
						y="0"
carlos@0
  1506
						width="15"
carlos@0
  1507
						height="5"
carlos@0
  1508
						key="textField-52"
carlos@0
  1509
						stretchType="RelativeToBandHeight">
carlos@0
  1510
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=2)]]></printWhenExpression>
carlos@0
  1511
						</reportElement>
carlos@0
  1512
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1513
					<textElement rotation="None">
carlos@0
  1514
						<font/>
carlos@0
  1515
					</textElement>
carlos@0
  1516
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1517
				</textField>
carlos@0
  1518
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1519
					<reportElement
carlos@0
  1520
						style="Level3_Line"
carlos@0
  1521
						mode="Opaque"
carlos@0
  1522
						x="30"
carlos@0
  1523
						y="0"
carlos@0
  1524
						width="15"
carlos@0
  1525
						height="5"
carlos@0
  1526
						key="textField-53"
carlos@0
  1527
						stretchType="RelativeToBandHeight">
carlos@0
  1528
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=4)]]></printWhenExpression>
carlos@0
  1529
						</reportElement>
carlos@0
  1530
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1531
					<textElement rotation="None">
carlos@0
  1532
						<font/>
carlos@0
  1533
					</textElement>
carlos@0
  1534
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1535
				</textField>
carlos@0
  1536
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1537
					<reportElement
carlos@0
  1538
						style="Level2_Line"
carlos@0
  1539
						mode="Opaque"
carlos@0
  1540
						x="15"
carlos@0
  1541
						y="0"
carlos@0
  1542
						width="15"
carlos@0
  1543
						height="5"
carlos@0
  1544
						key="textField-54"
carlos@0
  1545
						stretchType="RelativeToBandHeight">
carlos@0
  1546
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=3)]]></printWhenExpression>
carlos@0
  1547
						</reportElement>
carlos@0
  1548
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1549
					<textElement rotation="None">
carlos@0
  1550
						<font/>
carlos@0
  1551
					</textElement>
carlos@0
  1552
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1553
				</textField>
carlos@0
  1554
				<line direction="TopDown">
carlos@0
  1555
					<reportElement
carlos@0
  1556
						style="Detail_Border"
carlos@0
  1557
						x="45"
carlos@0
  1558
						y="0"
carlos@0
  1559
						width="438"
carlos@0
  1560
						height="0"
carlos@0
  1561
						key="line-8">
carlos@0
  1562
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()==4)]]></printWhenExpression>
carlos@0
  1563
						</reportElement>
carlos@0
  1564
					<graphicElement stretchType="NoStretch"/>
carlos@0
  1565
				</line>
carlos@0
  1566
			</band>
carlos@0
  1567
			</groupFooter>
carlos@0
  1568
		</group>
carlos@0
  1569
		<group  name="NIVEL4" >
carlos@0
  1570
			<groupExpression><![CDATA[$F{NIVEL4}]]></groupExpression>
carlos@0
  1571
			<groupHeader>
carlos@0
  1572
			<band height="18"  isSplitAllowed="true" >
carlos@0
  1573
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=4)]]></printWhenExpression>
carlos@0
  1574
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1575
					<reportElement
carlos@0
  1576
						style="Level1_Line"
carlos@0
  1577
						x="0"
carlos@0
  1578
						y="0"
carlos@0
  1579
						width="15"
carlos@0
  1580
						height="18"
carlos@0
  1581
						key="textField-4"
carlos@0
  1582
						stretchType="RelativeToBandHeight"/>
carlos@0
  1583
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1584
					<textElement rotation="Left">
carlos@0
  1585
						<font/>
carlos@0
  1586
					</textElement>
carlos@0
  1587
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1588
				</textField>
carlos@0
  1589
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1590
					<reportElement
carlos@0
  1591
						style="Level2_Line"
carlos@0
  1592
						x="15"
carlos@0
  1593
						y="0"
carlos@0
  1594
						width="15"
carlos@0
  1595
						height="18"
carlos@0
  1596
						key="textField-9"
carlos@0
  1597
						stretchType="RelativeToBandHeight"/>
carlos@0
  1598
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1599
					<textElement rotation="Left">
carlos@0
  1600
						<font/>
carlos@0
  1601
					</textElement>
carlos@0
  1602
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1603
				</textField>
carlos@0
  1604
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1605
					<reportElement
carlos@0
  1606
						style="Level3_Line"
carlos@0
  1607
						x="30"
carlos@0
  1608
						y="0"
carlos@0
  1609
						width="15"
carlos@0
  1610
						height="18"
carlos@0
  1611
						key="textField-6"
carlos@0
  1612
						stretchType="RelativeToBandHeight"/>
carlos@0
  1613
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1614
					<textElement rotation="Left">
carlos@0
  1615
						<font/>
carlos@0
  1616
					</textElement>
carlos@0
  1617
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1618
				</textField>
carlos@0
  1619
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1620
					<reportElement
carlos@0
  1621
						style="Level4_Line"
carlos@0
  1622
						x="45"
carlos@0
  1623
						y="0"
carlos@0
  1624
						width="158"
carlos@0
  1625
						height="18"
carlos@0
  1626
						key="textField"
carlos@0
  1627
						stretchType="RelativeToBandHeight"/>
carlos@0
  1628
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#999999" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1629
					<textElement>
carlos@0
  1630
						<font/>
carlos@0
  1631
					</textElement>
carlos@0
  1632
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{NIVEL4}]]></textFieldExpression>
carlos@0
  1633
				</textField>
carlos@0
  1634
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL4"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1635
					<reportElement
carlos@0
  1636
						style="Level4_Line"
carlos@0
  1637
						x="203"
carlos@0
  1638
						y="0"
carlos@0
  1639
						width="50"
carlos@0
  1640
						height="18"
carlos@0
  1641
						key="textField"
carlos@0
  1642
						stretchType="RelativeToBandHeight"/>
carlos@0
  1643
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1644
					<textElement textAlignment="Right">
carlos@0
  1645
						<font/>
carlos@0
  1646
					</textElement>
carlos@0
  1647
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{AMOUNT_SUM4}!=null)?$P{NUMBERFORMAT}.format($V{AMOUNT_SUM4}):new String(" ")]]></textFieldExpression>
carlos@0
  1648
				</textField>
carlos@0
  1649
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL4"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1650
					<reportElement
carlos@0
  1651
						style="Level4_Line"
carlos@0
  1652
						x="428"
carlos@0
  1653
						y="0"
carlos@0
  1654
						width="40"
carlos@0
  1655
						height="18"
carlos@0
  1656
						key="textField"
carlos@0
  1657
						stretchType="RelativeToBandHeight">
carlos@0
  1658
							<printWhenExpression><![CDATA[new Boolean($P{PRODUCT_LEVEL}.intValue()<=4)]]></printWhenExpression>
carlos@0
  1659
						</reportElement>
carlos@0
  1660
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1661
					<textElement textAlignment="Right">
carlos@0
  1662
						<font/>
carlos@0
  1663
					</textElement>
carlos@0
  1664
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{QTY_SUM4}!=null)?$P{NUMBERFORMAT}.format($V{QTY_SUM4}):new String(" ")]]></textFieldExpression>
carlos@0
  1665
				</textField>
carlos@0
  1666
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL4"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1667
					<reportElement
carlos@0
  1668
						style="Level4_Line"
carlos@0
  1669
						x="468"
carlos@0
  1670
						y="0"
carlos@0
  1671
						width="15"
carlos@0
  1672
						height="18"
carlos@0
  1673
						key="textField"
carlos@0
  1674
						stretchType="RelativeToBandHeight">
carlos@0
  1675
							<printWhenExpression><![CDATA[new Boolean($P{PRODUCT_LEVEL}.intValue()<=4)]]></printWhenExpression>
carlos@0
  1676
						</reportElement>
carlos@0
  1677
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#999999" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1678
					<textElement>
carlos@0
  1679
						<font/>
carlos@0
  1680
					</textElement>
carlos@0
  1681
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{UOMSYMBOL}!=null)?$F{UOMSYMBOL}:new String(" ")]]></textFieldExpression>
carlos@0
  1682
				</textField>
carlos@0
  1683
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL4"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1684
					<reportElement
carlos@0
  1685
						style="Level4_Line"
carlos@0
  1686
						x="253"
carlos@0
  1687
						y="0"
carlos@0
  1688
						width="50"
carlos@0
  1689
						height="18"
carlos@0
  1690
						key="textField-164"
carlos@0
  1691
						stretchType="RelativeToBandHeight"/>
carlos@0
  1692
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1693
					<textElement textAlignment="Right">
carlos@0
  1694
						<font/>
carlos@0
  1695
					</textElement>
carlos@0
  1696
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{COST_SUM4}!=null)?$P{NUMBERFORMAT}.format($V{COST_SUM4}):new String(" ")]]></textFieldExpression>
carlos@0
  1697
				</textField>
carlos@0
  1698
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL4"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1699
					<reportElement
carlos@0
  1700
						style="Level4_Line"
carlos@0
  1701
						x="303"
carlos@0
  1702
						y="0"
carlos@0
  1703
						width="50"
carlos@0
  1704
						height="18"
carlos@0
  1705
						key="textField-165"
carlos@0
  1706
						stretchType="RelativeToBandHeight"/>
carlos@0
  1707
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1708
					<textElement textAlignment="Right">
carlos@0
  1709
						<font/>
carlos@0
  1710
					</textElement>
carlos@0
  1711
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{PROFIT_4}!=null)?$P{NUMBERFORMAT}.format($V{PROFIT_4}):new String(" ")]]></textFieldExpression>
carlos@0
  1712
				</textField>
carlos@0
  1713
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL4"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1714
					<reportElement
carlos@0
  1715
						style="Level4_Line"
carlos@0
  1716
						x="353"
carlos@0
  1717
						y="0"
carlos@0
  1718
						width="30"
carlos@0
  1719
						height="18"
carlos@0
  1720
						key="textField-166"
carlos@0
  1721
						stretchType="RelativeToBandHeight"/>
carlos@0
  1722
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1723
					<textElement textAlignment="Right">
carlos@0
  1724
						<font/>
carlos@0
  1725
					</textElement>
carlos@0
  1726
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{MARGIN_4}!=null)?$P{NUMBERFORMAT}.format($V{MARGIN_4}):new String(" ")]]></textFieldExpression>
carlos@0
  1727
				</textField>
carlos@0
  1728
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="NIVEL4"  hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1729
					<reportElement
carlos@0
  1730
						style="Level4_Line"
carlos@0
  1731
						x="383"
carlos@0
  1732
						y="0"
carlos@0
  1733
						width="45"
carlos@0
  1734
						height="18"
carlos@0
  1735
						key="textField-167"
carlos@0
  1736
						stretchType="RelativeToBandHeight"/>
carlos@0
  1737
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1738
					<textElement textAlignment="Right">
carlos@0
  1739
						<font/>
carlos@0
  1740
					</textElement>
carlos@0
  1741
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{WEIGHT_SUM4}!=null)?$P{NUMBERFORMAT}.format($V{WEIGHT_SUM4}):new String(" ")]]></textFieldExpression>
carlos@0
  1742
				</textField>
carlos@0
  1743
			</band>
carlos@0
  1744
			</groupHeader>
carlos@0
  1745
			<groupFooter>
carlos@0
  1746
			<band height="5"  isSplitAllowed="true" >
carlos@0
  1747
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()==5)]]></printWhenExpression>
carlos@0
  1748
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1749
					<reportElement
carlos@0
  1750
						style="Level1_Line"
carlos@0
  1751
						mode="Opaque"
carlos@0
  1752
						x="0"
carlos@0
  1753
						y="0"
carlos@0
  1754
						width="15"
carlos@0
  1755
						height="5"
carlos@0
  1756
						key="textField-48"
carlos@0
  1757
						stretchType="RelativeToBandHeight">
carlos@0
  1758
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=2)]]></printWhenExpression>
carlos@0
  1759
						</reportElement>
carlos@0
  1760
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1761
					<textElement rotation="None">
carlos@0
  1762
						<font/>
carlos@0
  1763
					</textElement>
carlos@0
  1764
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1765
				</textField>
carlos@0
  1766
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1767
					<reportElement
carlos@0
  1768
						style="Level3_Line"
carlos@0
  1769
						mode="Opaque"
carlos@0
  1770
						x="30"
carlos@0
  1771
						y="0"
carlos@0
  1772
						width="15"
carlos@0
  1773
						height="5"
carlos@0
  1774
						key="textField-49"
carlos@0
  1775
						stretchType="RelativeToBandHeight">
carlos@0
  1776
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=4)]]></printWhenExpression>
carlos@0
  1777
						</reportElement>
carlos@0
  1778
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1779
					<textElement rotation="None">
carlos@0
  1780
						<font/>
carlos@0
  1781
					</textElement>
carlos@0
  1782
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1783
				</textField>
carlos@0
  1784
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1785
					<reportElement
carlos@0
  1786
						style="Level2_Line"
carlos@0
  1787
						mode="Opaque"
carlos@0
  1788
						x="15"
carlos@0
  1789
						y="0"
carlos@0
  1790
						width="15"
carlos@0
  1791
						height="5"
carlos@0
  1792
						key="textField-50"
carlos@0
  1793
						stretchType="RelativeToBandHeight">
carlos@0
  1794
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=3)]]></printWhenExpression>
carlos@0
  1795
						</reportElement>
carlos@0
  1796
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1797
					<textElement rotation="None">
carlos@0
  1798
						<font/>
carlos@0
  1799
					</textElement>
carlos@0
  1800
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1801
				</textField>
carlos@0
  1802
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1803
					<reportElement
carlos@0
  1804
						style="Level4_Line"
carlos@0
  1805
						mode="Opaque"
carlos@0
  1806
						x="45"
carlos@0
  1807
						y="0"
carlos@0
  1808
						width="15"
carlos@0
  1809
						height="5"
carlos@0
  1810
						key="textField-51"
carlos@0
  1811
						stretchType="RelativeToBandHeight">
carlos@0
  1812
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=5)]]></printWhenExpression>
carlos@0
  1813
						</reportElement>
carlos@0
  1814
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1815
					<textElement rotation="None">
carlos@0
  1816
						<font/>
carlos@0
  1817
					</textElement>
carlos@0
  1818
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1819
				</textField>
carlos@0
  1820
				<line direction="TopDown">
carlos@0
  1821
					<reportElement
carlos@0
  1822
						style="Detail_Border"
carlos@0
  1823
						x="60"
carlos@0
  1824
						y="0"
carlos@0
  1825
						width="423"
carlos@0
  1826
						height="0"
carlos@0
  1827
						key="line-9">
carlos@0
  1828
							<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()==5)]]></printWhenExpression>
carlos@0
  1829
						</reportElement>
carlos@0
  1830
					<graphicElement stretchType="NoStretch"/>
carlos@0
  1831
				</line>
carlos@0
  1832
			</band>
carlos@0
  1833
			</groupFooter>
carlos@0
  1834
		</group>
carlos@0
  1835
		<group  name="LEVEL5" >
carlos@0
  1836
			<groupExpression><![CDATA[$F{NIVEL5}]]></groupExpression>
carlos@0
  1837
			<groupHeader>
carlos@0
  1838
			<band height="18"  isSplitAllowed="true" >
carlos@0
  1839
				<printWhenExpression><![CDATA[new Boolean($P{DIMENSIONS}.intValue()>=5)]]></printWhenExpression>
carlos@0
  1840
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1841
					<reportElement
carlos@0
  1842
						style="Level1_Line"
carlos@0
  1843
						x="0"
carlos@0
  1844
						y="0"
carlos@0
  1845
						width="15"
carlos@0
  1846
						height="18"
carlos@0
  1847
						key="textField-5"
carlos@0
  1848
						stretchType="RelativeToBandHeight"/>
carlos@0
  1849
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1850
					<textElement rotation="Left">
carlos@0
  1851
						<font/>
carlos@0
  1852
					</textElement>
carlos@0
  1853
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1854
				</textField>
carlos@0
  1855
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1856
					<reportElement
carlos@0
  1857
						style="Level2_Line"
carlos@0
  1858
						x="15"
carlos@0
  1859
						y="0"
carlos@0
  1860
						width="15"
carlos@0
  1861
						height="18"
carlos@0
  1862
						key="textField-10"
carlos@0
  1863
						stretchType="RelativeToBandHeight"/>
carlos@0
  1864
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1865
					<textElement rotation="Left">
carlos@0
  1866
						<font/>
carlos@0
  1867
					</textElement>
carlos@0
  1868
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1869
				</textField>
carlos@0
  1870
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1871
					<reportElement
carlos@0
  1872
						style="Level3_Line"
carlos@0
  1873
						x="30"
carlos@0
  1874
						y="0"
carlos@0
  1875
						width="15"
carlos@0
  1876
						height="18"
carlos@0
  1877
						key="textField-7"
carlos@0
  1878
						stretchType="RelativeToBandHeight"/>
carlos@0
  1879
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1880
					<textElement rotation="Left">
carlos@0
  1881
						<font/>
carlos@0
  1882
					</textElement>
carlos@0
  1883
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1884
				</textField>
carlos@0
  1885
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1886
					<reportElement
carlos@0
  1887
						style="Level4_Line"
carlos@0
  1888
						x="45"
carlos@0
  1889
						y="0"
carlos@0
  1890
						width="15"
carlos@0
  1891
						height="18"
carlos@0
  1892
						key="textField-11"
carlos@0
  1893
						stretchType="RelativeToBandHeight"/>
carlos@0
  1894
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1895
					<textElement rotation="Left">
carlos@0
  1896
						<font/>
carlos@0
  1897
					</textElement>
carlos@0
  1898
				<textFieldExpression   class="java.lang.String"><![CDATA[]]></textFieldExpression>
carlos@0
  1899
				</textField>
carlos@0
  1900
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
  1901
					<reportElement
carlos@0
  1902
						style="Level5_Line"