src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.jrxml
author Juan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Wed, 03 Sep 2008 17:55:37 +0000
changeset 1605 8a0fe0193bef
parent 338 2ee57bd20eae
child 2282 4b790630cce2
permissions -rw-r--r--
Merge r2.5x intro trunk
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="ReportGeneralLedger"
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="11"
carlos@0
    32
	/>
carlos@0
    33
	<style 
carlos@0
    34
		name="Report_Title"
carlos@0
    35
		isDefault="false"
carlos@0
    36
		leftPadding="5"
carlos@0
    37
		fontName="Bitstream Vera Sans"
carlos@0
    38
		fontSize="18"
carlos@0
    39
	/>
carlos@0
    40
	<style 
carlos@0
    41
		name="Report_Subtitle"
carlos@0
    42
		isDefault="false"
carlos@0
    43
		forecolor="#555555"
carlos@0
    44
		leftPadding="5"
carlos@0
    45
		fontName="Bitstream Vera Sans"
carlos@0
    46
		fontSize="14"
carlos@0
    47
	/>
carlos@0
    48
	<style 
carlos@0
    49
		name="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
		fontName="Bitstream Vera Sans"
carlos@0
    57
		fontSize="11"
carlos@0
    58
		isBold="true"
carlos@0
    59
	/>
carlos@0
    60
	<style 
carlos@0
    61
		name="Detail_Header"
carlos@0
    62
		isDefault="false"
carlos@0
    63
		mode="Opaque"
carlos@0
    64
		forecolor="#FFFFFF"
carlos@0
    65
		backcolor="#5D5D5D"
carlos@0
    66
		vAlign="Middle"
carlos@0
    67
		leftBorder="1Point"
carlos@0
    68
		leftBorderColor="#FFFFFF"
carlos@0
    69
		leftPadding="5"
carlos@0
    70
		rightBorder="1Point"
carlos@0
    71
		rightBorderColor="#FFFFFF"
carlos@0
    72
		fontName="Bitstream Vera Sans"
carlos@0
    73
		fontSize="11"
carlos@0
    74
		isBold="true"
carlos@0
    75
	/>
carlos@0
    76
	<style 
carlos@0
    77
		name="GroupHeader_DarkGray"
carlos@0
    78
		isDefault="false"
carlos@0
    79
		mode="Opaque"
carlos@0
    80
		forecolor="#FFFFFF"
carlos@0
    81
		backcolor="#555555"
carlos@0
    82
		vAlign="Middle"
carlos@0
    83
		leftPadding="5"
carlos@0
    84
		fontName="Bitstream Vera Sans"
carlos@0
    85
		fontSize="18"
carlos@0
    86
		isBold="true"
carlos@0
    87
	/>
carlos@0
    88
	<style 
carlos@0
    89
		name="GroupHeader_Gray"
carlos@0
    90
		isDefault="false"
carlos@0
    91
		mode="Opaque"
carlos@0
    92
		backcolor="#999999"
carlos@0
    93
	/>
carlos@0
    94
	<style 
carlos@0
    95
		name="Detail_Line"
carlos@0
    96
		isDefault="false"
carlos@0
    97
		fontName="Bitstream Vera Sans"
carlos@0
    98
		fontSize="11"
carlos@0
    99
	>
carlos@0
   100
carlos@0
   101
		<conditionalStyle>
carlos@0
   102
			<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==1)]]></conditionExpression>
carlos@0
   103
			<style 
carlos@0
   104
				name="Detail_Line"
carlos@0
   105
				isDefault="false"
carlos@0
   106
				mode="Opaque"
carlos@0
   107
				backcolor="#CCCCCC"
carlos@0
   108
			/>
carlos@0
   109
		</conditionalStyle>
carlos@0
   110
	</style>
carlos@0
   111
	<style 
carlos@0
   112
		name="Total_Gray"
carlos@0
   113
		isDefault="false"
carlos@0
   114
		mode="Opaque"
carlos@0
   115
		forecolor="#000000"
carlos@0
   116
		backcolor="#CCCCCC"
carlos@0
   117
	/>
carlos@0
   118
	<style 
carlos@0
   119
		name="Report_Data_Label"
carlos@0
   120
		isDefault="false"
carlos@0
   121
		fontName="Bitstream Vera Sans"
carlos@0
   122
		fontSize="11"
carlos@0
   123
		isBold="true"
carlos@0
   124
	/>
carlos@0
   125
	<style 
carlos@0
   126
		name="Report_Data_Field"
carlos@0
   127
		isDefault="false"
carlos@0
   128
		fontName="Bitstream Vera Sans"
carlos@0
   129
		fontSize="11"
carlos@0
   130
		isBold="false"
carlos@0
   131
	/>
carlos@0
   132
	<style 
carlos@0
   133
		name="Report_Footer"
carlos@0
   134
		isDefault="true"
carlos@0
   135
		fontName="Bitstream Vera Sans"
carlos@0
   136
		fontSize="11"
carlos@0
   137
	/>
carlos@0
   138
	<style 
carlos@0
   139
		name="Group_Data_Label"
carlos@0
   140
		isDefault="false"
carlos@0
   141
		fontName="Bitstream Vera Sans"
carlos@0
   142
		fontSize="14"
carlos@0
   143
		isBold="true"
carlos@0
   144
	/>
carlos@0
   145
	<style 
carlos@0
   146
		name="Group_Data_Field"
carlos@0
   147
		isDefault="false"
carlos@0
   148
		fontName="Bitstream Vera Sans"
carlos@0
   149
		fontSize="14"
carlos@0
   150
	/>
carlos@0
   151
	<style 
carlos@0
   152
		name="Detail_Data_Label"
carlos@0
   153
		isDefault="false"
carlos@0
   154
		mode="Opaque"
carlos@0
   155
		backcolor="#CCCCCC"
carlos@0
   156
		fontName="Bitstream Vera Sans"
carlos@0
   157
		fontSize="11"
carlos@0
   158
		isBold="true"
carlos@0
   159
	/>
carlos@0
   160
	<style 
carlos@0
   161
		name="Detail_Data_Field"
carlos@0
   162
		isDefault="false"
carlos@0
   163
		mode="Opaque"
carlos@0
   164
		backcolor="#CCCCCC"
