Commit 31a146e3 authored by sabita.prasad's avatar sabita.prasad

Made changes on Wave Preview Report Execute through link 04.12.12.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92255 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 41e6a293
<?xml version="1.0" encoding="UTF-8"?> <?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="repl_task_det" pageWidth="760" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="724" leftMargin="18" rightMargin="18" topMargin="3" bottomMargin="18"> <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="repl_task_det" pageWidth="795" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="759" leftMargin="18" rightMargin="18" topMargin="3" bottomMargin="18">
<property name="ireport.zoom" value="1.0"/> <property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="751"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<parameter name="P_REPL_ID" class="java.lang.String"/> <parameter name="P_REPL_ID" class="java.lang.String"/>
<queryString> <queryString>
<![CDATA[SELECT REPL_ORD_DET.REPL_ORDER,REPL_ORD_DET.SALE_ORDER,REPL_ORD_DET.LINE_NO__SORD,ITEM.ITEM_CODE||ITEM.DESCR ITEM_CODE ,REPL_ORD_DET.LOC_CODE,REPL_ORD_DET.LOT_NO,REPL_ORD_DET.LOT_SL,REPL_ORD_DET.NO_ART,REPL_ORD_DET.QUANTITY,REPL_ORD_DET.PICK_ORDER,REPL_ORD_DET.LOC_CODE__TO <![CDATA[SELECT REPL_ORD_DET.REPL_ORDER,
FROM REPL_ORD_DET,ITEM,REPL_ORD_HDR REPL_ORD_DET.SALE_ORDER,
REPL_ORD_DET.LINE_NO__SORD,
ITEM.ITEM_CODE||ITEM.DESCR ITEM_CODE ,
REPL_ORD_DET.LOC_CODE,
REPL_ORD_DET.LOT_NO,
REPL_ORD_DET.LOT_SL,
REPL_ORD_DET.NO_ART,
REPL_ORD_DET.QUANTITY,
REPL_ORD_DET.PICK_ORDER,
REPL_ORD_DET.LOC_CODE__TO,
(Case when count(REPL_ISS_HDR.repl_order) >=1 then 'Verified' else 'Created' end) status
FROM REPL_ORD_DET,ITEM,REPL_ORD_HDR,REPL_ISS_HDR
WHERE REPL_ORD_DET.ITEM_CODE =ITEM.ITEM_CODE WHERE REPL_ORD_DET.ITEM_CODE =ITEM.ITEM_CODE
AND REPL_ORD_HDR.REPL_ORDER =REPL_ORD_DET.REPL_ORDER AND REPL_ORD_HDR.REPL_ORDER =REPL_ORD_DET.REPL_ORDER
AND REPL_ORD_HDR.WAVE_ID =$P{P_REPL_ID} AND REPL_ORD_HDR.WAVE_ID =$P{P_REPL_ID}
and REPL_ORD_HDR.REPL_ORDER =REPL_ISS_HDR.repl_order(+)
group by REPL_ORD_DET.REPL_ORDER,
REPL_ORD_DET.SALE_ORDER,
REPL_ORD_DET.LINE_NO__SORD,
ITEM.ITEM_CODE||ITEM.DESCR,
REPL_ORD_DET.LOC_CODE,
REPL_ORD_DET.LOT_NO,
REPL_ORD_DET.LOT_SL,
REPL_ORD_DET.NO_ART,
REPL_ORD_DET.QUANTITY,
REPL_ORD_DET.PICK_ORDER,
REPL_ORD_DET.LOC_CODE__TO
order by REPL_ORD_DET.REPL_ORDER]]> order by REPL_ORD_DET.REPL_ORDER]]>
</queryString> </queryString>
<field name="REPL_ORDER" class="java.lang.String"/> <field name="REPL_ORDER" class="java.lang.String"/>
<field name="SALE_ORDER" class="java.lang.String"/> <field name="SALE_ORDER" class="java.lang.String"/>
<field name="LINE_NO__SORD" class="java.lang.String"/> <field name="LINE_NO__SORD" class="java.lang.Double"/>
<field name="ITEM_CODE" class="java.lang.String"/> <field name="ITEM_CODE" class="java.lang.String"/>
<field name="LOC_CODE" class="java.lang.String"/> <field name="LOC_CODE" class="java.lang.String"/>
<field name="LOT_NO" class="java.lang.String"/> <field name="LOT_NO" class="java.lang.String"/>
<field name="LOT_SL" class="java.lang.String"/> <field name="LOT_SL" class="java.lang.String"/>
<field name="NO_ART" class="java.lang.String"/> <field name="NO_ART" class="java.lang.Double"/>
<field name="QUANTITY" class="java.lang.String"/> <field name="QUANTITY" class="java.lang.Double"/>
<field name="PICK_ORDER" class="java.lang.String"/> <field name="PICK_ORDER" class="java.lang.String"/>
<field name="LOC_CODE__TO" class="java.lang.String"/> <field name="LOC_CODE__TO" class="java.lang.String"/>
<field name="STATUS" class="java.lang.String"/>
<background> <background>
<band splitType="Stretch"/> <band splitType="Stretch"/>
</background> </background>
...@@ -65,7 +89,7 @@ From]]></text> ...@@ -65,7 +89,7 @@ From]]></text>
<text><![CDATA[Repl Order]]></text> <text><![CDATA[Repl Order]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="672" y="3" width="50" height="26"/> <reportElement x="662" y="3" width="46" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
...@@ -80,21 +104,21 @@ To]]></text> ...@@ -80,21 +104,21 @@ To]]></text>
<text><![CDATA[Lot No]]></text> <text><![CDATA[Lot No]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="614" y="2" width="59" height="26"/> <reportElement x="610" y="2" width="50" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Pick Order]]></text> <text><![CDATA[Pick Order]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="530" y="2" width="35" height="26"/> <reportElement x="530" y="2" width="33" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Cases]]></text> <text><![CDATA[Cases]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="567" y="2" width="45" height="26"/> <reportElement x="563" y="2" width="45" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
...@@ -122,13 +146,13 @@ To]]></text> ...@@ -122,13 +146,13 @@ To]]></text>
<text><![CDATA[Sordln]]></text> <text><![CDATA[Sordln]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="3" y="28" width="720" height="1"/> <reportElement x="3" y="28" width="754" height="1"/>
</line> </line>
<line> <line>
<reportElement x="3" y="1" width="720" height="1"/> <reportElement x="3" y="1" width="754" height="1"/>
</line> </line>
<line> <line>
<reportElement x="722" y="2" width="1" height="26"/> <reportElement x="756" y="2" width="1" height="26"/>
</line> </line>
<line> <line>
<reportElement x="3" y="1" width="1" height="27"/> <reportElement x="3" y="1" width="1" height="27"/>
...@@ -155,14 +179,24 @@ To]]></text> ...@@ -155,14 +179,24 @@ To]]></text>
<reportElement x="528" y="2" width="1" height="26"/> <reportElement x="528" y="2" width="1" height="26"/>
</line> </line>
<line> <line>
<reportElement x="566" y="2" width="1" height="26"/> <reportElement x="562" y="2" width="1" height="26"/>
</line> </line>
<line> <line>
<reportElement x="613" y="2" width="1" height="26"/> <reportElement x="609" y="2" width="1" height="26"/>
</line> </line>
<line> <line>
<reportElement x="672" y="2" width="1" height="26"/> <reportElement x="660" y="2" width="1" height="26"/>
</line> </line>
<line>
<reportElement x="709" y="2" width="1" height="26"/>
</line>
<staticText>
<reportElement x="711" y="3" width="45" height="26"/>
<textElement textAlignment="Center">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Task Status]]></text>
</staticText>
</band> </band>
</columnHeader> </columnHeader>
<detail> <detail>
...@@ -172,70 +206,70 @@ To]]></text> ...@@ -172,70 +206,70 @@ To]]></text>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LOT_NO}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LOT_NO}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="431" y="0" width="96" height="21"/> <reportElement x="431" y="0" width="96" height="21"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LOT_SL}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LOT_SL}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="567" y="0" width="45" height="21"/> <reportElement x="563" y="0" width="45" height="21"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{QUANTITY}]]></textFieldExpression> <textFieldExpression class="java.lang.Double"><![CDATA[$F{QUANTITY}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="158" y="0" width="134" height="21"/> <reportElement x="158" y="0" width="134" height="21"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{ITEM_CODE}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="295" y="0" width="48" height="21"/> <reportElement x="295" y="0" width="48" height="21"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LOC_CODE}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LOC_CODE}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="62" y="0" width="54" height="21"/> <reportElement x="62" y="0" width="54" height="21"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{SALE_ORDER}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="4" y="0" width="55" height="21"/> <reportElement x="4" y="0" width="55" height="21"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{REPL_ORDER}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{REPL_ORDER}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="530" y="0" width="35" height="21"/> <reportElement x="529" y="0" width="32" height="21"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{NO_ART}]]></textFieldExpression> <textFieldExpression class="java.lang.Double"><![CDATA[$F{NO_ART}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="615" y="0" width="58" height="21"/> <reportElement x="610" y="0" width="50" height="21"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{PICK_ORDER}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{PICK_ORDER}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="674" y="0" width="47" height="21"/> <reportElement x="662" y="0" width="46" height="21"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LOC_CODE__TO}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LOC_CODE__TO}]]></textFieldExpression>
</textField> </textField>
<line> <line>
<reportElement x="118" y="-1" width="1" height="22"/> <reportElement x="118" y="-1" width="1" height="22"/>
...@@ -247,10 +281,7 @@ To]]></text> ...@@ -247,10 +281,7 @@ To]]></text>
<reportElement x="60" y="-1" width="1" height="22"/> <reportElement x="60" y="-1" width="1" height="22"/>
</line> </line>
<line> <line>
<reportElement x="4" y="-1" width="719" height="1"/> <reportElement x="4" y="-1" width="753" height="1"/>
</line>
<line>
<reportElement x="672" y="-1" width="1" height="22"/>
</line> </line>
<line> <line>
<reportElement x="293" y="-1" width="1" height="22"/> <reportElement x="293" y="-1" width="1" height="22"/>
...@@ -268,23 +299,34 @@ To]]></text> ...@@ -268,23 +299,34 @@ To]]></text>
<reportElement x="156" y="-1" width="1" height="22"/> <reportElement x="156" y="-1" width="1" height="22"/>
</line> </line>
<line> <line>
<reportElement x="566" y="-1" width="1" height="22"/> <reportElement x="562" y="-1" width="1" height="22"/>
</line>
<line>
<reportElement x="3" y="21" width="720" height="1"/>
</line> </line>
<line> <line>
<reportElement x="722" y="-1" width="1" height="22"/> <reportElement x="3" y="21" width="754" height="1"/>
</line> </line>
<line> <line>
<reportElement x="613" y="-1" width="1" height="22"/> <reportElement x="609" y="-1" width="1" height="22"/>
</line> </line>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="121" y="0" width="32" height="21"/> <reportElement x="121" y="0" width="32" height="21"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LINE_NO__SORD}]]></textFieldExpression> <textFieldExpression class="java.lang.Double"><![CDATA[$F{LINE_NO__SORD}]]></textFieldExpression>
</textField>
<line>
<reportElement x="756" y="0" width="1" height="22"/>
</line>
<line>
<reportElement x="709" y="0" width="1" height="22"/>
</line>
<line>
<reportElement x="660" y="0" width="1" height="22"/>
</line>
<textField>
<reportElement x="711" y="0" width="45" height="20"/>
<textElement/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{STATUS}]]></textFieldExpression>
</textField> </textField>
</band> </band>
</detail> </detail>
...@@ -297,42 +339,42 @@ To]]></text> ...@@ -297,42 +339,42 @@ To]]></text>
<noData> <noData>
<band height="62"> <band height="62">
<staticText> <staticText>
<reportElement x="4" y="0" width="703" height="15"/> <reportElement x="4" y="0" width="752" height="15"/>
<textElement> <textElement>
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Replenishment Tasks Details]]></text> <text><![CDATA[Replenishment Tasks Details]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="3" y="61" width="719" height="1"/> <reportElement x="3" y="61" width="753" height="1"/>
</line> </line>
<line> <line>
<reportElement x="3" y="41" width="1" height="20"/> <reportElement x="3" y="41" width="1" height="20"/>
</line> </line>
<line> <line>
<reportElement x="722" y="41" width="1" height="20"/> <reportElement x="756" y="41" width="1" height="20"/>
</line> </line>
<staticText> <staticText>
<reportElement x="4" y="42" width="717" height="18"/> <reportElement x="4" y="42" width="753" height="18"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font isPdfEmbedded="false"/> <font isPdfEmbedded="false"/>
</textElement> </textElement>
<text><![CDATA[NA]]></text> <text><![CDATA[NA]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="566" y="16" width="1" height="26"/> <reportElement x="562" y="16" width="1" height="26"/>
</line> </line>
<line> <line>
<reportElement x="672" y="16" width="1" height="26"/> <reportElement x="660" y="16" width="1" height="26"/>
</line> </line>
<line> <line>
<reportElement x="3" y="41" width="720" height="1"/> <reportElement x="3" y="41" width="754" height="1"/>
</line> </line>
<line> <line>
<reportElement x="60" y="16" width="1" height="26"/> <reportElement x="60" y="16" width="1" height="26"/>
</line> </line>
<staticText> <staticText>
<reportElement x="530" y="16" width="35" height="26"/> <reportElement x="529" y="16" width="32" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
...@@ -342,7 +384,7 @@ To]]></text> ...@@ -342,7 +384,7 @@ To]]></text>
<reportElement x="429" y="16" width="1" height="26"/> <reportElement x="429" y="16" width="1" height="26"/>
</line> </line>
<staticText> <staticText>
<reportElement x="567" y="16" width="45" height="26"/> <reportElement x="563" y="16" width="45" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
...@@ -365,7 +407,7 @@ To]]></text> ...@@ -365,7 +407,7 @@ To]]></text>
<text><![CDATA[Lot No]]></text> <text><![CDATA[Lot No]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="672" y="16" width="50" height="26"/> <reportElement x="661" y="16" width="46" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
...@@ -379,14 +421,14 @@ To]]></text> ...@@ -379,14 +421,14 @@ To]]></text>
<reportElement x="528" y="16" width="1" height="26"/> <reportElement x="528" y="16" width="1" height="26"/>
</line> </line>
<staticText> <staticText>
<reportElement x="614" y="16" width="59" height="26"/> <reportElement x="610" y="16" width="50" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Pick Order]]></text> <text><![CDATA[Pick Order]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="3" y="14" width="720" height="1"/> <reportElement x="3" y="14" width="755" height="1"/>
</line> </line>
<line> <line>
<reportElement x="118" y="16" width="1" height="26"/> <reportElement x="118" y="16" width="1" height="26"/>
...@@ -400,7 +442,7 @@ To]]></text> ...@@ -400,7 +442,7 @@ To]]></text>
From]]></text> From]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="613" y="16" width="1" height="26"/> <reportElement x="609" y="16" width="1" height="26"/>
</line> </line>
<staticText> <staticText>
<reportElement x="62" y="16" width="54" height="26"/> <reportElement x="62" y="16" width="54" height="26"/>
...@@ -431,7 +473,7 @@ From]]></text> ...@@ -431,7 +473,7 @@ From]]></text>
<text><![CDATA[Item Description]]></text> <text><![CDATA[Item Description]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="722" y="15" width="1" height="26"/> <reportElement x="756" y="15" width="1" height="26"/>
</line> </line>
<staticText> <staticText>
<reportElement x="121" y="16" width="35" height="26"/> <reportElement x="121" y="16" width="35" height="26"/>
...@@ -440,6 +482,16 @@ From]]></text> ...@@ -440,6 +482,16 @@ From]]></text>
</textElement> </textElement>
<text><![CDATA[Sordln]]></text> <text><![CDATA[Sordln]]></text>
</staticText> </staticText>
<line>
<reportElement x="708" y="15" width="1" height="26"/>
</line>
<staticText>
<reportElement x="710" y="15" width="47" height="26"/>
<textElement textAlignment="Center">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Task Status]]></text>
</staticText>
</band> </band>
</noData> </noData>
</jasperReport> </jasperReport>
<?xml version="1.0" encoding="UTF-8"?> <?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="784" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="748" leftMargin="18" rightMargin="18" topMargin="3" bottomMargin="18"> <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="784" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="748" leftMargin="18" rightMargin="18" topMargin="3" bottomMargin="18">
<property name="ireport.zoom" value="2.0"/> <property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<parameter name="P_PICK_ID" class="java.lang.String"/> <parameter name="P_PICK_ID" class="java.lang.String"/>
...@@ -15,26 +15,28 @@ PICK_ORD_DET.LOT_NO, ...@@ -15,26 +15,28 @@ PICK_ORD_DET.LOT_NO,
PICK_ORD_DET.LOT_SL, PICK_ORD_DET.LOT_SL,
(CASE WHEN PICK_TYPE in ('M','C') THEN PICK_ORD_DET.NO_ART ELSE NULL END) AS NO_ART, (CASE WHEN PICK_TYPE in ('M','C') THEN PICK_ORD_DET.NO_ART ELSE NULL END) AS NO_ART,
PICK_ORD_DET.QUANTITY, PICK_ORD_DET.QUANTITY,
PICK_ORD_DET.LOC_CODE__TO,(CASE WHEN PICK_ORD_DET.STATUS ='C' THEN 'Completed' ELSE 'Open' END) AS STATUS PICK_ORD_DET.LOC_CODE__TO,
FROM PICK_ORD_DET,PICK_ORD_HDR ,ITEM (CASE WHEN WAVE_TASK_DET.WAVE_STATUS='V' THEN 'Verified' WHEN WAVE_TASK_DET.WAVE_STATUS='W' THEN 'Held' WHEN WAVE_TASK_DET.WAVE_STATUS='C' THEN 'Created' else '' end) AS STATUS
FROM PICK_ORD_DET,PICK_ORD_HDR ,WAVE_TASK_DET,ITEM
WHERE PICK_ORD_DET.ITEM_CODE = ITEM.ITEM_CODE WHERE PICK_ORD_DET.ITEM_CODE = ITEM.ITEM_CODE
AND PICK_ORD_HDR.PICK_TYPE IN ('C','M','A') AND PICK_ORD_HDR.PICK_TYPE IN ('C','M','A')
AND PICK_ORD_HDR.WAVE_ID = $P{P_PICK_ID} AND PICK_ORD_HDR.WAVE_ID = $P{P_PICK_ID}
AND PICK_ORD_HDR.PICK_ORDER = PICK_ORD_DET.PICK_ORDER AND PICK_ORD_HDR.PICK_ORDER = PICK_ORD_DET.PICK_ORDER
and PICK_ORD_HDR.PICK_ORDER = WAVE_TASK_DET.REF_ID
order by PICK_TYPE DESC,LINE_NO__SORD]]> order by PICK_TYPE DESC,LINE_NO__SORD]]>
</queryString> </queryString>
<field name="PICK_ORDER" class="java.lang.String"/> <field name="PICK_ORDER" class="java.lang.String"/>
<field name="LINE_NO" class="java.lang.String"/> <field name="LINE_NO" class="java.lang.String"/>
<field name="PICK_TYPE" class="java.lang.String"/> <field name="PICK_TYPE" class="java.lang.String"/>
<field name="SALE_ORDER" class="java.lang.String"/> <field name="SALE_ORDER" class="java.lang.String"/>
<field name="LINE_NO__SORD" class="java.lang.String"/> <field name="LINE_NO__SORD" class="java.lang.Double"/>
<field name="SITE_CODE" class="java.lang.String"/> <field name="SITE_CODE" class="java.lang.String"/>
<field name="ITEM_CODE" class="java.lang.String"/> <field name="ITEM_CODE" class="java.lang.String"/>
<field name="LOC_CODE" class="java.lang.String"/> <field name="LOC_CODE" class="java.lang.String"/>
<field name="LOT_NO" class="java.lang.String"/> <field name="LOT_NO" class="java.lang.String"/>
<field name="LOT_SL" class="java.lang.String"/> <field name="LOT_SL" class="java.lang.String"/>
<field name="NO_ART" class="java.lang.String"/> <field name="NO_ART" class="java.lang.Double"/>
<field name="QUANTITY" class="java.lang.String"/> <field name="QUANTITY" class="java.lang.Double"/>
<field name="LOC_CODE__TO" class="java.lang.String"/> <field name="LOC_CODE__TO" class="java.lang.String"/>
<field name="STATUS" class="java.lang.String"/> <field name="STATUS" class="java.lang.String"/>
<group name="PICK_GROUP" isReprintHeaderOnEachPage="true"> <group name="PICK_GROUP" isReprintHeaderOnEachPage="true">
...@@ -85,7 +87,7 @@ From]]></text> ...@@ -85,7 +87,7 @@ From]]></text>
<text><![CDATA[Lot No]]></text> <text><![CDATA[Lot No]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="444" y="23" width="108" height="26"/> <reportElement x="445" y="23" width="108" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
...@@ -157,7 +159,7 @@ To]]></text> ...@@ -157,7 +159,7 @@ To]]></text>
<textElement> <textElement>
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{PICK_TYPE}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{PICK_TYPE}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="692" y="23" width="51" height="26"/> <reportElement x="692" y="23" width="51" height="26"/>
...@@ -199,70 +201,70 @@ To]]></text> ...@@ -199,70 +201,70 @@ To]]></text>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{PICK_ORDER}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{PICK_ORDER}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="65" y="-1" width="57" height="26"/> <reportElement x="65" y="-1" width="57" height="26"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{SALE_ORDER}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="124" y="-1" width="37" height="26"/> <reportElement x="124" y="-1" width="37" height="26"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LINE_NO__SORD}]]></textFieldExpression> <textFieldExpression class="java.lang.Double"><![CDATA[$F{LINE_NO__SORD}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="164" y="0" width="119" height="26"/> <reportElement x="164" y="0" width="119" height="26"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{ITEM_CODE}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{ITEM_CODE}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="286" y="0" width="50" height="26"/> <reportElement x="286" y="0" width="50" height="26"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LOC_CODE}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LOC_CODE}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="340" y="0" width="104" height="26"/> <reportElement x="340" y="0" width="104" height="26"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LOT_NO}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LOT_NO}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="445" y="0" width="107" height="26"/> <reportElement x="446" y="0" width="107" height="26"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LOT_SL}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LOT_SL}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="554" y="0" width="32" height="26"/> <reportElement x="554" y="0" width="32" height="26"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{NO_ART}]]></textFieldExpression> <textFieldExpression class="java.lang.Double"><![CDATA[$F{NO_ART}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="589" y="0" width="48" height="26"/> <reportElement x="589" y="0" width="48" height="26"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{QUANTITY}]]></textFieldExpression> <textFieldExpression class="java.lang.Double"><![CDATA[$F{QUANTITY}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="640" y="0" width="49" height="26"/> <reportElement x="640" y="0" width="49" height="26"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LOC_CODE__TO}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LOC_CODE__TO}]]></textFieldExpression>
</textField> </textField>
<line> <line>
<reportElement x="553" y="0" width="1" height="26"/> <reportElement x="553" y="0" width="1" height="26"/>
...@@ -309,7 +311,7 @@ To]]></text> ...@@ -309,7 +311,7 @@ To]]></text>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="692" y="0" width="51" height="25"/> <reportElement x="692" y="0" width="51" height="25"/>
<textElement/> <textElement/>
<textFieldExpression><![CDATA[$F{STATUS}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{STATUS}]]></textFieldExpression>
</textField> </textField>
</band> </band>
</detail> </detail>
...@@ -379,7 +381,7 @@ From]]></text> ...@@ -379,7 +381,7 @@ From]]></text>
<reportElement x="339" y="19" width="1" height="26"/> <reportElement x="339" y="19" width="1" height="26"/>
</line> </line>
<staticText> <staticText>
<reportElement x="445" y="19" width="108" height="26"/> <reportElement x="446" y="19" width="108" height="26"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font size="10" isBold="true"/> <font size="10" isBold="true"/>
</textElement> </textElement>
...@@ -436,7 +438,7 @@ From]]></text> ...@@ -436,7 +438,7 @@ From]]></text>
<reportElement x="744" y="18" width="1" height="26"/> <reportElement x="744" y="18" width="1" height="26"/>
</line> </line>
<staticText> <staticText>
<reportElement x="8" y="2" width="660" height="15"/> <reportElement x="8" y="2" width="735" height="15"/>
<textElement> <textElement>
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
......
...@@ -49,42 +49,42 @@ order by WAVE_ID]]> ...@@ -49,42 +49,42 @@ order by WAVE_ID]]>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{TRAN_DATE}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{TRAN_DATE}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="176" y="26" width="79" height="20"/> <reportElement x="176" y="26" width="79" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{SALE_ORDER__FROM}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER__FROM}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="258" y="26" width="67" height="20"/> <reportElement x="258" y="26" width="67" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{SALE_ORDER__TO}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER__TO}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="328" y="26" width="76" height="20"/> <reportElement x="328" y="26" width="76" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{CUST_CODE__FROM}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_CODE__FROM}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="541" y="26" width="58" height="20"/> <reportElement x="541" y="26" width="58" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{DUE_DATE__TO}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{DUE_DATE__TO}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="601" y="26" width="62" height="20"/> <reportElement x="601" y="26" width="62" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{HOLD_STATUS}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{HOLD_STATUS}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="24" y="0" width="77" height="26"/> <reportElement x="24" y="0" width="77" height="26"/>
...@@ -154,7 +154,7 @@ From]]></text> ...@@ -154,7 +154,7 @@ From]]></text>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{DUE_DATE__FROM}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{DUE_DATE__FROM}]]></textFieldExpression>
</textField> </textField>
<staticText> <staticText>
<reportElement x="407" y="0" width="73" height="26"/> <reportElement x="407" y="0" width="73" height="26"/>
...@@ -169,7 +169,7 @@ To]]></text> ...@@ -169,7 +169,7 @@ To]]></text>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{CUST_CODE__TO}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{CUST_CODE__TO}]]></textFieldExpression>
</textField> </textField>
<line> <line>
<reportElement x="23" y="26" width="644" height="1"/> <reportElement x="23" y="26" width="644" height="1"/>
...@@ -209,7 +209,7 @@ To]]></text> ...@@ -209,7 +209,7 @@ To]]></text>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{WAVE_ID}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{WAVE_ID}]]></textFieldExpression>
</textField> </textField>
<line> <line>
<reportElement x="23" y="45" width="644" height="1"/> <reportElement x="23" y="45" width="644" height="1"/>
...@@ -245,16 +245,6 @@ To]]></text> ...@@ -245,16 +245,6 @@ To]]></text>
<reportElement x="23" y="26" width="1" height="20"/> <reportElement x="23" y="26" width="1" height="20"/>
</line> </line>
</band> </band>
<band height="18">
<subreport>
<reportElement positionType="Float" stretchType="RelativeToBandHeight" x="3" y="1" width="701" height="17" isRemoveLineWhenBlank="true"/>
<subreportParameter name="P_wave_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_task_det.jasper")]]></subreportExpression>
</subreport>
</band>
<band height="16"> <band height="16">
<subreport> <subreport>
<reportElement positionType="Float" x="3" y="1" width="701" height="15"/> <reportElement positionType="Float" x="3" y="1" width="701" height="15"/>
......
...@@ -84,13 +84,6 @@ ...@@ -84,13 +84,6 @@
<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_task.jasper")]]></subreportExpression> <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_task.jasper")]]></subreportExpression>
</subreport> </subreport>
</band> </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("C:/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> </detail>
<columnFooter> <columnFooter>
<band splitType="Stretch"/> <band splitType="Stretch"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment