src/org/openbravo/erpCommon/ad_reports/ReportCashflowForecast_sub.jrxml
author Jeneive MalarKodi <jeneive.malarkodi@openbravo.com>
Wed, 23 Sep 2009 11:19:02 +0530
changeset 5069 b4990292ae3e
parent 3857 6d631363ffc7
child 5089 54767c398a62
permissions -rw-r--r--
Fixes Issue 10688: CashFlow Forecast report does not work in PostgreSQL
gorka@3857
     1
<?xml version="1.0" encoding="UTF-8"  ?>
gorka@3857
     2
<!-- Created with iReport - A designer for JasperReports -->
gorka@3857
     3
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
gorka@3857
     4
<jasperReport
gorka@3857
     5
		 name="ReportCashflowForecast_sub"
gorka@3857
     6
		 columnCount="1"
gorka@3857
     7
		 printOrder="Vertical"
gorka@3857
     8
		 orientation="Portrait"
gorka@3857
     9
		 pageWidth="594"
gorka@3857
    10
		 pageHeight="802"
gorka@3857
    11
		 columnWidth="594"
gorka@3857
    12
		 columnSpacing="0"
gorka@3857
    13
		 leftMargin="0"
gorka@3857
    14
		 rightMargin="0"
gorka@3857
    15
		 topMargin="0"
gorka@3857
    16
		 bottomMargin="0"
gorka@3857
    17
		 whenNoDataType="NoPages"
gorka@3857
    18
		 isTitleNewPage="false"
gorka@3857
    19
		 isSummaryNewPage="false">
gorka@3857
    20
	<property name="ireport.scriptlethandling" value="0" />
gorka@3857
    21
	<property name="ireport.encoding" value="UTF-8" />
gorka@3857
    22
	<import value="java.util.*" />
gorka@3857
    23
	<import value="net.sf.jasperreports.engine.*" />
gorka@3857
    24
	<import value="net.sf.jasperreports.engine.data.*" />
gorka@3857
    25
gorka@3857
    26
	<style 
gorka@3857
    27
		name="default"
gorka@3857
    28
		isDefault="false"
gorka@3857
    29
		vAlign="Middle"
gorka@3857
    30
		fontName="Bitstream Vera Sans"
gorka@3857
    31
		fontSize="11"
gorka@3857
    32
	/>
gorka@3857
    33
	<style 
gorka@3857
    34
		name="Report_Title"
gorka@3857
    35
		isDefault="false"
gorka@3857
    36
		leftPadding="5"
gorka@3857
    37
		fontName="Bitstream Vera Sans"
gorka@3857
    38
		fontSize="18"
gorka@3857
    39
	/>
gorka@3857
    40
	<style 
gorka@3857
    41
		name="Report_Subtitle"
gorka@3857
    42
		isDefault="false"
gorka@3857
    43
		forecolor="#555555"
gorka@3857
    44
		leftPadding="5"
gorka@3857
    45
		fontName="Bitstream Vera Sans"
gorka@3857
    46
		fontSize="14"
gorka@3857
    47
	/>
gorka@3857
    48
	<style 
gorka@3857
    49
		name="Total_Field"
gorka@3857
    50
		isDefault="false"
gorka@3857
    51
		mode="Opaque"
gorka@3857
    52
		forecolor="#000000"
gorka@3857
    53
		backcolor="#CCCCCC"
gorka@3857
    54
		vAlign="Middle"
gorka@3857
    55
		leftPadding="5"
gorka@3857
    56
		fontName="Bitstream Vera Sans"
gorka@3857
    57
		fontSize="11"
gorka@3857
    58
		isBold="true"
gorka@3857
    59
	/>
gorka@3857
    60
	<style 
gorka@3857
    61
		name="Detail_Header"
gorka@3857
    62
		isDefault="false"
gorka@3857
    63
		mode="Opaque"
gorka@3857
    64
		forecolor="#FFFFFF"
gorka@3857
    65
		backcolor="#5D5D5D"
gorka@3857
    66
		vAlign="Middle"
gorka@3857
    67
		leftBorder="1Point"
gorka@3857
    68
		leftBorderColor="#FFFFFF"
gorka@3857
    69
		leftPadding="5"
gorka@3857
    70
		rightBorder="1Point"
