<?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" pageWidth="756" pageHeight="595" orientation="Landscape" columnWidth="720" leftMargin="18" rightMargin="18" topMargin="18" bottomMargin="18">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="p_wave_id" class="java.lang.String"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["E:\\manohar\\reports\\"]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[select WAVE_ID,TO_CHAR(TRAN_DATE,'MM/DD/RR') TRAN_DATE,SALE_ORDER__FROM,SALE_ORDER__TO,CUST_CODE__FROM,CUST_CODE__TO,TO_CHAR(DUE_DATE__FROM,'MM/DD/RR') DUE_DATE__FROM,TO_CHAR(DUE_DATE__TO,'MM/DD/RR') DUE_DATE__TO,HOLD_STATUS
from   WAVE_TASK
where  WAVE_ID=$P{p_wave_id}
order  by WAVE_ID]]>
	</queryString>
	<field name="WAVE_ID" class="java.lang.String"/>
	<field name="TRAN_DATE" class="java.lang.String"/>
	<field name="SALE_ORDER__FROM" class="java.lang.String"/>
	<field name="SALE_ORDER__TO" class="java.lang.String"/>
	<field name="CUST_CODE__FROM" class="java.lang.String"/>
	<field name="CUST_CODE__TO" class="java.lang.String"/>
	<field name="DUE_DATE__FROM" class="java.lang.String"/>
	<field name="DUE_DATE__TO" class="java.lang.String"/>
	<field name="HOLD_STATUS" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="19" splitType="Stretch">
			<staticText>
				<reportElement x="25" y="2" width="462" height="15"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Wave Tasks]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="46" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement x="103" y="26" width="70" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{TRAN_DATE}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="176" y="26" width="79" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER__FROM}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="258" y="26" width="67" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER__TO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="328" y="26" width="76" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_CODE__FROM}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="541" y="26" width="58" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DUE_DATE__TO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="601" y="26" width="62" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{HOLD_STATUS}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="24" y="0" width="77" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Wave Id]]></text>
			</staticText>
			<staticText>
				<reportElement x="103" y="0" width="70" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Transaction Date]]></text>
			</staticText>
			<staticText>
				<reportElement x="176" y="0" width="79" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Sale Order
From]]></text>
			</staticText>
			<staticText>
				<reportElement x="257" y="0" width="69" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Sale Order
To]]></text>
			</staticText>
			<staticText>
				<reportElement x="328" y="0" width="76" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Cust Code From]]></text>
			</staticText>
			<staticText>
				<reportElement x="541" y="0" width="58" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Due Date
To]]></text>
			</staticText>
			<staticText>
				<reportElement x="601" y="0" width="64" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Hold Status]]></text>
			</staticText>
			<line>
				<reportElement x="23" y="1" width="644" height="1"/>
			</line>
			<staticText>
				<reportElement x="481" y="0" width="59" height="26"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Due Date
From]]></text>
			</staticText>
			<textField>
				<reportElement x="481" y="26" width="59" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DUE_DATE__FROM}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="407" y="0" width="73" height="26"/>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Cust Code
To]]></text>
			</staticText>
			<textField>
				<reportElement x="407" y="26" width="73" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_CODE__TO}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="23" y="26" width="644" height="1"/>
			</line>
			<line>
				<reportElement x="667" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="599" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="539" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="479" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="404" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="326" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="256" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="174" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="102" y="1" width="1" height="25"/>
			</line>
			<line>
				<reportElement x="23" y="1" width="1" height="25"/>
			</line>
			<textField>
				<reportElement x="25" y="26" width="75" height="20"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{WAVE_ID}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="23" y="45" width="644" height="1"/>
			</line>
			<line>
				<reportElement x="667" y="26" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="599" y="25" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="539" y="25" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="479" y="26" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="404" y="25" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="326" y="26" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="256" y="26" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="174" y="25" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="102" y="26" width="1" height="20"/>
			</line>
			<line>
				<reportElement x="23" y="26" width="1" height="20"/>
			</line>
		</band>
		<band height="16">
			<subreport>
				<reportElement positionType="Float" x="3" y="1" width="701" height="15"/>
				<subreportParameter name="P_REPL_ID">
					<subreportParameterExpression><![CDATA[$P{p_wave_id}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("C:/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/repl_task_det.jasper")]]></subreportExpression>
			</subreport>
		</band>
		<band height="14">
			<subreport>
				<reportElement positionType="Float" stretchType="RelativeToBandHeight" x="3" y="1" width="701" height="13"/>
				<subreportParameter name="P_PICK_ID">
					<subreportParameterExpression><![CDATA[$F{WAVE_ID}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression class="java.io.InputStream"><![CDATA[new FileInputStream("C:/jboss-5.1.0.GA/server/default/deploy/ibase.ear/ibase.war/webitm/reports/jrxml/wave_pick_task_det.jasper")]]></subreportExpression>
			</subreport>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>
