Commit 37d21901 authored by skhan's avatar skhan

set b.status in place of a.status


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91100 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 660a68b1
......@@ -459,7 +459,7 @@ public class AssociatePrc extends ProcessEJB implements AssociatePrcLocal , Asso
}
sql = sql + " and b.site_code = ? ";
sql = sql + " and (case when b.order_type is null then ' ' else b.order_type end ) like '" + orderType + "'";
// sql = sql + " and (a.status is null or a.status = 'P') ";
sql = sql + " and (b.status is null or b.status = 'P') ";
sql = sql + " and b.nature like ? ";
sql = sql + " and b.line_type <> 'B' ";
sql = sql + " and (b.quantity - qty_desp) > 0 ";
......
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