Commit f82bbe11 authored by ssalve's avatar ssalve

Sarita : Updated AdChangeIC Component on 05-09-2019

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@206898 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cf98e1fb
...@@ -234,7 +234,7 @@ public class AdChangeIC extends ValidatorEJB implements AdChangeICLocal, AdChang ...@@ -234,7 +234,7 @@ public class AdChangeIC extends ValidatorEJB implements AdChangeICLocal, AdChang
{ {
erroCode = admCommon.gfValPayrollPrd("E", empCode, adCode, expDateStr, conn); erroCode = admCommon.gfValPayrollPrd("E", empCode, adCode, expDateStr, conn);
System.out.println("errCode is ::: ["+errCode+"]"); System.out.println("errCode is ::: ["+errCode+"]");
}//Added by sarita on 05/09/2019
if(erroCode != null && erroCode.trim().length() > 0) if(erroCode != null && erroCode.trim().length() > 0)
{ {
errList.add(errCode); errList.add(errCode);
...@@ -271,14 +271,15 @@ public class AdChangeIC extends ValidatorEJB implements AdChangeICLocal, AdChang ...@@ -271,14 +271,15 @@ public class AdChangeIC extends ValidatorEJB implements AdChangeICLocal, AdChang
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
if(cnt == 0) //if(cnt == 0) -- modified by sarita on 05 SEPT. 2019
if(cnt > 0)
{ {
errCode = "VTDATE15"; errCode = "VTDATE15";
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
} }
} //}modified by sarita on 05/09/2019
} }
}//End of Validation for exp_date }//End of Validation for exp_date
if("ref_type".equalsIgnoreCase(childNodeName)) if("ref_type".equalsIgnoreCase(childNodeName))
......
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