src/org/openbravo/erpCommon/ad_reports/ReportPendingProductionJr.jrxml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 726 dac2a1486bd3
child 2282 4b790630cce2
permissions -rw-r--r--
Removed old frame parameter of windowTableId
juanpablo@726
     1
<?xml version="1.0" encoding="UTF-8"  ?>
juanpablo@726
     2
<!-- Created with iReport - A designer for JasperReports -->
juanpablo@726
     3
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
juanpablo@726
     4
<jasperReport
juanpablo@726
     5
		 name="ReportPendingProductionJr"
juanpablo@726
     6
		 columnCount="1"
juanpablo@726
     7
		 printOrder="Vertical"
juanpablo@726
     8
		 orientation="Portrait"
juanpablo@726
     9
		 pageWidth="595"
juanpablo@726
    10
		 pageHeight="842"
juanpablo@726
    11
		 columnWidth="595"
juanpablo@726
    12
		 columnSpacing="0"
juanpablo@726
    13
		 leftMargin="0"
juanpablo@726
    14
		 rightMargin="0"
juanpablo@726
    15
		 topMargin="0"
juanpablo@726
    16
		 bottomMargin="0"
juanpablo@726
    17
		 whenNoDataType="NoPages"
juanpablo@726
    18
		 isTitleNewPage="false"
juanpablo@726
    19
		 isSummaryNewPage="false">
juanpablo@726
    20
	<property name="ireport.scriptlethandling" value="0" />
juanpablo@726
    21
	<property name="ireport.encoding" value="UTF-8" />
juanpablo@726
    22
	<import value="java.util.*" />
juanpablo@726
    23
	<import value="net.sf.jasperreports.engine.*" />
juanpablo@726
    24
	<import value="net.sf.jasperreports.engine.data.*" />
juanpablo@726
    25
juanpablo@726
    26
	<style 
juanpablo@726
    27
		name="default"
juanpablo@726
    28
		isDefault="false"
juanpablo@726
    29
		vAlign="Middle"
juanpablo@726
    30
		fontName="Bitstream Vera Sans"
juanpablo@726
    31
		fontSize="8"
juanpablo@726
    32
	/>
juanpablo@726
    33
	<style 
juanpablo@726
    34
		name="Report_Title"
juanpablo@726
    35
		isDefault="false"
juanpablo@726
    36
		leftPadding="5"
juanpablo@726
    37
		fontName="Bitstream Vera Sans"
juanpablo@726
    38
		fontSize="18"
juanpablo@726
    39
	/>
juanpablo@726
    40
	<style 
juanpablo@726
    41
		name="Report_Subtitle"
juanpablo@726
    42
		isDefault="false"
juanpablo@726
    43
		forecolor="#555555"
juanpablo@726
    44
		leftPadding="5"
juanpablo@726
    45
		fontName="Bitstream Vera Sans"
juanpablo@726
    46
		fontSize="14"
juanpablo@726
    47
	/>
juanpablo@726
    48
	<style 
juanpablo@726
    49
		name="Report_Data_Label"
juanpablo@726
    50
		isDefault="false"
juanpablo@726
    51
		fontName="Bitstream Vera Sans"
juanpablo@726
    52
		fontSize="11"
juanpablo@726
    53
		isBold="true"
juanpablo@726
    54
	/>
juanpablo@726
    55
	<style 
juanpablo@726
    56
		name="Report_Data_Field"
juanpablo@726
    57
		isDefault="false"
juanpablo@726
    58
		fontName="Bitstream Vera Sans"
juanpablo@726
    59
		fontSize="11"
juanpablo@726
    60
		isBold="false"
juanpablo@726
    61
	/>
juanpablo@726
    62
	<style 
juanpablo@726
    63
		name="Total_Field"
juanpablo@726
    64
		isDefault="false"
juanpablo@726
    65
		mode="Opaque"
juanpablo@726
    66
		forecolor="#000000"
juanpablo@726
    67
		backcolor="#CCCCCC"
juanpablo@726
    68
		vAlign="Middle"
juanpablo@726
    69
		leftPadding="5"