gorka@3857
    71
		rightBorderColor="#FFFFFF"
gorka@3857
    72
		fontName="Bitstream Vera Sans"
gorka@3857
    73
		fontSize="11"
gorka@3857
    74
		isBold="true"
gorka@3857
    75
	/>
gorka@3857
    76
	<style 
gorka@3857
    77
		name="GroupHeader_DarkGray"
gorka@3857
    78
		isDefault="false"
gorka@3857
    79
		mode="Opaque"
gorka@3857
    80
		forecolor="#FFFFFF"
gorka@3857
    81
		backcolor="#555555"
gorka@3857
    82
		vAlign="Middle"
gorka@3857
    83
		leftPadding="5"
gorka@3857
    84
		fontName="Bitstream Vera Sans"
gorka@3857
    85
		fontSize="18"
gorka@3857
    86
		isBold="true"
gorka@3857
    87
	/>
gorka@3857
    88
	<style 
gorka@3857
    89
		name="GroupHeader_Gray"
gorka@3857
    90
		isDefault="false"
gorka@3857
    91
		mode="Opaque"
gorka@3857
    92
		backcolor="#999999"
gorka@3857
    93
	/>
gorka@3857
    94
	<style 
gorka@3857
    95
		name="Detail_Line"
gorka@3857
    96
		isDefault="false"
gorka@3857
    97
		fontName="Bitstream Vera Sans"
gorka@3857
    98
		fontSize="11"
gorka@3857
    99
	>
gorka@3857
   100
gorka@3857
   101
		<conditionalStyle>
gorka@3857
   102
			<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==1)]]></conditionExpression>
gorka@3857
   103
			<style 
gorka@3857
   104
				name="Detail_Line"
gorka@3857
   105
				isDefault="false"
gorka@3857
   106
				mode="Opaque"
gorka@3857
   107
				backcolor="#CCCCCC"
gorka@3857
   108
			/>
gorka@3857
   109
		</conditionalStyle>
gorka@3857
   110
	</style>
gorka@3857
   111
	<style 
gorka@3857
   112
		name="Total_Gray"
gorka@3857
   113
		isDefault="false"
gorka@3857
   114
		mode="Opaque"
gorka@3857
   115
		forecolor="#000000"
gorka@3857
   116
		backcolor="#CCCCCC"
gorka@3857
   117
	/>
gorka@3857
   118
	<style 
gorka@3857
   119
		name="Report_Data_Label"
gorka@3857
   120
		isDefault="false"
gorka@3857
   121
		fontName="Bitstream Vera Sans"
gorka@3857
   122
		fontSize="11"
gorka@3857
   123
		isBold="true"
gorka@3857
   124
	/>
gorka@3857
   125
	<style 
gorka@3857
   126
		name="Report_Data_Field"
gorka@3857
   127
		isDefault="false"
gorka@3857
   128
		fontName="Bitstream Vera Sans"
gorka@3857
   129
		fontSize="11"
gorka@3857
   130
		isBold="false"
gorka@3857
   131
	/>
gorka@3857
   132
	<style 
gorka@3857
   133
		name="Report_Footer"
gorka@3857
   134
		isDefault="true"
gorka@3857
   135
		fontName="Bitstream Vera Sans"
gorka@3857
   136
		fontSize="11"
gorka@3857
   137
	/>
gorka@3857
   138
	<style 
gorka@3857
   139
		name="Group_Data_Label"
gorka@3857
   140
		isDefault="false"
gorka@3857
   141
		fontName="Bitstream Vera Sans"
gorka@3857
   142
		fontSize="14"
gorka@3857
   143
		isBold="true"
gorka@3857
   144
	/>
gorka@3857
   145
	<style 
gorka@3857
   146
		name="Group_Data_Field"
gorka@3857
   147
		isDefault="false"
gorka@3857
   148
		fontName="Bitstream Vera Sans"
gorka@3857
   149
		fontSize="14"
gorka@3857
   150
	/>
gorka@3857
   151
	<style 
gorka@3857
   152
		name="Detail_Data_Label"
gorka@3857
   153
		isDefault="false"
gorka@3857
   154
		mode="Opaque"
gorka@3857
   155
		backcolor="#CCCCCC"
gorka@3857
   156
		fontName="Bitstream Vera Sans"
