Commit a20a0c65 authored by smane's avatar smane

FreightListIC.java file updated by sagar changes made in getGenCodeDescr method


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94401 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 67dce9bb
...@@ -310,6 +310,8 @@ public class FreightListIC extends ValidatorEJB implements FreightListICLocal, F ...@@ -310,6 +310,8 @@ public class FreightListIC extends ValidatorEJB implements FreightListICLocal, F
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
else else
{
if(effFrom!=null && effFrom.trim().length()>0)
{ {
effFromDate = Timestamp.valueOf(genericUtility.getValidDateString(effFrom, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0"); effFromDate = Timestamp.valueOf(genericUtility.getValidDateString(effFrom, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
validUptoDate = Timestamp.valueOf(genericUtility.getValidDateString(validUpto, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0"); validUptoDate = Timestamp.valueOf(genericUtility.getValidDateString(validUpto, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()) + " 00:00:00.0");
...@@ -323,6 +325,7 @@ public class FreightListIC extends ValidatorEJB implements FreightListICLocal, F ...@@ -323,6 +325,7 @@ public class FreightListIC extends ValidatorEJB implements FreightListICLocal, F
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
}
} }
} }
}// end for }// end for
......
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