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 @@
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<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]]>
</queryString>
<field name="SALE_ORDER" class="java.lang.String"/>
......@@ -52,20 +54,20 @@ order by line_no]]>
<text><![CDATA[Reason Detail]]></text>
</staticText>
<staticText>
<reportElement x="312" y="0" width="72" height="20"/>
<reportElement x="312" y="0" width="157" height="20"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[Part Qty]]></text>
</staticText>
<line>
<reportElement x="27" y="19" width="358" height="1"/>
<reportElement x="27" y="19" width="443" height="1"/>
</line>
<line>
<reportElement x="27" y="0" width="358" height="1"/>
<reportElement x="27" y="0" width="443" height="1"/>
</line>
<line>
<reportElement x="384" y="0" width="1" height="20"/>
<reportElement x="470" y="0" width="1" height="20"/>
</line>
<line>
<reportElement x="311" y="0" width="1" height="20"/>
......@@ -88,20 +90,20 @@ order by line_no]]>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
<textFieldExpression class="java.lang.String"><![CDATA[$F{SALE_ORDER}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="312" y="0" width="73" height="20"/>
<textElement textAlignment="Right">
<reportElement x="312" y="0" width="158" height="20"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{PART_QTY}]]></textFieldExpression>
<textFieldExpression class="java.lang.String"><![CDATA[$F{PART_QTY}]]></textFieldExpression>
</textField>
<line>
<reportElement x="27" y="0" width="358" height="1"/>
<reportElement x="27" y="0" width="443" height="1"/>
</line>
<line>
<reportElement x="27" y="19" width="358" height="1"/>
<reportElement x="27" y="19" width="444" height="1"/>
</line>
<line>
<reportElement x="27" y="0" width="1" height="19"/>
......@@ -116,21 +118,21 @@ order by line_no]]>
<reportElement x="311" y="1" width="1" height="19"/>
</line>
<line>
<reportElement x="384" y="0" width="1" height="19"/>
<reportElement x="470" y="0" width="1" height="19"/>
</line>
<textField isBlankWhenNull="true">
<reportElement x="105" y="0" width="39" height="20"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{LINE_NO}]]></textFieldExpression>
<textFieldExpression class="java.lang.String"><![CDATA[$F{LINE_NO}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement positionType="Float" stretchType="RelativeToBandHeight" x="146" y="0" width="166" height="20"/>
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{REAS_DETAIL}]]></textFieldExpression>
<textFieldExpression class="java.lang.String"><![CDATA[$F{REAS_DETAIL}]]></textFieldExpression>
</textField>
</band>
</detail>
......@@ -146,7 +148,7 @@ order by line_no]]>
<noData>
<band height="64">
<staticText>
<reportElement x="29" y="4" width="385" height="20"/>
<reportElement x="29" y="4" width="440" height="20"/>
<textElement>
<font isBold="true"/>
</textElement>
......@@ -156,7 +158,7 @@ order by line_no]]>
<reportElement x="144" y="25" width="1" height="20"/>
</line>
<line>
<reportElement x="27" y="44" width="358" height="1"/>
<reportElement x="27" y="44" width="442" height="1"/>
</line>
<staticText>
<reportElement x="104" y="25" width="40" height="20"/>
......@@ -166,7 +168,7 @@ order by line_no]]>
<text><![CDATA[Line No]]></text>
</staticText>
<line>
<reportElement x="385" y="25" width="1" height="20"/>
<reportElement x="470" y="25" width="1" height="20"/>
</line>
<staticText>
<reportElement x="146" y="25" width="166" height="20"/>
......@@ -182,13 +184,13 @@ order by line_no]]>
<reportElement x="311" y="25" width="1" height="20"/>
</line>
<line>
<reportElement x="27" y="25" width="358" height="1"/>
<reportElement x="27" y="25" width="442" height="1"/>
</line>
<line>
<reportElement x="103" y="25" width="1" height="20"/>
</line>
<staticText>
<reportElement x="312" y="25" width="72" height="20"/>
<reportElement x="312" y="25" width="157" height="20"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
......@@ -202,16 +204,16 @@ order by line_no]]>
<text><![CDATA[Sale Order]]></text>
</staticText>
<line>
<reportElement x="385" y="45" width="1" height="19"/>
<reportElement x="470" y="45" width="1" height="19"/>
</line>
<line>
<reportElement x="27" y="44" width="1" height="19"/>
</line>
<line>
<reportElement x="27" y="63" width="358" height="1"/>
<reportElement x="27" y="63" width="443" height="1"/>
</line>
<staticText>
<reportElement x="29" y="43" width="355" height="20"/>
<reportElement x="29" y="43" width="440" height="20"/>
<textElement textAlignment="Center"/>
<text><![CDATA[NA]]></text>
</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