carlos@0
   165
		fontName="Bitstream Vera Sans"
carlos@0
   166
		fontSize="11"
carlos@0
   167
	/>
carlos@0
   168
	<style 
carlos@0
   169
		name="Group_Footer"
carlos@0
   170
		isDefault="false"
carlos@0
   171
		fontName="Bitstream Vera Sans"
carlos@0
   172
		fontSize="11"
carlos@0
   173
		isBold="true"
carlos@0
   174
	/>
carlos@0
   175
carlos@0
   176
	<parameter name="ATTACH" isForPrompting="false" class="java.lang.String"/>
carlos@0
   177
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String"/>
carlos@0
   178
	<parameter name="BASE_DESIGN" isForPrompting="false" class="java.lang.String">
carlos@0
   179
		<defaultValueExpression ><![CDATA["/opt/Apps230/src"]]></defaultValueExpression>
carlos@0
   180
	</parameter>
carlos@0
   181
	<parameter name="LANGUAGE" isForPrompting="false" class="java.lang.String">
carlos@0
   182
		<defaultValueExpression ><![CDATA["en_US"]]></defaultValueExpression>
carlos@0
   183
	</parameter>
carlos@0
   184
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String">
carlos@0
   185
		<defaultValueExpression ><![CDATA["(1000000)"]]></defaultValueExpression>
carlos@0
   186
	</parameter>
carlos@0
   187
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String">
carlos@0
   188
		<defaultValueExpression ><![CDATA["(0)"]]></defaultValueExpression>
carlos@0
   189
	</parameter>
carlos@0
   190
	<parameter name="Title" isForPrompting="false" class="java.lang.String">
carlos@0
   191
		<defaultValueExpression ><![CDATA["REPORT TITLE"]]></defaultValueExpression>
carlos@0
   192
	</parameter>
carlos@0
   193
	<parameter name="REPORT_SUBTITLE" isForPrompting="false" class="java.lang.String"/>
carlos@0
   194
	<parameter name="ReportData" isForPrompting="false" class="java.lang.String">
carlos@0
   195
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
carlos@0
   196
	</parameter>
carlos@0
   197
	<parameter name="SUBREPORT_DIR" isForPrompting="false" class="java.lang.String">
carlos@0
   198
		<defaultValueExpression ><![CDATA[$P{BASE_DESIGN}+"/org/openbravo/erpCommon/ad_reports/"]]></defaultValueExpression>
carlos@0
   199
	</parameter>
carlos@0
   200
	<parameter name="DateTo" isForPrompting="false" class="java.util.Date">
carlos@0
   201
		<defaultValueExpression ><![CDATA[new Date()]]></defaultValueExpression>
carlos@0
   202
	</parameter>
carlos@0
   203
	<parameter name="ShowPartner" isForPrompting="false" class="java.lang.Boolean">
carlos@0
   204
		<defaultValueExpression ><![CDATA[new Boolean(false)]]></defaultValueExpression>
carlos@0
   205
	</parameter>
carlos@0
   206
	<parameter name="NUMBERFORMAT" isForPrompting="false" class="java.text.DecimalFormat"/>
carlos@0
   207
	<parameter name="LOCALE" isForPrompting="false" class="java.util.Locale"/>
juanpablo@1605
   208
	<parameter name="SR_LINES" isForPrompting="false" class="net.sf.jasperreports.engine.JasperReport"/>
juanpablo@1605
   209
	<parameter name="Subtitle" isForPrompting="false" class="java.lang.String"/>
juanpablo@1605
   210
	<parameter name="Final" isForPrompting="false" class="java.lang.String"/>
carlos@0
   211
	<queryString><![CDATA[select * from (
carlos@0
   212
      SELECT VALUE, PARTNER, dateacct, NAME, 
carlos@0
   213
      (CASE WHEN ABS(SUM(AMTACCTDR))>ABS(SUM(AMTACCTCR)) THEN SUM(AMTACCTDR)-SUM(AMTACCTCR) END) AS AMTACCTDR,
carlos@0
   214
      (CASE WHEN ABS(SUM(AMTACCTDR))<=ABS(SUM(AMTACCTCR)) THEN SUM(AMTACCTCR)-SUM(AMTACCTDR) END) AS AMTACCTCR,
carlos@0
   215
      (SUM(amtacctdr-amtacctcr)) AS TOTAL, fact_acct_group_id, ID, 0 AS SALDO, MAX(FACT_ACCT_ID) AS FACT_ACCT_ID,
carlos@0
   216
      DESCRIPTION, C_BPARTNER_ID
carlos@0
   217
      FROM (
carlos@0
   218
      SELECT FACT_ACCT.ACCTVALUE AS VALUE, C_BPARTNER.NAME AS PARTNER, dateacct, FACT_ACCT.ACCTDESCRIPTION AS NAME, 
carlos@0
   219
      amtacctdr,  amtacctcr AS amtacctcr, fact_acct_group_id, FACT_ACCT.ACCOUNT_ID AS ID, FACT_ACCT.FACT_ACCT_ID, 
carlos@0
   220
      fact_acct.record_id, fact_acct.ad_table_id, FACT_ACCT.DESCRIPTION, FACT_ACCT.C_BPARTNER_ID
carlos@0
   221
      FROM fact_acct left join C_BPARTNER on FACT_ACCT.C_BPARTNER_ID = C_BPARTNER.C_BPARTNER_ID
carlos@0
   222
      ) AAA
carlos@0
   223
      GROUP BY ad_table_id, record_id, VALUE, DATEACCT, NAME, FACT_ACCT_GROUP_ID, ID,DESCRIPTION, PARTNER, C_BPARTNER_ID
carlos@0
   224
      ) AA
carlos@0
   225
      WHERE 3=3
carlos@0
   226
        AND 4=4
carlos@0
   227
        ORDER BY VALUE, dateacct, fact_acct_id]]></queryString>
carlos@0
   228
carlos@0
   229
	<field name="VALUE" class="java.lang.String"/>
carlos@0
   230
	<field name="PARTNER" class="java.lang.String"/>
carlos@0
   231
	<field name="DATEACCT" class="java.util.Date"/>
carlos@0
   232
	<field name="NAME" class="java.lang.String"/>
carlos@0
   233
	<field name="AMTACCTDR" class="java.math.BigDecimal"/>
