Commit f7ee5af2 authored by smestry's avatar smestry

Updated java file for customer master


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103987 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f47e414d
...@@ -188,13 +188,22 @@ implements CustomerLocal, CustomerRemote ...@@ -188,13 +188,22 @@ implements CustomerLocal, CustomerRemote
if(custPriority.length() > 1) if(custPriority.length() > 1)
{ {
System.out.println("custPriority found larger value--------->>"); //System.out.println("custPriority found larger value--------->>");
errCode = "VMCUSTPRIT"; errCode = "VMCUSTPRIT";
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
else if(!custPriority.matches("[0-9A-Za-z-]+"))
{
//System.out.println("Special character found for custPriority ---------");
errCode = "VMCUSTINVD";
errList.add( errCode );
errFields.add(childNodeName.toLowerCase());
break;
}
} }
//Changed by Sneha on 10-11-2016, for validating the field customer priority [End] //Changed by Sneha on 10-11-2016, for validating the field customer priority [End]
// Comment By Nkhan [16-SEP-16] START // Comment By Nkhan [16-SEP-16] START
/* else if (childNodeName.equalsIgnoreCase("cust_name")) /* else if (childNodeName.equalsIgnoreCase("cust_name"))
{ {
......
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