juanpablo@726
    70
		fontName="Bitstream Vera Sans"
juanpablo@726
    71
		fontSize="11"
juanpablo@726
    72
		isBold="true"
juanpablo@726
    73
	/>
juanpablo@726
    74
	<style 
juanpablo@726
    75
		name="GroupHeader_DarkGray"
juanpablo@726
    76
		isDefault="false"
juanpablo@726
    77
		mode="Opaque"
juanpablo@726
    78
		forecolor="#FFFFFF"
juanpablo@726
    79
		backcolor="#555555"
juanpablo@726
    80
		vAlign="Middle"
juanpablo@726
    81
		leftPadding="5"
juanpablo@726
    82
		fontName="Bitstream Vera Sans"
juanpablo@726
    83
		fontSize="12"
juanpablo@726
    84
		isBold="true"
juanpablo@726
    85
	/>
juanpablo@726
    86
	<style 
juanpablo@726
    87
		name="Group_Data_Label"
juanpablo@726
    88
		isDefault="false"
juanpablo@726
    89
		fontName="Bitstream Vera Sans"
juanpablo@726
    90
		fontSize="11"
juanpablo@726
    91
		isBold="true"
juanpablo@726
    92
	/>
juanpablo@726
    93
	<style 
juanpablo@726
    94
		name="Group_Data_Field"
juanpablo@726
    95
		isDefault="false"
juanpablo@726
    96
		fontName="Bitstream Vera Sans"
juanpablo@726
    97
		fontSize="11"
juanpablo@726
    98
	/>
juanpablo@726
    99
	<style 
juanpablo@726
   100
		name="Detail_Header"
juanpablo@726
   101
		isDefault="false"
juanpablo@726
   102
		mode="Opaque"
juanpablo@726
   103
		forecolor="#FFFFFF"
juanpablo@726
   104
		backcolor="#5D5D5D"
juanpablo@726
   105
		vAlign="Middle"
juanpablo@726
   106
		leftBorder="1Point"
juanpablo@726
   107
		leftBorderColor="#FFFFFF"
juanpablo@726
   108
		leftPadding="3"
juanpablo@726
   109
		rightBorder="1Point"
juanpablo@726
   110
		rightBorderColor="#FFFFFF"
juanpablo@726
   111
		fontName="Bitstream Vera Sans"
juanpablo@726
   112
		fontSize="8"
juanpablo@726
   113
		isBold="true"
juanpablo@726
   114
	/>
juanpablo@726
   115
	<style 
juanpablo@726
   116
		name="Detail_Line"
juanpablo@726
   117
		isDefault="false"
juanpablo@726
   118
		vAlign="Middle"
juanpablo@726
   119
		fontName="Bitstream Vera Sans"
juanpablo@726
   120
		fontSize="8"
juanpablo@726
   121
	>
juanpablo@726
   122
juanpablo@726
   123
		<conditionalStyle>
juanpablo@726
   124
			<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==1)]]></conditionExpression>
juanpablo@726
   125
			<style 
juanpablo@726
   126
				name="Detail_Line"
juanpablo@726
   127
				isDefault="false"
juanpablo@726
   128
				mode="Opaque"
juanpablo@726
   129
				backcolor="#CCCCCC"
juanpablo@726
   130
				vAlign="Middle"
juanpablo@726
   131
			/>
juanpablo@726
   132
		</conditionalStyle>
juanpablo@726
   133
	</style>
juanpablo@726
   134
	<style 
juanpablo@726
   135
		name="Total_Gray"
juanpablo@726
   136
		isDefault="false"
juanpablo@726
   137
		mode="Opaque"
juanpablo@726
   138
		forecolor="#000000"
juanpablo@726
   139
		backcolor="#CCCCCC"
juanpablo@726
   140
	/>
juanpablo@726
   141
	<style 
juanpablo@726
   142
		name="Detail_Data_Label"
juanpablo@726
   143
		isDefault="false"
juanpablo@726
   144
		mode="Opaque"
juanpablo@726
   145
		backcolor="#CCCCCC"
juanpablo@726
   146
		fontName="Bitstream Vera Sans"
