Commit 1ccfc158 authored by ngadkari's avatar ngadkari

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@188100 ce508802-f39f-4f6c-b175-0d175dae99d5
parent aef4c92c
......@@ -28,7 +28,7 @@ import ibase.webitm.utility.ITMException;
public class PdcToReceiptPrc extends ProcessEJB implements PdcToReceiptPrcLocal, PdcToReceiptPrcRemote {
UtilMethods utilMethods = new UtilMethods();
FinCommon finCommon = null;
E12GenericUtility genericUtility = null;
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
FinCommon fincomon = new FinCommon();
......@@ -42,11 +42,11 @@ public class PdcToReceiptPrc extends ProcessEJB implements PdcToReceiptPrcLocal,
try {
System.out.println(">>>>>xmlString:getData" + xmlString + ">>>>xmlString2:" + xmlString2);
if (xmlString != null && xmlString.trim().length() != 0) {
genericUtility = new E12GenericUtility();
//genericUtility = new E12GenericUtility();
dom = genericUtility.parseString(xmlString);
}
if (xmlString2 != null && xmlString2.trim().length() != 0) {
genericUtility = new E12GenericUtility();
//genericUtility = new E12GenericUtility();
dom1 = genericUtility.parseString(xmlString2);
}
retString = getData(dom, dom1, windowName, xtraParams);
......
......@@ -28,7 +28,7 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
{
UtilMethods utilMethods = new UtilMethods();
FinCommon finCommon = null;
E12GenericUtility genericUtility = null;
E12GenericUtility genericUtility = new E12GenericUtility();
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException, ITMException
{
......@@ -41,12 +41,12 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
System.out.println(">>>>>xmlString:getData"+xmlString+">>>>xmlString2:"+xmlString2);
if (xmlString != null && xmlString.trim().length() != 0)
{
genericUtility= new E12GenericUtility();
//genericUtility= new E12GenericUtility();
dom = genericUtility.parseString(xmlString);
}
if (xmlString2 != null && xmlString2.trim().length() != 0)
{
genericUtility= new E12GenericUtility();
//genericUtility= new E12GenericUtility();
dom1 = genericUtility.parseString(xmlString2);
}
retString = getData(dom, dom1, windowName, xtraParams);
......@@ -169,7 +169,7 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
String sqlStrt1 = "select contract_id, contract_date, contract_type, descr, site_code, sundry_type, sundry_code, payable_receivable, credit_days, eff_date, valid_upto, cycle_time, amount, acct_code__arap, cctr_code__arap, date__last_proc, status, chg_date, chg_user, chg_term, add_date, add_user, add_term, cr_term, tax_class, tax_chap, tax_env, curr_code, auto_pay, proj_code, pay_mode, bank_code, ' ' as bill_no, '' as bill_date, to_date, DDF_GET_SUNDRY_NAME(SUNDRY_CODE,SUNDRY_TYPE) as sundry_name "; String sqlStrt2 = "select contract_id, contract_date, contract_type, descr, site_code, sundry_type, sundry_code, payable_receivable, credit_days, eff_date, valid_upto, cycle_time, amount, acct_code__arap, cctr_code__arap, date__last_proc, status, chg_date, chg_user, chg_term, add_date, add_user, add_term, cr_term, tax_class, tax_chap, tax_env, curr_code, auto_pay, proj_code, pay_mode, bank_code, to_date";
if(payRec != null && "A".equalsIgnoreCase(checkNullAndTrim(payRec)))
if(payRec != null && "B".equalsIgnoreCase(checkNullAndTrim(payRec)))
{
PayRecFr="0";
PayRecTo="Z";
......
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