Commit 1dd8ee3d authored by msharma's avatar msharma

Statements closed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100087 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3e4bb0d1
...@@ -245,6 +245,10 @@ public class CreatePoRcpVoucher ...@@ -245,6 +245,10 @@ public class CreatePoRcpVoucher
analCode = rs.getString("ANAL_CODE"); analCode = rs.getString("ANAL_CODE");
bankCodePay = rs.getString("BANK_CODE__PAY"); bankCodePay = rs.getString("BANK_CODE__PAY");
} }
rs.close();
rs = null;
pstmt.close();
pstmt = null;
hdrRcpDate = tranDate; hdrRcpDate = tranDate;
// added by shiri 20/12/01 as tax should not contain the non_payable = 'Y' // added by shiri 20/12/01 as tax should not contain the non_payable = 'Y'
// Changed by amit - 4-3-02 - to take sum of amt. rounded linewise. // Changed by amit - 4-3-02 - to take sum of amt. rounded linewise.
...@@ -1795,6 +1799,8 @@ public class CreatePoRcpVoucher ...@@ -1795,6 +1799,8 @@ public class CreatePoRcpVoucher
pstmtUpd = conn.prepareStatement(sql); pstmtUpd = conn.prepareStatement(sql);
pstmtUpd.setString(1, returnId); pstmtUpd.setString(1, returnId);
pstmtUpd.executeUpdate(); pstmtUpd.executeUpdate();
pstmtUpd.close();
pstmtUpd=null;
} }
/* // /* //
// 3 Added by Vilas // 3 Added by Vilas
......
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