Commit 69f584c4 authored by ajadhav's avatar ajadhav

change in method signature for processRequest and remove other wherever it is called.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177271 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fb422556
...@@ -27,12 +27,6 @@ public class PriceListMasterWfEJB extends ValidatorEJB implements PriceListMaste ...@@ -27,12 +27,6 @@ public class PriceListMasterWfEJB extends ValidatorEJB implements PriceListMaste
public String insertPriceListMaster(String objName,String tranId,String transInfoXml,String xtraParams,String entityCode)throws RemoteException, ITMException { public String insertPriceListMaster(String objName,String tranId,String transInfoXml,String xtraParams,String entityCode)throws RemoteException, ITMException {
Connection conn = null; Connection conn = null;
String retString = ""; String retString = "";
//added by Pavan R on 27/DEC/17 userId passwed to savData() and processRequest()
String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
System.out.println("userId::["+userId+"]");
String [] authencate = new String[2];
authencate[0] = userId;
authencate[1] = "";
String siteCode = ""; String siteCode = "";
E12GenericUtility genericUtility = null; E12GenericUtility genericUtility = null;
Document xmlDataAll = null; Document xmlDataAll = null;
...@@ -48,6 +42,12 @@ public class PriceListMasterWfEJB extends ValidatorEJB implements PriceListMaste ...@@ -48,6 +42,12 @@ public class PriceListMasterWfEJB extends ValidatorEJB implements PriceListMaste
Properties p = appConnect.getProperty(); Properties p = appConnect.getProperty();
InitialContext ctx = new InitialContext(p); InitialContext ctx = new InitialContext(p);
genericUtility = new E12GenericUtility(); genericUtility = new E12GenericUtility();
//added by Pavan R on 27/DEC/17 userId passwed to savData() and processRequest()
String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
System.out.println("userId::["+userId+"]");
String [] authencate = new String[2];
authencate[0] = userId;
authencate[1] = "";
SimpleDateFormat dt = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat dt = new SimpleDateFormat(genericUtility.getApplDateFormat());
if (transInfoXml != null && transInfoXml.trim().length() != 0) { if (transInfoXml != null && transInfoXml.trim().length() != 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