Commit 8a0be8a7 authored by nkhan's avatar nkhan

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103654 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8e218d0b
...@@ -712,8 +712,13 @@ public class SOrderAmdIC extends ValidatorEJB implements SOrderAmdICRemote,SOrde ...@@ -712,8 +712,13 @@ public class SOrderAmdIC extends ValidatorEJB implements SOrderAmdICRemote,SOrde
siteCode = checkNull(genericUtility.getColumnValue("site_code", dom)); siteCode = checkNull(genericUtility.getColumnValue("site_code", dom));
errcode = finCommon.isAcctCode(siteCode,acctCodeSal, "S-AMD", conn); errcode = finCommon.isAcctCode(siteCode,acctCodeSal, "S-AMD", conn);
//Changed By Nasruddin 12-OCT-16 Add if Condition
if( errcode != null && errcode.trim().length() > 0)
{
errList.add(errcode); errList.add(errcode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
}
} }
if (childNodeName.equalsIgnoreCase("cctr_code__sal")) if (childNodeName.equalsIgnoreCase("cctr_code__sal"))
...@@ -721,15 +726,18 @@ public class SOrderAmdIC extends ValidatorEJB implements SOrderAmdICRemote,SOrde ...@@ -721,15 +726,18 @@ public class SOrderAmdIC extends ValidatorEJB implements SOrderAmdICRemote,SOrde
System.out.println("in cctr_code__sal........."); System.out.println("in cctr_code__sal.........");
cctrCodeSal = checkNull(genericUtility.getColumnValue("cctr_code__sal", dom)); cctrCodeSal = checkNull(genericUtility.getColumnValue("cctr_code__sal", dom));
acctCodeSal = checkNull(genericUtility.getColumnValue("acct_code__sal", dom)); acctCodeSal = checkNull(genericUtility.getColumnValue("acct_code__sal", dom));
if(cctrCodeSal != null && cctrCodeSal.trim().length() > 0) if(cctrCodeSal != null && cctrCodeSal.trim().length() > 0)
{ {
errcode = finCommon.isCctrCode(acctCodeSal, cctrCodeSal,"S-AMD" , conn); errcode = finCommon.isCctrCode(acctCodeSal, cctrCodeSal,"S-AMD" , conn);
//Changed By Nasruddin 12-OCT-16 Add if Condition
if( errcode != null && errcode.trim().length() > 0)
{
System.out.println("errcode in cctr_code__sal"+errcode); System.out.println("errcode in cctr_code__sal"+errcode);
errList.add(errcode); errList.add(errcode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
}
} }
} }
......
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