juanpablo@726
   147
		fontSize="10"
juanpablo@726
   148
		isBold="true"
juanpablo@726
   149
	/>
juanpablo@726
   150
	<style 
juanpablo@726
   151
		name="Detail_Data_Field"
juanpablo@726
   152
		isDefault="false"
juanpablo@726
   153
		mode="Opaque"
juanpablo@726
   154
		backcolor="#CCCCCC"
juanpablo@726
   155
		fontName="Bitstream Vera Sans"
juanpablo@726
   156
		fontSize="10"
juanpablo@726
   157
	/>
juanpablo@726
   158
	<style 
juanpablo@726
   159
		name="Group_Footer"
juanpablo@726
   160
		isDefault="false"
juanpablo@726
   161
		fontName="Bitstream Vera Sans"
juanpablo@726
   162
		fontSize="11"
juanpablo@726
   163
		isBold="true"
juanpablo@726
   164
	/>
juanpablo@726
   165
	<style 
juanpablo@726
   166
		name="Report_Footer"
juanpablo@726
   167
		isDefault="true"
juanpablo@726
   168
		vAlign="Middle"
juanpablo@726
   169
		fontName="Bitstream Vera Sans"
juanpablo@726
   170
		fontSize="11"
juanpablo@726
   171
	/>
juanpablo@726
   172
juanpablo@726
   173
	<subDataset name="SubDataset1" >
juanpablo@726
   174
juanpablo@726
   175
juanpablo@726
   176
	</subDataset>
juanpablo@726
   177
juanpablo@726
   178
	<parameter name="ATTACH" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   179
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   180
	<parameter name="BASE_DESIGN" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   181
	<parameter name="LANGUAGE" isForPrompting="false" class="java.lang.String">
juanpablo@726
   182
		<defaultValueExpression ><![CDATA["en_US"]]></defaultValueExpression>
juanpablo@726
   183
	</parameter>
juanpablo@726
   184
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String">
juanpablo@726
   185
		<defaultValueExpression ><![CDATA["(1000000)"]]></defaultValueExpression>
juanpablo@726
   186
	</parameter>
juanpablo@726
   187
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String">
juanpablo@726
   188
		<defaultValueExpression ><![CDATA["(0)"]]></defaultValueExpression>
juanpablo@726
   189
	</parameter>
juanpablo@726
   190
	<parameter name="REPORT_TITLE" isForPrompting="false" class="java.lang.String">
juanpablo@726
   191
		<defaultValueExpression ><![CDATA["REPORT TITLE"]]></defaultValueExpression>
juanpablo@726
   192
	</parameter>
juanpablo@726
   193
	<parameter name="REPORT_SUBTITLE" isForPrompting="false" class="java.lang.String"/>
juanpablo@726
   194
	<parameter name="NUMBERFORMAT" isForPrompting="false" class="java.text.DecimalFormat"/>
juanpablo@726
   195
	<parameter name="LOCALE" isForPrompting="false" class="java.util.Locale"/>
