Commit 83c91bea authored by mchaudhari's avatar mchaudhari

Voucher Post Save Release For Testing


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95567 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8b9cb0e6
......@@ -214,15 +214,14 @@ public class VoucherPostSave extends ValidatorEJB implements VoucherPostSaveLoca
pstmt = null;
//sql="UPDATE voucher set adv_amt = ?, tax_amt = ?, tot_amt = ?, net_amt = ?, net_amt_bc = ? WHERE tran_id = ? ";
sql="UPDATE voucher set adv_amt = ?, tax_amt = ?, tot_amt = ?, net_amt = ? WHERE tran_id = ? ";
sql="UPDATE voucher set adv_amt = ?, tax_amt = ?, tot_amt = ?, net_amt = ?, net_amt__bc = ? WHERE tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1,advAmt );
pstmt.setDouble(2,(taxAmt + taxAmtDet) );
pstmt.setDouble(3,(totAmt + totAmtDet) );
pstmt.setDouble(4,(netAmt + netAmtRcp + netAmtDet));
//pstmt.setDouble(5,(netAmtBc + netAmtBcRcp + netAmtDet));
pstmt.setString(5,tranId );
pstmt.setDouble(5,(netAmtBc + netAmtBcRcp + netAmtDet));
pstmt.setString(6,tranId );
cnt = pstmt.executeUpdate();
pstmt.close();
pstmt = null;
......
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