Commit 458e3651 authored by ajadhav's avatar ajadhav

call nfCheckPeriod() method using finCommon() method object

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@178206 ce508802-f39f-4f6c-b175-0d175dae99d5
parent da0d2349
...@@ -20,7 +20,7 @@ import ibase.webitm.ejb.dis.DistCommon; ...@@ -20,7 +20,7 @@ import ibase.webitm.ejb.dis.DistCommon;
public class FinCommon public class FinCommon
{ {
ValidatorEJB validator = new ValidatorEJB(); ValidatorEJB validator = new ValidatorEJB();
FinCommon finCommon = new FinCommon();
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
public String sundrybalOpnUpd(HashMap sundrybalMap, Connection conn)throws ITMException public String sundrybalOpnUpd(HashMap sundrybalMap, Connection conn)throws ITMException
{ {
...@@ -9321,8 +9321,10 @@ public class FinCommon ...@@ -9321,8 +9321,10 @@ public class FinCommon
postDate = (Timestamp)glTrace.get("tran_date"); postDate = (Timestamp)glTrace.get("tran_date");
System.out.println("siteCode>>>>>"+siteCode); System.out.println("siteCode>>>>>"+siteCode);
System.out.println("postDate>>>>>"+new java.util.Date(postDate.getTime())); System.out.println("postDate>>>>>"+new java.util.Date(postDate.getTime()));
//Changes and Commented By Ajay on 12-01-2018:START
//errCode = validatorEJB.nfCheckPeriod("FIN",new java.util.Date(postDate.getTime()),siteCode); //errCode = validatorEJB.nfCheckPeriod("FIN",new java.util.Date(postDate.getTime()),siteCode);
errCode = nfCheckPeriod("FIN",new java.util.Date(postDate.getTime()),siteCode,conn); errCode = finCommon.nfCheckPeriod("FIN",new java.util.Date(postDate.getTime()),siteCode,conn);
//Changes and Commented By Ajay on 12-01-2018:END
if(errCode.trim().length() > 0){ if(errCode.trim().length() > 0){
errString = itmDBAccessEJB.getErrorString("",errCode,"","",conn); errString = itmDBAccessEJB.getErrorString("",errCode,"","",conn);
return errString; return errString;
......
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