Commit a96f0899 authored by kshinde's avatar kshinde

commented sql statement that updates net amount in misc_vouchdet.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104928 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 39f3990b
...@@ -233,12 +233,13 @@ public class MiscVoucherPostSave extends ValidatorEJB implements MiscVoucherPost ...@@ -233,12 +233,13 @@ public class MiscVoucherPostSave extends ValidatorEJB implements MiscVoucherPost
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
sql = "update misc_vouchdet_cctr set net_amount = amount + tax_amt where tran_id = ?"; /* sql = "update misc_vouchdet_cctr set net_amount = amount + tax_amt where tran_id = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tran_id); pstmt.setString(1, tran_id);
cnt = pstmt.executeUpdate(); cnt = pstmt.executeUpdate();
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
*/
sql = "update misc_vouchdet set net_amount = amount + tax_amt where tran_id = ?"; sql = "update misc_vouchdet set net_amount = amount + tax_amt where tran_id = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
......
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