carlos@0
   234
	<field name="AMTACCTCR" class="java.math.BigDecimal"/>
carlos@0
   235
	<field name="TOTAL" class="java.math.BigDecimal"/>
juanpablo@1605
   236
	<field name="FACT_ACCT_GROUP_ID" class="java.lang.String"/>
juanpablo@1605
   237
	<field name="ID" class="java.lang.String"/>
carlos@0
   238
	<field name="SALDO" class="java.math.BigDecimal"/>
juanpablo@1605
   239
	<field name="FACT_ACCT_ID" class="java.lang.String"/>
carlos@0
   240
	<field name="DESCRIPTION" class="java.lang.String"/>
juanpablo@1605
   241
	<field name="C_BPARTNER_ID" class="java.lang.String"/>
carlos@0
   242
carlos@0
   243
	<variable name="DetailFieldTotal" class="java.lang.String" resetType="Report" calculation="Nothing">
carlos@0
   244
	</variable>
carlos@0
   245
	<variable name="totalDebit" class="java.math.BigDecimal" resetType="Group" resetGroup="AccountGroup" calculation="Sum">
carlos@0
   246
		<variableExpression><![CDATA[$F{AMTACCTDR}]]></variableExpression>
carlos@0
   247
	</variable>
carlos@0
   248
	<variable name="totalCredit" class="java.math.BigDecimal" resetType="Group" resetGroup="AccountGroup" calculation="Sum">
carlos@0
   249
		<variableExpression><![CDATA[$F{AMTACCTCR}]]></variableExpression>
carlos@0
   250
	</variable>
carlos@0
   251
	<variable name="totalTotal" class="java.math.BigDecimal" resetType="Group" resetGroup="AccountGroup" calculation="Sum">
carlos@0
   252
		<variableExpression><![CDATA[$F{TOTAL}]]></variableExpression>
carlos@0
   253
	</variable>
juanpablo@1605
   254
	<variable name="auxPartnerGroup" class="java.lang.String" resetType="None" calculation="Nothing">
juanpablo@1605
   255
		<variableExpression><![CDATA[$P{ShowPartner}.booleanValue()?$F{C_BPARTNER_ID}:"-1"]]></variableExpression>
carlos@0
   256
	</variable>
carlos@0
   257
carlos@0
   258
		<group  name="PartnerGroup" >
carlos@0
   259
			<groupExpression><![CDATA[$V{auxPartnerGroup}]]></groupExpression>
carlos@0
   260
			<groupHeader>
carlos@0
   261
			<band height="25"  isSplitAllowed="true" >
carlos@0
   262
				<printWhenExpression><![CDATA[$P{ShowPartner}]]></printWhenExpression>
carlos@0
   263
				<staticText>
carlos@0
   264
					<reportElement
carlos@0
   265
						style="GroupHeader_DarkGray"
carlos@0
   266
						x="0"
carlos@0
   267
						y="0"
carlos@0
   268
						width="120"
carlos@0
   269
						height="23"
carlos@0
   270
						key="staticText"/>
carlos@0
   271
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   272
					<textElement>
carlos@0
   273
						<font pdfFontName="Helvetica"/>
carlos@0
   274
					</textElement>
rafael@338
   275
				<text><![CDATA[Customer:]]></text>
carlos@0
   276
				</staticText>
carlos@0
   277
				<line direction="TopDown">
carlos@0
   278
					<reportElement
carlos@0
   279
						x="0"
carlos@0
   280
						y="0"
carlos@0
   281
						width="0"
carlos@0
   282
						height="25"
carlos@0
   283
						forecolor="#555555"
carlos@0
   284
						key="line-2"
carlos@0
   285
						stretchType="RelativeToBandHeight"/>
carlos@0
   286
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   287
				</line>
carlos@0
   288
				<line direction="TopDown">
carlos@0
   289
					<reportElement
carlos@0
   290
						x="535"
carlos@0
   291
						y="0"
carlos@0
   292
						width="0"
carlos@0
   293
						height="25"
carlos@0
   294
						forecolor="#555555"
carlos@0
   295
						key="line-3"
carlos@0
   296
						stretchType="RelativeToBandHeight"/>
carlos@0
   297
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   298
				</line>
carlos@0
   299
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   300
					<reportElement
carlos@0
   301
						style="GroupHeader_DarkGray"
carlos@0
   302
						x="120"
carlos@0
   303
						y="0"
carlos@0
   304
						width="415"
carlos@0
   305
						height="23"
carlos@0
   306
						key="textField"/>
carlos@0
   307
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   308
					<textElement verticalAlignment="Middle">
carlos@0
   309
						<font fontName="Times-Roman" size="18"/>
carlos@0
   310
					</textElement>
carlos@0
   311
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{PARTNER}]]></textFieldExpression>
carlos@0
   312
				</textField>
carlos@0
   313
			</band>
carlos@0
   314
			</groupHeader>
carlos@0
   315
			<groupFooter>
carlos@0
   316
			<band height="20"  isSplitAllowed="true" >
carlos@0
   317
				<printWhenExpression><![CDATA[$P{ShowPartner}]]></printWhenExpression>
carlos@0
   318
				<line direction="TopDown">
carlos@0
   319
					<reportElement
carlos@0
   320
						x="0"
carlos@0
   321
						y="0"
carlos@0
   322
						width="0"
carlos@0
   323
						height="14"
carlos@0
   324
						forecolor="#555555"
carlos@0
   325
						key="line-32"
carlos@0
   326
						stretchType="RelativeToBandHeight"/>
carlos@0
   327
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   328
				</line>
carlos@0
   329
				<line direction="TopDown">
carlos@0
   330
					<reportElement
carlos@0
   331
						x="535"
carlos@0
   332
						y="1"
carlos@0
   333
						width="0"
carlos@0
   334
						height="14"
carlos@0
   335
						forecolor="#555555"
carlos@0
   336
						key="line-33"
carlos@0
   337
						stretchType="RelativeToBandHeight"/>
carlos@0
   338
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   339
				</line>
carlos@0
   340
				<line direction="TopDown">
carlos@0
   341
					<reportElement
carlos@0
   342
						x="0"
carlos@0
   343
						y="14"
carlos@0
   344
						width="535"
