Commit 22d81c25 authored by kgaikwad's avatar kgaikwad

Voucher -postsave in case of vouch_type = 'A' not to update the adv_amt in header

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@201970 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 714248b0
......@@ -87,7 +87,7 @@ public class VoucherPostSave extends ValidatorEJB implements VoucherPostSaveLoca
{
sql="UPDATE voucher set adv_amt = ?, diff_amt__exch = ?, net_amt = ? , net_amt__bc = ? WHERE tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1,advAmt);
pstmt.setDouble(1,adjAmt);
pstmt.setDouble(2,diffAmtExch );
pstmt.setDouble(3,netAmt );
pstmt.setDouble(4,netAmtBc );
......
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