Commit 646d954e authored by prane's avatar prane

added else condition if date found null in getData

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184349 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 350556df
......@@ -160,6 +160,7 @@ public class RecPayXfrPrc extends ProcessEJB implements RecPayXfrPrcLocal,RecPay
" AND ( case when receivables.sale_order is null then ' ' else receivables.sale_order end like ? ) " +
" AND ( case when receivables.ref_type is null then ' ' else receivables.ref_type end not like ? ) ";
System.out.println(">>>-GetData SQL :: ["+sql+"]");
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, custFr);
pstmt.setString(2, custTo);
......@@ -168,8 +169,7 @@ public class RecPayXfrPrc extends ProcessEJB implements RecPayXfrPrcLocal,RecPay
pstmt.setTimestamp(5, dueDateTo);
pstmt.setString(6, saleOrder);
pstmt.setString(7, refType);
rs = pstmt.executeQuery();
System.out.println(">>>-GetData SQL :: ["+sql+"]");
rs = pstmt.executeQuery();
while(rs.next())
{
itemSer = checkNull(rs.getString("item_ser"));
......
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