Commit 647ea2ef authored by msalla's avatar msalla

Getting invalid identifier error at the time of confirming receipt dishonour for Employee receipt.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211880 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5995b3a8
...@@ -555,8 +555,10 @@ public class ReceiptDishonourConf extends ActionHandlerEJB implements ReceiptDis ...@@ -555,8 +555,10 @@ public class ReceiptDishonourConf extends ActionHandlerEJB implements ReceiptDis
} }
else if(addAcctFrom.equalsIgnoreCase("d_misc_rcpdet_brow")) else if(addAcctFrom.equalsIgnoreCase("d_misc_rcpdet_brow"))
{ {
sql="SELECT tran_id, line_no, acct_code, cctr_code, amount, anal_code, emp_code, sundry_code, exch_rate,curr_code,net_amt,eff_bank " /*sql="SELECT tran_id, line_no, acct_code, cctr_code, amount, anal_code, emp_code, sundry_code, exch_rate,curr_code,net_amt,eff_bank "
+ "FROM misc_rcpdet WHERE TRAN_ID = ?"; + "FROM misc_rcpdet WHERE TRAN_ID = ?";*///commented by monika oon 13 nov 19 -wrong query.
//ADDED BY MONIKA 13-NOV -2019 TO GET DATA FROM MISC_RCPDET--
sql="select tran_id,line_no,acct_code,cctr_code,amount,anal_code,emp_code,remarks,sundry_type,sundry_code,item_ser,tax_class,tax_chap,tax_env,tax_amt,net_amt,proj_code, fn_sundry_name(misc_rcpdet.sundry_type,misc_rcpdet.sundry_code,'') as sundry_name from misc_rcpdet where tran_id = ?";
} }
pstmt=conn.prepareStatement(sql); pstmt=conn.prepareStatement(sql);
pstmt.setString(1, rcpNo); pstmt.setString(1, rcpNo);
......
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