carlos@0
   345
						height="0"
carlos@0
   346
						forecolor="#555555"
carlos@0
   347
						key="line-34"/>
carlos@0
   348
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   349
				</line>
carlos@0
   350
			</band>
carlos@0
   351
			</groupFooter>
carlos@0
   352
		</group>
carlos@0
   353
		<group  name="AccountGroup" >
carlos@0
   354
			<groupExpression><![CDATA[$F{VALUE}]]></groupExpression>
carlos@0
   355
			<groupHeader>
carlos@0
   356
			<band height="60"  isSplitAllowed="true" >
carlos@0
   357
				<line direction="TopDown">
carlos@0
   358
					<reportElement
carlos@0
   359
						x="535"
carlos@0
   360
						y="1"
carlos@0
   361
						width="0"
carlos@0
   362
						height="58"
carlos@0
   363
						forecolor="#555555"
carlos@0
   364
						key="line-6"
carlos@0
   365
						stretchType="RelativeToBandHeight"/>
carlos@0
   366
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   367
				</line>
carlos@0
   368
				<staticText>
carlos@0
   369
					<reportElement
carlos@0
   370
						style="GroupHeader_DarkGray"
carlos@0
   371
						x="10"
carlos@0
   372
						y="0"
carlos@0
   373
						width="90"
carlos@0
   374
						height="16"
carlos@0
   375
						key="staticText"/>
carlos@0
   376
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   377
					<textElement>
carlos@0
   378
						<font pdfFontName="Helvetica" size="12"/>
carlos@0
   379
					</textElement>
carlos@0
   380
				<text><![CDATA[Acct. No.]]></text>
carlos@0
   381
				</staticText>
carlos@0
   382
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   383
					<reportElement
carlos@0
   384
						style="GroupHeader_DarkGray"
carlos@0
   385
						x="100"
carlos@0
   386
						y="0"
carlos@0
   387
						width="79"
carlos@0
   388
						height="16"
carlos@0
   389
						key="textField"/>
carlos@0
   390
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   391
					<textElement>
carlos@0
   392
						<font size="12"/>
carlos@0
   393
					</textElement>
carlos@0
   394
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{VALUE}]]></textFieldExpression>
carlos@0
   395
				</textField>
carlos@0
   396
				<line direction="TopDown">
carlos@0
   397
					<reportElement
carlos@0
   398
						x="10"
carlos@0
   399
						y="1"
carlos@0
   400
						width="0"
carlos@0
   401
						height="58"
carlos@0
   402
						forecolor="#555555"
carlos@0
   403
						key="line-4"
carlos@0
   404
						stretchType="RelativeToBandHeight"/>
carlos@0
   405
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   406
				</line>
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="59"
carlos@0
   413
						forecolor="#555555"
carlos@0
   414
						key="line-8"
carlos@0
   415
						stretchType="RelativeToBandHeight">
carlos@0
   416
							<printWhenExpression><![CDATA[$P{ShowPartner}]]></printWhenExpression>
carlos@0
   417
						</reportElement>
carlos@0
   418
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   419
				</line>
carlos@0
   420
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   421
					<reportElement
carlos@0
   422
						style="GroupHeader_DarkGray"
carlos@0
   423
						x="179"
carlos@0
   424
						y="0"
carlos@0
   425
						width="356"
carlos@0
   426
						height="16"
carlos@0
   427
						key="textField"/>
carlos@0
   428
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   429
					<textElement verticalAlignment="Middle">
carlos@0
   430
						<font fontName="Times-Roman" size="12"/>
carlos@0
   431
					</textElement>
carlos@0
   432
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{NAME}]]></textFieldExpression>
carlos@0
   433
				</textField>
carlos@0
   434
				<staticText>
carlos@0
   435
					<reportElement
carlos@0
   436
						style="Detail_Header"
carlos@0
   437
						x="18"
carlos@0
   438
						y="27"
carlos@0
   439
						width="91"
carlos@0
   440
						height="16"
carlos@0
   441
						key="element-90"/>
carlos@0
   442
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#333333" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   443
					<textElement>
carlos@0
   444
						<font/>
carlos@0
   445
					</textElement>
carlos@0
   446
				<text><![CDATA[Date]]></text>
carlos@0
   447
				</staticText>
carlos@0
   448
				<staticText>
carlos@0
   449
					<reportElement
carlos@0
   450
						style="Detail_Header"
carlos@0
   451
						x="109"
carlos@0
   452
						y="27"
carlos@0
   453
						width="56"
carlos@0
   454
						height="16"
carlos@0
   455
						key="element-90"/>
carlos@0
   456
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#333333" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   457
					<textElement>
carlos@0
   458
						<font/>
carlos@0
   459
					</textElement>
carlos@0
   460
				<text><![CDATA[Debit]]></text>
carlos@0
   461
				</staticText>
carlos@0
   462
				<staticText>
carlos@0
   463
					<reportElement
carlos@0
   464
						style="Detail_Header"
carlos@0
   465
						x="165"
carlos@0
   466
						y="27"
carlos@0
   467
						width="56"
carlos@0
   468
						height="16"
carlos@0
   469
						key="element-90"/>
carlos@0
   470
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#333333" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   471
					<textElement>
carlos@0
   472
						<font/>
carlos@0
   473
					</textElement>
carlos@0
   474
				<text><![CDATA[Credit]]></text>
carlos@0
   475
				</staticText>
carlos@0
   476
				<staticText>
carlos@0
   477
					<reportElement
carlos@0
   478
						style="Detail_Header"
carlos@0
   479
						x="221"
carlos@0
   480
						y="27"
carlos@0
   481
						width="76"
carlos@0
   482
						height="16"
carlos@0
   483
						key="element-90"/>
carlos@0
   484
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#333333" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   485
					<textElement>
carlos@0
   486
						<font/>
carlos@0
   487
					</textElement>
carlos@0
   488
				<text><![CDATA[Balance]]></text>
carlos@0
   489
				</staticText>
carlos@0
   490
				<line direction="TopDown">
carlos@0
   491
					<reportElement
carlos@0
   492
						x="17"
carlos@0
   493
						y="28"
carlos@0
   494
						width="0"
carlos@0
   495
						height="32"
carlos@0
   496
						forecolor="#555555"
