Commit af9f04b6 authored by rbhogale's avatar rbhogale

Changed by Rohan on 30-01-13 for Repanishment Cancle


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92611 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f9666054
...@@ -3315,7 +3315,7 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC ...@@ -3315,7 +3315,7 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
locCodeto = checkNull((String) sugstLocList.get(0)); locCodeto = checkNull((String) sugstLocList.get(0));
} }
//Ended By Mahesh Patidar //Ended By Mahesh Patidar
System.out.println("locListSize...>>>> ["+locListSize+"] loc code to["+locCodeto+"]"); System.out.println("locListSize...>:::::>>> ["+locListSize+"] loc code to["+locCodeto+"]");
//end of changes by chitranjan - 23/11/11 //end of changes by chitranjan - 23/11/11
...@@ -3375,13 +3375,15 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC ...@@ -3375,13 +3375,15 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
{ {
ordLineNos = ordLineNos.substring( 0, ordLineNos.length()-1 ); ordLineNos = ordLineNos.substring( 0, ordLineNos.length()-1 );
} }
if ( domID == 0 ) if ( domID == 0 )
{ {
sql = "SELECT REPL_ORD_DET.LINE_NO, REPL_ORD_DET.ITEM_CODE, REPL_ORD_DET.SITE_CODE, "+ sql = "SELECT REPL_ORD_DET.LINE_NO, REPL_ORD_DET.ITEM_CODE, REPL_ORD_DET.SITE_CODE, "+
"REPL_ORD_DET.LOC_CODE, REPL_ORD_DET.LOT_NO, REPL_ORD_DET.LOT_SL, REPL_ORD_DET.QUANTITY,"+ "REPL_ORD_DET.LOC_CODE, REPL_ORD_DET.LOT_NO, REPL_ORD_DET.LOT_SL, REPL_ORD_DET.QUANTITY,"+
"REPL_ORD_DET.NO_ART,ITEM.DESCR ITEM_DESCR,ITEM.UNIT,SITE.DESCR SITE_DESCR, REPL_ORD_DET.LOC_CODE__TO "+ "REPL_ORD_DET.NO_ART,ITEM.DESCR ITEM_DESCR,ITEM.UNIT,SITE.DESCR SITE_DESCR, REPL_ORD_DET.LOC_CODE__TO "+
"FROM REPL_ORD_DET REPL_ORD_DET, ITEM ITEM, SITE SITE WHERE REPL_ORDER = ? "+ "FROM REPL_ORD_DET REPL_ORD_DET, ITEM ITEM, SITE SITE WHERE REPL_ORDER = ? "+
//Changed by Rohan on 30-01-13 for dispaly only uncancel repanishment
" AND CASE WHEN REPL_ORD_DET.CANCEL_MODE IS NULL THEN 'N' ELSE REPL_ORD_DET.CANCEL_MODE END <> 'Y' "+
"AND REPL_ORD_DET.ITEM_CODE = ITEM.ITEM_CODE(+) " + "AND REPL_ORD_DET.ITEM_CODE = ITEM.ITEM_CODE(+) " +
"AND REPL_ORD_DET.SITE_CODE = SITE.SITE_CODE(+) "; "AND REPL_ORD_DET.SITE_CODE = SITE.SITE_CODE(+) ";
pstmt = conn.prepareStatement( sql ); pstmt = conn.prepareStatement( sql );
...@@ -3393,6 +3395,8 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC ...@@ -3393,6 +3395,8 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
"REPL_ORD_DET.NO_ART,ITEM.DESCR ITEM_DESCR,ITEM.UNIT,SITE.DESCR SITE_DESCR, REPL_ORD_DET.LOC_CODE__TO "+ "REPL_ORD_DET.NO_ART,ITEM.DESCR ITEM_DESCR,ITEM.UNIT,SITE.DESCR SITE_DESCR, REPL_ORD_DET.LOC_CODE__TO "+
"FROM REPL_ORD_DET REPL_ORD_DET, ITEM ITEM, SITE SITE "+ "FROM REPL_ORD_DET REPL_ORD_DET, ITEM ITEM, SITE SITE "+
"WHERE REPL_ORDER = ? AND LINE_NO NOT IN("+ordLineNos+") "+ "WHERE REPL_ORDER = ? AND LINE_NO NOT IN("+ordLineNos+") "+
//Changed by Rohan on 30-01-13 for dispaly only uncancel repanishment
" AND CASE WHEN REPL_ORD_DET.CANCEL_MODE IS NULL THEN 'N' ELSE REPL_ORD_DET.CANCEL_MODE END <> 'Y' "+
"AND REPL_ORD_DET.ITEM_CODE = ITEM.ITEM_CODE(+) " + "AND REPL_ORD_DET.ITEM_CODE = ITEM.ITEM_CODE(+) " +
"AND REPL_ORD_DET.SITE_CODE = SITE.SITE_CODE(+) "; "AND REPL_ORD_DET.SITE_CODE = SITE.SITE_CODE(+) ";
pstmt = conn.prepareStatement( sql ); 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