Commit 84297cdf authored by sankara.rao's avatar sankara.rao

changed by sankara on 18/11/13 for assign user and update pophelp of...

changed by sankara on 18/11/13 for assign user and update pophelp of replenishmnet and black list supp code


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93883 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2c2a91f0
......@@ -3227,8 +3227,8 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
" R.REPL_ORDER = W.REF_ID AND W.STATUS = 'N' AND H.ORDER_TYPE NOT IN ('E','Q','T','P','I') " +
//Changed by sankara on 18/11/13 for rep order set itm default
//" AND FN_VALID_REPL(H.REPL_ORDER) = 'Y' AND R.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? AND FN_CHECK_REPL_ORD_USER(H.REPL_ORDER,?) = 1) ORDER BY LOC_CODE";
" AND FN_VALID_REPL(H.REPL_ORDER) = 'Y' AND R.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? " +
" AND FN_CHECK_REPL_ORD_USER(H.REPL_ORDER,?) = 1) AND H.ASSIGN_TO = ? ORDER BY REPL_ORDER, LOC_CODE ";
" AND FN_VALID_REPL(H.REPL_ORDER) = 'Y' AND R.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? AND H.ASSIGN_TO = ? " +
" AND FN_CHECK_REPL_ORD_USER(H.REPL_ORDER,?) = 1) ORDER BY REPL_ORDER, LOC_CODE ";
}
else if("active_repl_iss".equalsIgnoreCase(objNameChk))
{
......@@ -3241,16 +3241,19 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
" AND R.REPL_ORDER = W.REF_ID AND W.STATUS = 'N' AND H.ORDER_TYPE IN ('E','Q','T','P','I') " +
//changed by sankara on 18/11/13 for rep order set itm default
// "AND FN_VALID_REPL(H.REPL_ORDER) = 'Y' AND R.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? AND FN_CHECK_REPL_ORD_USER(H.REPL_ORDER,?) = 1) ORDER BY LOC_CODE ";
" AND FN_VALID_REPL(H.REPL_ORDER) = 'Y' AND R.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? " +
" AND FN_CHECK_REPL_ORD_USER(H.REPL_ORDER,?) = 1) AND H.ASSIGN_TO = ? ORDER BY REPL_ORDER, LOC_CODE ";
" AND FN_VALID_REPL(H.REPL_ORDER) = 'Y' AND R.LOC_CODE = L.LOC_CODE AND L.INV_STAT = ? AND H.ASSIGN_TO = ? " +
" AND FN_CHECK_REPL_ORD_USER(H.REPL_ORDER,?) = 1) ORDER BY REPL_ORDER, LOC_CODE ";
}
System.out.println("CURRENT SQL["+sql+"]");
pstmt = conn.prepareStatement( sql );
//changed by sankara on 18/11/13 for rep order set itm default start.
//pstmt.setString( 1, replOrderChkInv );
//pstmt.setString( 2, loginCode );
pstmt.setString( 1, replOrderChkInv );
pstmt.setString( 2, loginCode );
//Changed by sankara on 18/11/13 for rep order set itm default
pstmt.setString( 3, loginCode );
pstmt.setString( 2, loginCode );
pstmt.setString( 3, loginCode );
//Changed by sankara on 18/11/13 for rep order set itm default end.
rs = pstmt.executeQuery();
if( rs.next() )
{
......
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