Commit 68c112ce authored by dpingle's avatar dpingle

* updated src, srd, sql and xml file

grade_mthad21.xml
w_grade_mthad.sql
d_grade_mthad_edit.srd
GradeMthadIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215750 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 189fa870
...@@ -172,4 +172,33 @@ Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERAC ...@@ -172,4 +172,33 @@ Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERAC
---------------------------------------------------- Dipesh[07/01/2020]End ---------------------------------------------------- Dipesh[07/01/2020]End
---------------------------------------------------- Dipesh[27/01/2020]Start
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('MTHCODNULL','Empty Month code!!','Month code cannot be null','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('MTHINVAILD','Invaild Month code!!','Month code cannot be Greater than 12.','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('PAYINVAILD','Invaild Pay table!!','Pay table No not present in master. ','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('PAYTBLNULL','Empty Pay table!!','Pay table can not be null','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('GRDCODNULL','Empty Grade code!!','Grade code cannot be null','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION)
values ('GRDINVAILD','Invaild Grade code!!','Grade code No not present in master.','E','Y',null,null,null,to_date('18-03-06','DD-MM-RR'),'TSD ','TSD ',null,null);
---------------------------------------------------- Dipesh[27/01/2020]End
...@@ -513,7 +513,7 @@ ...@@ -513,7 +513,7 @@
<tag>Allowance / deduction amount ( or percentage )</tag> <tag>Allowance / deduction amount ( or percentage )</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>13</limit> <limit>12</limit>
<case>any</case> <case>any</case>
<format>#######0.00</format> <format>#######0.00</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
...@@ -620,7 +620,7 @@ ...@@ -620,7 +620,7 @@
<tag>Minimum basic salary for allowance / deduction.</tag> <tag>Minimum basic salary for allowance / deduction.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>13</limit> <limit>12</limit>
<case>any</case> <case>any</case>
<format>#######0.00</format> <format>#######0.00</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
...@@ -688,7 +688,7 @@ ...@@ -688,7 +688,7 @@
<tag>Maximum basic salary for allowance / deduction.</tag> <tag>Maximum basic salary for allowance / deduction.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>13</limit> <limit>12</limit>
<case>any</case> <case>any</case>
<format>#######0.00</format> <format>#######0.00</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
...@@ -756,7 +756,7 @@ ...@@ -756,7 +756,7 @@
<tag>Minimum allowance / deduction amount.</tag> <tag>Minimum allowance / deduction amount.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>13</limit> <limit>12</limit>
<case>any</case> <case>any</case>
<format>#######0.00</format> <format>#######0.00</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
...@@ -824,7 +824,7 @@ ...@@ -824,7 +824,7 @@
<tag>Maximum allowance / deduction amount.</tag> <tag>Maximum allowance / deduction amount.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>13</limit> <limit>12</limit>
<case>any</case> <case>any</case>
<format>#######0.00</format> <format>#######0.00</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
......
...@@ -32,16 +32,16 @@ text(band=detail alignment="1" text="Effective date :" border="0" color="0" x="6 ...@@ -32,16 +32,16 @@ text(band=detail alignment="1" text="Effective date :" border="0" color="0" x="6
column(band=detail id=5 alignment="0" tabsequence=20 border="5" color="0" x="174" y="66" height="17" width="60" format="[shortdate] [time]" html.valueishtml="0" name=eff_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=5 alignment="0" tabsequence=20 border="5" color="0" x="174" y="66" height="17" width="60" format="[shortdate] [time]" html.valueishtml="0" name=eff_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Expiry date :" border="0" color="0" x="325" y="66" height="17" width="110" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Expiry date :" border="0" color="0" x="325" y="66" height="17" width="110" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=6 alignment="0" tabsequence=30 border="5" color="0" x="439" y="66" height="17" width="59" format="[shortdate] [time]" html.valueishtml="0" name=exp_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=6 alignment="0" tabsequence=30 border="5" color="0" x="439" y="66" height="17" width="59" format="[shortdate] [time]" html.valueishtml="0" name=exp_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="1" tabsequence=40 border="5" color="0" x="174" y="93" height="16" width="94" format="#######0.00" html.valueishtml="0" name=amount tag="Allowance / deduction amount ( or percentage )" visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=13 alignment="1" tabsequence=40 border="5" color="0" x="174" y="93" height="16" width="94" format="#######0.00" html.valueishtml="0" name=amount tag="Allowance / deduction amount ( or percentage )" visible="1" edit.limit=12 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Type :" border="0" color="0" x="335" y="93" height="16" width="64" html.valueishtml="0" name=type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Type :" border="0" color="0" x="335" y="93" height="16" width="64" html.valueishtml="0" name=type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=50 border="5" color="0" x="403" y="93" height="16" width="95" format="[general]" html.valueishtml="0" name=type tag="Type ( fixed or prcentage of basic )" visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.useasborder=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=7 alignment="0" tabsequence=50 border="5" color="0" x="403" y="93" height="16" width="95" format="[general]" html.valueishtml="0" name=type tag="Type ( fixed or prcentage of basic )" visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.useasborder=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="1" tabsequence=60 border="5" color="0" x="174" y="119" height="17" width="95" format="#######0.00" html.valueishtml="0" name=min_basic tag="Minimum basic salary for allowance / deduction." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=14 alignment="1" tabsequence=60 border="5" color="0" x="174" y="119" height="17" width="95" format="#######0.00" html.valueishtml="0" name=min_basic tag="Minimum basic salary for allowance / deduction." visible="1" edit.limit=12 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Max. Base Amount :" border="0" color="0" x="281" y="119" height="16" width="118" html.valueishtml="0" name=max_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Max. Base Amount :" border="0" color="0" x="281" y="119" height="16" width="118" html.valueishtml="0" name=max_basic_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=15 alignment="1" tabsequence=70 border="5" color="0" x="403" y="119" height="17" width="95" format="#######0.00" html.valueishtml="0" name=max_basic tag="Maximum basic salary for allowance / deduction." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=15 alignment="1" tabsequence=70 border="5" color="0" x="403" y="119" height="17" width="95" format="#######0.00" html.valueishtml="0" name=max_basic tag="Maximum basic salary for allowance / deduction." visible="1" edit.limit=12 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Min. Amount :" border="0" color="0" x="60" y="145" height="16" width="110" html.valueishtml="0" name=min_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Min. Amount :" border="0" color="0" x="60" y="145" height="16" width="110" html.valueishtml="0" name=min_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=16 alignment="1" tabsequence=80 border="5" color="0" x="174" y="145" height="16" width="95" format="#######0.00" html.valueishtml="0" name=min_amt tag="Minimum allowance / deduction amount." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=16 alignment="1" tabsequence=80 border="5" color="0" x="174" y="145" height="16" width="95" format="#######0.00" html.valueishtml="0" name=min_amt tag="Minimum allowance / deduction amount." visible="1" edit.limit=12 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Max. Amount :" border="0" color="0" x="302" y="145" height="16" width="97" html.valueishtml="0" name=max_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Max. Amount :" border="0" color="0" x="302" y="145" height="16" width="97" html.valueishtml="0" name=max_amt_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=17 alignment="1" tabsequence=90 border="5" color="0" x="403" y="145" height="16" width="95" format="#######0.00" html.valueishtml="0" name=max_amt tag="Maximum allowance / deduction amount." visible="1" edit.limit=13 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=17 alignment="1" tabsequence=90 border="5" color="0" x="403" y="145" height="16" width="95" format="#######0.00" html.valueishtml="0" name=max_amt tag="Maximum allowance / deduction amount." visible="1" edit.limit=12 edit.case=any edit.format="#######0.00" edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Proportionate :" border="0" color="0" x="60" y="171" height="16" width="110" html.valueishtml="0" name=prop_yn_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Proportionate :" border="0" color="0" x="60" y="171" height="16" width="110" html.valueishtml="0" name=prop_yn_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=8 alignment="0" tabsequence=100 border="5" color="0" x="174" y="171" height="16" width="48" format="[Yes/No]" html.valueishtml="0" name=prop_yn tag="Proportionate (yes / no)." visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=8 alignment="0" tabsequence=100 border="5" color="0" x="174" y="171" height="16" width="48" format="[Yes/No]" html.valueishtml="0" name=prop_yn tag="Proportionate (yes / no)." visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Pay Table :" border="0" color="0" x="302" y="171" height="16" width="97" html.valueishtml="0" name=pay_table_t visible="1~t0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Pay Table :" border="0" color="0" x="302" y="171" height="16" width="97" html.valueishtml="0" name=pay_table_t visible="1~t0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
......
...@@ -82,6 +82,7 @@ public class GradeMthadIC extends ValidatorEJB implements GradeMthadLocal, Grade ...@@ -82,6 +82,7 @@ public class GradeMthadIC extends ValidatorEJB implements GradeMthadLocal, Grade
String gradeCode = ""; String gradeCode = "";
String payTable = ""; String payTable = "";
String monthCode= ""; String monthCode= "";
int monthCodeInt = 0;
int currentFormNo = 0; int currentFormNo = 0;
int noOfChilds = 0; int noOfChilds = 0;
int counter; int counter;
...@@ -148,7 +149,7 @@ public class GradeMthadIC extends ValidatorEJB implements GradeMthadLocal, Grade ...@@ -148,7 +149,7 @@ public class GradeMthadIC extends ValidatorEJB implements GradeMthadLocal, Grade
payTable = checkNull(genericUtility.getColumnValue("pay_table", dom)); payTable = checkNull(genericUtility.getColumnValue("pay_table", dom));
monthCode = checkNull(genericUtility.getColumnValue("month_code", dom)); monthCode = checkNull(genericUtility.getColumnValue("month_code", dom));
System.out.println("adCode::::"+adCode);
if (adCode == null || adCode.trim().length() == 0) if (adCode == null || adCode.trim().length() == 0)
{ {
errList.add("VMADC1"); errList.add("VMADC1");
...@@ -166,6 +167,7 @@ public class GradeMthadIC extends ValidatorEJB implements GradeMthadLocal, Grade ...@@ -166,6 +167,7 @@ public class GradeMthadIC extends ValidatorEJB implements GradeMthadLocal, Grade
{ {
cnt = rs.getInt("cnt"); cnt = rs.getInt("cnt");
} }
System.out.println("cnt::::"+cnt);
if (rs != null) if (rs != null)
{ {
rs.close(); rs.close();
...@@ -247,6 +249,114 @@ public class GradeMthadIC extends ValidatorEJB implements GradeMthadLocal, Grade ...@@ -247,6 +249,114 @@ public class GradeMthadIC extends ValidatorEJB implements GradeMthadLocal, Grade
} }
} }
} }
else if ("grade_code".equalsIgnoreCase(childNodeName))
{
gradeCode = checkNull(genericUtility.getColumnValue("grade_code", dom));
if (gradeCode == null || gradeCode.trim().length() == 0)
{
errList.add("GRDCODNULL");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from grade where grade_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, gradeCode);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errList.add("GRDINVAILD");
errFields.add(childNodeName.toLowerCase());
}
}
}
else if ("pay_table".equalsIgnoreCase(childNodeName))
{
payTable = checkNull(genericUtility.getColumnValue("pay_table", dom));
if (payTable == null || payTable.trim().length() == 0)
{
errList.add("PAYTBLNULL");
errFields.add(childNodeName.toLowerCase());
}
else
{
sql = "select count(*) as cnt from Paytable where pay_table = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, payTable);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errList.add("PAYINVAILD");
errFields.add(childNodeName.toLowerCase());
}
}
}
else if ("month_code".equalsIgnoreCase(childNodeName))
{
monthCode = checkNull(genericUtility.getColumnValue("month_code", dom));
System.out.println("monthCode:::"+monthCode);
if (monthCode == null || monthCode.trim().length() == 0)
{
errList.add("MTHCODNULL");
errFields.add(childNodeName.toLowerCase());
}
else
{
System.out.println("inside else:::"+monthCode);
if(monthCode != null && monthCode.trim().length() > 0)
{
try
{
monthCodeInt = Integer.parseInt(monthCode);
if(monthCodeInt > 12)
{
errList.add("MTHINVAILD");
errFields.add(childNodeName.toLowerCase());
}
}
catch(Exception e)
{
errList.add("MTHINVAILD");
errFields.add(childNodeName.toLowerCase());
}
}
}
}
} }
break; break;
} }
......
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