Commit 5a13798b authored by ssalve's avatar ssalve

Sarita: Added by sarita to add userInfo on getSorderStatusXML method on 8JAN2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177798 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8b6021a6
package ibase.webitm.ejb.dis; package ibase.webitm.ejb.dis;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.sql.Connection; import java.sql.Connection;
...@@ -15,7 +16,9 @@ public class SorderStatusEJB extends ValidatorEJB implements SorderStatusEJBRemo ...@@ -15,7 +16,9 @@ public class SorderStatusEJB extends ValidatorEJB implements SorderStatusEJBRemo
ibase.utility.E12GenericUtility genericUtility= new ibase.utility.E12GenericUtility(); ibase.utility.E12GenericUtility genericUtility= new ibase.utility.E12GenericUtility();
PostOrdCreditChk postOrdCreditChk = new PostOrdCreditChk(); PostOrdCreditChk postOrdCreditChk = new PostOrdCreditChk();
@Override @Override
public String getSorderStatusXML(String tranId, String ref_series) throws ITMException //Added by sarita on 8JAN2018
//public String getSorderStatusXML(String tranId, String ref_series) throws ITMException
public String getSorderStatusXML(String tranId, String ref_series,UserInfoBean userInfo) throws ITMException
{ {
StringBuffer valueXmlString = new StringBuffer(); StringBuffer valueXmlString = new StringBuffer();
Connection conn = null; Connection conn = null;
...@@ -39,6 +42,8 @@ public class SorderStatusEJB extends ValidatorEJB implements SorderStatusEJBRemo ...@@ -39,6 +42,8 @@ public class SorderStatusEJB extends ValidatorEJB implements SorderStatusEJBRemo
String lsCrPolicy = "",lsdescr="",lsStatus=""; String lsCrPolicy = "",lsdescr="",lsStatus="";
try try
{ {
//added by sarita to set userInfo on 8JAN2018
setUserInfo(userInfo);
conn = getConnection(); conn = getConnection();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
System.out.println("Inside getSorderStatusXML method of SorderStatusEJB"); System.out.println("Inside getSorderStatusXML method of SorderStatusEJB");
......
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