Commit 854332ac authored by smanohar's avatar smanohar

EDI generation mult tenancy compatibility changes done

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@216928 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 71205afc
......@@ -111,9 +111,9 @@ public class CreateXmlPrc extends ProcessEJB implements CreateXmlPrcLocal , Cre
conn.setAutoCommit(false);
*/
commonConstants = new CommonConstants();
// xtraParams = loginCode=MANOHAR~~loginEmpCode=BP9146 ~~loginSiteCode=S0002~~entityCode=BP9146 ~~profileId=ADMIN ~~userType=E~~runMode=I~~user_lang=en~~user_country=US~~site_code=S0002~~termId=SYSTEM
genericUtility = new E12GenericUtility();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"userId");
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"); // 22-Feb-2020 manoharan as per new xtraparm
logInSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
parentNodeList = headerDom.getElementsByTagName("Detail1");
parentNodeListLength = parentNodeList.getLength();
......@@ -154,7 +154,7 @@ public class CreateXmlPrc extends ProcessEJB implements CreateXmlPrcLocal , Cre
//E12GenerateEDILocal generateEDILocal = (E12GenerateEDILocal)ctx.lookup("ibase/E12GenerateEDIEJB/local");
E12GenerateEDIEJB generateEDILocal = new E12GenerateEDIEJB();
generateEDILocal.setUserInfo(userInfo); // 22-Feb-2020 manoharan to solve multi tenancy connection issue
generateEDILocal.generateEdi(objName, refId, "", userInfo, xtraParams);
generateEDILocal = null;
......
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