gorka@3857
   157
		fontSize="11"
gorka@3857
   158
		isBold="true"
gorka@3857
   159
	/>
gorka@3857
   160
	<style 
gorka@3857
   161
		name="Detail_Data_Field"
gorka@3857
   162
		isDefault="false"
gorka@3857
   163
		mode="Opaque"
gorka@3857
   164
		backcolor="#CCCCCC"
gorka@3857
   165
		fontName="Bitstream Vera Sans"
gorka@3857
   166
		fontSize="11"
gorka@3857
   167
	/>
gorka@3857
   168
	<style 
gorka@3857
   169
		name="Group_Footer"
gorka@3857
   170
		isDefault="false"
gorka@3857
   171
		fontName="Bitstream Vera Sans"
gorka@3857
   172
		fontSize="11"
gorka@3857
   173
		isBold="true"
gorka@3857
   174
	/>
gorka@3857
   175
gorka@3857
   176
	<parameter name="ATTACH" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   177
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   178
	<parameter name="BASE_DESIGN" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   179
	<parameter name="LANGUAGE" isForPrompting="false" class="java.lang.String">
gorka@3857
   180
		<defaultValueExpression ><![CDATA["en_US"]]></defaultValueExpression>
gorka@3857
   181
	</parameter>
gorka@3857
   182
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   183
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   184
	<parameter name="Title" isForPrompting="false" class="java.lang.String">
gorka@3857
   185
		<defaultValueExpression ><![CDATA["REPORT TITLE"]]></defaultValueExpression>
gorka@3857
   186
	</parameter>
gorka@3857
   187
	<parameter name="REPORT_SUBTITLE" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   188
	<parameter name="AcctID" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   189
	<parameter name="DatePlanned" isForPrompting="false" class="java.util.Date"/>
gorka@3857
   190
	<parameter name="Partner" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   191
	<parameter name="NUMBERFORMAT" isForPrompting="false" class="java.text.DecimalFormat"/>
gorka@3857
   192
	<parameter name="LOCALE" isForPrompting="false" class="java.util.Locale"/>
gorka@3857
   193
	<parameter name="Org" isForPrompting="false" class="java.lang.String"/>
