Commit e392a2e1 authored by jshaikh's avatar jshaikh

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@180570 ce508802-f39f-4f6c-b175-0d175dae99d5
parent acaffcd2
......@@ -18,7 +18,7 @@ import org.apache.axis.encoding.XMLType;
public class IndentReqConfWF
{
public String confirm(String tran_id, String empCodeAprv, String xmlDataAll, String processId, String keyFlag) throws RemoteException, ITMException
public String confirm(String tran_id, String empCodeAprv, String xmlDataAll, String processId, String keyFlag, String userInfoStr) throws RemoteException, ITMException
{
System.out.println("confirm workflow invocation");
System.out.println("Parameters ::: tranId[" + tran_id + "], empCodeAprv[" + empCodeAprv + "], xmlDataAll[" + xmlDataAll + "],processId["+processId+"],keyFlag["+keyFlag+"]");
......@@ -42,18 +42,22 @@ public class IndentReqConfWF
else{
try {
System.out.println("Try block of IndentReqConfWF.confirm()");
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
//System.out.println("Inside Indent Requisition confirm section: "+userInfoStr);
/* UserInfoBean userInfo = new UserInfoBean(userInfoStr);
System.out.println("Inside Indent Requisition confirm section: "+userInfoStr);
UserInfoBean userInfo = new UserInfoBean(userInfoStr);
String transDB = userInfo.getTransDB();
if (transDB != null && transDB.trim().length() > 0)
{
conn = connDriver.getConnectDB(transDB);
}
*/
connDriver = null;
conn.setAutoCommit(false);
else
{
conn = connDriver.getConnectDB("DriverITM");
}
connDriver = null;
conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......
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