Commit a9010389 authored by rtiwari's avatar rtiwari

updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96143 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 79ffd00d
......@@ -343,13 +343,14 @@ public class ChargeBackFormAccept extends ActionHandlerEJB implements ChargeBack
pStmt1.close();
pStmt1=null;
//Added by Manoj dtd 15/05/2014 to set amount,net_amt,claum_amt,net_amt__bc in header for verified lines only
sql="update charge_back set amount=?,net_amt=?,claum_amt=?,net_amt__bc=exch_rate*? where tran_id=? ";
// sql="update charge_back set amount=?,net_amt=?,claum_amt=?,net_amt__bc=exch_rate*? where tran_id=? ";
sql="update charge_back set net_amt=?,claum_amt=?,net_amt__bc=exch_rate*? where tran_id=? ";
pStmt1=conn.prepareStatement(sql);
pStmt1.setDouble(1,totamt);
// pStmt1.setDouble(1,totamt);
pStmt1.setDouble(1,totnetAmt);
pStmt1.setDouble(2,totnetAmt);
pStmt1.setDouble(3,totnetAmt);
pStmt1.setDouble(4,totnetAmt);
pStmt1.setString(5,chbtranID);
pStmt1.setString(4,chbtranID);
pStmt1.executeUpdate();
if(pStmt1 != null)
pStmt1.close();
......
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