Commit e9a57bc4 authored by sabita.prasad's avatar sabita.prasad

Made changes for part qty apply the case statement for its text.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92661 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2dffc2c4
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<property name="ireport.x" value="0"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<queryString language="SQL"> <queryString language="SQL">
<![CDATA[select sale_order,line_no,reas_detail,part_qty from sorditem_temp <![CDATA[select sale_order,line_no,reas_detail,
(CASE WHEN PART_QTY = '0' THEN 'Ship Complete Order' when PART_QTY = '1' then 'Ship Part Order-Full Qty' else 'Ship Available' end) AS PART_QTY
from sorditem_temp
order by line_no]]> order by line_no]]>
</queryString> </queryString>
<field name="SALE_ORDER" class="java.lang.String"/> <field name="SALE_ORDER" class="java.lang.String"/>
...@@ -52,20 +54,20 @@ order by line_no]]> ...@@ -52,20 +54,20 @@ order by line_no]]>
<text><![CDATA[Reason Detail]]></text> <text><![CDATA[Reason Detail]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement x="312" y="0" width="72" height="20"/> <reportElement x="312" y="0" width="157" height="20"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Part Qty]]></text> <text><![CDATA[Part Qty]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="27" y="19" width="358" height="1"/> <reportElement x="27" y="19" width="443" height="1"/>
</line> </line>
<line> <line>
<reportElement x="27" y="0" width="358" height="1"/> <reportElement x="27" y="0" width="443" height="1"/>
</line> </line>
<line> <line>
<reportElement x="384" y="0" width="1" height="20"/> <reportElement x="470" y="0" width="1" height="20"/>
</line> </line>
<line> <line>
<reportElement x="311" y="0" width="1" height="20"/> <reportElement x="311" y="0" width="1" height="20"/>
...@@ -88,20 +90,20 @@ order by line_no]]> ...@@ -88,20 +90,20 @@ order by line_no]]>
<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="312" y="0" width="73" height="20"/> <reportElement x="312" y="0" width="158" height="20"/>
<textElement textAlignment="Right"> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{PART_QTY}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{PART_QTY}]]></textFieldExpression>
</textField> </textField>
<line> <line>
<reportElement x="27" y="0" width="358" height="1"/> <reportElement x="27" y="0" width="443" height="1"/>
</line> </line>
<line> <line>
<reportElement x="27" y="19" width="358" height="1"/> <reportElement x="27" y="19" width="444" height="1"/>
</line> </line>
<line> <line>
<reportElement x="27" y="0" width="1" height="19"/> <reportElement x="27" y="0" width="1" height="19"/>
...@@ -116,21 +118,21 @@ order by line_no]]> ...@@ -116,21 +118,21 @@ order by line_no]]>
<reportElement x="311" y="1" width="1" height="19"/> <reportElement x="311" y="1" width="1" height="19"/>
</line> </line>
<line> <line>
<reportElement x="384" y="0" width="1" height="19"/> <reportElement x="470" y="0" width="1" height="19"/>
</line> </line>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement x="105" y="0" width="39" height="20"/> <reportElement x="105" y="0" width="39" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{LINE_NO}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{LINE_NO}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement positionType="Float" stretchType="RelativeToBandHeight" x="146" y="0" width="166" height="20"/> <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="146" y="0" width="166" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{REAS_DETAIL}]]></textFieldExpression> <textFieldExpression class="java.lang.String"><![CDATA[$F{REAS_DETAIL}]]></textFieldExpression>
</textField> </textField>
</band> </band>
</detail> </detail>
...@@ -146,7 +148,7 @@ order by line_no]]> ...@@ -146,7 +148,7 @@ order by line_no]]>
<noData> <noData>
<band height="64"> <band height="64">
<staticText> <staticText>
<reportElement x="29" y="4" width="385" height="20"/> <reportElement x="29" y="4" width="440" height="20"/>
<textElement> <textElement>
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
...@@ -156,7 +158,7 @@ order by line_no]]> ...@@ -156,7 +158,7 @@ order by line_no]]>
<reportElement x="144" y="25" width="1" height="20"/> <reportElement x="144" y="25" width="1" height="20"/>
</line> </line>
<line> <line>
<reportElement x="27" y="44" width="358" height="1"/> <reportElement x="27" y="44" width="442" height="1"/>
</line> </line>
<staticText> <staticText>
<reportElement x="104" y="25" width="40" height="20"/> <reportElement x="104" y="25" width="40" height="20"/>
...@@ -166,7 +168,7 @@ order by line_no]]> ...@@ -166,7 +168,7 @@ order by line_no]]>
<text><![CDATA[Line No]]></text> <text><![CDATA[Line No]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="385" y="25" width="1" height="20"/> <reportElement x="470" y="25" width="1" height="20"/>
</line> </line>
<staticText> <staticText>
<reportElement x="146" y="25" width="166" height="20"/> <reportElement x="146" y="25" width="166" height="20"/>
...@@ -182,13 +184,13 @@ order by line_no]]> ...@@ -182,13 +184,13 @@ order by line_no]]>
<reportElement x="311" y="25" width="1" height="20"/> <reportElement x="311" y="25" width="1" height="20"/>
</line> </line>
<line> <line>
<reportElement x="27" y="25" width="358" height="1"/> <reportElement x="27" y="25" width="442" height="1"/>
</line> </line>
<line> <line>
<reportElement x="103" y="25" width="1" height="20"/> <reportElement x="103" y="25" width="1" height="20"/>
</line> </line>
<staticText> <staticText>
<reportElement x="312" y="25" width="72" height="20"/> <reportElement x="312" y="25" width="157" height="20"/>
<textElement textAlignment="Center"> <textElement textAlignment="Center">
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
...@@ -202,16 +204,16 @@ order by line_no]]> ...@@ -202,16 +204,16 @@ order by line_no]]>
<text><![CDATA[Sale Order]]></text> <text><![CDATA[Sale Order]]></text>
</staticText> </staticText>
<line> <line>
<reportElement x="385" y="45" width="1" height="19"/> <reportElement x="470" y="45" width="1" height="19"/>
</line> </line>
<line> <line>
<reportElement x="27" y="44" width="1" height="19"/> <reportElement x="27" y="44" width="1" height="19"/>
</line> </line>
<line> <line>
<reportElement x="27" y="63" width="358" height="1"/> <reportElement x="27" y="63" width="443" height="1"/>
</line> </line>
<staticText> <staticText>
<reportElement x="29" y="43" width="355" height="20"/> <reportElement x="29" y="43" width="440" height="20"/>
<textElement textAlignment="Center"/> <textElement textAlignment="Center"/>
<text><![CDATA[NA]]></text> <text><![CDATA[NA]]></text>
</staticText> </staticText>
......
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