Commit 34ec7f03 authored by mnair's avatar mnair

Updated changes in the condition for the validation account code cr not active in StockTransferEJB


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@186017 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f92ed8a2
......@@ -3,7 +3,6 @@ import java.rmi.RemoteException;
import java.sql.*;
import java.text.*;
import java.util.*;
import java.util.Date;
import org.w3c.dom.*;
import ibase.webitm.ejb.*;
import ibase.webitm.ejb.dis.DistCommon;
......@@ -631,7 +630,9 @@ public class StockTransferEJB extends ValidatorEJB implements StockTransferEJBRe
pstmt.close();
pstmt = null;
if(active != "Y")
//Changes by mayur on 05-June-2018
//if(active != "Y")
if(!"Y".equalsIgnoreCase(active))
{
errList.add( "VMACCTA" );
errFields.add( childNodeName.toLowerCase());
......@@ -678,8 +679,11 @@ public class StockTransferEJB extends ValidatorEJB implements StockTransferEJBRe
pstmt.close();
pstmt = null;
if(active != "Y")
//Changes by mayur on 05-June-2018
//if(active != "Y")
if(!"Y".equalsIgnoreCase(active))
{
System.out.println("@@Inside errorcode of account code cr");
errList.add( "VMACCTA" );
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