carlos@0
   196
	<queryString><![CDATA[SELECT C_ORDER.DOCUMENTNO AS docno, C_ORDER.DATEORDERED as ordered, C_ORDER.DATEPROMISED as promised,
carlos@0
   197
             C_BPARTNER.NAME AS bpname, C_REGION.NAME AS rname, M_PRODUCT.VALUE, M_PRODUCT.NAME AS pname,
carlos@0
   198
             C_ORDERLINE.QTYORDERED, STORAGE_DETAIL.QTYONHAND, STORAGE_DETAIL.PREQTYONHAND,
carlos@0
   199
              CASE  WHEN C_ORDERLINE.QTYORDERED - STORAGE_DETAIL.QTYONHAND - STORAGE_DETAIL.PREQTYONHAND>0 THEN 'Color' ELSE 'Bordes' END as negative
carlos@0
   200
         FROM C_ORDER, C_ORDERLINE, C_BPARTNER, M_PRODUCT, C_BPARTNER_LOCATION, C_LOCATION, C_REGION,
carlos@0
   201
            (select M_PRODUCT_ID, SUM(QTYONHAND) AS QTYONHAND, SUM(PREQTYONHAND) AS PREQTYONHAND  
carlos@0
   202
             FROM M_STORAGE_DETAIL GROUP BY M_STORAGE_DETAIL.M_PRODUCT_ID) STORAGE_DETAIL 
carlos@0
   203
         WHERE C_ORDER.C_ORDER_ID = C_ORDERLINE.C_ORDER_ID
carlos@0
   204
           AND C_ORDER.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID
carlos@0
   205
           AND C_ORDERLINE.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
carlos@0
   206
           AND STORAGE_DETAIL.M_PRODUCT_ID = C_ORDERLINE.M_PRODUCT_ID
carlos@0
   207
           AND C_BPARTNER_LOCATION.C_BPARTNER_LOCATION_ID = C_ORDER.C_BPARTNER_LOCATION_ID
carlos@0
   208
           AND C_BPARTNER_LOCATION.C_LOCATION_ID = C_LOCATION.C_LOCATION_ID
carlos@0
   209
           AND C_LOCATION.C_REGION_ID = C_REGION.C_REGION_ID
carlos@0
   210
           AND C_ORDER.DOCSTATUS='CO'
carlos@0
   211
           AND C_ORDER.C_ORDER_ID IN (SELECT C_Order_ID FROM M_InOut_Candidate_v)
carlos@0
   212
           AND C_ORDER.ISSOTRX='Y'
juanpablo@726
   213
         ORDER BY C_ORDER.DATEORDERED]]></queryString>
juanpablo@726
   214
juanpablo@726
   215
	<field name="DOCNO" class="java.lang.String"/>
juanpablo@726
   216
	<field name="ORDERED" class="java.util.Date"/>
juanpablo@726
   217
	<field name="PROMISED" class="java.util.Date"/>
juanpablo@726
   218
	<field name="BPNAME" class="java.lang.String"/>
juanpablo@726
   219
	<field name="RNAME" class="java.lang.String"/>
juanpablo@726
   220
	<field name="VALUE" class="java.lang.String"/>
juanpablo@726
   221
	<field name="PNAME" class="java.lang.String"/>
juanpablo@726
   222
	<field name="QTYORDERED" class="java.math.BigDecimal"/>
juanpablo@726
   223
	<field name="QTYONHAND" class="java.math.BigDecimal"/>
juanpablo@726
   224
	<field name="PREQTYONHAND" class="java.math.BigDecimal"/>
juanpablo@726
   225
	<field name="NEGATIVE" class="java.lang.String"/>
juanpablo@726
   226
juanpablo@726
   227
		<background>
juanpablo@726
   228
			<band height="0"  isSplitAllowed="true" >
juanpablo@726
   229
			</band>
juanpablo@726
   230
		</background>
juanpablo@726
   231
		<title>
juanpablo@726
   232
			<band height="40"  isSplitAllowed="true" >
juanpablo@726
   233
				<line direction="TopDown">
carlos@0
   234
					<reportElement
carlos@0
   235
						x="0"
carlos@0
   236
						y="34"
carlos@0
   237
						width="535"
carlos@0
   238
						height="0"
juanpablo@726
   239
						key="line-1"/>
juanpablo@726
   240
					<graphicElement stretchType="NoStretch" pen="2Point"/>
juanpablo@726
   241
				</line>
juanpablo@726
   242
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   243
					<reportElement
carlos@0
   244
						style="Report_Title"
carlos@0
   245
						x="0"
carlos@0
   246
						y="9"
carlos@0
   247
						width="535"
carlos@0
   248
						height="22"
juanpablo@726
   249
						key="textField"/>
juanpablo@726
   250
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   251
					<textElement>
juanpablo@726
   252
						<font/>
juanpablo@726
   253
					</textElement>
juanpablo@726
   254
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORT_TITLE}]]></textFieldExpression>
juanpablo@726
   255
				</textField>
juanpablo@726
   256
			</band>
juanpablo@726
   257
		</title>
juanpablo@726
   258
		<pageHeader>
