Commit b300fc28 authored by msalla's avatar msalla

Issue in Bill Discountin

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214349 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3ffcd7f3
...@@ -122,7 +122,7 @@ public class BillDiscountingPostSave extends ValidatorEJB implements BillDiscou ...@@ -122,7 +122,7 @@ public class BillDiscountingPostSave extends ValidatorEJB implements BillDiscou
//System.out.println( "amount with exchrate ["+intNetAMt+"]"); //System.out.println( "amount with exchrate ["+intNetAMt+"]");
totamountBcdet=intNetAMt*exchRateHdr; totamountBcdet=intNetAMt*exchRateHdr;
sql="update export_fundet set amount__bc=? where tran_id=? " ;//end /* sql="update export_fundet set amount__bc=? where tran_id=? " ;//end
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1,totamountBcdet ); pstmt.setDouble(1,totamountBcdet );
pstmt.setString(2,tranId ); pstmt.setString(2,tranId );
...@@ -130,7 +130,7 @@ public class BillDiscountingPostSave extends ValidatorEJB implements BillDiscou ...@@ -130,7 +130,7 @@ public class BillDiscountingPostSave extends ValidatorEJB implements BillDiscou
rs.close(); rs.close();
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;*/
//System.out.println("amount bc det["+totamountBcdet); //System.out.println("amount bc det["+totamountBcdet);
//select from export_fundadj //select from export_fundadj
...@@ -154,11 +154,12 @@ public class BillDiscountingPostSave extends ValidatorEJB implements BillDiscou ...@@ -154,11 +154,12 @@ public class BillDiscountingPostSave extends ValidatorEJB implements BillDiscou
//update //update
// sql="update export_fundet set amount__bc=? where tran_id=? " ;//end wrong update in det // sql="update export_fundet set amount__bc=? where tran_id=? " ;//end wrong update in det
sql="update export_fundadj set amount__bc=? where tran_id=? " ;//end /* sql="update export_fundadj set amount__bc=? where tran_id=? " ;//end
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1,amtBcEpcdet ); pstmt.setDouble(1,amtBcEpcdet );
pstmt.setString(2,tranId ); pstmt.setString(2,tranId );
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();*/
//System.out.println("amount bc det["+amtBcEpcdet); //System.out.println("amount bc det["+amtBcEpcdet);
//select from export_fundacct //select from export_fundacct
......
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