Commit 7088ea05 authored by smanohar's avatar smanohar

Bug fixing, various site codes, if specified only validate otherwise skip the validation

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@188979 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 23fcb2aa
...@@ -409,12 +409,15 @@ public class ItemIC extends ValidatorEJB implements ItemICLocal, ItemICRemote { ...@@ -409,12 +409,15 @@ public class ItemIC extends ValidatorEJB implements ItemICLocal, ItemICRemote {
}*/ }*/
childNodeValue = checkNullAndTrim(genericUtility.getColumnValue(childNodeName, dom)); childNodeValue = checkNullAndTrim(genericUtility.getColumnValue(childNodeName, dom));
errCode = this.isSiteCode(childNodeValue, transer); if (childNodeValue != null && childNodeValue.trim().length() > 0 )
System.out.println("SiteCode Error code is"+errCode);
if (errCode != null && errCode.trim().length() > 0)
{ {
errList.add(errCode); errCode = this.isSiteCode(childNodeValue, transer);
errFields.add(childNodeName.toLowerCase()); System.out.println("SiteCode Error code is"+errCode);
if (errCode != null && errCode.trim().length() > 0)
{
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
} }
// Changed By Nasruddin [19-SEP-16] END // Changed By Nasruddin [19-SEP-16] END
} }
......
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