juanpablo@726
   259
			<band height="10"  isSplitAllowed="true" >
juanpablo@726
   260
			</band>
juanpablo@726
   261
		</pageHeader>
juanpablo@726
   262
		<columnHeader>
juanpablo@726
   263
			<band height="16"  isSplitAllowed="true" >
juanpablo@726
   264
				<staticText>
carlos@0
   265
					<reportElement
carlos@0
   266
						style="Detail_Header"
carlos@0
   267
						x="0"
carlos@0
   268
						y="0"
carlos@0
   269
						width="40"
carlos@0
   270
						height="16"
juanpablo@726
   271
						key="element-90"/>
juanpablo@726
   272
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   273
					<textElement>
juanpablo@726
   274
						<font/>
juanpablo@726
   275
					</textElement>
juanpablo@726
   276
				<text><![CDATA[Order]]></text>
juanpablo@726
   277
				</staticText>
juanpablo@726
   278
				<staticText>
carlos@0
   279
					<reportElement
carlos@0
   280
						style="Detail_Header"
carlos@0
   281
						x="40"
carlos@0
   282
						y="0"
carlos@0
   283
						width="50"
carlos@0
   284
						height="16"
juanpablo@726
   285
						key="element-90"/>
juanpablo@726
   286
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   287
					<textElement>
juanpablo@726
   288
						<font/>
juanpablo@726
   289
					</textElement>
juanpablo@726
   290
				<text><![CDATA[Ordered]]></text>
juanpablo@726
   291
				</staticText>
juanpablo@726
   292
				<staticText>
carlos@0
   293
					<reportElement
carlos@0
   294
						style="Detail_Header"
carlos@0
   295
						x="90"
carlos@0
   296
						y="0"
carlos@0
   297
						width="50"
carlos@0
   298
						height="16"
juanpablo@726
   299
						key="element-90"/>
juanpablo@726
   300
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   301
					<textElement>
juanpablo@726
   302
						<font/>
juanpablo@726
   303
					</textElement>
juanpablo@726
   304
				<text><![CDATA[Promised]]></text>
juanpablo@726
   305
				</staticText>
juanpablo@726
   306
				<staticText>
carlos@0
   307
					<reportElement
carlos@0
   308
						style="Detail_Header"
carlos@0
   309
						x="140"
carlos@0
   310
						y="0"
carlos@0
   311
						width="105"
carlos@0
   312
						height="16"
juanpablo@726
   313
						key="element-90"/>
juanpablo@726
   314
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   315
					<textElement>
juanpablo@726
   316
						<font/>
juanpablo@726
   317
					</textElement>
juanpablo@726
   318
				<text><![CDATA[Customer]]></text>
juanpablo@726
   319
				</staticText>
juanpablo@726
   320
				<staticText>
carlos@0
   321
					<reportElement
carlos@0
   322
						style="Detail_Header"
carlos@0
   323
						x="245"
carlos@0
   324
						y="0"
carlos@0
   325
						width="50"
carlos@0
   326
						height="16"
juanpablo@726
   327
						key="element-90"/>
juanpablo@726
   328
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   329
					<textElement>
juanpablo@726
   330
						<font/>
juanpablo@726
   331
					</textElement>
juanpablo@726
   332
				<text><![CDATA[Region]]></text>
juanpablo@726
   333
				</staticText>
juanpablo@726
   334
				<staticText>
carlos@0
   335
					<reportElement
carlos@0
   336
						style="Detail_Header"
carlos@0
   337
						x="295"
carlos@0
   338
						y="0"
carlos@0
   339
						width="155"
carlos@0
   340
						height="16"
juanpablo@726
   341
						key="element-90"/>
juanpablo@726
   342
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   343
					<textElement>
juanpablo@726
   344
						<font/>
juanpablo@726
   345
					</textElement>
juanpablo@726
   346
				<text><![CDATA[Product]]></text>
juanpablo@726
   347
				</staticText>
juanpablo@726
   348
				<staticText>
carlos@0
   349
					<reportElement
carlos@0
   350
						style="Detail_Header"
carlos@0
   351
						x="450"