carlos@0
   497
						key="line-37"
carlos@0
   498
						stretchType="RelativeToBandHeight"/>
carlos@0
   499
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   500
				</line>
carlos@0
   501
				<staticText>
carlos@0
   502
					<reportElement
carlos@0
   503
						style="Detail_Header"
carlos@0
   504
						x="297"
carlos@0
   505
						y="27"
carlos@0
   506
						width="238"
carlos@0
   507
						height="16"
carlos@0
   508
						key="element-90"/>
carlos@0
   509
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#333333" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   510
					<textElement>
carlos@0
   511
						<font/>
carlos@0
   512
					</textElement>
carlos@0
   513
				<text><![CDATA[Description]]></text>
carlos@0
   514
				</staticText>
carlos@0
   515
				<subreport  isUsingCache="true">
carlos@0
   516
					<reportElement
carlos@0
   517
						style="Report_Footer"
carlos@0
   518
						x="0"
carlos@0
   519
						y="43"
carlos@0
   520
						width="525"
carlos@0
   521
						height="16"
carlos@0
   522
						key="subreport-1"/>
carlos@0
   523
					<subreportParameter  name="AcctID">
carlos@0
   524
						<subreportParameterExpression><![CDATA[$F{ID}]]></subreportParameterExpression>
carlos@0
   525
					</subreportParameter>
carlos@0
   526
					<subreportParameter  name="Title">
juanpablo@1605
   527
						<subreportParameterExpression><![CDATA[$P{Subtitle}]]></subreportParameterExpression>
carlos@0
   528
					</subreportParameter>
carlos@0
   529
					<subreportParameter  name="Date">
carlos@0
   530
						<subreportParameterExpression><![CDATA[$F{DATEACCT}]]></subreportParameterExpression>
carlos@0
   531
					</subreportParameter>
carlos@0
   532
					<subreportParameter  name="Partner">
carlos@0
   533
						<subreportParameterExpression><![CDATA[$F{C_BPARTNER_ID}]]></subreportParameterExpression>
carlos@0
   534
					</subreportParameter>
carlos@0
   535
					<subreportParameter  name="ShowPartner">
carlos@0
   536
						<subreportParameterExpression><![CDATA[$P{ShowPartner}]]></subreportParameterExpression>
carlos@0
   537
					</subreportParameter>
carlos@0
   538
					<subreportParameter  name="NUMBERFORMAT">
carlos@0
   539
						<subreportParameterExpression><![CDATA[$P{NUMBERFORMAT}]]></subreportParameterExpression>
carlos@0
   540
					</subreportParameter>
carlos@0
   541
					<subreportParameter  name="LOCALE">
carlos@0
   542
						<subreportParameterExpression><![CDATA[$P{LOCALE}]]></subreportParameterExpression>
carlos@0
   543
					</subreportParameter>
carlos@0
   544
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
juanpablo@1605
   545
					<subreportExpression  class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{SR_LINES}]]></subreportExpression>
carlos@0
   546
				</subreport>
carlos@0
   547
				<line direction="TopDown">
carlos@0
   548
					<reportElement
carlos@0
   549
						x="19"
carlos@0
   550
						y="59"
carlos@0
   551
						width="516"
carlos@0
   552
						height="0"
carlos@0
   553
						forecolor="#555555"
carlos@0
   554
						key="line-36"/>
carlos@0
   555
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   556
				</line>
carlos@0
   557
			</band>
carlos@0
   558
			</groupHeader>
carlos@0
   559
			<groupFooter>
carlos@0
   560
			<band height="52"  isSplitAllowed="true" >
carlos@0
   561
				<line direction="TopDown">
carlos@0
   562
					<reportElement
carlos@0
   563
						x="0"
carlos@0
   564
						y="0"
carlos@0
   565
						width="0"
carlos@0
   566
						height="52"
carlos@0
   567
						forecolor="#555555"
carlos@0
   568
						key="line-28"
carlos@0
   569
						stretchType="RelativeToBandHeight">
carlos@0
   570
							<printWhenExpression><![CDATA[$P{ShowPartner}]]></printWhenExpression>
carlos@0
   571
						</reportElement>
carlos@0
   572
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   573
				</line>
carlos@0
   574
				<line direction="TopDown">
carlos@0
   575
					<reportElement
carlos@0
   576
						x="10"
carlos@0
   577
						y="0"
carlos@0
   578
						width="0"
carlos@0
   579
						height="45"
carlos@0
   580
						forecolor="#555555"
carlos@0
   581
						key="line-29"
carlos@0
   582
						stretchType="RelativeToBandHeight"/>
carlos@0
   583
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   584
				</line>
carlos@0
   585
				<line direction="TopDown">
carlos@0
   586
					<reportElement
carlos@0
   587
						x="535"
carlos@0
   588
						y="0"
carlos@0
   589
						width="0"
carlos@0
   590
						height="47"
carlos@0
   591
						forecolor="#555555"
carlos@0
   592
						key="line-30"
carlos@0
   593
						stretchType="RelativeToBandHeight"/>
carlos@0
   594
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   595
				</line>
carlos@0
   596
				<line direction="TopDown">
carlos@0
   597
					<reportElement
carlos@0
   598
						x="17"
carlos@0
   599
						y="36"
carlos@0
   600
						width="518"
carlos@0
   601
						height="0"
carlos@0
   602
						forecolor="#555555"
carlos@0
   603
						key="line-31"/>
carlos@0
   604
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   605
				</line>
carlos@0
   606
				<line direction="TopDown">
carlos@0
   607
					<reportElement
carlos@0
   608
						x="18"
carlos@0
   609
						y="1"
carlos@0
   610
						width="517"
carlos@0
   611
						height="0"
carlos@0
   612
						forecolor="#555555"
carlos@0
   613
						key="line-35"/>
carlos@0
   614
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   615
				</line>
carlos@0
   616
				<frame>					<reportElement
carlos@0
   617
						style="Total_Gray"
carlos@0
   618
						mode="Opaque"
carlos@0
   619
						x="19"
carlos@0
   620
						y="3"
carlos@0
   621
						width="515"
carlos@0
   622
						height="16"
carlos@0
   623
						key="frame-2"/>
carlos@0
   624
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   625
				</frame>				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   626
					<reportElement
