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