carlos@0
   352
						y="0"
carlos@0
   353
						width="50"
carlos@0
   354
						height="16"
juanpablo@726
   355
						key="element-90"/>
juanpablo@726
   356
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   357
					<textElement textAlignment="Right">
juanpablo@726
   358
						<font pdfFontName="Helvetica-Bold"/>
juanpablo@726
   359
					</textElement>
juanpablo@726
   360
				<text><![CDATA[Ordered]]></text>
juanpablo@726
   361
				</staticText>
juanpablo@726
   362
				<staticText>
carlos@0
   363
					<reportElement
carlos@0
   364
						style="Detail_Header"
carlos@0
   365
						x="500"
carlos@0
   366
						y="0"
carlos@0
   367
						width="50"
carlos@0
   368
						height="16"
juanpablo@726
   369
						key="element-90"/>
juanpablo@726
   370
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   371
					<textElement textAlignment="Right">
juanpablo@726
   372
						<font pdfFontName="Helvetica-Bold"/>
juanpablo@726
   373
					</textElement>
juanpablo@726
   374
				<text><![CDATA[On hand]]></text>
juanpablo@726
   375
				</staticText>
juanpablo@726
   376
				<staticText>
carlos@0
   377
					<reportElement
carlos@0
   378
						style="Detail_Header"
carlos@0
   379
						x="550"
carlos@0
   380
						y="0"
carlos@0
   381
						width="45"
carlos@0
   382
						height="16"
juanpablo@726
   383
						key="element-90"/>
juanpablo@726
   384
					<box topBorder="None" topBorderColor="#000000" leftBorder="1Point" leftBorderColor="#FFFFFF" leftPadding="3" rightBorder="1Point" rightBorderColor="#FFFFFF" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   385
					<textElement textAlignment="Right">
juanpablo@726
   386
						<font pdfFontName="Helvetica-Bold"/>
juanpablo@726
   387
					</textElement>
juanpablo@726
   388
				<text><![CDATA[Preqty]]></text>
juanpablo@726
   389
				</staticText>
juanpablo@726
   390
			</band>
juanpablo@726
   391
		</columnHeader>
juanpablo@726
   392
		<detail>
juanpablo@726
   393
			<band height="16"  isSplitAllowed="true" >
juanpablo@726
   394
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   395
					<reportElement
carlos@0
   396
						style="Detail_Line"
carlos@0
   397
						x="0"
carlos@0
   398
						y="0"
carlos@0
   399
						width="40"
carlos@0
   400
						height="16"
carlos@0
   401
						key="textField"
juanpablo@726
   402
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   403
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   404
					<textElement>
juanpablo@726
   405
						<font/>
juanpablo@726
   406
					</textElement>
juanpablo@726
   407
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{DOCNO}]]></textFieldExpression>
juanpablo@726
   408
				</textField>
juanpablo@726
   409
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   410
					<reportElement
carlos@0
   411
						style="Detail_Line"
carlos@0
   412
						x="40"
carlos@0
   413
						y="0"
carlos@0
   414
						width="50"
carlos@0
   415
						height="16"
carlos@0
   416
						key="textField"
juanpablo@726
   417
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   418
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   419
					<textElement>
juanpablo@726
   420
						<font/>
juanpablo@726
   421
					</textElement>
juanpablo@726
   422
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{ORDERED}]]></textFieldExpression>
juanpablo@726
   423
				</textField>
juanpablo@726
   424
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   425
					<reportElement
carlos@0
   426
						style="Detail_Line"
carlos@0
   427
						x="90"
carlos@0
   428
						y="0"
carlos@0
   429
						width="50"
carlos@0
   430
						height="16"
carlos@0
   431
						key="textField"
juanpablo@726
   432
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   433
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   434
					<textElement>
juanpablo@726
   435
						<font/>
juanpablo@726
   436
					</textElement>
juanpablo@726
   437
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{PROMISED}]]></textFieldExpression>
juanpablo@726
   438
				</textField>
juanpablo@726
   439
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   440
					<reportElement
carlos@0
   441
						style="Detail_Line"