carlos@0
   627
						x="110"
carlos@0
   628
						y="3"
carlos@0
   629
						width="56"
carlos@0
   630
						height="16"
carlos@0
   631
						key="textField"/>
carlos@0
   632
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   633
					<textElement textAlignment="Right">
carlos@0
   634
						<font size="10"/>
carlos@0
   635
					</textElement>
carlos@0
   636
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{totalDebit}!=null)?$P{NUMBERFORMAT}.format($V{totalDebit}):new String(" ")]]></textFieldExpression>
carlos@0
   637
				</textField>
carlos@0
   638
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   639
					<reportElement
carlos@0
   640
						x="166"
carlos@0
   641
						y="3"
carlos@0
   642
						width="56"
carlos@0
   643
						height="16"
carlos@0
   644
						key="textField"/>
carlos@0
   645
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   646
					<textElement textAlignment="Right">
carlos@0
   647
						<font size="10"/>
carlos@0
   648
					</textElement>
carlos@0
   649
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{totalCredit}!=null)?$P{NUMBERFORMAT}.format($V{totalCredit}):new String(" ")]]></textFieldExpression>
carlos@0
   650
				</textField>
carlos@0
   651
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   652
					<reportElement
carlos@0
   653
						x="222"
carlos@0
   654
						y="3"
carlos@0
   655
						width="75"
carlos@0
   656
						height="16"
carlos@0
   657
						key="textField"/>
carlos@0
   658
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   659
					<textElement textAlignment="Right">
carlos@0
   660
						<font size="10"/>
carlos@0
   661
					</textElement>
carlos@0
   662
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{totalTotal}!=null)?$P{NUMBERFORMAT}.format($V{totalTotal}):new String(" ")]]></textFieldExpression>
carlos@0
   663
				</textField>
carlos@0
   664
				<staticText>
carlos@0
   665
					<reportElement
carlos@0
   666
						style="Report_Footer"
carlos@0
   667
						x="21"
carlos@0
   668
						y="3"
carlos@0
   669
						width="89"
carlos@0
   670
						height="16"
carlos@0
   671
						key="staticText-6"/>
carlos@0
   672
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   673
					<textElement>
carlos@0
   674
						<font size="10"/>
carlos@0
   675
					</textElement>
carlos@0
   676
				<text><![CDATA[Total]]></text>
carlos@0
   677
				</staticText>
carlos@0
   678
				<subreport  isUsingCache="true">
carlos@0
   679
					<reportElement
carlos@0
   680
						style="Report_Footer"
carlos@0
   681
						x="1"
carlos@0
   682
						y="19"
carlos@0
   683
						width="525"
carlos@0
   684
						height="16"
carlos@0
   685
						key="subreport-2"/>
carlos@0
   686
					<subreportParameter  name="AcctID">
carlos@0
   687
						<subreportParameterExpression><![CDATA[$F{ID}]]></subreportParameterExpression>
carlos@0
   688
					</subreportParameter>
carlos@0
   689
					<subreportParameter  name="Title">
juanpablo@1605
   690
						<subreportParameterExpression><![CDATA[$P{Final}]]></subreportParameterExpression>
carlos@0
   691
					</subreportParameter>
carlos@0
   692
					<subreportParameter  name="Date">
carlos@0
   693
						<subreportParameterExpression><![CDATA[$P{DateTo}]]></subreportParameterExpression>
carlos@0
   694
					</subreportParameter>
carlos@0
   695
					<subreportParameter  name="Partner">
carlos@0
   696
						<subreportParameterExpression><![CDATA[$F{C_BPARTNER_ID}]]></subreportParameterExpression>
carlos@0
   697
					</subreportParameter>
carlos@0
   698
					<subreportParameter  name="ShowPartner">
carlos@0
   699
						<subreportParameterExpression><![CDATA[$P{ShowPartner}]]></subreportParameterExpression>
carlos@0
   700
					</subreportParameter>
carlos@0
   701
					<subreportParameter  name="LOCALE">
carlos@0
   702
						<subreportParameterExpression><![CDATA[$P{LOCALE}]]></subreportParameterExpression>
carlos@0
   703
					</subreportParameter>
carlos@0
   704
					<subreportParameter  name="NUMBERFORMAT">
carlos@0
   705
						<subreportParameterExpression><![CDATA[$P{NUMBERFORMAT}]]></subreportParameterExpression>
carlos@0
   706
					</subreportParameter>
carlos@0
   707
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
juanpablo@1605
   708
					<subreportExpression  class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{SR_LINES}]]></subreportExpression>
carlos@0
   709
				</subreport>
carlos@0
   710
				<line direction="TopDown">
carlos@0
   711
					<reportElement
carlos@0
   712
						x="17"
carlos@0
   713
						y="0"
carlos@0
   714
						width="0"
carlos@0
   715
						height="36"
carlos@0
   716
						forecolor="#555555"
carlos@0
   717
						key="line-38"
carlos@0
   718
						stretchType="RelativeToBandHeight"/>
carlos@0
   719
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   720
				</line>
carlos@0
   721
				<line direction="TopDown">
carlos@0
   722
					<reportElement
carlos@0
   723
						x="10"
carlos@0
   724
						y="46"
carlos@0
   725
						width="524"
carlos@0
   726
						height="0"
carlos@0
   727
						forecolor="#555555"
carlos@0
   728
						key="line-39"/>
carlos@0
   729
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   730
				</line>
carlos@0
   731
				<line direction="TopDown">
carlos@0
   732
					<reportElement
carlos@0
   733
						x="535"
carlos@0
   734
						y="48"
carlos@0
   735
						width="1"
carlos@0
   736
						height="4"
carlos@0
   737
						forecolor="#555555"
carlos@0
   738
						key="line-40"
carlos@0
   739
						stretchType="RelativeToBandHeight">
carlos@0
   740
							<printWhenExpression><![CDATA[$P{ShowPartner}]]></printWhenExpression>
carlos@0
   741
						</reportElement>
carlos@0
   742
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   743
				</line>
carlos@0
   744
			</band>
carlos@0
   745
			</groupFooter>
carlos@0
   746
		</group>
carlos@0
   747
		<background>
carlos@0
   748
			<band height="0"  isSplitAllowed="true" >
carlos@0
   749
			</band>
