Commit 3171b167 authored by piyush's avatar piyush

Merged Admin Release V34 and other components changed at Sun Pharma - Merged...

Merged Admin Release V34 and other components changed at Sun Pharma - Merged webitm-adm sent by Ahmed on 23/02/2017


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104750 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c3572e47
This diff is collapsed.
...@@ -14,6 +14,9 @@ import ibase.webitm.utility.ITMException; ...@@ -14,6 +14,9 @@ import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import javax.ejb.Stateless; import javax.ejb.Stateless;
import javax.naming.InitialContext; import javax.naming.InitialContext;
...@@ -26,6 +29,7 @@ import org.w3c.dom.Document; ...@@ -26,6 +29,7 @@ import org.w3c.dom.Document;
@Stateless @Stateless
public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalStatusConfPrcRemote, EmpMaritalStatusConfPrcLocal public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalStatusConfPrcRemote, EmpMaritalStatusConfPrcLocal
{ {
E12GenericUtility genericUtility=new E12GenericUtility();
public String process() throws RemoteException,ITMException public String process() throws RemoteException,ITMException
{ {
return ""; return "";
...@@ -36,7 +40,7 @@ public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalSta ...@@ -36,7 +40,7 @@ public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalSta
String retString = ""; String retString = "";
Document detailDom = null; Document detailDom = null;
Document headerDom = null; Document headerDom = null;
E12GenericUtility genericUtility = new E12GenericUtility(); // E12GenericUtility genericUtility = new E12GenericUtility();
try try
{ {
if(xmlString != null && xmlString.trim().length() != 0) if(xmlString != null && xmlString.trim().length() != 0)
...@@ -62,7 +66,8 @@ public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalSta ...@@ -62,7 +66,8 @@ public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalSta
public String process(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException, ITMException public String process(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException, ITMException
{ {
String returnString = ""; String returnString = "",confirm="",empCode="",tranDate="",sql="";
Timestamp tranDateTimestamp=null;
boolean isError = false; boolean isError = false;
Connection connection = null; Connection connection = null;
ConnDriver connDriver = null; ConnDriver connDriver = null;
...@@ -71,6 +76,9 @@ public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalSta ...@@ -71,6 +76,9 @@ public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalSta
EmpMaritalStatusConfLocal empMaritalStatusConf = null; EmpMaritalStatusConfLocal empMaritalStatusConf = null;
ITMDBAccessLocal itmDBAccess = null; ITMDBAccessLocal itmDBAccess = null;
PreparedStatement pstmt=null;
ResultSet rs=null;
try try
{ {
connDriver = new ConnDriver(); connDriver = new ConnDriver();
...@@ -79,10 +87,38 @@ public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalSta ...@@ -79,10 +87,38 @@ public class EmpMaritalStatusConfPrc extends ProcessEJB implements EmpMaritalSta
appConnect = new AppConnectParm(); appConnect = new AppConnectParm();
initialCtx = new InitialContext(appConnect.getProperty()); initialCtx = new InitialContext(appConnect.getProperty());
itmDBAccess = (ITMDBAccessLocal)initialCtx.lookup("ibase/ITMDBAccessEJB/local"); itmDBAccess = (ITMDBAccessLocal)initialCtx.lookup("ibase/ITMDBAccessEJB/local");
empCode = checkNull(genericUtility.getColumnValue("emp_code", headerDom));
tranDate = checkNull(genericUtility.getColumnValue("tran_date", headerDom));
System.out.println("@V@ VALLABH empCode :- ["+empCode+"]");
System.out.println("@V@ VALLABH tranDate :- ["+tranDate+"]");
tranDateTimestamp = Timestamp.valueOf(genericUtility.getValidDateTimeString(tranDate, genericUtility.getApplDateFormat()
,genericUtility.getDBDateFormat()));
empMaritalStatusConf = (EmpMaritalStatusConfLocal)initialCtx.lookup("ibase/EmpMaritalStatusConf/local"); sql = "SELECT CONFIRM FROM EMP_MARITALCHG WHERE EMP_CODE = ? AND TRAN_DATE = ?";
returnString = checkNull(empMaritalStatusConf.actionHandler("", headerDom, detailDom, xtraParams, "N", connection)); pstmt = connection.prepareStatement(sql);
System.out.println("EmpMaritalStatusConfPrc returnString ::[" + returnString + "]"); pstmt.setString(1, empCode);
pstmt.setTimestamp(2, tranDateTimestamp);
rs = pstmt.executeQuery();
if(rs.next())
{
confirm = checkNull(rs.getString("CONFIRM"));
}
pstmt.close();
pstmt=null;
rs.close();
rs=null;
System.out.println("@V@ VALLABH confirm :- ["+confirm+"]");
if(!"X".equalsIgnoreCase(confirm))
{
empMaritalStatusConf = (EmpMaritalStatusConfLocal)initialCtx.lookup("ibase/EmpMaritalStatusConf/local");
returnString = checkNull(empMaritalStatusConf.actionHandler("", headerDom, detailDom, xtraParams, "N", connection));
System.out.println("EmpMaritalStatusConfPrc returnString ::[" + returnString + "]");
}
else
{
returnString = itmDBAccess.getErrorString("", "VTALRDCACL", "", "", connection);
return returnString;
}
if(returnString.length() > 0) if(returnString.length() > 0)
{ {
isError = true; isError = true;
......
This diff is collapsed.
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
import org.w3c.dom.Document;
@Local
public interface EmpMaritalStatusICLocal extends ValidatorLocal {
public String itemChanged() throws RemoteException, ITMException;
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData() throws RemoteException, ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
@Remote
public interface EmpMaritalStatusICRemote extends ValidatorRemote {
public String itemChanged() throws RemoteException, ITMException;
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData() throws RemoteException, ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
This diff is collapsed.
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import org.w3c.dom.Document;
public interface EmpStatusDateChgICLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException, ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException, ITMException;
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import org.w3c.dom.Document;
public interface EmpStatusDateChgICRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException, ITMException;
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document dom, Document dom1,Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException, ITMException;
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.adm.AdmCommon;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.ejb.sys.CreateRCPXML;
import ibase.webitm.utility.TransIDGenerator;
import ibase.utility.CommonConstants;
import java.rmi.RemoteException;
import java.sql.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.HashMap;
import org.w3c.dom.*;
@javax.ejb.Stateless
public class EmpStatusDateChgPos extends ValidatorEJB implements EmpStatusDateChgPosLocal, EmpStatusDateChgPosRemote
{
public String postSave()throws RemoteException,ITMException
{
return "";
}
public String postSave(String xmlString, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException
{
String empCode = "";
String loginEmpCode = "";
String errString = "";
String sql = "";
String userId = "";
String chgTerm = "";
String statDtStr = "";
Timestamp currDate = null;
Timestamp statusDate = null;
PreparedStatement pstmt = null;
// ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
// AdmCommon admCommon = new AdmCommon();
GenericUtility genericUtility = GenericUtility.getInstance();
// SimpleDateFormat sdfAppl = null;
Document headerDom = null;
try
{
System.out.println("XML String :"+xmlString);
headerDom = genericUtility.parseString(xmlString);
currDate = new java.sql.Timestamp(System.currentTimeMillis());
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
chgTerm = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "chgTerm" );
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
empCode = checkNullAndTrim(genericUtility.getColumnValue("emp_code",headerDom));
statDtStr = checkNullAndTrim(genericUtility.getColumnValue("status_date",headerDom));
System.out.println("@V@ Status date str :- ["+statDtStr+"]");
statusDate=Timestamp.valueOf(genericUtility.getValidDateString(statDtStr, genericUtility.getApplDateFormat(),
genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("@V@ Status date :- ["+statusDate+"]");
sql="Update employee set M_STATUS_DATE=? where emp_code=?";
pstmt=conn.prepareStatement(sql);
pstmt.setTimestamp(1, statusDate);
pstmt.setString(2, empCode);
int updateCnt=pstmt.executeUpdate();
System.out.println("@V@ Employee Update count :- ["+updateCnt+"]");
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
try
{
System.out.println("Exception IN AttdDailyPos::::"+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
catch (Exception e1)
{
e1.printStackTrace();
throw new ITMException(e1);
}
}
finally
{
try
{
if(errString != null && errString.trim().length() > 0)
{
{
conn.rollback();
}
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
System.out.println("Exception "+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
private String checkNull( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
return inputVal;
}
private String checkNullAndTrim( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
return inputVal.trim();
}
}
package ibase.webitm.ejb.adm;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
@javax.ejb.Local
public interface EmpStatusDateChgPosLocal
{
public String postSave()throws RemoteException,ITMException;
public String postSave( String tranId, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.adm;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import java.sql.Connection;
@javax.ejb.Remote
public interface EmpStatusDateChgPosRemote
{
public String postSave()throws RemoteException,ITMException;
public String postSave( String tranId, String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException;
}
This diff is collapsed.
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ValidatorLocal;
import javax.ejb.Local;
import org.w3c.dom.Document;
@Local
public interface EmployeeSecurityICLocal extends ValidatorLocal {
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String currXmlDataStr, String hdrXmlDataStr, String allXmlDataStr, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document currDom, Document hdrDom, Document allDom, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
//Added By Umakanta Das
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
@Remote
public interface EmployeeSecurityICRemote extends ValidatorRemote {
public String wfValData() throws RemoteException,ITMException;
public String wfValData(String currXmlDataStr, String hdrXmlDataStr, String allXmlDataStr, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
public String wfValData(Document currDom, Document hdrDom, Document allDom, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
//Added By Umakanta Das
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.ejb.Stateless;
import org.w3c.dom.Document;
@Stateless
public class ITDeclarationDefault extends ActionHandlerEJB implements ITDeclarationDefaultLocal, ITDeclarationDefaultRemote {
static E12GenericUtility genericUtility = new E12GenericUtility();
@Override
public String actionHandler(String actionType, String xmlString, String objContext, String xtraParams) throws RemoteException, ITMException {
System.out.println("actionType[" + actionType + "]\n\txmlString[" + xmlString + "]\n\tobjContext[" + objContext + "]\n\txtraParams[" + xtraParams);
Document dom = null;
String retString = "";
try{
xmlString = xmlString == null ? "" : xmlString.trim();
if(xmlString.length() > 0){
dom = genericUtility.parseString(xmlString);
}
if (actionType.equalsIgnoreCase("Default"))
{
retString = generateDefaultData(dom, objContext, xtraParams);
}
//retString = generateDefaultData(dom, objContext, xtraParams);
System.out.println(genericUtility.serializeDom(dom));
} catch (Exception e) {
System.out.println("Exception in " + this.getClass().getSimpleName() + ":" + e.getMessage());
}
System.out.println("Returning from " + this.getClass().getSimpleName() + "[" + retString + "]");
return retString;
}
private String generateDefaultData(Document dom, String objContext, String xtraParams) {
Connection conn = null;
String pay_site = "", tran_id = "", sql = "", ad_code = "", ad_descr = "", userId = "", grade = "", cadre = "", sql1 = "", oldTranId = "", emp_code__decl = "", acct_prd = "";
PreparedStatement pstmt = null, pstmt1 = null;
ResultSet rs = null, rs1 = null;
StringBuffer valueXmlBuff = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root>\r\n");
try {
ConnDriver con = new ConnDriver();
conn = con.getConnectDB("Driver");
int dom2Length = dom.getElementsByTagName("Detail2").getLength();
if(dom2Length > 0) {
ITMDBAccessEJB dbAccess = new ITMDBAccessEJB();
System.out.println("Default Already Clicked or in Edit Mode");
return dbAccess.getErrorString("", "VNODEFAULT", userId, "", conn);
}
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
tran_id = checkNull(genericUtility.getColumnValue("tran_id", dom, "1"));
String key_flag = "";
sql = "select key_flag from transetup where tran_window = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, "w_emp_itdecl_byac");
rs = pstmt.executeQuery();
if(rs.next()) {
key_flag = checkNull(rs.getString("key_flag")).trim();
} else {
key_flag = "A";
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(tran_id.trim().length() == 0 || "M".equalsIgnoreCase(key_flag)) {
pay_site = checkNull(genericUtility.getColumnValue("pay_site", dom, "1"));
grade = checkNull(genericUtility.getColumnValue("grade", dom, "1"));
cadre = checkNull(genericUtility.getColumnValue("cadre", dom, "1"));
emp_code__decl = checkNull(genericUtility.getColumnValue("emp_code__decl", dom, "1"));
acct_prd = checkNull(genericUtility.getColumnValue("acct_prd", dom, "1"));
AdmCommon admCommon = new AdmCommon();
String admEnv = admCommon.getAdmEnv(pay_site, cadre, grade, "AD_CODE_DECL_TYPE", new Timestamp(Calendar.getInstance().getTimeInMillis()), conn);
if("NULLFOUND".equalsIgnoreCase(admEnv)) {
admEnv = admCommon.getEnv("999999", "AD_CODE_DECL_TYPE", conn);
}
if("A".equalsIgnoreCase(admEnv)) {
sql = "select i.ad_code as ad_code, i.description as ad_descr from itdecl_fmt i join allwdedn a on a.ad_code = i.ad_code where i.access_to = 'A' order by i.seq_no";
} else if("E".equalsIgnoreCase(admEnv)) {
sql = "select i.ad_code as ad_code, i.description as ad_descr from itdecl_fmt i join allwdedn a on a.ad_code = i.ad_code where case when i.access_to = 'A' then 'A' else 'B' end <> 'A' order by i.seq_no";
} else if("B".equalsIgnoreCase(admEnv)) {
sql = "select i.ad_code as ad_code, i.description as ad_descr from itdecl_fmt i join allwdedn a on a.ad_code = i.ad_code order by i.seq_no";
}
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
sql1 = "select tran_id from (select tran_id from emp_itdecl_hdr where emp_code__decl = ? and acct_prd = ? and status = 'F' and qtr_no = '9' and confirmed = 'Y' and decl_type = 'D' order by chg_date desc) where rownum = 1";
//sql1 = "select tran_id from emp_itdecl_hdr where qtr_no = '9' and decl_type ='D' AND emp_code__decl = ? AND acct_prd = ? and confirmed = 'Y' order by chg_date and rownum = 1";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, emp_code__decl);
pstmt1.setString(2, acct_prd);
rs1 = pstmt1.executeQuery();
if(rs1.next()) {
oldTranId = checkNull(rs1.getString("tran_id"));
} else {
oldTranId = "";
}
rs1.close();
rs1 = null;
pstmt1.close();
pstmt1 = null;
System.out.println("Existing tran_id to be loaded records from: [" + oldTranId + "]");
int lineNo = 0;
while(rs.next()){
lineNo++;
ad_code = checkNull(rs.getString("ad_code"));
ad_descr = checkNull(rs.getString("ad_descr"));
valueXmlBuff.append("<Detail>");
if("M".equalsIgnoreCase(key_flag)) {
valueXmlBuff.append("<tran_id>").append("<![CDATA[" + tran_id + "]]>").append("</tran_id>");
} else {
valueXmlBuff.append("<tran_id/>");
}
valueXmlBuff.append("<line_no>").append("<![CDATA[" + lineNo + "]]>").append("</line_no>");
valueXmlBuff.append("<ad_code>").append("<![CDATA[" + ad_code + "]]>").append("</ad_code>");
valueXmlBuff.append("<ad_descr>").append("<![CDATA[" + ad_descr + "]]>").append("</ad_descr>");
if(oldTranId.length() > 0) {
sql1 = "select amount_decl, amount_proof, amount_decl__old, amount_proof__old, remarks from emp_itdecl_det where tran_id = ? and ad_code = ?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, oldTranId);
pstmt1.setString(2, ad_code);
rs1 = pstmt1.executeQuery();
if(rs1.next()){
String remarks = checkNull(rs1.getString("remarks")).trim();
double amtDecl = rs1.getDouble("amount_decl");
double amtProof = rs1.getDouble("amount_proof");
if("null".equalsIgnoreCase(remarks) || remarks.length() == 0){
remarks = "";
}
valueXmlBuff.append("<amount_decl>").append("<![CDATA[" + amtDecl + "]]>").append("</amount_decl>");
valueXmlBuff.append("<amount_proof>").append("<![CDATA[" + amtProof + "]]>").append("</amount_proof>");
valueXmlBuff.append("<amount_decl__old>").append("<![CDATA["+amtDecl+"]]>").append("</amount_decl__old>");
valueXmlBuff.append("<amount_proof__old>").append("<![CDATA["+amtProof+"]]>").append("</amount_proof__old>");
valueXmlBuff.append("<remarks>").append("<![CDATA[" + remarks + "]]>").append("</remarks>");
} else {
valueXmlBuff.append("<amount_decl>").append("<![CDATA[0]]>").append("</amount_decl>");
valueXmlBuff.append("<amount_proof>").append("<![CDATA[0]]>").append("</amount_proof>");
valueXmlBuff.append("<amount_decl__old>").append("<![CDATA[0]]>").append("</amount_decl__old>");
valueXmlBuff.append("<amount_proof__old>").append("<![CDATA[0]]>").append("</amount_proof__old>");
valueXmlBuff.append("<remarks>").append("<![CDATA[]]>").append("</remarks>");
}
rs1.close();
rs1 = null;
pstmt1.close();
pstmt1 = null;
} else {
valueXmlBuff.append("<amount_decl>").append("<![CDATA[0]]>").append("</amount_decl>");
valueXmlBuff.append("<amount_proof>").append("<![CDATA[0]]>").append("</amount_proof>");
valueXmlBuff.append("<amount_decl__old>").append("<![CDATA[0]]>").append("</amount_decl__old>");
valueXmlBuff.append("<amount_proof__old>").append("<![CDATA[0]]>").append("</amount_proof__old>");
valueXmlBuff.append("<remarks>").append("<![CDATA[]]>").append("</remarks>");
}
valueXmlBuff.append("</Detail>");
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
}
valueXmlBuff.append("</Root>\r\n");
System.out.println("Returning from " + this.getClass().getSimpleName() +" : " + valueXmlBuff.toString());
} catch (Exception e) {
e.printStackTrace();
} finally {
try {
if(conn != null) {
conn.close();
conn = null;
}
if(rs != null) {
rs.close();
rs = null;
}
if(pstmt != null) {
pstmt.close();
pstmt = null;
}
System.out.println("Closed all Database Resource...!");
} catch (Exception e) {
System.out.println("Exception in EJB ["+this.getClass().getSimpleName()+"]::generateDefaultData::[" + e.getMessage()+"]");
}
}
return valueXmlBuff.toString();
}
private String checkNull(String value) {
return value == null ? "" : value.trim();
}
}
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import javax.ejb.Local;
@Local
public interface ITDeclarationDefaultLocal extends ActionHandlerLocal {
@Override
public abstract String actionHandler(String actionType, String xmlDataAll, String objContext, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import ibase.webitm.ejb.ActionHandlerRemote;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import javax.ejb.Remote;
@Remote
public interface ITDeclarationDefaultRemote extends ActionHandlerRemote {
@Override
public abstract String actionHandler(String paramString1, String paramString2, String paramString3, String paramString4)
throws RemoteException, ITMException;
}
This diff is collapsed.
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
import org.w3c.dom.Document;
@Local
public interface ITDeclarationICLocal extends ValidatorLocal {
@Override
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged() throws RemoteException, ITMException;
@Override
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
@Remote
public interface ITDeclarationICRemote extends ValidatorRemote {
@Override
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException;
@Override
public String postSave(String arg0, String arg1, String arg2) throws RemoteException, ITMException;
@Override
public String postSave(String arg0, String arg1, String arg2, Connection arg3) throws RemoteException, ITMException;
}
...@@ -966,13 +966,30 @@ public class PerkClaimProcessComm extends ValidatorEJB implements PerkClaimProce ...@@ -966,13 +966,30 @@ public class PerkClaimProcessComm extends ValidatorEJB implements PerkClaimProce
chgDate = (Date)payHdr.get("chg_date"); chgDate = (Date)payHdr.get("chg_date");
tranDateStr = sdfAppl.format(tranDate); tranDateStr = sdfAppl.format(tranDate);
autopost = admCommon.getEnv("999999","AUTO_POST",conn);
sql = "select ddf_hr_site_env_value(?,sysdate,'AUTO_POST') as autopost from dual";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
rs = pstmt.executeQuery();
if(rs.next()) {
autopost = checkNull(rs.getString("autopost"));
} else {
autopost = "NULLFOUND";
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
//autopost = checkNull(admCommon.getEnv("999999","AUTO_POST",conn));
System.out.println("Value for prd_code [999999] var_name[AUTO_POST] value["+ autopost +"] in payrparm");
if("NULLFOUND".equalsIgnoreCase(autopost)) if("NULLFOUND".equalsIgnoreCase(autopost))
{ {
errString = itmDBAccess.getErrorString("","VSENVAR1","","",conn); errString = itmDBAccess.getErrorString("","VSENVAR1","","",conn);
return errString; return errString;
} }
bankCode = admCommon.getEnv("999999","BANKCODE",conn); bankCode = checkNull(admCommon.getEnv("999999","BANKCODE",conn));
System.out.println("Value for prd_code [999999] var_name[BANKCODE] value["+ bankCode +"] in payrparm");
if("NULLFOUND".equalsIgnoreCase(bankCode)) if("NULLFOUND".equalsIgnoreCase(bankCode))
{ {
errString = itmDBAccess.getErrorString("","VSENVAR1","","",conn); errString = itmDBAccess.getErrorString("","VSENVAR1","","",conn);
...@@ -1223,7 +1240,13 @@ public class PerkClaimProcessComm extends ValidatorEJB implements PerkClaimProce ...@@ -1223,7 +1240,13 @@ public class PerkClaimProcessComm extends ValidatorEJB implements PerkClaimProce
System.out.println("Pay Detail=="+payDet.toString()); System.out.println("Pay Detail=="+payDet.toString());
adCode = (String)payDet.get("ad_code"); adCode = (String)payDet.get("ad_code");
amount = (Double)payDet.get("amount");
System.out.println("Amount Value [" + amount + "]");
if(amount == 0) {
System.out.println("Amount Value is ZERO, loading next Value...");
continue;
}
sql = " select payable, acct_code__sal, cctr_code__sal, bal_opt from allwdedn where ad_code = ? "; sql = " select payable, acct_code__sal, cctr_code__sal, bal_opt from allwdedn where ad_code = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,adCode); pstmt.setString(1,adCode);
...@@ -1239,7 +1262,6 @@ public class PerkClaimProcessComm extends ValidatorEJB implements PerkClaimProce ...@@ -1239,7 +1262,6 @@ public class PerkClaimProcessComm extends ValidatorEJB implements PerkClaimProce
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
amount = (Double)payDet.get("amount");
if(balOpt == null) if(balOpt == null)
{ {
balOpt = " "; balOpt = " ";
......
...@@ -670,10 +670,25 @@ public class StdPayStru extends ValidatorEJB implements StdPayStruRemote, StdPay ...@@ -670,10 +670,25 @@ public class StdPayStru extends ValidatorEJB implements StdPayStruRemote, StdPay
break; break;
} }
} }
// Modified by Piyush on 29/09/2016 [To validate with all primary key fields].Start
/*
String sql = " select count(1) as RowCount from std_paystru where eff_date > ? and eff_date <= ? "; String sql = " select count(1) as RowCount from std_paystru where eff_date > ? and eff_date <= ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, effDateDB); pstmt.setTimestamp(1, effDateDB);
pstmt.setTimestamp(2, validUptoDB); pstmt.setTimestamp(2, validUptoDB);
*/
String payTable = checkNull(genericUtility.getColumnValue("pay_table", dom));
String grade = checkNull(genericUtility.getColumnValue("grade", dom));
String adCode = checkNull(genericUtility.getColumnValue("ad_code", dom));
String sql = "select count(1) as RowCount from std_paystru where eff_date > ? and eff_date <= ? and pay_table = ? and grade = ? and ad_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, effDateDB);
pstmt.setTimestamp(2, validUptoDB);
pstmt.setString(3, payTable);
pstmt.setString(4, grade);
pstmt.setString(5, adCode);
// Modified by Piyush on 29/09/2016 [To validate with all primary key fields].End
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
System.out.println(" SQL :: " + sql); System.out.println(" SQL :: " + sql);
......
/**
* VALLABH KADAM
* EmpMaritalStatusCancelLocal.java
* Req Id:-[A16DSUN005]
* */
package ibase.webitm.ejb.adm.adv;
import ibase.utility.UserInfoBean;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import java.sql.*;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import javax.xml.parsers.*;
import javax.ejb.Local; // added for ejb3
@Local
public interface EmpMaritalStatusCancelLocal extends ActionHandlerLocal
{
// public String cancel(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
// public String actionHandler() throws RemoteException,ITMException;
// public String confirm(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
// public String actionHandler(String tranId, String xtraParams, String forcedFlag, Connection connection) throws RemoteException, ITMException;
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag, UserInfoBean userInfoBean) throws RemoteException,ITMException;
}
/**
* VALLABH KADAM
* EmpMaritalStatusCancelRemote.java
* Req Id:-[A16DSUN005]
* */
package ibase.webitm.ejb.adm.adv;
import ibase.utility.UserInfoBean;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import java.sql.*;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import javax.xml.parsers.*;
import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
public interface EmpMaritalStatusCancelRemote extends ActionHandlerRemote
{
// public String cancel(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
// public String actionHandler() throws RemoteException,ITMException;
// public String confirm(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
// public String actionHandler(String tranId, String xtraParams, String forcedFlag, Connection connection) throws RemoteException, ITMException;
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag, UserInfoBean userInfoBean) throws RemoteException,ITMException;
}
...@@ -23,6 +23,7 @@ import java.sql.ResultSet; ...@@ -23,6 +23,7 @@ import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date; import java.util.Date;
import javax.ejb.Stateless; import javax.ejb.Stateless;
...@@ -152,9 +153,18 @@ public class EmpMaritalStatusConf extends ActionHandlerEJB implements EmpMarital ...@@ -152,9 +153,18 @@ public class EmpMaritalStatusConf extends ActionHandlerEJB implements EmpMarital
System.out.println("generateVouch ::" + generateVouch); System.out.println("generateVouch ::" + generateVouch);
tranDateTimestamp = Timestamp.valueOf(genericUtility.getValidDateTimeString(tranDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat())); tranDateTimestamp = Timestamp.valueOf(genericUtility.getValidDateTimeString(tranDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()));
String dbName= checkNull(CommonConstants.DB_NAME);
sql = "SELECT NEW_STATUS, SHORT_NAME, EMP_FNAME, EMP_MNAME, EMP_LNAME, STATUS_DATE, AMOUNT, CONFIRM " + System.out.println("dbName:::::::"+dbName);
"FROM EMP_MARITALCHG WHERE EMP_CODE = ? AND TRAN_DATE = ?"; if(dbName.trim().equalsIgnoreCase("oracle"))
{
sql = "SELECT NEW_STATUS, SHORT_NAME, EMP_FNAME, EMP_MNAME, EMP_LNAME, STATUS_DATE, AMOUNT, CONFIRM " +
"FROM EMP_MARITALCHG WHERE EMP_CODE = ? AND TRAN_DATE = ? FOR UPDATE NOWAIT";
}
else
{
sql = "SELECT NEW_STATUS, SHORT_NAME, EMP_FNAME, EMP_MNAME, EMP_LNAME, STATUS_DATE, AMOUNT, CONFIRM " +
"FROM EMP_MARITALCHG WHERE EMP_CODE = ? AND TRAN_DATE = ? FOR UPDATE";
}
pstmt = connection.prepareStatement(sql); pstmt = connection.prepareStatement(sql);
pstmt.setString(1, empCode); pstmt.setString(1, empCode);
pstmt.setTimestamp(2, tranDateTimestamp); pstmt.setTimestamp(2, tranDateTimestamp);
...@@ -407,6 +417,11 @@ public class EmpMaritalStatusConf extends ActionHandlerEJB implements EmpMarital ...@@ -407,6 +417,11 @@ public class EmpMaritalStatusConf extends ActionHandlerEJB implements EmpMarital
totalAmountBC = totalAmount * exchangeRate; totalAmountBC = totalAmount * exchangeRate;
String adCode = ""; String adCode = "";
Calendar currentDate = Calendar.getInstance();
SimpleDateFormat sdf1 = new SimpleDateFormat(genericUtility.getApplDateFormat());
String sysDateStr = sdf1.format(currentDate.getTime());
sql = " INSERT INTO PAYR_VOUCHER (TRAN_ID, TRAN_DATE, TRAN_TYPE, EFF_DATE, EMP_CODE, REF_NO, REF_DATE, " + sql = " INSERT INTO PAYR_VOUCHER (TRAN_ID, TRAN_DATE, TRAN_TYPE, EFF_DATE, EMP_CODE, REF_NO, REF_DATE, " +
"BANK_CODE, AUTO_PAY, PAY_MODE, CHG_DATE, CHG_USER, CHG_TERM, SITE_CODE, FIN_ENTITY, REMARKS, " + "BANK_CODE, AUTO_PAY, PAY_MODE, CHG_DATE, CHG_USER, CHG_TERM, SITE_CODE, FIN_ENTITY, REMARKS, " +
"ANAL_CODE, CONFIRMED, PAID, ACCT_CODE__PAY, CCTR_CODE__PAY, TOT_AMT, ENTRY_BATCH_NO, VOUCH_TYPE, " + "ANAL_CODE, CONFIRMED, PAID, ACCT_CODE__PAY, CCTR_CODE__PAY, TOT_AMT, ENTRY_BATCH_NO, VOUCH_TYPE, " +
...@@ -419,7 +434,8 @@ public class EmpMaritalStatusConf extends ActionHandlerEJB implements EmpMarital ...@@ -419,7 +434,8 @@ public class EmpMaritalStatusConf extends ActionHandlerEJB implements EmpMarital
pstmt.setString(3, tranType); pstmt.setString(3, tranType);
pstmt.setTimestamp(4, tranDateTimestamp); pstmt.setTimestamp(4, tranDateTimestamp);
pstmt.setString(5, empCode); pstmt.setString(5, empCode);
pstmt.setString(6, tranId); // pstmt.setString(6, tranId);
pstmt.setString(6, statusDate);
pstmt.setTimestamp(7, tranDateTimestamp); pstmt.setTimestamp(7, tranDateTimestamp);
pstmt.setString(8, empBankCode); pstmt.setString(8, empBankCode);
pstmt.setString(9, autoPay); pstmt.setString(9, autoPay);
......
/**
* VALLABH KADAM
* EmployeeSecuritySubmitLocal.java
* Req Id:-[A16HSUN008]
* */
package ibase.webitm.ejb.adm.adv;
import ibase.utility.UserInfoBean;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import java.sql.*;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import javax.xml.parsers.*;
import javax.ejb.Local; // added for ejb3
@Local
public interface EmployeeSecuritySubmitLocal extends ActionHandlerLocal
{
// public String cancel(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
// public String actionHandler() throws RemoteException,ITMException;
// public String confirm(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
// public String actionHandler(String tranId, String xtraParams, String forcedFlag, Connection connection) throws RemoteException, ITMException;
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag, UserInfoBean userInfoBean) throws RemoteException,ITMException;
}
/**
* VALLABH KADAM
* EmployeeSecuritySubmitRemote.java
* Req Id:-[A16HSUN008]
* */
package ibase.webitm.ejb.adm.adv;
import ibase.utility.UserInfoBean;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import java.rmi.RemoteException;
import java.sql.*;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import javax.xml.parsers.*;
import javax.ejb.Remote; // added for ejb3
@Remote // added for ejb3
public interface EmployeeSecuritySubmitRemote extends ActionHandlerRemote
{
// public String cancel(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
// public String actionHandler() throws RemoteException,ITMException;
// public String confirm(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
// public String actionHandler(String tranId, String xtraParams, String forcedFlag, Connection connection) throws RemoteException, ITMException;
public String actionHandler() throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
public String actionHandler(String tranID, String xtraParams, String forcedFlag, UserInfoBean userInfoBean) throws RemoteException,ITMException;
}
This diff is collapsed.
ALTER TABLE ITPROJ_CALCHDR ADD CALC_BASE_CRITERIA CHAR(1);
ALTER TABLE IT_CALCHDR ADD CALC_BASE_CRITERIA CHAR(1);
INSERT INTO PAYRPARM
(
PRD_CODE ,
VAR_NAME ,
VAR_TYPE ,
VAR_VALUE ,
DESCR ,
VAR_SUBS ,
CHG_DATE ,
CHG_USER ,
CHG_TERM
)
VALUES
(
'999999',
'ITAX_VOUCHER_ADCODES',
'S',
null,
'Income Tax AD Code for Manual Voucher',
null,
fn_sysdate(),
'BASE',
'BASE'
);
INSERT INTO PAYRPARM
(
PRD_CODE ,
VAR_NAME ,
VAR_TYPE ,
VAR_VALUE ,
DESCR ,
VAR_SUBS ,
CHG_DATE ,
CHG_USER ,
CHG_TERM
)
VALUES
(
'999999',
'NJOIN_ITPROJ_PRORETA',
'S',
'N',
'Income tax to be calculated on proreta bases or not for new joiny',
null,
fn_sysdate(),
'BASE',
'BASE'
);
COMMIT;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
CREATE OR REPLACE
TRIGGER CHK_DUP_EMP_IT_DECLPROOF BEFORE
INSERT OR UPDATE ON EMP_ITDECL_HDR REFERENCING OLD AS OLD NEW AS NEW FOR EACH ROW
DECLARE
LC_CNT NUMBER:=0;
BEGIN
SELECT COUNT(1) INTO LC_CNT FROM EMP_ITDECL_HDR WHERE ACCT_PRD = :NEW.ACCT_PRD AND EMP_CODE__DECL = :NEW.EMP_CODE__DECL
AND DECL_TYPE = :NEW.DECL_TYPE AND QTR_NO = :NEW.QTR_NO AND TRAN_ID <> :NEW.TRAN_ID;
IF LC_CNT >=1 THEN
IF :NEW.DECL_TYPE = 'D' THEN
RAISE_APPLICATION_ERROR(-20101,'Duplicate Entry, Declaration is already entered in system');
ELSE
RAISE_APPLICATION_ERROR(-20101,'Duplicate Entry, Proof is already entered in system');
END IF;
END IF;
END;
/
SET DEFINE OFF;
UPDATE POPHELP SET SQL_STR='select a.site_code as Site_Code,a.descr as Description from site a where ? <=1 union all select a.site_code as Site_Code,a.descr as Description from site a , user_site b where ? > 1 and b.site_code = a.site_code and b.user_id = ''?''' ,
SQL_INPUT = ':user_level,:user_level,:login_code' WHERE MOD_NAME ='W_PERK_CLAIM_PROCESS' AND FIELD_NAME in ('SITE_CODE__FROM','SITE_CODE__TO');
Insert into messages (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('VMPRKSTFR1','Invalid Site From!','Entered site is not present in site master','E','Y',null,null,null,fn_sysdate(),'SURAJ','SURAJ',null,null);
Insert into messages (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('VMPRKSTFR2','Invalid Site From!','Entered site is not present in user site','E','Y',null,null,null,fn_sysdate(),'SURAJ','SURAJ',null,null);
commit;
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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