carlos@0
   442
						x="140"
carlos@0
   443
						y="0"
carlos@0
   444
						width="105"
carlos@0
   445
						height="16"
carlos@0
   446
						key="textField"
juanpablo@726
   447
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   448
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   449
					<textElement>
juanpablo@726
   450
						<font/>
juanpablo@726
   451
					</textElement>
juanpablo@726
   452
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{BPNAME}]]></textFieldExpression>
juanpablo@726
   453
				</textField>
juanpablo@726
   454
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   455
					<reportElement
carlos@0
   456
						style="Detail_Line"
carlos@0
   457
						x="245"
carlos@0
   458
						y="0"
carlos@0
   459
						width="50"
carlos@0
   460
						height="16"
carlos@0
   461
						key="textField"
juanpablo@726
   462
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   463
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   464
					<textElement>
juanpablo@726
   465
						<font/>
juanpablo@726
   466
					</textElement>
juanpablo@726
   467
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{RNAME}]]></textFieldExpression>
juanpablo@726
   468
				</textField>
juanpablo@726
   469
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   470
					<reportElement
carlos@0
   471
						style="Detail_Line"
carlos@0
   472
						x="295"
carlos@0
   473
						y="0"
carlos@0
   474
						width="55"
carlos@0
   475
						height="16"
carlos@0
   476
						key="textField"
juanpablo@726
   477
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   478
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   479
					<textElement>
juanpablo@726
   480
						<font/>
juanpablo@726
   481
					</textElement>
juanpablo@726
   482
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{VALUE}]]></textFieldExpression>
juanpablo@726
   483
				</textField>
juanpablo@726
   484
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   485
					<reportElement
carlos@0
   486
						style="Detail_Line"
carlos@0
   487
						x="350"
carlos@0
   488
						y="0"
carlos@0
   489
						width="100"
carlos@0
   490
						height="16"
carlos@0
   491
						key="textField"
juanpablo@726
   492
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   493
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   494
					<textElement>
juanpablo@726
   495
						<font/>
juanpablo@726
   496
					</textElement>
juanpablo@726
   497
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{PNAME}]]></textFieldExpression>
juanpablo@726
   498
				</textField>
juanpablo@726
   499
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   500
					<reportElement
carlos@0
   501
						style="Detail_Line"
carlos@0
   502
						x="450"
carlos@0
   503
						y="0"
carlos@0
   504
						width="50"
carlos@0
   505
						height="16"
carlos@0
   506
						key="textField"
juanpablo@726
   507
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   508
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   509
					<textElement textAlignment="Right">
juanpablo@726
   510
						<font/>
juanpablo@726
   511
					</textElement>
carlos@0
   512
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{QTYORDERED}!=null)?$P{NUMBERFORMAT}.format($F{QTYORDERED}):new String(" ")
juanpablo@726
   513
]]></textFieldExpression>
juanpablo@726
   514
				</textField>
juanpablo@726
   515
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   516
					<reportElement
carlos@0
   517
						style="Detail_Line"
carlos@0
   518
						x="500"
carlos@0
   519
						y="0"
carlos@0
   520
						width="50"
carlos@0
   521
						height="16"
carlos@0
   522
						key="textField"
juanpablo@726
   523
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   524
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   525
					<textElement textAlignment="Right">
juanpablo@726
   526
						<font/>
juanpablo@726
   527
					</textElement>
carlos@0
   528
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{QTYONHAND}!=null)?$P{NUMBERFORMAT}.format($F{QTYONHAND}):new String(" ")
juanpablo@726
   529
]]></textFieldExpression>
juanpablo@726
   530
				</textField>
juanpablo@726
   531
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   532
					<reportElement
carlos@0
   533
						style="Detail_Line"
carlos@0
   534
						x="550"
carlos@0
   535
						y="0"
carlos@0
   536
						width="45"
carlos@0
   537
						height="16"
carlos@0
   538
						key="textField"
juanpablo@726
   539
						stretchType="RelativeToBandHeight"/>
juanpablo@726
   540
					<box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#666666" leftPadding="2" rightBorder="Thin" rightBorderColor="#666666" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   541
					<textElement textAlignment="Right">
