Commit 88b86f69 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@184601 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e8398b31
......@@ -167,7 +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, FN_SUNDRY_NAME(SUNDRY_TYPE,SUNDRY_CODE,'') as sundry_name ";
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)))
......
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