Commit 02bc4273 authored by rbhogale's avatar rbhogale

Chnaged by Rohan on 29-06-13 for checking condition of quantity > 0


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93276 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d00d47b6
......@@ -183,6 +183,8 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
+ " AND R.PICK_ORDER = O.PICK_ORDER "
+"AND H.PICK_ORDER = O.PICK_ORDER"
+ " AND O.LINE_NO = R.LINE_NO__ORD "
//Changed by Rohan on 29-06-13 for adding condition of quantity > 0
+" AND ( R.QUANTITY - CASE WHEN R.DEALLOC_QTY IS NULL THEN 0 ELSE R.DEALLOC_QTY END) > 0 "
+" AND R.LOC_CODE <> R.LOC_CODE__TO ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId);
......
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