Commit 452ba2a4 authored by ngadkari's avatar ngadkari

added if conditon

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@199651 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c8d8344f
......@@ -478,10 +478,13 @@ public class StockUpdate
}
else
{
rs.close();
pstmt.close();
errString = itmDBAccessEJB.getErrorString("","VTLCKERR","","",conn);
return errString;
if (this.tranType.equalsIgnoreCase("I") || this.tranType.equalsIgnoreCase("ID") )// condiotn added by nandkumar gadkari on 15/04/19
{
rs.close();
pstmt.close();
errString = itmDBAccessEJB.getErrorString("","VTLCKERR","","",conn);
return errString;
}
}
pstmt.close();
rs.close();
......
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