Commit 189f4c65 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@177615 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1cef0aa2
......@@ -111,7 +111,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
cal.setTime(today);
today = cal.getTime();
SimpleDateFormat sdf = null;
ValidatorEJB ValidatorEJB = new ValidatorEJB();
//ValidatorEJB ValidatorEJB = new ValidatorEJB();//Changed By PriyankaC on 04Jan18
FinCommon FinCommon = new FinCommon();
DistCommon DistCommon = new DistCommon();
......@@ -360,7 +360,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
siteCodeDlv = checkNull(genericUtility.getColumnValue(
"site_code__dlv", dom));
errcode = ValidatorEJB.isSiteCode(siteCodeord, "P-ORD");
errcode = isSiteCode(siteCodeord, "P-ORD"); //Changed By PriyankaC on 04Jan18
if (errcode != null && errcode.trim().length() > 0) {
errList.add(errcode);
errFields.add(childNodeName.toLowerCase());
......@@ -370,7 +370,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
siteCodeDlv = checkNull(genericUtility.getColumnValue(
"site_code__dlv", dom));
errcode = ValidatorEJB.isSiteCode(siteCodeord, "P-ORD");
errcode = isSiteCode(siteCodeord, "P-ORD"); //Changed By PriyankaC on 04Jan18
if (errcode != null && errcode.trim().length() > 0) {
errList.add(errcode);
errFields.add(childNodeName.toLowerCase());
......@@ -381,8 +381,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
"site_code__bill", dom));
if (siteCodeBill.length() > 0) {
errcode = ValidatorEJB.isSiteCode(siteCodeBill,
"P-ORD");
errcode = isSiteCode(siteCodeBill,"P-ORD");//Changed By PriyankaC on 04Jan18
System.out.println("@@@@@@308 errcode[" + errcode
+ "]");
if (errcode != null && errcode.trim().length() > 0) {
......@@ -1435,8 +1434,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
if (!siteCode.equalsIgnoreCase(siteCodeDlv)) {
if (errcode == null || errcode.trim().length() == 0) {
// errcode = nvo_dis.gbf_site(mval,transer)
errcode = ValidatorEJB.isSiteCode(siteCode,
"P-ORD");
errcode = isSiteCode(siteCode,"P-ORD"); //Changed By PriyankaC on 04Jan18
if (errcode != null
&& errcode.trim().length() > 0) {
errList.add(errcode);
......@@ -2083,8 +2081,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
pStmt = null;
if ("N".equalsIgnoreCase(stopBusi)) {
errcode = ValidatorEJB.isItem(siteCode, itemCode,
"P-ORD", conn);
errcode = isItem(siteCode, itemCode,"P-ORD", conn);
// errcode = nvo_dis.gbf_item(mval1,mval,transer)
System.out.println("@@@@@1769 errcode[" + errcode
+ "]");
......@@ -4704,8 +4701,7 @@ public class POrderIC extends ValidatorEJB implements POrderICRemote,
if (siteCodeAdv.trim().length() > 0) {
// errcode = nvo_dis.gbf_site(mval,transer) ;
errcode = ValidatorEJB.isSiteCode(siteCodeAdv,
"P-ORD");
errcode = isSiteCode(siteCodeAdv,"P-ORD");//Changed By PriyankaC on 04Jan18
if (errcode != null && errcode.trim().length() > 0) {
errList.add(errcode);
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