Commit e024ed65 authored by ssarkar's avatar ssarkar

UPDATE BY SUMIT ON 14/02/13 bug solved in sal


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92689 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 41e0a83f
......@@ -246,10 +246,13 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
" UNION ALL " +
" SELECT SUM(QUANTITY) FROM PICK_ORD_DET WHERE (REPL_ORDER, LINE_NO__REPL) IN " +
" (SELECT REPL_ORDER , LINE_NO FROM REPL_ORD_DET WHERE PICK_ORDER = ? AND LINE_NO__PICK = ? ) " +
//Changed by sumit on 14/02/13 checking whether wave cancel or hold
" AND FN_IS_VALID_PICK_ORDER(PICK_ORDER) = 'Y' " +
" UNION ALL " +
" SELECT SUM(QUANTITY) FROM PICK_ORD_DET WHERE (REPL_ORDER, LINE_NO__REPL) IN ( " +
" SELECT REPL_ORDER,LINE_NO FROM REPL_ORD_DET WHERE (PICK_ORDER,LINE_NO__PICK) IN ( " +
" (SELECT REPL_ORDER , LINE_NO FROM REPL_ORD_DET WHERE PICK_ORDER = ? AND LINE_NO__PICK = ? ))) ))";
" (SELECT REPL_ORDER , LINE_NO FROM REPL_ORD_DET WHERE PICK_ORDER = ? AND LINE_NO__PICK = ? )))" +
" AND FN_IS_VALID_PICK_ORDER(PICK_ORDER) = 'Y' ))";
pstmtPick = conn.prepareStatement(sql);
pstmtPick.setString(1, replOrder);
......
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