Commit 24412644 authored by sankara.rao's avatar sankara.rao

changed by sankara on 06/09/13 for pick order prc


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93576 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dc40a964
......@@ -357,6 +357,7 @@ public class PickOrderPrc extends ProcessEJB implements PickOrderPrcLocal,PickOr
}
if(count == 0)
{
errCode = "VPINVUSRCD";
errString = itmDBAccessEJB.getErrorString("","VPINVUSRCD",userId);
return errString;
}
......@@ -392,14 +393,16 @@ public class PickOrderPrc extends ProcessEJB implements PickOrderPrcLocal,PickOr
pstmt = conn.prepareStatement(updateSql);
pstmt.setString(1,assignTo);
pstmt.setString(2,pickOrder);
count = pstmt.executeUpdate();
pickIssCount = pstmt.executeUpdate();
pstmt.close();
pstmt = null;
}
totalCount = count+totalCount;
totalCount = pickIssCount+count;
}
if( totalCount > 0 )
{
System.out.println("totalCount--->"+totalCount);
errCode = "VPPRCESFUL";
errString = itmDBAccessEJB.getErrorString("","VPPRCESFUL",userId);
}
else
......
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