Commit 974dc58a authored by prane's avatar prane

DDF_GET_SUNDRY_NAME is added in geData sql

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184614 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dc218fe7
......@@ -167,8 +167,7 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
retnFilterOpt = "N";
}
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";
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)))
{
......@@ -494,6 +493,7 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
mdeScr = rs.getString("sundry_name");
billNo = rs.getString("bill_no");
billDate = rs.getTimestamp("bill_date");
System.out.println("mdeScr--1--["+mdeScr+"]");
}
else
{
......@@ -508,6 +508,7 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
{
mdeScr = checkNull(rs1.getString("sundry_name"));
}
System.out.println("mdeScr--2--["+mdeScr+"]");
pstmt1.close();
rs1.close();
pstmt1 = null;
......@@ -656,7 +657,7 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
{
xmlBuff.append("<to_date>").append("<![CDATA[" + (sdf.format(processUptillDate)) + "]]>").append("</to_date>");
}
xmlBuff.append("<sundry_name>").append("<![CDATA[" + "" + "]]>").append("</sundry_name>");
xmlBuff.append("<sundry_name>").append("<![CDATA[" + mdeScr + "]]>").append("</sundry_name>");
xmlBuff.append("</Detail2>");
xmlBuff.append("\n");
......
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