Commit 0b1181bc authored by pchavan's avatar pchavan

PriyankaC: Done Changes To comments unused validatorEJB Objects.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177616 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 189f4c65
......@@ -43,7 +43,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
String winName = null;
FinCommon finCommon = new FinCommon();
DistCommon distCommon = new DistCommon();
ValidatorEJB validator = new ValidatorEJB();
// ValidatorEJB validator = new ValidatorEJB(); //Changed By PriyankaC on 04Jan18
UtilMethods utlMethods = new UtilMethods();
String isClassName = "";
String contractLineNo = "", contractNo = "";
......@@ -381,7 +381,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
errFields.add(childNodeName.toLowerCase());
} else
{
errCode = validator.isCustomer(mSiteCode, custCode, modName, conn);
errCode = isCustomer(mSiteCode, custCode, modName, conn); //Changed By PriyankaC on 04Jan18
if (errCode.trim().length() == 0)
{
/*sql = "select stop_business from customer where cust_code = ?";
......@@ -508,7 +508,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
errFields.add(childNodeName.toLowerCase());
} else
{
errCode = validator.isCustomer(mSiteCode, custCode, modName, conn);
errCode = isCustomer(mSiteCode, custCode, modName, conn);//Changed By PriyankaC on 04Jan18
if (errCode.trim().length() == 0)
{
sql = "select stop_business from customer where cust_code = ?";
......@@ -2407,7 +2407,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
if("I".equalsIgnoreCase(itemFlag))
{
errCode=validator.isItem(siteCode, itemCode, modName, conn);
errCode=isItem(siteCode, itemCode, modName, conn);//Changed By PriyankaC on 04Jan18
if(errCode!=null && errCode.trim().length()>0)
{
......
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