Commit d754d639 authored by ppatro's avatar ppatro

Pallet no ic change


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93751 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 367283a9
......@@ -337,7 +337,9 @@ public class PalletNoIC extends ValidatorEJB implements PalletNoICLocal, PalletN
//Changed by Sankara on 03/oct/13 adding validation to prevent doc transfer in case of pending/aborted picking.start
sql = " SELECT COUNT(*) FROM PICK_ISS_HDR PIH, "
+ " PICK_ISS_DET PH WHERE PIH.PICK_ORDER = PH.PICK_ORDER "
+ " AND PIH.CONFIRMED = ? AND PIH.PICK_ORDER = ?";
//Changed By Pragyan 10-OCT-13 Join missing for header and detail of the transaction
// + " AND PIH.CONFIRMED = ? AND PIH.PICK_ORDER = ?";
+ " AND PIH.TRAN_ID = PH.TRAN_ID AND PIH.CONFIRMED = ? AND PIH.PICK_ORDER = ?";
pstmt = conn.prepareStatement( sql );
pstmt.setString( 1, "N");
pstmt.setString( 2, pickOrder);
......
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