<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="wave_task_main" pageWidth="828" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="790" leftMargin="18" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["E:\\manohar\\reports\\"]]></defaultValueExpression>
	</parameter>
	<parameter name="p_wave_id" class="java.lang.String"/>
	<queryString language="SQL">
		<![CDATA[select sysdate from dual]]>
	</queryString>
	<field name="SYSDATE" class="java.util.Date"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="20" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="0" width="696" height="20"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Wave Preview]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band height="15" splitType="Stretch">
			<staticText>
				<reportElement x="44" y="0" width="31" height="15"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Date :]]></text>
			</staticText>
			<staticText>
				<reportElement x="668" y="0" width="44" height="15"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Page No.]]></text>
			</staticText>
			<textField>
				<reportElement x="713" y="0" width="22" height="15"/>
				<textElement textAlignment="Right">
					<font isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="737" y="0" width="14" height="15"/>
				<textElement>
					<font isBold="false" isUnderline="false"/>
				</textElement>
				<text><![CDATA[of]]></text>
			</staticText>
			<textField evaluationTime="Report">
				<reportElement x="752" y="0" width="30" height="15"/>
				<textElement>
					<font isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="78" y="0" width="146" height="15"/>
				<textElement/>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{SYSDATE}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="42" splitType="Stretch">
			<subreport>
				<reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="1" width="644" height="41"/>
				<subreportParameter name="SUBREPORT_DIR"/>
				<subreportParameter name="p_wave_id">
					<subreportParameterExpression><![CDATA[$P{p_wave_id}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("/data/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/wave_task.jasper")]]></subreportExpression>
			</subreport>
		</band>
		<band height="41">
			<subreport>
				<reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="1" width="644" height="40"/>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("/data/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/wave_sale_order_item_res_det.jasper")]]></subreportExpression>
			</subreport>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
	<noData>
		<band/>
	</noData>
</jasperReport>
