Commit 0784e6df authored by caluka's avatar caluka

adding validation for mgf date start field as per manoj sir instruction


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96750 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f36b295c
......@@ -225,14 +225,14 @@ public class WorkOrderAmd extends ValidatorEJB implements WorkOrderAmdLocal, W
errFields.add(childNodeName.toLowerCase());
}
}
// 21/10/14 manoharan not need for this validation
//if(mfgDateStartTs.before(getCurrdateAppFormat()))
//{
// System.out.println("Previous day mfg date:");
// errCode = "VTWOMFMFT";
// errList.add(errCode);
// errFields.add(childNodeName.toLowerCase());
//}
//05/11/14 validation added by chnadrashekar as per manoj sir instruction
if(mfgDateStartTs.before(getCurrdateAppFormat()))
{
System.out.println("Previous day mfg date:");
errCode = "VTWOMFMFT";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}//end mfg_date
else if (childNodeName.equalsIgnoreCase("exp_date"))
......
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