carlos@0
   750
		</background>
carlos@0
   751
		<title>
carlos@0
   752
			<band height="20"  isSplitAllowed="true" >
carlos@0
   753
			</band>
carlos@0
   754
		</title>
carlos@0
   755
		<pageHeader>
carlos@0
   756
			<band height="45"  isSplitAllowed="true" >
carlos@0
   757
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   758
					<reportElement
carlos@0
   759
						style="Report_Title"
carlos@0
   760
						mode="Transparent"
carlos@0
   761
						x="0"
carlos@0
   762
						y="0"
carlos@0
   763
						width="535"
carlos@0
   764
						height="20"
carlos@0
   765
						key="textField"/>
carlos@0
   766
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   767
					<textElement>
carlos@0
   768
						<font/>
carlos@0
   769
					</textElement>
carlos@0
   770
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{Title}]]></textFieldExpression>
carlos@0
   771
				</textField>
carlos@0
   772
				<line direction="TopDown">
carlos@0
   773
					<reportElement
carlos@0
   774
						x="0"
carlos@0
   775
						y="20"
carlos@0
   776
						width="535"
carlos@0
   777
						height="0"
carlos@0
   778
						key="line-1"/>
carlos@0
   779
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   780
				</line>
carlos@0
   781
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   782
					<reportElement
carlos@0
   783
						style="Report_Subtitle"
carlos@0
   784
						x="0"
carlos@0
   785
						y="20"
carlos@0
   786
						width="535"
carlos@0
   787
						height="20"
carlos@0
   788
						key="textField"/>
carlos@0
   789
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   790
					<textElement>
carlos@0
   791
						<font size="14"/>
carlos@0
   792
					</textElement>
carlos@0
   793
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORT_SUBTITLE}]]></textFieldExpression>
carlos@0
   794
				</textField>
carlos@0
   795
			</band>
carlos@0
   796
		</pageHeader>
carlos@0
   797
		<columnHeader>
carlos@0
   798
			<band height="0"  isSplitAllowed="true" >
carlos@0
   799
			</band>
carlos@0
   800
		</columnHeader>
carlos@0
   801
		<detail>
carlos@0
   802
			<band height="16"  isSplitAllowed="true" >
carlos@0
   803
				<line direction="TopDown">
carlos@0
   804
					<reportElement
carlos@0
   805
						x="17"
carlos@0
   806
						y="0"
carlos@0
   807
						width="0"
carlos@0
   808
						height="16"
carlos@0
   809
						forecolor="#555555"
carlos@0
   810
						key="line-15"
carlos@0
   811
						stretchType="RelativeToBandHeight"/>
carlos@0
   812
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   813
				</line>
carlos@0
   814
				<line direction="TopDown">
carlos@0
   815
					<reportElement
carlos@0
   816
						x="535"
carlos@0
   817
						y="0"
carlos@0
   818
						width="0"
carlos@0
   819
						height="16"
carlos@0
   820
						forecolor="#555555"
carlos@0
   821
						key="line-16"
carlos@0
   822
						stretchType="RelativeToBandHeight"/>
carlos@0
   823
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   824
				</line>
carlos@0
   825
				<line direction="TopDown">
carlos@0
   826
					<reportElement
carlos@0
   827
						x="0"
carlos@0
   828
						y="0"
carlos@0
   829
						width="0"
carlos@0
   830
						height="16"
carlos@0
   831
						forecolor="#555555"
carlos@0
   832
						key="line-17"
carlos@0
   833
						stretchType="RelativeToBandHeight">
carlos@0
   834
							<printWhenExpression><![CDATA[$P{ShowPartner}]]></printWhenExpression>
carlos@0
   835
						</reportElement>
carlos@0
   836
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   837
				</line>
carlos@0
   838
				<line direction="TopDown">
carlos@0
   839
					<reportElement
carlos@0
   840
						x="10"
carlos@0
   841
						y="0"
carlos@0
   842
						width="0"
carlos@0
   843
						height="16"
carlos@0
   844
						forecolor="#555555"
carlos@0
   845
						key="line-18"
carlos@0
   846
						stretchType="RelativeToBandHeight"/>
carlos@0
   847
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
carlos@0
   848
				</line>
carlos@0
   849
				<frame>					<reportElement
carlos@0
   850
						style="Detail_Line"
carlos@0
   851
						x="19"
carlos@0
   852
						y="0"
carlos@0
   853
						width="515"
carlos@0
   854
						height="16"
carlos@0
   855
						key="frame-1"/>
carlos@0
   856
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   857
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   858
					<reportElement
carlos@0
   859
						x="278"
carlos@0
   860
						y="0"
carlos@0
   861
						width="237"
carlos@0
   862
						height="16"
carlos@0
   863
						key="textField-4"
carlos@0
   864
						stretchType="RelativeToBandHeight"/>
carlos@0
   865
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   866
					<textElement verticalAlignment="Middle">
carlos@0
   867
						<font fontName="Times-Roman" size="9"/>
carlos@0
   868
					</textElement>
carlos@0
   869
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{DESCRIPTION}]]></textFieldExpression>
carlos@0
   870
				</textField>
carlos@0
   871
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   872
					<reportElement
carlos@0
   873
						x="146"
carlos@0
   874
						y="0"
carlos@0
   875
						width="56"
carlos@0
   876
						height="16"
carlos@0
   877
						key="textField-6"
carlos@0
   878
						stretchType="RelativeToBandHeight"/>
carlos@0
   879
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   880
					<textElement textAlignment="Right" verticalAlignment="Middle">
carlos@0
   881
						<font fontName="Times-Roman" size="9"/>
carlos@0
   882
					</textElement>
carlos@0
   883
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{AMTACCTCR}!=null)?$P{NUMBERFORMAT}.format($F{AMTACCTCR}):new String(" ")]]></textFieldExpression>
carlos@0
   884
				</textField>
carlos@0
   885
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   886
					<reportElement
carlos@0
   887
						x="90"
carlos@0
   888
						y="0"
carlos@0
   889
						width="56"
carlos@0
   890
						height="16"
carlos@0
   891
						key="textField-7"
carlos@0
   892
						stretchType="RelativeToBandHeight"/>
carlos@0
   893
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   894
					<textElement textAlignment="Right" verticalAlignment="Middle">
