Commit 6cc83d98 authored by smanohar's avatar smanohar

Bug fixing sql syntax error corrected

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211151 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a0fa9051
......@@ -930,7 +930,7 @@ public class VoucherConf extends ActionHandlerEJB //implements ReceiptAdvConfLoc
// since it was not subtracted from the mra provision being considered from PO rcp.
sql = "select sum(nvl(reco_amount,0)) as reco_amount from taxtran "
+ " where tran_code= 'P-RCP' "
+ " tran_id = ? and line_no = ? and reco_amount <> 0";
+ " and tran_id = ? and line_no = ? and reco_amount <> 0";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,prcpId);
pstmt.setString(2,lineNo);
......
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