Commit 5b7238ef authored by jshaikh's avatar jshaikh

minor changes for indentreq

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@190260 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4978b39b
......@@ -195,13 +195,22 @@ public class IndentReqConfWF
pstmt.close();
pstmt = null;
if("Y".equalsIgnoreCase(confirmed))
if("N".equalsIgnoreCase(confirmed))
{
retString = "Y";
}
else
{
retString = "N";
sql = "UPDATE INDENT_HDR SET CONFIRMED = 'Y' WHERE IND_NO = ? ";
pstmt = conn.prepareStatement(sql);
int cnt = pstmt.executeUpdate();
pstmt.close();
pstmt = null;
if (cnt > 0) {
conn.commit();
retString = "Y";
}
else{
retString = "N";
}
}
}
......
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