carlos@0
   895
						<font fontName="Times-Roman" size="9"/>
carlos@0
   896
					</textElement>
carlos@0
   897
				<textFieldExpression   class="java.lang.String"><![CDATA[($F{AMTACCTDR}!=null)?$P{NUMBERFORMAT}.format($F{AMTACCTDR}):new String(" ")]]></textFieldExpression>
carlos@0
   898
				</textField>
carlos@0
   899
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   900
					<reportElement
carlos@0
   901
						x="0"
carlos@0
   902
						y="0"
carlos@0
   903
						width="89"
carlos@0
   904
						height="16"
carlos@0
   905
						key="textField-8"
carlos@0
   906
						stretchType="RelativeToBandHeight"/>
carlos@0
   907
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   908
					<textElement verticalAlignment="Middle">
carlos@0
   909
						<font fontName="Times-Roman" size="9"/>
carlos@0
   910
					</textElement>
carlos@0
   911
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{DATEACCT}]]></textFieldExpression>
carlos@0
   912
				</textField>
carlos@0
   913
				</frame>				<textField isStretchWithOverflow="true" pattern="##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   914
					<reportElement
carlos@0
   915
						x="222"
carlos@0
   916
						y="0"
carlos@0
   917
						width="74"
carlos@0
   918
						height="16"
carlos@0
   919
						key="textField"
carlos@0
   920
						stretchType="RelativeToBandHeight"/>
carlos@0
   921
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   922
					<textElement textAlignment="Right" verticalAlignment="Middle">
carlos@0
   923
						<font fontName="Bitstream Vera Sans" size="9"/>
carlos@0
   924
					</textElement>
carlos@0
   925
				<textFieldExpression   class="java.lang.String"><![CDATA[($V{totalTotal}!=null)?$P{NUMBERFORMAT}.format($V{totalTotal}):new String(" ")]]></textFieldExpression>
carlos@0
   926
				</textField>
carlos@0
   927
			</band>
carlos@0
   928
		</detail>
carlos@0
   929
		<columnFooter>
carlos@0
   930
			<band height="16"  isSplitAllowed="true" >
carlos@0
   931
			</band>
carlos@0
   932
		</columnFooter>
carlos@0
   933
		<pageFooter>
carlos@0
   934
			<band height="20"  isSplitAllowed="true" >
carlos@0
   935
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   936
					<reportElement
carlos@0
   937
						style="Report_Footer"
carlos@0
   938
						x="402"
carlos@0
   939
						y="4"
carlos@0
   940
						width="95"
carlos@0
   941
						height="16"
carlos@0
   942
						key="textField"/>
carlos@0
   943
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   944
					<textElement textAlignment="Right" verticalAlignment="Middle">
carlos@0
   945
						<font fontName="Helvetica" size="10"/>
carlos@0
   946
					</textElement>
carlos@0
   947
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
carlos@0
   948
				</textField>
carlos@0
   949
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   950
					<reportElement
carlos@0
   951
						style="Report_Footer"
carlos@0
   952
						x="499"
carlos@0
   953
						y="4"
carlos@0
   954
						width="36"
carlos@0
   955
						height="16"
carlos@0
   956
						forecolor="#000000"
carlos@0
   957
						backcolor="#FFFFFF"
carlos@0
   958
						key="textField"/>
carlos@0
   959
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   960
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
carlos@0
   961
						<font fontName="Helvetica" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
carlos@0
   962
					</textElement>
carlos@0
   963
				<textFieldExpression   class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
carlos@0
   964
				</textField>
carlos@0
   965
				<line direction="TopDown">
carlos@0
   966
					<reportElement
carlos@0
   967
						x="0"
carlos@0
   968
						y="1"
carlos@0
   969
						width="535"
carlos@0
   970
						height="0"
carlos@0
   971
						forecolor="#000000"
carlos@0
   972
						key="line"/>
carlos@0
   973
					<graphicElement stretchType="NoStretch" pen="2Point"/>
carlos@0
   974
				</line>
carlos@0
   975
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
carlos@0
   976
					<reportElement
carlos@0
   977
						style="Report_Footer"
carlos@0
   978
						x="277"
carlos@0
   979
						y="4"
carlos@0
   980
						width="69"
carlos@0
   981
						height="16"
carlos@0
   982
						key="textField"/>
carlos@0
   983
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   984
					<textElement verticalAlignment="Middle">
carlos@0
   985
						<font fontName="Times-Roman" size="10"/>
carlos@0
   986
					</textElement>
carlos@0
   987
				<textFieldExpression   class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
carlos@0
   988
				</textField>
carlos@0
   989
				<staticText>
carlos@0
   990
					<reportElement
carlos@0
   991
						style="Report_Footer"
carlos@0
   992
						x="198"
carlos@0
   993
						y="4"
carlos@0
   994
						width="76"
carlos@0
   995
						height="16"
carlos@0
   996
						key="staticText-1"/>
carlos@0
   997
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
   998
					<textElement textAlignment="Right">
carlos@0
   999
						<font/>
carlos@0
  1000
					</textElement>
carlos@0
  1001
				<text><![CDATA[Printed on]]></text>
carlos@0
  1002
				</staticText>
carlos@0
  1003
				<staticText>
carlos@0
  1004
					<reportElement
carlos@0
  1005
						style="Report_Footer"
carlos@0
  1006
						x="0"
carlos@0
  1007
						y="4"
carlos@0
  1008
						width="140"
carlos@0
  1009
						height="16"
carlos@0
  1010
						key="staticText-5">
carlos@0
  1011
							<printWhenExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()==1)]]></printWhenExpression>
carlos@0
  1012
						</reportElement>
carlos@0
  1013
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
carlos@0
  1014
					<textElement>
carlos@0
  1015
						<font/>
carlos@0
  1016
					</textElement>
carlos@0
  1017
				<text><![CDATA[other footer data]]></text>
carlos@0
  1018
				</staticText>
carlos@0
  1019
			</band>
carlos@0
  1020
		</pageFooter>
carlos@0
  1021
		<summary>
carlos@0
  1022
			<band height="0"  isSplitAllowed="true" >
carlos@0
  1023
			</band>
carlos@0
  1024
		</summary>
carlos@0
  1025
</jasperReport>