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