Commit a72c9ac2 authored by smane's avatar smane

Condition added for site code adv to check length with trim


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99143 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 731196ce
...@@ -384,7 +384,8 @@ public class GenPurcMilestoneSch extends ValidatorEJB implements Schedule { ...@@ -384,7 +384,8 @@ public class GenPurcMilestoneSch extends ValidatorEJB implements Schedule {
pstmt2 = null; pstmt2 = null;
System.out.println("acctCode :"+acctCode +"@cctrCode :"+cctrCode); System.out.println("acctCode :"+acctCode +"@cctrCode :"+cctrCode);
if(siteCodeAdv == null) //if(siteCodeAdv == null) // comment added by Sagar on 10/Nov/15
if(siteCodeAdv == null || siteCodeAdv.trim().length()== 0 ) // Condition added by Sagar on 10/Nov/15
{ {
sql = " select SITE_CODE__ORD from porder where purc_order=? " ; sql = " select SITE_CODE__ORD from porder where purc_order=? " ;
......
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