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