Commit 1648283f authored by tmahadi's avatar tmahadi

Updated SOP


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98356 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 934bfb81
...@@ -88,6 +88,7 @@ public class PurMilstnValidatorEJB extends ValidatorEJB ...@@ -88,6 +88,7 @@ public class PurMilstnValidatorEJB extends ValidatorEJB
} }
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException { public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException {
System.out.println(":::IN wfValData():::"+this.getClass().getSimpleName());
NodeList parentNodeList = null; NodeList parentNodeList = null;
NodeList childNodeList = null; NodeList childNodeList = null;
Node parentNode = null; Node parentNode = null;
...@@ -120,15 +121,13 @@ public class PurMilstnValidatorEJB extends ValidatorEJB ...@@ -120,15 +121,13 @@ public class PurMilstnValidatorEJB extends ValidatorEJB
parentNode = parentNodeList.item(0); parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes(); childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength(); childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++) { for(ctr = 0; ctr < childNodeListLength; ctr++) {
childNode = childNodeList.item(ctr); childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
if (childNodeName.equalsIgnoreCase("compl_date")) { if (childNodeName.equalsIgnoreCase("compl_date")) {
compl_date = getColumnValue("compl_date",dom); compl_date = getColumnValue("compl_date",dom);
if (compl_date == null || compl_date.trim().length() == 0 ) if (compl_date == null || compl_date.trim().length() == 0) {
{ errCode = "VTCPLDTINV";//This is a pre existing err code
errCode = "VMSITECD1";//This is a pre existing err code
errString = getErrorString("compl_date",errCode,userId); errString = getErrorString("compl_date",errCode,userId);
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