Commit 86be0188 authored by msalla's avatar msalla

Direct payment validation to was added that eff_date should not be empty.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200549 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c3da05ce
...@@ -145,6 +145,24 @@ public class PaymentExpenseEJB extends ValidatorEJB implements PaymentExpenseLoc ...@@ -145,6 +145,24 @@ public class PaymentExpenseEJB extends ValidatorEJB implements PaymentExpenseLoc
} }
} }
} }
//validation for eff_date should not be empty-Monika-07-May-2019
else if("eff_date".equalsIgnoreCase(childNodeName))
{
String effdate = E12GenericUtility.checkNull(genericUtility.getColumnValue("eff_date", dom));
System.out.println(effdate);
if (effdate == null || effdate.trim().length() == 0) {
errCode = "VTEFFNULL ";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E")) {
System.out.println("errCode in isBank()::: " + errCode);
break;
}
}
}
else if("site_code".equalsIgnoreCase(childNodeName)) else if("site_code".equalsIgnoreCase(childNodeName))
{ {
siteCode = checkNull(genericUtility.getColumnValue("site_code",dom)); siteCode = checkNull(genericUtility.getColumnValue("site_code",dom));
......
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