Commit 3c494335 authored by msharma's avatar msharma

Changes received from unique on 02102012


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91920 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 27e8e733
...@@ -9,6 +9,7 @@ import javax.ejb.CreateException; ...@@ -9,6 +9,7 @@ import javax.ejb.CreateException;
//import javax.ejb.SessionBean; //import javax.ejb.SessionBean;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants; import ibase.utility.CommonConstants;
import ibase.utility.UserInfoBean;
import ibase.webitm.servlet.RSItemChange; import ibase.webitm.servlet.RSItemChange;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import ibase.webitm.utility.TransIDGenerator; import ibase.webitm.utility.TransIDGenerator;
...@@ -141,16 +142,24 @@ public class InvHoldRelConf extends ActionHandlerEJB implements InvHoldRelConfLo ...@@ -141,16 +142,24 @@ public class InvHoldRelConf extends ActionHandlerEJB implements InvHoldRelConfLo
//changed by Dharmesh on 12-08-2011 [WM1ESUN004].end //changed by Dharmesh on 12-08-2011 [WM1ESUN004].end
try try
{ {
itmDBAccessEJB = new ITMDBAccessEJB(); itmDBAccessEJB = new ITMDBAccessEJB();
genericUtility = ibase.webitm.utility.GenericUtility.getInstance(); genericUtility = ibase.webitm.utility.GenericUtility.getInstance();
// connDriver = new ConnDriver(); // connDriver = new ConnDriver();
// conn = connDriver.getConnectDB("DriverITM"); // conn = connDriver.getConnectDB("DriverITM");
// conn.setAutoCommit(false); // conn.setAutoCommit(false);
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode"); loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
//Changed by sumit on 02/10/12 getting loginempCode in case of null start.
if( loginEmpCode.trim().length() == 0 || loginEmpCode == null)
{
loginEmpCode = "SYSTEM";
}
//Changed by sumit on 02/10/12 getting loginempCode in case of null end.
//check if there is record in detal //check if there is record in detal
int countDet = 0; int countDet = 0;
......
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