Commit 8e26eca3 authored by dpawar's avatar dpawar

change in sql of isBillNoRepeatedInYear method (confirmed)


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94044 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b3e1fac6
...@@ -641,8 +641,9 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca ...@@ -641,8 +641,9 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca
currStkYear=Integer.parseInt(CurrYear); currStkYear=Integer.parseInt(CurrYear);
sql="select tran_id,cust_code from spl_sales_por_hdr"; sql="select tran_id,cust_code from spl_sales_por_hdr where confirmed = ?";
pstmt=conn.prepareStatement(sql); pstmt=conn.prepareStatement(sql);
pstmt.setString(1, "Y");
rs=pstmt.executeQuery(); rs=pstmt.executeQuery();
while(rs.next()){ while(rs.next()){
tranId=rs.getString(1); tranId=rs.getString(1);
......
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