src/org/openbravo/erpCommon/ad_reports/ReportStandardCostsJR.jrxml
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 0 0247c26f10c6
child 1605 8a0fe0193bef
permissions -rw-r--r--
Removed old frame parameter of windowTableId
<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="ReportStandardCostsJR"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="595"
		 pageHeight="842"
		 columnWidth="535"
		 columnSpacing="0"
		 leftMargin="30"
		 rightMargin="30"
		 topMargin="20"
		 bottomMargin="20"
		 whenNoDataType="NoPages"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />

	<style 
		name="default"
		isDefault="false"
		vAlign="Middle"
		fontName="Bitstream Vera Sans"
		fontSize="8"
	/>
	<style 
		name="Report_Title"
		isDefault="false"
		leftPadding="5"
		fontName="Bitstream Vera Sans"
		fontSize="18"
	/>
	<style 
		name="Report_Subtitle"
		isDefault="false"
		forecolor="#555555"
		leftPadding="5"
		fontName="Bitstream Vera Sans"
		fontSize="14"
	/>
	<style 
		name="Report_Data_Label"
		isDefault="false"
		fontName="Bitstream Vera Sans"
		fontSize="11"
		isBold="true"
	/>
	<style 
		name="Report_Data_Field"
		isDefault="false"
		fontName="Bitstream Vera Sans"
		fontSize="11"
		isBold="false"
	/>
	<style 
		name="Total_Field"
		isDefault="false"
		mode="Opaque"
		forecolor="#000000"
		backcolor="#CCCCCC"
		vAlign="Middle"
		leftPadding="5"
		fontName="Bitstream Vera Sans"
		fontSize="11"
		isBold="true"
	/>
	<style 
		name="GroupHeader_DarkGray"
		isDefault="false"
		mode="Opaque"
		forecolor="#FFFFFF"
		backcolor="#555555"
		vAlign="Middle"
		leftPadding="5"
		fontName="Bitstream Vera Sans"
		fontSize="12"
		isBold="true"
	/>
	<style 
		name="Group_Data_Label"
		isDefault="false"
		fontName="Bitstream Vera Sans"
		fontSize="11"
		isBold="true"
	/>
	<style 
		name="Group_Data_Field"
		isDefault="false"
		fontName="Bitstream Vera Sans"
		fontSize="11"
	/>
	<style 
		name="Detail_Header"
		isDefault="false"
		mode="Opaque"
		forecolor="#FFFFFF"
		backcolor="#5D5D5D"
		vAlign="Middle"
		leftBorder="1Point"
		leftBorderColor="#FFFFFF"
		leftPadding="5"
		rightBorder="1Point"
		rightBorderColor="#FFFFFF"
		fontName="Bitstream Vera Sans"
		fontSize="10"
		isBold="true"
	/>
	<style 
		name="Detail_Line"
		isDefault="false"
		fontName="Bitstream Vera Sans"
		fontSize="8"
	>

		<conditionalStyle>
			<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==1)]]></conditionExpression>
			<style 
				name="Detail_Line"
				isDefault="false"
				mode="Opaque"
				backcolor="#CCCCCC"
			/>
		</conditionalStyle>
	</style>
	<style 
		name="Total_Gray"
		isDefault="false"
		mode="Opaque"
		forecolor="#000000"
		backcolor="#CCCCCC"
	/>
	<style 
		name="Detail_Data_Label"
		isDefault="false"
		mode="Opaque"
		backcolor="#CCCCCC"
		fontName="Bitstream Vera Sans"
		fontSize="10"
		isBold="true"
	/>
	<style 
		name="Detail_Data_Field"
		isDefault="false"
		mode="Opaque"
		backcolor="#CCCCCC"
		fontName="Bitstream Vera Sans"
		fontSize="10"
	/>
	<style 
		name="Group_Footer"
		isDefault="false"
		fontName="Bitstream Vera Sans"
		fontSize="11"
		isBold="true"
	/>
	<style 
		name="Report_Footer"
		isDefault="true"
		vAlign="Middle"
		fontName="Bitstream Vera Sans"
		fontSize="11"
	/>

	<parameter name="ATTACH" isForPrompting="false" class="java.lang.String"/>
	<parameter name="BASE_WEB" isForPrompting="false" class="java.lang.String"/>
	<parameter name="BASE_DESIGN" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA["/usr/local/src/iReport-2.0.0/compile_dir/"]]></defaultValueExpression>
	</parameter>
	<parameter name="LANGUAGE" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA["en_US"]]></defaultValueExpression>
	</parameter>
	<parameter name="USER_CLIENT" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA["1000000"]]></defaultValueExpression>
	</parameter>
	<parameter name="USER_ORG" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA["0, 1000000, 1000001"]]></defaultValueExpression>
	</parameter>
	<parameter name="REPORT_TITLE" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA["REPORT TITLE"]]></defaultValueExpression>
	</parameter>
	<parameter name="REPORT_SUBTITLE" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="SUBREPORT_DIR" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA[$P{BASE_DESIGN}]]></defaultValueExpression>
	</parameter>
	<parameter name="MA_PROCESSPLAN_ID" isForPrompting="false" class="java.lang.String"/>
	<parameter name="AUX_PROCESSPLAN" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA[($P{MA_PROCESSPLAN_ID}==null||$P{MA_PROCESSPLAN_ID}.equals(""))?"":" AND MA_PROCESSPLAN.MA_PROCESSPLAN_ID = "+$P{MA_PROCESSPLAN_ID}]]></defaultValueExpression>
	</parameter>
	<parameter name="SR_COST" isForPrompting="false" class="net.sf.jasperreports.engine.JasperReport"/>
	<parameter name="SR_PRODUCED" isForPrompting="false" class="net.sf.jasperreports.engine.JasperReport"/>
	<parameter name="MA_PROCESSPLAN_VERSION_ID" isForPrompting="false" class="java.lang.String"/>
	<parameter name="AUX_VERSION" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA[($P{MA_PROCESSPLAN_VERSION_ID} == null || $P{MA_PROCESSPLAN_VERSION_ID}.equals(""))?"":" AND MA_PROCESSPLAN_VERSION.MA_PROCESSPLAN_VERSION_ID = " + $P{MA_PROCESSPLAN_VERSION_ID}]]></defaultValueExpression>
	</parameter>
	<parameter name="DATETO" isForPrompting="false" class="java.util.Date">
		<defaultValueExpression ><![CDATA[(new SimpleDateFormat("dd-MM-yyyy")).parse("01-01-1900")]]></defaultValueExpression>
	</parameter>
	<parameter name="DATEFROM" isForPrompting="false" class="java.util.Date">
		<defaultValueExpression ><![CDATA[(new SimpleDateFormat("dd-MM-yyyy")).parse("31-12-3000")]]></defaultValueExpression>
	</parameter>
	<queryString><![CDATA[SELECT MA_PROCESSPLAN.MA_PROCESSPLAN_ID,
       AD_COLUMN_IDENTIFIER(to_char('MA_PROCESSPLAN'), to_char(MA_PROCESSPLAN.MA_PROCESSPLAN_ID), to_char($P{LANGUAGE})) AS PROCESSPLAN,
       MA_PROCESSPLAN_VERSION.MA_PROCESSPLAN_VERSION_ID,
       MA_PROCESSPLAN_VERSION.DOCUMENTNO AS VERSION, MA_PROCESSPLAN_VERSION.DATEFROM, MA_PROCESSPLAN_VERSION.DATETO,
       MA_SEQUENCE.MA_SEQUENCE_ID,
       AD_COLUMN_IDENTIFIER(to_char('MA_SEQUENCE'), to_char(MA_SEQUENCE.MA_SEQUENCE_ID), to_char($P{LANGUAGE})) AS SEQUENCE
FROM MA_PROCESSPLAN, MA_PROCESSPLAN_VERSION, MA_SEQUENCE
WHERE MA_PROCESSPLAN.MA_PROCESSPLAN_ID = MA_PROCESSPLAN_VERSION.MA_PROCESSPLAN_ID
  AND MA_PROCESSPLAN_VERSION.MA_PROCESSPLAN_VERSION_ID = MA_SEQUENCE.MA_PROCESSPLAN_VERSION_ID
  AND MA_PROCESSPLAN.AD_ORG_ID IN ( $P!{USER_ORG} )
  AND 1=1 $P!{AUX_PROCESSPLAN}
  AND 1=1 $P!{AUX_VERSION}
  AND MA_PROCESSPLAN_VERSION.DATEFROM <= $P{DATEFROM}
  AND MA_PROCESSPLAN_VERSION.DATETO > $P{DATETO}
  AND MA_PROCESSPLAN.AD_CLIENT_ID IN ( $P!{USER_CLIENT} )
ORDER BY MA_PROCESSPLAN.MA_PROCESSPLAN_ID, MA_PROCESSPLAN_VERSION.DATEFROM, MA_SEQUENCE.SEQNO]]></queryString>

	<field name="MA_PROCESSPLAN_ID" class="java.math.BigDecimal"/>
	<field name="PROCESSPLAN" class="java.lang.String"/>
	<field name="MA_PROCESSPLAN_VERSION_ID" class="java.math.BigDecimal"/>
	<field name="VERSION" class="java.lang.String"/>
	<field name="DATEFROM" class="java.sql.Timestamp"/>
	<field name="DATETO" class="java.sql.Timestamp"/>
	<field name="MA_SEQUENCE_ID" class="java.math.BigDecimal"/>
	<field name="SEQUENCE" class="java.lang.String"/>

	<variable name="DetailFieldTotal" class="java.lang.String" resetType="Report" calculation="Nothing">
	</variable>

		<group  name="MA_PROCESSPLAN_ID" >
			<groupExpression><![CDATA[$F{MA_PROCESSPLAN_ID}]]></groupExpression>
			<groupHeader>
			<band height="25"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						style="GroupHeader_DarkGray"
						x="1"
						y="0"
						width="119"
						height="18"
						key="staticText"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<text><![CDATA[Process Plan]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="GroupHeader_DarkGray"
						x="120"
						y="0"
						width="415"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{PROCESSPLAN}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="1"
						width="0"
						height="24"
						forecolor="#555555"
						key="line-2"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="535"
						y="1"
						width="0"
						height="24"
						forecolor="#555555"
						key="line-3"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="20"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="0"
						y="0"
						width="0"
						height="9"
						forecolor="#555555"
						key="line-32"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="535"
						y="0"
						width="0"
						height="9"
						forecolor="#555555"
						key="line-33"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="9"
						width="535"
						height="0"
						forecolor="#555555"
						key="line-34"/>
					<graphicElement stretchType="NoStretch" pen="2Point"/>
				</line>
			</band>
			</groupFooter>
		</group>
		<group  name="MA_PROCESSPLAN_VERSION_ID" >
			<groupExpression><![CDATA[$F{MA_PROCESSPLAN_VERSION_ID}]]></groupExpression>
			<groupHeader>
			<band height="40"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						style="Group_Data_Label"
						x="20"
						y="20"
						width="78"
						height="16"
						key="staticText-6"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<text><![CDATA[Valid From]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="GroupHeader_DarkGray"
						x="130"
						y="0"
						width="405"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{VERSION}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="10"
						y="1"
						width="0"
						height="39"
						forecolor="#555555"
						key="line-4"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="535"
						y="0"
						width="0"
						height="40"
						forecolor="#555555"
						key="line-6"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="0"
						width="0"
						height="40"
						forecolor="#555555"
						key="line-8"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<staticText>
					<reportElement
						style="GroupHeader_DarkGray"
						x="11"
						y="0"
						width="119"
						height="18"
						key="staticText-9"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<text><![CDATA[Version]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="98"
						y="20"
						width="107"
						height="16"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.sql.Timestamp"><![CDATA[$F{DATEFROM}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="256"
						y="20"
						width="107"
						height="16"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.sql.Timestamp"><![CDATA[$F{DATETO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						style="Group_Data_Label"
						x="222"
						y="20"
						width="34"
						height="16"
						key="staticText-11"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<text><![CDATA[To]]></text>
				</staticText>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="20"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="0"
						y="0"
						width="0"
						height="20"
						forecolor="#555555"
						key="line-28"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="10"
						y="0"
						width="0"
						height="10"
						forecolor="#555555"
						key="line-29"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="535"
						y="0"
						width="0"
						height="20"
						forecolor="#555555"
						key="line-30"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="10"
						y="10"
						width="525"
						height="0"
						forecolor="#555555"
						key="line-31"/>
					<graphicElement stretchType="NoStretch" pen="2Point"/>
				</line>
			</band>
			</groupFooter>
		</group>
		<group  name="MA_SEQUENCE_ID" minHeightToStartNewPage="150" >
			<groupExpression><![CDATA[$F{MA_SEQUENCE_ID}]]></groupExpression>
			<groupHeader>
			<band height="25"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="GroupHeader_DarkGray"
						x="140"
						y="0"
						width="395"
						height="18"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{SEQUENCE}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="20"
						y="1"
						width="0"
						height="24"
						forecolor="#555555"
						key="line-5"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="535"
						y="0"
						width="0"
						height="25"
						forecolor="#555555"
						key="line-7"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="0"
						width="0"
						height="25"
						forecolor="#555555"
						key="line-9"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="10"
						y="0"
						width="0"
						height="25"
						forecolor="#555555"
						key="line-10"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<staticText>
					<reportElement
						style="GroupHeader_DarkGray"
						x="21"
						y="0"
						width="119"
						height="18"
						key="staticText-10"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<text><![CDATA[Sequence]]></text>
				</staticText>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="20"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="20"
						y="0"
						width="0"
						height="10"
						forecolor="#555555"
						key="line-23"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="0"
						width="0"
						height="20"
						forecolor="#555555"
						key="line-24"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="10"
						y="0"
						width="0"
						height="20"
						forecolor="#555555"
						key="line-25"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="535"
						y="0"
						width="0"
						height="20"
						forecolor="#555555"
						key="line-26"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="20"
						y="10"
						width="515"
						height="0"
						forecolor="#555555"
						key="line-27"/>
					<graphicElement stretchType="NoStretch" pen="2Point"/>
				</line>
			</band>
			</groupFooter>
		</group>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="20"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="37"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Report_Title"
						mode="Transparent"
						x="0"
						y="4"
						width="535"
						height="20"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{REPORT_TITLE}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="24"
						width="535"
						height="0"
						key="line-1"/>
					<graphicElement stretchType="NoStretch" pen="1Point"/>
				</line>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="100"  isSplitAllowed="true" >
				<line direction="TopDown">
					<reportElement
						x="20"
						y="0"
						width="0"
						height="100"
						forecolor="#555555"
						key="line-15"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="535"
						y="0"
						width="0"
						height="100"
						forecolor="#555555"
						key="line-16"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="0"
						width="0"
						height="100"
						forecolor="#555555"
						key="line-17"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<line direction="TopDown">
					<reportElement
						x="10"
						y="0"
						width="0"
						height="100"
						forecolor="#555555"
						key="line-18"
						stretchType="RelativeToBandHeight"/>
					<graphicElement stretchType="RelativeToBandHeight" pen="2Point"/>
				</line>
				<subreport  isUsingCache="true">
					<reportElement
						style="Report_Footer"
						x="27"
						y="0"
						width="505"
						height="46"
						key="subreport-1"/>
					<subreportParameter  name="ATTACH">
						<subreportParameterExpression><![CDATA[$P{ATTACH}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="BASE_WEB">
						<subreportParameterExpression><![CDATA[$P{BASE_WEB}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="BASE_DESIGN">
						<subreportParameterExpression><![CDATA[$P{BASE_DESIGN}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="LANGUAGE">
						<subreportParameterExpression><![CDATA[$P{LANGUAGE}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="USER_CLIENT">
						<subreportParameterExpression><![CDATA[$P{USER_CLIENT}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="USER_ORG">
						<subreportParameterExpression><![CDATA[$P{USER_ORG}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="REPORT_TITLE">
						<subreportParameterExpression><![CDATA[$P{REPORT_TITLE}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="REPORT_SUBTITLE">
						<subreportParameterExpression><![CDATA[$P{REPORT_SUBTITLE}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="SUBREPORT_DIR">
						<subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="SEQUENCE_ID">
						<subreportParameterExpression><![CDATA[$F{MA_SEQUENCE_ID}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{SR_COST}]]></subreportExpression>
				</subreport>
				<subreport  isUsingCache="true">
					<reportElement
						style="Report_Footer"
						x="27"
						y="50"
						width="505"
						height="46"
						key="subreport-2"
						positionType="Float"/>
					<subreportParameter  name="ATTACH">
						<subreportParameterExpression><![CDATA[$P{ATTACH}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="BASE_WEB">
						<subreportParameterExpression><![CDATA[$P{BASE_WEB}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="BASE_DESIGN">
						<subreportParameterExpression><![CDATA[$P{BASE_DESIGN}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="LANGUAGE">
						<subreportParameterExpression><![CDATA[$P{LANGUAGE}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="USER_CLIENT">
						<subreportParameterExpression><![CDATA[$P{USER_CLIENT}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="USER_ORG">
						<subreportParameterExpression><![CDATA[$P{USER_ORG}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="SUBREPORT_DIR">
						<subreportParameterExpression><![CDATA[$P{SUBREPORT_DIR}]]></subreportParameterExpression>
					</subreportParameter>
					<subreportParameter  name="SEQUENCE_ID">
						<subreportParameterExpression><![CDATA[$F{MA_SEQUENCE_ID}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$P{SR_PRODUCED}]]></subreportExpression>
				</subreport>
			</band>
		</detail>
		<columnFooter>
			<band height="16"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="20"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Report_Footer"
						x="402"
						y="4"
						width="95"
						height="16"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font fontName="Helvetica" size="10"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Report_Footer"
						x="499"
						y="4"
						width="36"
						height="16"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font fontName="Helvetica" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="1"
						width="535"
						height="0"
						forecolor="#000000"
						key="line"/>
					<graphicElement stretchType="NoStretch" pen="1Point"/>
				</line>
				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						style="Report_Footer"
						x="277"
						y="4"
						width="69"
						height="16"
						key="textField"/>
					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement verticalAlignment="Middle">
						<font fontName="Times-Roman" size="10"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						style="Report_Footer"
						x="198"
						y="4"
						width="76"
						height="16"
						key="staticText-1"/>
					<box topBorder="None" topBorderColor="#000000" topPadding="2" leftBorder="None" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
					<textElement textAlignment="Right">
						<font/>
					</textElement>
				<text><![CDATA[Printed on]]></text>
				</staticText>
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>