gorka@3857
   194
	<queryString><![CDATA[SELECT BANKACCOUNT,              INITIALBALANCE,             TRUNC(NOW()) AS CURRENTDATE,              INCOME,              PAYMENT,              INCOME-PAYMENT AS INCPAY,   
gorka@3857
   195
    INITIALBALANCE+INCOME-PAYMENT AS              FINALSUMMARY, C_BANKACCOUNT_ID,                          '' AS C_DEBT_PAYMENT_ID,              '' AS DATEPLANNED,              '' AS BPARTNER, 
gorka@3857
   196
    '' AS DESCRIPTION,              '' AS INVOICENO,              '' AS DATEINVOICED,             '' AS AMOUNT,             '' AS ISRECEIPT,             '' AS URL,
gorka@3857
   197
    '' AS ISRECEIPTMESSAGE FROM (                 SELECT (B.CODEBANK || '/' || B.CODEBRANCH || B.DIGITCONTROL || BA.CODEACCOUNT || '.' || BA.DIGITCONTROL) AS BANKACCOUNT, 
gorka@3857
   198
    SUM(c_currency_convert(STMTAMT, BL.C_CURRENCY_ID, BA.C_CURRENCY_ID, BL.VALUTADATE, NULL, ba.ad_client_id, ba.ad_org_id)) AS INITIALBALANCE, 
gorka@3857
   199
    COALESCE((SELECT SUM(c_currency_convert(DP.AMOUNT, dp.C_CURRENCY_ID, ba.c_Currency_ID, dp.dateplanned,null, ba.ad_client_id, ba.ad_org_id))  
gorka@3857
   200
FROM C_DEBT_PAYMENT_V DP              
gorka@3857
   201
WHERE C_SETTLEMENT_CANCEL_ID IS NULL                
gorka@3857
   202
    AND DP.C_BANKACCOUNT_ID IS NOT NULL                         
gorka@3857
   203
    AND C_DEBT_PAYMENT_STATUS(C_SETTLEMENT_CANCEL_ID, CANCEL_PROCESSED, GENERATE_PROCESSED, DP.ISPAID, ISVALID, C_CASHLINE_ID, C_BANKSTATEMENTLINE_ID) = 'P'                
gorka@3857
   204
    AND ISRECEIPT = 'Y'               
gorka@3857
   205
    AND DP.C_BANKACCOUNT_ID = BA.C_BANKACCOUNT_ID         
gorka@3857
   206
    AND 1=1  AND DP.DATEPLANNED <= $P{DatePlanned}                  
gorka@3857
   207
    AND NOT EXISTS (SELECT 1                          
gorka@3857
   208
                     FROM C_REMITTANCELINE  RL,                                C_REMITTANCE      R, 
gorka@3857
   209
                      C_REMITTANCE_TYPE RT                         
gorka@3857
   210
                    WHERE R.C_REMITTANCE_ID = RL.C_REMITTANCE_ID  AND R.C_REMITTANCE_TYPE_ID = RT.C_REMITTANCE_TYPE_ID AND CONSOLIDATE = 'Y'                            
gorka@3857
   211
    AND (C_DEBT_PAYMENT_ID  = DP.C_DEBT_PAYMENT_ID                             OR C_DEBT_PAYMENT_CANCELLED = DP.C_DEBT_PAYMENT_ID)                          
gorka@3857
   212
    AND NOT EXISTS (SELECT 1                                        
gorka@3857
   213
                    FROM C_BANKSTATEMENTLINE BSL,                                                   C_BANKSTATEMENT B                                           
gorka@3857
   214
                    WHERE BSL.C_DEBT_PAYMENT_ID = RL.C_DEBT_PAYMENT_CANCELLED                                            
gorka@3857
   215
                    AND BSL.C_BANKSTATEMENT_ID = B.C_BANKSTATEMENT_ID                                             
gorka@3857
   216
                    AND B.PROCESSED='Y'))              ),0) AS INCOME,          
gorka@3857
   217
    -COALESCE((SELECT SUM(c_currency_convert(DP.AMOUNT, dp.C_CURRENCY_ID, ba.c_Currency_ID, dp.dateplanned,null, ba.ad_client_id, ba.ad_org_id))               
gorka@3857
   218
    FROM C_DEBT_PAYMENT_V DP               WHERE C_SETTLEMENT_CANCEL_ID IS NULL                 AND DP.C_BANKACCOUNT_ID IS NOT NULL                      
gorka@3857
   219
    AND C_DEBT_PAYMENT_STATUS(C_SETTLEMENT_CANCEL_ID, CANCEL_PROCESSED, GENERATE_PROCESSED, DP.ISPAID, ISVALID, C_CASHLINE_ID, C_BANKSTATEMENTLINE_ID) = 'P'      
gorka@3857
   220
    AND ISRECEIPT='N'                 AND DP.C_BANKACCOUNT_ID = BA.C_BANKACCOUNT_ID                 AND 2=2  AND DP.DATEPLANNED <= $P{DatePlanned}                  
gorka@3857
   221
    AND NOT EXISTS (SELECT 1                            FROM C_REMITTANCELINE  RL,                                C_REMITTANCE      R,                           
gorka@3857
   222
    C_REMITTANCE_TYPE RT                          WHERE R.C_REMITTANCE_ID = RL.C_REMITTANCE_ID                           
gorka@3857
   223
    AND R.C_REMITTANCE_TYPE_ID = RT.C_REMITTANCE_TYPE_ID                            AND CONSOLIDATE = 'Y'                            
gorka@3857
   224
    AND (C_DEBT_PAYMENT_ID  = DP.C_DEBT_PAYMENT_ID                             OR C_DEBT_PAYMENT_CANCELLED = DP.C_DEBT_PAYMENT_ID)                       
gorka@3857
   225
    AND NOT EXISTS (SELECT 1                             
gorka@3857
   226
    FROM C_BANKSTATEMENTLINE BSL,                                                  
gorka@3857
   227
    C_BANKSTATEMENT B                                           
gorka@3857
   228
    WHERE BSL.C_DEBT_PAYMENT_ID = RL.C_DEBT_PAYMENT_CANCELLED        
gorka@3857
   229
    AND BSL.C_BANKSTATEMENT_ID = B.C_BANKSTATEMENT_ID                                           
gorka@3857
   230
    AND B.PROCESSED='Y'))               ),0) AS PAYMENT,             BA.C_BANKACCOUNT_ID     
gorka@3857
   231
    FROM C_BANKSTATEMENTLINE BL,     
gorka@3857
   232
    C_BANKSTATEMENT     BS,           C_BANK              B,           C_BANKACCOUNT       BA     
gorka@3857
   233
    WHERE BS.C_BANKSTATEMENT_ID = BL.C_BANKSTATEMENT_ID        AND BA.C_BANKACCOUNT_ID = BS.C_BANKACCOUNT_ID        AND BA.C_BANK_ID = B.C_BANK_ID         AND BS.PROCESSED='Y'        
jeneive@5069
   234
    AND BS.STATEMENTDATE <= NOW()        AND 3=3    AND B.AD_CLIENT_ID IN ($P!{USER_CLIENT})      AND B.AD_ORG_ID IN ($P!{USER_ORG})       
gorka@3857
   235
    GROUP BY (B.CODEBANK || '/' || B.CODEBRANCH || B.DIGITCONTROL || BA.CODEACCOUNT || '.' || BA.DIGITCONTROL), BA.C_BANKACCOUNT_ID, ba.c_Currency_ID, ba.ad_client_id, ba.ad_org_id        ) AAA        
gorka@3857
   236
    ORDER BY 1]]></queryString>
