Commit 215f51af authored by cpatil's avatar cpatil

adding confirm message


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91794 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 078e4c44
......@@ -621,6 +621,8 @@ public String process(String xmlString, String xmlString2, String windowName, St
pstmt.setTimestamp(1,currDate);
pstmt.setString(2,tranId);
int rowcnt = pstmt.executeUpdate();
pstmt.close();
pstmt = null;
if(rowcnt == 0)
{
errString = itmDBAccessLocal.getErrorString("","VTMCONF9","");
......@@ -629,10 +631,9 @@ public String process(String xmlString, String xmlString2, String windowName, St
else
{
System.out.println("inv_hold transaction confirm succesfully........");
errString = itmDBAccessLocal.getErrorString("","VTMCONF2","");
return errString;
}
pstmt.close();
pstmt = null;
}
}
......
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