Commit f2357b4b authored by mjadhav's avatar mjadhav

chages done in validation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96784 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 67d56bae
......@@ -272,7 +272,16 @@ public class WOTrackStatusIC extends ValidatorEJB implements WOTrackStatusICLoca
trackSet = genericUtility.getColumnValue("track_set", dom);
System.out.println("trackSet :: "+trackSet);
if(trackSet != null)
if(trackSet == null)
{
errCode = "VMEMTS";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
System.out.println("Empty Track set");
}
else
{
sql = " select count (*) from tran_track_set where track_set = ? ";
......@@ -352,7 +361,7 @@ public class WOTrackStatusIC extends ValidatorEJB implements WOTrackStatusICLoca
if(ct == 0)
{
errCode = "VMINVRFID";//Invalid Facility code!!!
errCode = "VMINVACID";//
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
errString = getErrorString("Invalid ACT code", errCode, userId);
......
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