gorka@3857
   237
gorka@3857
   238
	<field name="BANKACCOUNT" class="java.lang.String"/>
gorka@3857
   239
	<field name="INITIALBALANCE" class="java.math.BigDecimal"/>
gorka@3857
   240
	<field name="CURRENTDATE" class="java.sql.Timestamp"/>
gorka@3857
   241
	<field name="INCOME" class="java.math.BigDecimal"/>
gorka@3857
   242
	<field name="PAYMENT" class="java.math.BigDecimal"/>
gorka@3857
   243
	<field name="INCPAY" class="java.math.BigDecimal"/>
gorka@3857
   244
	<field name="FINALSUMMARY" class="java.math.BigDecimal"/>
gorka@3857
   245
	<field name="C_BANKACCOUNT_ID" class="java.math.BigDecimal"/>
gorka@3857
   246
	<field name="C_DEBT_PAYMENT_ID" class="java.lang.String"/>
gorka@3857
   247
	<field name="DATEPLANNED" class="java.lang.String"/>
gorka@3857
   248
	<field name="BPARTNER" class="java.lang.String"/>
gorka@3857
   249
	<field name="DESCRIPTION" class="java.lang.String"/>
gorka@3857
   250
	<field name="INVOICENO" class="java.lang.String"/>
gorka@3857
   251
	<field name="DATEINVOICED" class="java.lang.String"/>
gorka@3857
   252
	<field name="AMOUNT" class="java.lang.String"/>
gorka@3857
   253
	<field name="ISRECEIPT" class="java.lang.String"/>
gorka@3857
   254
	<field name="URL" class="java.lang.String"/>
gorka@3857
   255
	<field name="ISRECEIPTMESSAGE" class="java.lang.String"/>
gorka@3857
   256
gorka@3857
   257
	<variable name="DetailFieldTotal" class="java.lang.String" resetType="Report" calculation="Nothing">
gorka@3857
   258
	</variable>
gorka@3857
   259
		<background>
gorka@3857
   260
			<band height="0"  isSplitAllowed="true" >
gorka@3857
   261
			</band>
gorka@3857
   262
		</background>
gorka@3857
   263
		<title>
gorka@3857
   264
			<band height="0"  isSplitAllowed="true" >
gorka@3857
   265
			</band>
gorka@3857
   266
		</title>
gorka@3857
   267
		<pageHeader>
gorka@3857
   268
			<band height="0"  isSplitAllowed="true" >
gorka@3857
   269
			</band>
gorka@3857
   270
		</pageHeader>
gorka@3857
   271
		<columnHeader>
gorka@3857
   272
			<band height="0"  isSplitAllowed="true" >
gorka@3857
   273
			</band>
gorka@3857
   274
		</columnHeader>
gorka@3857
   275
		<detail>
gorka@3857
   276
			<band height="16"  isSplitAllowed="true" >
