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

As per Ashish argument should keep as blank before it was like 00 and ZZ.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93329 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ffee86b6
...@@ -12,8 +12,8 @@ Where a.ptcn = b.ptcn ...@@ -12,8 +12,8 @@ Where a.ptcn = b.ptcn
and b.shipment_id = c.shipment_id and b.shipment_id = c.shipment_id
and b.tran_code = d.tran_code and b.tran_code = d.tran_code
and a.ref_ser IN ('M-PICK','P-PICK') and a.ref_ser IN ('M-PICK','P-PICK')
and (case when a.ptcn != $P{as_ptcn} then 'ZZ' else a.ptcn end) = $P{as_ptcn} AND (CASE WHEN $P{as_ptcn} = 'null' THEN '1' ELSE a.PTCN END) = (CASE WHEN $P{as_ptcn} = 'null' THEN '1' ELSE $P{as_ptcn} END)
and (case when c.sord_no != $P{as_sordno} then '00' else c.sord_no end) = $P{as_sordno} AND (CASE WHEN $P{as_sordno} = 'null' THEN '1' ELSE c.sord_no END) = (CASE WHEN $P{as_sordno} = 'null' THEN '1' ELSE $P{as_sordno} END)
order by A.ptcn]]> order by A.ptcn]]>
</queryString> </queryString>
<field name="PTCN" class="java.lang.String"/> <field name="PTCN" class="java.lang.String"/>
......
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