Commit 60e164f7 authored by nkhan's avatar nkhan

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103642 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 541f01dd
...@@ -10,8 +10,9 @@ ...@@ -10,8 +10,9 @@
package ibase.webitm.ejb.dis; package ibase.webitm.ejb.dis;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.util.*; import java.util.*;
import java.rmi.RemoteException; import java.rmi.RemoteException;
...@@ -26,7 +27,9 @@ import javax.ejb.Stateless; ...@@ -26,7 +27,9 @@ import javax.ejb.Stateless;
public class PackingDetIC extends ValidatorEJB implements PackingDetICLocal, PackingDetICRemote public class PackingDetIC extends ValidatorEJB implements PackingDetICLocal, PackingDetICRemote
{ {
GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//GenericUtility genericUtility = GenericUtility.getInstance();
//method for validation //method for validation
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
...@@ -288,7 +291,9 @@ public class PackingDetIC extends ValidatorEJB implements PackingDetICLocal, Pac ...@@ -288,7 +291,9 @@ public class PackingDetIC extends ValidatorEJB implements PackingDetICLocal, Pac
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null ; ResultSet rs = null ;
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 07-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
try try
{ {
......
...@@ -718,7 +718,6 @@ public class PriceList extends ValidatorEJB implements PriceListLocal, PriceList ...@@ -718,7 +718,6 @@ public class PriceList extends ValidatorEJB implements PriceListLocal, PriceList
} }
} }
errStringXml.append("</Detail1>");//Changed by nasruddin 29-sep-16 closing tag missing
}//switch }//switch
//}//for //}//for
int errListSize = errList.size(); int errListSize = errList.size();
......
...@@ -126,7 +126,6 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price ...@@ -126,7 +126,6 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price
{ {
childNode = childNodeList.item(ctr); childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
/* Comment By Nasruddin [20-SEP-16] START
if(childNodeName.equalsIgnoreCase("calc_method")) if(childNodeName.equalsIgnoreCase("calc_method"))
{ {
calcMethod = genericUtility.getColumnValue("calc_method", dom); calcMethod = genericUtility.getColumnValue("calc_method", dom);
...@@ -152,17 +151,15 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price ...@@ -152,17 +151,15 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price
pstmt = null; pstmt = null;
} }
/*else else
{ {
errCode = "VTCALMNUL"; errCode = "VTCALMNUL";
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
} }
Comment By Nasruddin [20-SEP-16] END
*/
/* Comment By Nasruddin [20-SEP-16] START
else if(childNodeName.equalsIgnoreCase("price_list")) else if(childNodeName.equalsIgnoreCase("price_list"))
{ {
priceList = genericUtility.getColumnValue("price_list", dom); priceList = genericUtility.getColumnValue("price_list", dom);
...@@ -214,7 +211,7 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price ...@@ -214,7 +211,7 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price
}Comment By Nasruddin [20-SEP-16] END*/ }
if(childNodeName.equalsIgnoreCase("price_list__parent")) if(childNodeName.equalsIgnoreCase("price_list__parent"))
{ {
...@@ -295,8 +292,8 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price ...@@ -295,8 +292,8 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price
{ {
childNode = childNodeList.item(ctr); childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
/* cOMMENT bY Nasruddin [20-SEP-16] START
* if(childNodeName.equalsIgnoreCase("calc_method")) if(childNodeName.equalsIgnoreCase("calc_method"))
{ {
calcMethod = genericUtility.getColumnValue("calc_method", dom); calcMethod = genericUtility.getColumnValue("calc_method", dom);
if (calcMethod !=null && calcMethod.trim().length() > 0) if (calcMethod !=null && calcMethod.trim().length() > 0)
...@@ -351,9 +348,9 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price ...@@ -351,9 +348,9 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price
} }
} }
}cOMMENT bY Nasruddin [20-SEP-16] end*/ }
//Changed By Nasruddin STARt [20-sep-16] START
if(childNodeName.equalsIgnoreCase("min_qty")) if(childNodeName.equalsIgnoreCase("min_qty"))
{ {
minQty = convertNumber(checkNullAndTrim(genericUtility.getColumnValue("min_qty", dom))); minQty = convertNumber(checkNullAndTrim(genericUtility.getColumnValue("min_qty", dom)));
...@@ -427,7 +424,7 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price ...@@ -427,7 +424,7 @@ public class PriceListIC extends ValidatorEJB implements PriceListICLocal, Price
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
} }
//Changed By Nasruddin [20-sep-16] END
} }
valueXmlString.append("</Detail2>"); valueXmlString.append("</Detail2>");
break; break;
......
...@@ -10,9 +10,10 @@ import java.sql.Timestamp; ...@@ -10,9 +10,10 @@ import java.sql.Timestamp;
import java.util.Date; import java.util.Date;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB; import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB; import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Stateless; import javax.ejb.Stateless;
...@@ -20,8 +21,10 @@ import javax.ejb.Stateless; ...@@ -20,8 +21,10 @@ import javax.ejb.Stateless;
@Stateless @Stateless
public class PriceListTranConf extends ActionHandlerEJB implements PriceListTranConfRemote, PriceListTranConfLocal { public class PriceListTranConf extends ActionHandlerEJB implements PriceListTranConfRemote, PriceListTranConfLocal {
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 07-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB(); ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
public String confirm(String tranID, String xtraParams, String forcedFlag) throws RemoteException, ITMException { public String confirm(String tranID, String xtraParams, String forcedFlag) throws RemoteException, ITMException {
......
...@@ -451,7 +451,9 @@ public class PriceListTranIC extends ValidatorEJB implements ...@@ -451,7 +451,9 @@ public class PriceListTranIC extends ValidatorEJB implements
Document dom1 = null; Document dom1 = null;
Document dom2 = null; Document dom2 = null;
String rtStr = ""; String rtStr = "";
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 07-10-16
// GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
System.out.println("In Itemchange String:::"); System.out.println("In Itemchange String:::");
try { try {
......
...@@ -18,14 +18,17 @@ import org.w3c.dom.Document; ...@@ -18,14 +18,17 @@ import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList; import org.w3c.dom.NodeList;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
@Stateless @Stateless
public class SalesContractIC extends ValidatorEJB implements SalesContractICLocal, SalesContractICRemote public class SalesContractIC extends ValidatorEJB implements SalesContractICLocal, SalesContractICRemote
{ {
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 07-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
String errString = ""; String errString = "";
...@@ -1918,7 +1921,9 @@ public class SalesContractIC extends ValidatorEJB implements SalesContractICLoca ...@@ -1918,7 +1921,9 @@ public class SalesContractIC extends ValidatorEJB implements SalesContractICLoca
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null ; ResultSet rs = null ;
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 07-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
try try
{ {
......
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
* */ * */
package ibase.webitm.ejb.dis; package ibase.webitm.ejb.dis;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.fin.FinCommon; import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.text.DateFormat; import java.text.DateFormat;
...@@ -26,7 +27,9 @@ import java.sql.Timestamp; ...@@ -26,7 +27,9 @@ import java.sql.Timestamp;
public class SchemeApplIC extends ValidatorEJB implements SchemeApplICLocal, SchemeApplICRemote public class SchemeApplIC extends ValidatorEJB implements SchemeApplICLocal, SchemeApplICRemote
{ {
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
String errString = ""; String errString = "";
...@@ -717,7 +720,9 @@ public class SchemeApplIC extends ValidatorEJB implements SchemeApplICLocal, Sch ...@@ -717,7 +720,9 @@ public class SchemeApplIC extends ValidatorEJB implements SchemeApplICLocal, Sch
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null ; ResultSet rs = null ;
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
String columnValue=""; String columnValue="";
int currentFormNo =0; int currentFormNo =0;
......
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
package ibase.webitm.ejb.dis; package ibase.webitm.ejb.dis;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.fin.FinCommon; import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.util.*; import java.util.*;
import java.rmi.RemoteException; import java.rmi.RemoteException;
...@@ -26,7 +27,9 @@ import javax.ejb.Stateless; ...@@ -26,7 +27,9 @@ import javax.ejb.Stateless;
public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteItemICRemote public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteItemICRemote
{ {
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
...@@ -36,16 +39,20 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte ...@@ -36,16 +39,20 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte
Document dom2 = null; Document dom2 = null;
try try
{ {
if (xmlString != null && xmlString.trim().length() > 0 ) if (xmlString != null && xmlString.trim().length() > 0 )
{ {
System.out.println("xmlString ["+xmlString+"]");
dom = parseString(xmlString); dom = parseString(xmlString);
} }
if (xmlString1 != null && xmlString1.trim().length() > 0 ) if (xmlString1 != null && xmlString1.trim().length() > 0 )
{ {
System.out.println("xmlString ["+xmlString1+"]");
dom1 = parseString(xmlString1); dom1 = parseString(xmlString1);
} }
if (xmlString2 != null && xmlString2.trim().length() > 0 ) if (xmlString2 != null && xmlString2.trim().length() > 0 )
{ {
System.out.println("xmlString ["+xmlString2+"]");
dom2 = parseString(xmlString2); dom2 = parseString(xmlString2);
} }
errString = wfValData(dom, dom1, dom2, objContext, editFlag, xtraParams); errString = wfValData(dom, dom1, dom2, objContext, editFlag, xtraParams);
...@@ -737,7 +744,8 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte ...@@ -737,7 +744,8 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte
{ {
bomCode = checkNull(genericUtility.getColumnValue("bom_code", dom)); bomCode = checkNull(genericUtility.getColumnValue("bom_code", dom));
today = new Date(); today = new Date();
suppilerSour = checkNull(genericUtility.getColumnValue("supp_sour", dom)); //suppilerSour = checkNull(genericUtility.getColumnValue("supp_sour", dom));
System.out.println(" bomCode ====>>>>>["+bomCode+"]");
if(bomCode != null && bomCode.trim().length() > 0) if(bomCode != null && bomCode.trim().length() > 0)
{ {
sql = "select count(*) from bom where bom_code = ? and active = 'Y' and confirmed = 'Y' "; sql = "select count(*) from bom where bom_code = ? and active = 'Y' and confirmed = 'Y' ";
...@@ -1525,7 +1533,9 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte ...@@ -1525,7 +1533,9 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null ; ResultSet rs = null ;
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
try try
{ {
...@@ -2404,7 +2414,7 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte ...@@ -2404,7 +2414,7 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte
} }
private String checkNull(String input) private String checkNull(String input)
{ {
if(input == null) if(input == null || input.equalsIgnoreCase("null"))
{ {
input = ""; input = "";
} }
......
...@@ -9,8 +9,9 @@ ...@@ -9,8 +9,9 @@
package ibase.webitm.ejb.dis; package ibase.webitm.ejb.dis;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.util.*; import java.util.*;
import java.rmi.RemoteException; import java.rmi.RemoteException;
...@@ -24,7 +25,9 @@ import javax.ejb.Stateless; ...@@ -24,7 +25,9 @@ import javax.ejb.Stateless;
@Stateless @Stateless
public class SupplierItem extends ValidatorEJB implements SupplierItemLocal,SupplierItemRemote { public class SupplierItem extends ValidatorEJB implements SupplierItemLocal,SupplierItemRemote {
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
......
...@@ -9,8 +9,9 @@ ...@@ -9,8 +9,9 @@
package ibase.webitm.ejb.dis; package ibase.webitm.ejb.dis;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.util.*; import java.util.*;
import java.rmi.RemoteException; import java.rmi.RemoteException;
...@@ -25,7 +26,9 @@ import javax.ejb.Stateless; ...@@ -25,7 +26,9 @@ import javax.ejb.Stateless;
public class TaxIC extends ValidatorEJB implements TaxICLocal, TaxICRemote public class TaxIC extends ValidatorEJB implements TaxICLocal, TaxICRemote
{ {
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{ {
...@@ -580,7 +583,9 @@ public class TaxIC extends ValidatorEJB implements TaxICLocal, TaxICRemote ...@@ -580,7 +583,9 @@ public class TaxIC extends ValidatorEJB implements TaxICLocal, TaxICRemote
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null ; ResultSet rs = null ;
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
try try
{ {
......
...@@ -7,9 +7,10 @@ ...@@ -7,9 +7,10 @@
package ibase.webitm.ejb.dis; package ibase.webitm.ejb.dis;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.fin.FinCommon; import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.sql.Connection; import java.sql.Connection;
...@@ -28,7 +29,9 @@ import org.w3c.dom.NodeList; ...@@ -28,7 +29,9 @@ import org.w3c.dom.NodeList;
public class TaxRateIC extends ValidatorEJB public class TaxRateIC extends ValidatorEJB
implements TaxRateICLocal, TaxRateICRemote implements TaxRateICLocal, TaxRateICRemote
{ {
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
String winName = null; String winName = null;
FinCommon finCommon = null; FinCommon finCommon = null;
ValidatorEJB validator = null; ValidatorEJB validator = null;
...@@ -511,7 +514,9 @@ implements TaxRateICLocal, TaxRateICRemote ...@@ -511,7 +514,9 @@ implements TaxRateICLocal, TaxRateICRemote
Connection conn = null; Connection conn = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
try try
{ {
......
...@@ -6,9 +6,10 @@ import java.sql.Connection; ...@@ -6,9 +6,10 @@ import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import ibase.system.config.ConnDriver; import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB; import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.GenericUtility; //import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import javax.ejb.Stateless; import javax.ejb.Stateless;
import org.w3c.dom.Document; import org.w3c.dom.Document;
...@@ -19,7 +20,9 @@ import org.w3c.dom.NodeList; ...@@ -19,7 +20,9 @@ import org.w3c.dom.NodeList;
public class TransporterModeIC extends ValidatorEJB implements TransporterModeICRemote, TransporterModeICLocal { public class TransporterModeIC extends ValidatorEJB implements TransporterModeICRemote, TransporterModeICLocal {
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmdbAccessEJB = new ITMDBAccessEJB(); ITMDBAccessEJB itmdbAccessEJB = new ITMDBAccessEJB();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams)
...@@ -205,7 +208,9 @@ public class TransporterModeIC extends ValidatorEJB implements TransporterModeIC ...@@ -205,7 +208,9 @@ public class TransporterModeIC extends ValidatorEJB implements TransporterModeIC
Document dom1 = null; Document dom1 = null;
Document dom2 = null; Document dom2 = null;
String rtStr = ""; String rtStr = "";
GenericUtility genericUtility = GenericUtility.getInstance(); //changed by nasruddin 05-10-16
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
System.out.println("In Itemchange String:::"); System.out.println("In Itemchange String:::");
try { try {
......
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