Commit c04107a1 authored by prane's avatar prane

changes done creating instance of the class using new keyword instead of lookup of EJB

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@187910 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 859bcdaf
......@@ -159,7 +159,7 @@ public class CustStock extends ValidatorEJB //implements SessionBean
//ITMDBAccessHome itmDBAccessHome = null;
ITMDBAccessLocal itmDBAccess = new ITMDBAccessEJB();
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
try
{
......@@ -431,7 +431,7 @@ public class CustStock extends ValidatorEJB //implements SessionBean
if (rs.getInt(1) > 0 && editFlag.equals("A"))
{
//errCode = "VTDUPREC";
errString = itmDBAccess.getErrorString("to_date","VTDUPREC",userId);//,null,conn);
errString = itmDBAccess.getErrorString("to_date","VTDUPREC",userId,"",conn);//,null,conn);
break;
}
}
......
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