Commit e83629a5 authored by manohar's avatar manohar

hold_qty not considered as now each Qc will have a corresponding lock also


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95933 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2b052530
......@@ -210,7 +210,7 @@ public class QcOrderAct extends ActionHandlerEJB implements QcOrderActLocal , Q
+" ( stock.item_code = ? ) AND "
+" ( stock.site_code = ?) AND "
+" ( stock.lot_no = ?) AND "
+" ( stock.quantity - case when stock.alloc_qty is null then 0 else stock.alloc_qty end > 0 ";
+" ( stock.quantity - case when stock.alloc_qty is null then 0 else stock.alloc_qty end > 0 )";
//+" - case when stock.hold_qty is null then 0 else stock.hold_qty end > 0 ) " ;
//"- case when stock.hold_qty is null then 0 else stock.hold_qty end "
pstmt = conn.prepareStatement(sql);
......
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