<?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_pick_task_det" pageWidth="756" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="720" leftMargin="18" rightMargin="18" topMargin="3" bottomMargin="18">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="P_PICK_ID" class="java.lang.String"/>
	<queryString>
		<![CDATA[SELECT PICK_ORD_DET.PICK_ORDER,
PICK_ORD_DET.LINE_NO,
PICK_ORD_DET.SALE_ORDER,PICK_ORD_DET.LINE_NO__SORD,
PICK_ORD_DET.SITE_CODE,
ITEM.ITEM_CODE||ITEM.DESCR ITEM_CODE,
PICK_ORD_DET.LOC_CODE,
PICK_ORD_DET.LOT_NO,
PICK_ORD_DET.LOT_SL,
PICK_ORD_DET.NO_ART,
PICK_ORD_DET.QUANTITY,
PICK_ORD_DET.LOC_CODE__TO
FROM   PICK_ORD_DET,PICK_ORD_HDR ,ITEM
WHERE  PICK_ORD_DET.ITEM_CODE  = ITEM.ITEM_CODE
 AND PICK_ORD_HDR.WAVE_ID = $P{P_PICK_ID}
AND    PICK_ORD_HDR.PICK_ORDER   = PICK_ORD_DET.PICK_ORDER
order by PICK_ORD_DET.LINE_NO]]>
	</queryString>
	<field name="PICK_ORDER" class="java.lang.String"/>
	<field name="LINE_NO" class="java.lang.String"/>
	<field name="SALE_ORDER" class="java.lang.String"/>
	<field name="LINE_NO__SORD" class="java.lang.String"/>
	<field name="SITE_CODE" class="java.lang.String"/>
	<field name="ITEM_CODE" class="java.lang.String"/>
	<field name="LOC_CODE" class="java.lang.String"/>
	<field name="LOT_NO" class="java.lang.String"/>
	<field name="LOT_SL" class="java.lang.String"/>
	<field name="NO_ART" class="java.lang.String"/>
	<field name="QUANTITY" class="java.lang.String"/>
	<field name="LOC_CODE__TO" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="21" splitType="Stretch">
			<staticText>
				<reportElement x="8" y="3" width="660" height="15"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Pick Tasks Details]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="27" splitType="Stretch">
			<staticText>
				<reportElement x="8" y="1" width="66" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Pick Order]]></text>
			</staticText>
			<staticText>
				<reportElement x="74" y="1" width="58" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Sale Order]]></text>
			</staticText>
			<staticText>
				<reportElement x="133" y="1" width="46" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Sordln]]></text>
			</staticText>
			<staticText>
				<reportElement x="180" y="1" width="131" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Item Description]]></text>
			</staticText>
			<staticText>
				<reportElement x="311" y="1" width="57" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Loc Code
From]]></text>
			</staticText>
			<staticText>
				<reportElement x="368" y="1" width="104" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Lot No]]></text>
			</staticText>
			<staticText>
				<reportElement x="472" y="1" width="108" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[LPN]]></text>
			</staticText>
			<staticText>
				<reportElement x="582" y="1" width="33" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[No Art]]></text>
			</staticText>
			<staticText>
				<reportElement x="617" y="1" width="48" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Quantity]]></text>
			</staticText>
			<staticText>
				<reportElement x="667" y="1" width="51" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Loc Code
To]]></text>
			</staticText>
			<line>
				<reportElement x="6" y="26" width="714" height="1"/>
			</line>
			<line>
				<reportElement x="6" y="0" width="714" height="1"/>
			</line>
			<line>
				<reportElement x="719" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="666" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="615" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="581" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="472" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="366" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="311" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="178" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="131" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="74" y="1" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="6" y="1" width="1" height="26"/>
			</line>
		</band>
	</columnHeader>
	<detail>
		<band height="27" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement x="7" y="1" width="66" height="26"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{PICK_ORDER}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="76" y="-1" width="57" height="26"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="133" y="-1" width="43" height="26"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{LINE_NO__SORD}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="180" y="0" width="131" height="26"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="314" y="0" width="50" height="26"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{LOC_CODE}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="368" y="0" width="104" height="26"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{LOT_NO}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="473" y="0" width="107" height="26"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{LOT_SL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="582" y="0" width="32" height="26"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{NO_ART}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="617" y="0" width="48" height="26"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{QUANTITY}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="668" y="0" width="49" height="26"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{LOC_CODE__TO}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="581" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="719" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="131" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="6" y="26" width="714" height="1"/>
			</line>
			<line>
				<reportElement x="74" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="178" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="311" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="472" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="366" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="666" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="615" y="0" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="6" y="-1" width="714" height="1"/>
			</line>
			<line>
				<reportElement x="6" y="0" width="1" height="26"/>
			</line>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
	<noData>
		<band height="80">
			<staticText>
				<reportElement x="369" y="19" width="104" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Lot No]]></text>
			</staticText>
			<line>
				<reportElement x="473" y="19" width="1" height="26"/>
			</line>
			<staticText>
				<reportElement x="583" y="19" width="33" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[No Art]]></text>
			</staticText>
			<line>
				<reportElement x="132" y="19" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="582" y="19" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="179" y="19" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="312" y="19" width="1" height="26"/>
			</line>
			<staticText>
				<reportElement x="668" y="19" width="51" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Loc Code
To]]></text>
			</staticText>
			<staticText>
				<reportElement x="312" y="19" width="57" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Loc Code
From]]></text>
			</staticText>
			<line>
				<reportElement x="75" y="19" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="667" y="19" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="367" y="19" width="1" height="26"/>
			</line>
			<staticText>
				<reportElement x="473" y="19" width="108" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[LPN]]></text>
			</staticText>
			<line>
				<reportElement x="7" y="44" width="714" height="1"/>
			</line>
			<line>
				<reportElement x="7" y="19" width="1" height="26"/>
			</line>
			<staticText>
				<reportElement x="618" y="19" width="48" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Quantity]]></text>
			</staticText>
			<staticText>
				<reportElement x="9" y="19" width="66" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Pick Order]]></text>
			</staticText>
			<staticText>
				<reportElement x="75" y="19" width="58" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Sale Order]]></text>
			</staticText>
			<line>
				<reportElement x="616" y="19" width="1" height="26"/>
			</line>
			<staticText>
				<reportElement x="181" y="19" width="131" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Item Description]]></text>
			</staticText>
			<staticText>
				<reportElement x="134" y="19" width="46" height="26"/>
				<textElement textAlignment="Center">
					<font size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Sordln]]></text>
			</staticText>
			<line>
				<reportElement x="7" y="18" width="714" height="1"/>
			</line>
			<line>
				<reportElement x="720" y="18" width="1" height="26"/>
			</line>
			<staticText>
				<reportElement x="8" y="2" width="660" height="15"/>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Pick Tasks Details]]></text>
			</staticText>
			<line>
				<reportElement x="7" y="71" width="714" height="1"/>
			</line>
			<line>
				<reportElement x="7" y="45" width="1" height="26"/>
			</line>
			<line>
				<reportElement x="720" y="45" width="1" height="26"/>
			</line>
			<staticText>
				<reportElement x="9" y="47" width="709" height="20"/>
				<textElement textAlignment="Center"/>
				<text><![CDATA[NA]]></text>
			</staticText>
		</band>
	</noData>
</jasperReport>