juanpablo@726
   542
						<font/>
juanpablo@726
   543
					</textElement>
carlos@0
   544
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{PREQTYONHAND}!=null)?$P{NUMBERFORMAT}.format($F{PREQTYONHAND}):new String(" ")
juanpablo@726
   545
]]></textFieldExpression>
juanpablo@726
   546
				</textField>
juanpablo@726
   547
			</band>
juanpablo@726
   548
		</detail>
juanpablo@726
   549
		<columnFooter>
juanpablo@726
   550
			<band height="12"  isSplitAllowed="true" >
juanpablo@726
   551
			</band>
juanpablo@726
   552
		</columnFooter>
juanpablo@726
   553
		<pageFooter>
juanpablo@726
   554
			<band height="27"  isSplitAllowed="true" >
juanpablo@726
   555
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   556
					<reportElement
carlos@0
   557
						x="455"
carlos@0
   558
						y="4"
carlos@0
   559
						width="95"
carlos@0
   560
						height="19"
juanpablo@726
   561
						key="textField"/>
juanpablo@726
   562
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   563
					<textElement textAlignment="Right" verticalAlignment="Middle">
juanpablo@726
   564
						<font fontName="Helvetica" size="10"/>
juanpablo@726
   565
					</textElement>
juanpablo@726
   566
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
juanpablo@726
   567
				</textField>
juanpablo@726
   568
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   569
					<reportElement
carlos@0
   570
						x="554"
carlos@0
   571
						y="4"
carlos@0
   572
						width="36"
carlos@0
   573
						height="19"
carlos@0
   574
						forecolor="#000000"
carlos@0
   575
						backcolor="#FFFFFF"
juanpablo@726
   576
						key="textField"/>
juanpablo@726
   577
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   578
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
juanpablo@726
   579
						<font fontName="Helvetica" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
juanpablo@726
   580
					</textElement>
juanpablo@726
   581
				<textFieldExpression   class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
juanpablo@726
   582
				</textField>
juanpablo@726
   583
				<line direction="TopDown">
carlos@0
   584
					<reportElement
carlos@0
   585
						x="0"
carlos@0
   586
						y="1"
carlos@0
   587
						width="595"
carlos@0
   588
						height="0"
carlos@0
   589
						forecolor="#000000"
juanpablo@726
   590
						key="line"/>
juanpablo@726
   591
					<graphicElement stretchType="NoStretch" pen="2Point"/>
juanpablo@726
   592
				</line>
juanpablo@726
   593
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   594
					<reportElement
carlos@0
   595
						x="296"
carlos@0
   596
						y="4"
carlos@0
   597
						width="69"
carlos@0
   598
						height="19"
juanpablo@726
   599
						key="textField"/>
juanpablo@726
   600
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   601
					<textElement verticalAlignment="Middle">
juanpablo@726
   602
						<font fontName="Times-Roman" size="10"/>
juanpablo@726
   603
					</textElement>
juanpablo@726
   604
				<textFieldExpression   class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
juanpablo@726
   605
				</textField>
juanpablo@726
   606
				<staticText>
carlos@0
   607
					<reportElement
carlos@0
   608
						x="232"
carlos@0
   609
						y="4"
carlos@0
   610
						width="60"
carlos@0
   611
						height="19"
juanpablo@726
   612
						key="staticText-1"/>
juanpablo@726
   613
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
juanpablo@726
   614
					<textElement textAlignment="Right" verticalAlignment="Top">
juanpablo@726
   615
						<font/>
juanpablo@726
   616
					</textElement>
juanpablo@726
   617
				<text><![CDATA[Printed on]]></text>
juanpablo@726
   618
				</staticText>
juanpablo@726
   619
			</band>
juanpablo@726
   620
		</pageFooter>
juanpablo@726
   621
		<summary>
juanpablo@726
   622
			<band height="0"  isSplitAllowed="true" >
juanpablo@726
   623
			</band>
juanpablo@726
   624
		</summary>
juanpablo@726
   625
</jasperReport>