Commit eacab00a authored by kshinde's avatar kshinde

round off Bug fix


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105311 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 360b88c8
......@@ -130,7 +130,7 @@ public class PostOrdInvoicePost extends ActionHandlerEJB implements PostOrdInvoi
sql="Update invoice set net_amt=?,round_adj=? where invoice_id=?";
pstmt2= conn.prepareStatement(sql);
pstmt2.setDouble(1,netamtr);
pstmt2.setDouble(2,netamt-netamtr);
pstmt2.setDouble(2,netamtr-netamt);
pstmt2.setString(3,invoiceId);
int count=pstmt2.executeUpdate();
System.out.println("count++++"+count);
......@@ -144,7 +144,7 @@ public class PostOrdInvoicePost extends ActionHandlerEJB implements PostOrdInvoi
sql="Update invoice set net_amt=?,round_adj=? where invoice_id=?";
pstmt2= conn.prepareStatement(sql);
pstmt2.setDouble(1,netamtr);
pstmt2.setDouble(2,netamt-netamtr);
pstmt2.setDouble(2,netamtr-netamt);
pstmt2.setString(3,invoiceId);
int count=pstmt2.executeUpdate();
System.out.println("count1++++"+count);
......
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