Commit ef864aa8 authored by gahmad's avatar gahmad

changes made for WM1ESUN001, WM1ESUN001, WM1FSUN001, WM1FSUN002, WM1FSUN003, WM1FSUN006


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91478 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 02b4d7cd
...@@ -103,13 +103,11 @@ public class InvHoldGen ...@@ -103,13 +103,11 @@ public class InvHoldGen
System.out.println( updCnt + " rows updated successfully" ); System.out.println( updCnt + " rows updated successfully" );
} }
pstmtSel.setString( 1, refID );
rsSel = pstmtSel.executeQuery();
HashMap dataMap = new HashMap(); HashMap dataMap = new HashMap();
for ( int ctr = 0; ctr < stockList.size(); ctr++ ) for ( int ctr = 0; ctr < stockList.size(); ctr++ )
{ {
lineNo = lineNo++; lineNo++;
dataMap = (HashMap)stockList.get(ctr); dataMap = (HashMap)stockList.get(ctr);
itemCode = ""; itemCode = "";
...@@ -179,7 +177,7 @@ public class InvHoldGen ...@@ -179,7 +177,7 @@ public class InvHoldGen
{ {
isError = true; isError = true;
retString = "ERROR"; retString = "ERROR";
System.out.println ( "Exception: ProjMgmtTeamIC: wfValData(Document dom): " + e.getMessage() + ":" ); System.out.println ( "Exception: InvHoldGen: " + e.getMessage() + ":" );
throw new ITMException(e); throw new ITMException(e);
} }
finally finally
...@@ -188,7 +186,7 @@ public class InvHoldGen ...@@ -188,7 +186,7 @@ public class InvHoldGen
{ {
if ( !isError ) if ( !isError )
{ {
conn.commit(); //conn.commit();
} }
if ( rsSel !=null ) if ( rsSel !=null )
{ {
...@@ -208,7 +206,7 @@ public class InvHoldGen ...@@ -208,7 +206,7 @@ public class InvHoldGen
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println( "Exception :ProjMgmtTeamIC:wfValData :==>\n"+e.getMessage()); System.out.println( "Exception ::==>\n"+e.getMessage());
throw new ITMException(e); throw new ITMException(e);
} }
} }
......
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