Commit 886ff605 authored by caluka's avatar caluka

itemSer validation added


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97628 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 809276ac
......@@ -89,7 +89,7 @@ public class SiteItemUpdateIC extends ValidatorEJB implements SiteItemUpdateICLo
int currentFormNo =0,count=0;
String siteCodeFrom="",siteCode="",finEntity="",siteCodeTo="";
String itemCodeFrom = "", itemCodeTo = "",suppSource = "", siteCodeSupp = "";
String itemCodeFrom = "", itemCodeTo = "",suppSource = "", siteCodeSupp = "",itemSer="";
try
{
System.out.println("@@@@@@@@ wfvaldata called");
......@@ -286,6 +286,18 @@ public class SiteItemUpdateIC extends ValidatorEJB implements SiteItemUpdateICLo
}
}
}
}else if(childNodeName.equalsIgnoreCase("item_ser"))
{
itemSer = checkNull(genericUtility.getColumnValue("item_ser", dom));
if(itemSer != null && itemSer.trim().length() > 0)
{
if(!isExist("itemser","item_ser",itemSer,conn))
{
errCode = "VTITEMSER1";
errList.add(errCode);
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