gorka@3857
   277
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
gorka@3857
   278
					<reportElement
gorka@3857
   279
						style="Detail_Line"
gorka@3857
   280
						x="0"
gorka@3857
   281
						y="0"
gorka@3857
   282
						width="156"
gorka@3857
   283
						height="16"
gorka@3857
   284
						key="textField"/>
gorka@3857
   285
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/>
gorka@3857
   286
					<textElement verticalAlignment="Middle">
gorka@3857
   287
						<font size="6"/>
gorka@3857
   288
					</textElement>
gorka@3857
   289
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{BANKACCOUNT}]]></textFieldExpression>
gorka@3857
   290
				</textField>
gorka@3857
   291
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
gorka@3857
   292
					<reportElement
gorka@3857
   293
						style="Detail_Line"
gorka@3857
   294
						x="156"
gorka@3857
   295
						y="0"
gorka@3857
   296
						width="89"
gorka@3857
   297
						height="16"
gorka@3857
   298
						key="textField-1"/>
gorka@3857
   299
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/>
gorka@3857
   300
					<textElement textAlignment="Right" verticalAlignment="Middle">
gorka@3857
   301
						<font size="6"/>
gorka@3857
   302
					</textElement>
gorka@3857
   303
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{INITIALBALANCE}]]></textFieldExpression>
gorka@3857
   304
				</textField>
gorka@3857
   305
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
gorka@3857
   306
					<reportElement
gorka@3857
   307
						style="Detail_Line"
gorka@3857
   308
						x="245"
gorka@3857
   309
						y="0"
gorka@3857
   310
						width="102"
gorka@3857
   311
						height="16"
gorka@3857
   312
						key="textField-2"/>
gorka@3857
   313
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/>
gorka@3857
   314
					<textElement textAlignment="Right" verticalAlignment="Middle">
gorka@3857
   315
						<font size="6"/>
gorka@3857
   316
					</textElement>
gorka@3857
   317
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{INCOME}]]></textFieldExpression>
gorka@3857
   318
				</textField>
gorka@3857
   319
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
gorka@3857
   320
					<reportElement
gorka@3857
   321
						style="Detail_Line"
gorka@3857
   322
						x="347"
gorka@3857
   323
						y="0"
gorka@3857
   324
						width="98"
gorka@3857
   325
						height="16"
gorka@3857
   326
						key="textField-3"/>
gorka@3857
   327
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/>
gorka@3857
   328
					<textElement textAlignment="Right" verticalAlignment="Middle">
gorka@3857
   329
						<font size="6"/>
gorka@3857
   330
					</textElement>
gorka@3857
   331
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{PAYMENT}]]></textFieldExpression>
gorka@3857
   332
				</textField>
gorka@3857
   333
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
gorka@3857
   334
					<reportElement
gorka@3857
   335
						style="Detail_Line"
gorka@3857
   336
						x="445"
gorka@3857
   337
						y="0"
gorka@3857
   338
						width="89"
gorka@3857
   339
						height="16"
gorka@3857
   340
						key="textField-4"/>
gorka@3857
   341
					<box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="Thin" bottomBorderColor="#000000"/>
gorka@3857
   342
					<textElement textAlignment="Right" verticalAlignment="Middle">
gorka@3857
   343
						<font size="6"/>
gorka@3857
   344
					</textElement>
gorka@3857
   345
				<textFieldExpression   class="java.math.BigDecimal"><![CDATA[$F{FINALSUMMARY}]]></textFieldExpression>
gorka@3857
   346
				</textField>
gorka@3857
   347
			</band>
gorka@3857
   348
		</detail>
gorka@3857
   349
		<columnFooter>
gorka@3857
   350
			<band height="0"  isSplitAllowed="true" >
gorka@3857
   351
			</band>
gorka@3857
   352
		</columnFooter>
gorka@3857
   353
		<pageFooter>
gorka@3857
   354
			<band height="0"  isSplitAllowed="true" >
gorka@3857
   355
			</band>
gorka@3857
   356
		</pageFooter>
gorka@3857
   357
		<summary>
gorka@3857
   358
			<band height="0"  isSplitAllowed="true" >
gorka@3857
   359
			</band>
gorka@3857
   360
		</summary>
gorka@3857
   361
</jasperReport>