Commit 3e2697fc authored by prane's avatar prane

to validate QC Reqd is 'Y' then stk opt should not '0'

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215004 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 57d01c7d
...@@ -889,7 +889,8 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte ...@@ -889,7 +889,8 @@ public class SiteItemIC extends ValidatorEJB implements SiteItemICLocal, SiteIte
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} else { } else {
if (qcReqd != null && qcReqd.equalsIgnoreCase("Y")) { if (qcReqd != null && qcReqd.equalsIgnoreCase("Y")) {
if (stkOpt != null && !(stkOpt.trim().equalsIgnoreCase("2"))) { //if (stkOpt != null && !(stkOpt.trim().equalsIgnoreCase("2"))) { Pavan Rane 13jan20[to validate QC Reqd is 'Y' then stk opt should not '0']
if (stkOpt != null && "0".equalsIgnoreCase(stkOpt.trim())) {
errCode = "VMSTKOPT"; errCode = "VMSTKOPT";
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
......
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