Commit e8d0dc33 authored by Ajit Deshmukh's avatar Ajit Deshmukh

Added the components for the Manage SQL Changes - April26

parent abb07375
/*
* Author: Gagan B.
* Date: 08-JAN-2026
* Purpose: This class will be called when ManageSQL Transaction is submitted.
* It will be used to update Submitted by's value (EMP_CODE__GIVEN) with login code of whoever will submit the Manage SQL transaction.
* */
package ibase.webitm.ejb.sys;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import ibase.system.config.ConnDriver;
import ibase.utility.BaseLogger;
import ibase.utility.E12GenericUtility;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
public class ManageSQLSubmit extends ActionHandlerEJB {
@Override
public String confirm(String tranID, String xtraParams, String forcedFlag) {
BaseLogger.log("3", null, null, "ManageSQLSubmit confirm called"
+ "tranID + [" + tranID + "]"
+ "xtraParams + [" + xtraParams + "]"
+ "forcedFlag + [" + forcedFlag + "]");
String responseStr = "";
UserInfoBean userInfo = getUserInfo();
Connection conn = null;
BaseLogger.log("3", null, null, "ManageSQLSubmit userInfo" + userInfo);
try {
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB(userInfo.getTransDB());
String ExecutiveApproval = "";
String ExecutionRights = "";
String checkExecAprvVal = "select exec_aprv, exec_rights from sql_changes where tran_id = ?";
PreparedStatement checkExecAprvValPs = conn.prepareStatement(checkExecAprvVal);
checkExecAprvValPs.setString(1, tranID);
ResultSet checkExecAprvValRs = checkExecAprvValPs.executeQuery();
while (checkExecAprvValRs.next()) {
ExecutiveApproval = checkNull(checkExecAprvValRs.getString("exec_aprv"));
ExecutionRights = checkNull(checkExecAprvValRs.getString("exec_rights"));
}
BaseLogger.log("3", null, null, "ManageSQLSubmit exec_aprv:: " + ExecutiveApproval);
BaseLogger.log("3", null, null, "ManageSQLSubmit exec_rights:: " + ExecutionRights);
if (checkExecAprvValPs != null) {
checkExecAprvValPs.close();
checkExecAprvValPs = null;
}
if (checkExecAprvValRs != null) {
checkExecAprvValRs.close();
checkExecAprvValRs = null;
}
if(ExecutionRights.trim().equalsIgnoreCase("A") || ExecutionRights.trim().equalsIgnoreCase("P") || ExecutionRights.trim().equalsIgnoreCase("C") || ExecutionRights.trim().equalsIgnoreCase("Q")){
BaseLogger.log("3", null, null, "For Execution Rights A, P, C and Q can not be submit....");
return itmDBAccessEJB.getErrorString("", "MSQLNS", "", "", conn);
}
if (ExecutiveApproval.trim().equalsIgnoreCase("Y")) {
String updateAprvLevelSql = "update sql_changes set aprv_level = '2' where tran_id = ?";
PreparedStatement updateAprvLevelPs = conn.prepareStatement(updateAprvLevelSql);
updateAprvLevelPs.setString(1, tranID);
int updateAprvLevelCount = updateAprvLevelPs.executeUpdate();
BaseLogger.log("3", null, null, "ManageSQLSubmit updateAprvLevelCount::: " + updateAprvLevelCount);
if (updateAprvLevelPs != null) {
updateAprvLevelPs.close();
updateAprvLevelPs = null;
}
}
if (updateSubmittedBy(userInfo, tranID, conn)) {
conn.commit();
responseStr = (new ITMDBAccessEJB()).getErrorString("", "VTSUBMTSUC", "", "", userInfo.getTransDB());
} else {
responseStr = (new ITMDBAccessEJB()).getErrorString("", "VTSUBMTREJ", "", "", userInfo.getTransDB());
}
} catch (Exception e) {
BaseLogger.log("3", null, null, "ManageSQLSubmit Exception. [" + E12GenericUtility.getStackTrace(e) + "]");
} finally {
if (conn != null) {
try {
conn.close();
conn = null;
} catch (Exception e) {
BaseLogger.log("3", null, null, "ManageSQLSubmit Exception for closing connection. ["
+ E12GenericUtility.getStackTrace(e) + "]");
}
}
}
return responseStr;
}
public boolean updateSubmittedBy(UserInfoBean userInfo, String tranID, Connection conn) {
String updateSQL = "UPDATE SQL_CHANGES SET EMP_CODE__GIVEN = ? WHERE TRAN_ID = ?";
try (
PreparedStatement psmt = conn.prepareStatement(updateSQL);) {
psmt.setString(1, userInfo.getLoginCode().trim());
psmt.setString(2, tranID);
int updateRowCount = psmt.executeUpdate();
if (updateRowCount > 0) {
return true;
} else {
return false;
}
} catch (Exception e) {
BaseLogger.log("3", null, null,
"updateSubmittedBy Exception. [" + E12GenericUtility.getStackTrace(e) + "]");
return false;
}
}
private String checkNull(String input) {
if (input == null) {
input = "";
}
return input;
}
}
package ibase.webitm.ejb.sys;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ITMDBAccessLocal;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.utility.BaseLogger;
import ibase.utility.E12GenericUtility;
import ibase.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import javax.ejb.Stateless;
//import org.apache.poi.util.SystemOutLogger;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@Stateless
public class ManageSql extends ValidatorEJB {
public String wfValData() throws RemoteException, ITMException
{
return "";
}
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException
{
System.out.println("Inside wfValData updated method 20/07/22 ::: Ajit");
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
System.out.println("wfValData value of xmlString ["+xmlString+"]");
System.out.println("wfValData value of xmlString ["+xmlString1+"]");
System.out.println("wfValData value of xmlString ["+xmlString2+"]");
if (xmlString != null && xmlString.trim().length()!=0)
{
dom = genericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length()!=0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length()!=0)
{
dom2 = genericUtility.parseString(xmlString2);
}
errString = wfValData(dom, dom1, dom2, objContext, editFlag, xtraParams);
System.out.println ("ErrString: " + errString);
}
catch (Exception e)
{
System.out.println ("Exception: wfValData(String xmlString): " + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
e.printStackTrace();
}
System.out.println ("Returning from wfValData");
return (errString);
}
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException
{
System.out.println("20/07/22 ::: jay");
String userId = "";
String requestId = "";//changed by Ashish.J
String sql="";
String errString = "";
Connection connection = null;
ResultSet rs = null;
PreparedStatement pstmt = null;
NodeList parentList = null;
NodeList childList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = null;
ITMDBAccessEJB itmDBAccess = null;
String reqid="";//changed by Ashish.J
int noOfChilds = 0;
int currentFormNo = 0;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
SimpleDateFormat DOB = new SimpleDateFormat(getApplDateFormat());
itmDBAccess = new ITMDBAccessEJB();
connection = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
switch ( currentFormNo )
{
case 1:
{
parentList = dom.getElementsByTagName("Detail"+ currentFormNo);
int parentNodeListLength = parentList.getLength();
System.out.println("parentNodeListLength["+parentNodeListLength+"]");
for (int prntCtr = 0; prntCtr < parentNodeListLength; prntCtr++ )
{
parentNode = parentList.item(prntCtr);
System.out.println("value of parentNode"+parentNode);
childList = parentNode.getChildNodes();
noOfChilds = childList.getLength();
System.out.println("value of noOfChilds"+noOfChilds);
for (int ctr = 0; ctr < noOfChilds; ctr++)
{
childNode = childList.item(ctr);
System.out.println("childNode"+childNode);
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
childNodeName = childNode.getNodeName();
if( childNodeName.equalsIgnoreCase("enterprises") )
{
String appldb = checkNull(genericUtility.getColumnValue("appl_db", dom));
if (childNode.getFirstChild() == null )
{
if(appldb.equalsIgnoreCase("S"))
{
errString = getErrorString("enterprises","NULENTRPRS",userId);
break;
}
}
else
{
String enterprise = checkNull(getColumnValue("enterprises",dom,"1"));
String [] temp = enterprise.split(",");
for(int i = 0 ;i < temp.length;i++)
{
String ent = temp[i];
int count=0;
sql = "SELECT COUNT(*) AS COUNT FROM ENTERPRISE WHERE ENTERPRISE=?";
System.out.println("pophelp query for enterprise " + sql);
pstmt = connection.prepareStatement(sql);
pstmt.setString(1, ent);
rs = pstmt.executeQuery();
if( rs.next() )
{
count = rs.getInt("COUNT");
}
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if(count == 0)
{
errString = getErrorString("enterprises","INVENTRPRS",userId);
break;
}
}
}
}
if( childNodeName.equalsIgnoreCase("req_id") )
{
reqid = genericUtility.getColumnValue("req_id", dom);//changed by Ashish.J
if (reqid!=null && reqid.trim().length()>0 )
{
sql = "SELECT COUNT(*) AS COUNT FROM SER_REQUEST WHERE REQ_ID =?";
pstmt = connection.prepareStatement(sql);
pstmt.setString(1,reqid);
rs = pstmt.executeQuery();
int count = 0;
if( rs.next() )
{
count = rs.getInt("COUNT");
}
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if(count == 0)
{
System.out.println("not a Valid Field name"+reqid);
errString = getErrorString("req_id","INVLDREQID",userId);
break;
}
}
}
if( childNodeName.equalsIgnoreCase("itm_ver") )
{
if (childNode.getFirstChild() == null )
{
}
else
{
String div = checkNull(getColumnValue("itm_ver",dom,"1"));
sql = "SELECT COUNT(*) AS COUNT FROM ITEMSER WHERE ITEM_SER =?";
pstmt = connection.prepareStatement(sql);
pstmt.setString(1,div);
rs = pstmt.executeQuery();
int count = 0;
if( rs.next() )
{
count = rs.getInt("COUNT");
}
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if(count == 0)
{
System.out.println("not a Valid Field name"+div);
errString = getErrorString("itm_ver","INVLDDIV",userId);
break;
}
}
}
if( childNodeName.equalsIgnoreCase("emp_code__given") )
{
if (childNode.getFirstChild() == null )
{
}
else
{
String empcg = checkNull(getColumnValue("emp_code__given",dom,"1"));
sql = "SELECT COUNT(1) NAME FROM USERS WHERE CODE =?";
pstmt = connection.prepareStatement(sql);
pstmt.setString(1,empcg);
rs = pstmt.executeQuery();
int count = 0;
if( rs.next() )
{
count = rs.getInt(1);
}
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if(count == 0)
{
errString = getErrorString("emp_code__given","INVLDSUB",userId);
break;
}
}
}
if( childNodeName.equalsIgnoreCase("emp_code__merge") )
{
if (childNode.getFirstChild() == null )
{
}
else
{
String empcm = checkNull(getColumnValue("emp_code__merge",dom,"1"));
sql = "SELECT COUNT(1) NAME FROM USERS WHERE CODE =?";
System.out.println("pophelp query for enterprise " + sql);
pstmt = connection.prepareStatement(sql);
pstmt.setString(1,empcm);
rs = pstmt.executeQuery();
int count = 0;
if( rs.next() )
{
count = rs.getInt(1);
}
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if(count == 0)
{
System.out.println("not a Valid Field name"+empcm);
errString = getErrorString("emp_code__merge","INVLDMER",userId);
break;
}
}
}
//End elseif
}//End for loop
}//End for loop
break;
}//case1
}//switch
}//try
catch (Exception e)
{
System.out.println ("Exception: wfValData(Document dom): " + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
throw new ITMException(e);
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(connection != null)
{
connection.close();
connection = null;
}
}
catch(Exception e)
{
errString = genericUtility.createErrorString(e);
}
}
return (errString);
}
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext,
String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document dom1 = null;
Document dom = null;
Document dom2 = null;
String valueXmlString = "";
try {
E12GenericUtility genericUtility = new ibase.utility.E12GenericUtility();
if (xmlString != null && xmlString.trim().length() != 0) {
BaseLogger.log("3", null, null, "itemchange header xmlString>>>>" + xmlString);
dom = genericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length() != 0) {
BaseLogger.log("3", null, null, "xmlString1>>>>" + xmlString1);
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length() != 0) {
BaseLogger.log("3", null, null, "xmlString2>>>>" + xmlString2);
dom2 = genericUtility.parseString(xmlString2);
BaseLogger.log("3", null, null, "dom2:::-" + genericUtility.serializeDom(dom2));
}
valueXmlString = itemChanged(dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams);
} catch (Exception e) {
BaseLogger.log("3", null, null, "Exception itemChanged::::" + e.getMessage() + ":");
e.printStackTrace();
}
BaseLogger.log("3", null, null, "returning from itemChanged method");
return valueXmlString;
}
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn,String editFlag, String xtraParams) throws RemoteException, ITMException
{
System.out.println(" itemchange method called...Ajit");
System.out.println(" itemchange method called...Ajit::"+editFlag);
BaseLogger.log("3", null, null, "Itemchanged Called");
StringBuffer valueXmlString = new StringBuffer();
int currentFormNo = 0;
String userId = "",sql="",empmcode="";//changed by Ashish.J
PreparedStatement pstmt = null;
ResultSet rs = null;
Connection conn=null;
try
{
E12GenericUtility genericUtility = new ibase.utility.E12GenericUtility();
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");//changed by Ashish.J
if (objContext != null && objContext.trim().length() > 0)
currentFormNo = Integer.parseInt(objContext);
currentColumn = currentColumn == null ? "" : currentColumn.trim();
SimpleDateFormat formatter = new SimpleDateFormat(genericUtility.getApplDateFormat());
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></header>");
switch (currentFormNo)
{
case 1:// first From //this code for auto date generates
valueXmlString.append("<Detail1>");
if ("itm_default".equalsIgnoreCase(currentColumn))
{
Date dte = new Date();
String currentDate = "";
currentDate = formatter.format(dte);
valueXmlString.append("<tran_date>").append("<![CDATA[" + currentDate + "]]>").append("</tran_date>");
valueXmlString.append("<emp_code__given>").append("<![CDATA[" + userId + "]]>").append("</emp_code__given>");//changed by Ashish.J
valueXmlString.append("<emp_code__merge>").append("<![CDATA[" + userId + "]]>").append("</emp_code__merge>");
valueXmlString.append("<exec_rights>").append("<![CDATA[A]]>").append("</exec_rights>");
sql = "SELECT NAME FROM USERS WHERE CODE='" + userId + "'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
String empgName = "";
if (rs.next())
{
empgName = rs.getString("NAME") != null ? rs.getString("NAME").trim() : "";
}
if (rs!= null)
{
rs.close();
rs = null;
}
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<name><![CDATA[").append(empgName).append("]]></name>\r\n");
valueXmlString.append("<users_name><![CDATA[").append(empgName).append("]]></users_name>\r\n");
//changed by Ashish.J
}
else if ("itm_defaultedit".equalsIgnoreCase(currentColumn))
{
String applDB = checkNull(genericUtility.getColumnValue("appl_db", dom));
String selEnterprises = checkNull(genericUtility.getColumnValue("enterprises", dom));
if (applDB.equalsIgnoreCase("E"))
{
valueXmlString.append("<enterprises protect='1'>").append("<![CDATA[" + selEnterprises + "]]>").append("</enterprises>");
}
else
{
valueXmlString.append("<enterprises protect='0'>").append("<![CDATA[" + selEnterprises + "]]>").append("</enterprises>");
}
//changed by Ashish.J
valueXmlString.append("<emp_code__given>").append("<![CDATA[" + userId + "]]>").append("</emp_code__given>");
sql = "SELECT NAME FROM USERS WHERE CODE='" + userId + "'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
String empgName = "";
if (rs.next())
{
empgName = rs.getString("NAME") != null ? rs.getString("NAME").trim() : "";
}
if (rs!= null)
{
rs.close();
rs = null;
}
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<name><![CDATA[").append(empgName).append("]]></name>\r\n");
//changed by Ashish.J
}
else if (currentColumn.trim().equalsIgnoreCase("req_id"))
{
Timestamp requestDate = null;//changed by Ashish.J
String reqID = checkNull(genericUtility.getColumnValue("req_id", dom));
sql = "select req_date from ser_request where req_id= '" + reqID + "'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next())
{
requestDate = rs.getTimestamp("req_date");
}
if (rs!= null)
{
rs.close();
rs = null;
}
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
//changed by Ashish.J
//formatter = new SimpleDateFormat(genericUtility.getApplDateFormat());
//String reqDate = formatter.format(requestDate);
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
if(requestDate !=null)
{
//valueXmlString.append("<req_date>").append("<![CDATA[" + requestDate + "]]>").append("</req_date>");
valueXmlString.append("<req_date>").append("<![CDATA["+ sdf.format(requestDate).toString() +"]]>").append("</req_date>");
}
else
{
//valueXmlString.append("<req_date>").append("<![CDATA[" + "" + "]]>").append("</req_date>");
valueXmlString.append("<req_date>").append("<![CDATA["+ "" +"]]>").append("</req_date>");
}//changed by Ashish.J
}
else if ("appl_db".equalsIgnoreCase(currentColumn)) {
String appldb = checkNull(genericUtility.getColumnValue("appl_db", dom));
if (appldb.equalsIgnoreCase("E"))
{
valueXmlString.append("<enterprises protect='1'>").append("</enterprises>");
}
else
{
valueXmlString.append("<enterprises protect='0'>").append("</enterprises>");
}
}
else if ("emp_code__given".equalsIgnoreCase(currentColumn))
{
String empgcode = checkNull(genericUtility.getColumnValue("emp_code__given", dom));
sql = "SELECT NAME FROM USERS WHERE CODE='" + empgcode + "'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
String empgName = "";
if (rs.next())
{
empgName = rs.getString("NAME") != null ? rs.getString("NAME").trim() : "";
}
if (rs!= null)
{
rs.close();
rs = null;
}
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<name><![CDATA[").append(empgName).append("]]></name>\r\n");
}
else if ("emp_code__merge".equalsIgnoreCase(currentColumn))
{
empmcode = checkNull(genericUtility.getColumnValue("emp_code__merge", dom));
sql = "SELECT NAME FROM USERS WHERE CODE='" + empmcode + "'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
String empmName = "";
if (rs.next())
{
empmName = rs.getString("NAME") != null ? rs.getString("NAME").trim() : "";
}
if (rs!= null)
{
rs.close();
rs = null;
}
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<users_name><![CDATA[").append(empmName).append("]]></users_name>\r\n");
}
/* else if ("enterprises".equalsIgnoreCase(currentColumn))
{
String entrpcode = genericUtility.getColumnValue("enterprises", dom1);
String sql = "SELECT ENTERPRISE_DESCR FROM ENTERPRISE WHERE ENTERPRISE in('"+ entrpcode.replaceAll(",", "','") + "')";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
String entrpname = "";
while (rs.next())
{
String enterpriseDescr = rs.getString("ENTERPRISE_DESCR");
if (entrpname.length() == 0)
{
entrpname = enterpriseDescr;
}
else
{
entrpname = entrpname + " , " + enterpriseDescr;
}
}
if (rs!= null)
{
rs.close();
rs = null;
}
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<enterprise_descr><![CDATA[").append(entrpname).append("]]></enterprise_descr>\r\n");
} */
else if ("itm_ver".equalsIgnoreCase(currentColumn))
{
String itmver = checkNull(genericUtility.getColumnValue("itm_ver", dom));
sql = "SELECT DESCR FROM ITEMSER WHERE ITEM_SER='" + itmver + "'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
String itmvername = "";
if (rs.next())
{
System.out.println("enter in customer");
itmvername = rs.getString("DESCR") != null ? rs.getString("DESCR").trim() : "";
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<descr><![CDATA[").append(itmvername).append("]]></descr>\r\n");
}
valueXmlString.append("</Detail1>");
break;
}// End Switch
valueXmlString.append("</Root>");
} // End Try
catch (Exception e) {
e.printStackTrace();
BaseLogger.log("3", null, null, "Exception ::" + e.getMessage());
throw new ITMException(e);
} finally
{
try
{
if (rs!= null)
{
rs.close();
rs = null;
}
if(pstmt!=null)
{
pstmt.close();
pstmt = null;
}
if (conn!= null)
{
conn.close();
conn = null;
}
}
catch (Exception d)
{
d.printStackTrace();
}
}
BaseLogger.log("3", null, null, "\n HealthProfile:ValueXmlString :" + valueXmlString + ":*******");
return valueXmlString.toString();
}
public String checkNull(String input)
{
if (input == null || "null".equalsIgnoreCase(input))
{
input= "";
}
return input.trim();
}
}
\ No newline at end of file
package ibase.webitm.ejb.sys;
import ibase.system.config.ConnDriver;
import ibase.utility.BaseLogger;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.*;
import java.util.HashMap;
import java.util.Iterator;
import ibase.webitm.utility.TransIDGenerator;
import ibase.utility.CommonConstants;
public class ManageSqlConf extends ActionHandlerEJB
{
int reUpdateCnt = 0;
String sqlError = "";
public String confirm( String tranId, String xtraParams, String forcedFlag ) throws RemoteException,ITMException
{
System.out.println("HeaderDetailConf Called Ajit!!!!!........["+tranId+"]");
boolean isError = false;
String applDB = "",enterprises="";
String sql = "";
String requestID = "";
ResultSet rs = null;
PreparedStatement pstmt = null;
Connection con = null;
String errString = "";
String schemaName = "";
String enterpriseSQL="";
ITMDBAccessEJB itmdbAccessLocal = null ;
boolean isThisObject=false;
try
{
itmdbAccessLocal = new ITMDBAccessEJB();
GenericUtility genericUtility = GenericUtility.getInstance();
con = getConnection();
con.setAutoCommit(false);
String userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"));
String chgTerm = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"termId"));
//Changes Start -- 13 Nov AJIT
// After fetching applDB, enterprises, requestID
System.out.println("Checking exec_rights dependency for tran_id: " + tranId);
String execRights = "";
String tranIdRef = "";
String checkSql = "SELECT tran_id__ref,EXEC_RIGHTS FROM SQL_CHANGES WHERE TRAN_ID = ?";
pstmt = con.prepareStatement(checkSql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
if (rs.next()) {
tranIdRef = checkNull(rs.getString("tran_id__ref"));
execRights = checkNull(rs.getString("EXEC_RIGHTS"));
}
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
if ("D".equalsIgnoreCase(execRights)) {
System.out.println("This transaction has exec_rights = 'D', checking for dependent 'Q' confirmation...");
String qCheckSql = "SELECT CONFIRMED FROM SQL_CHANGES WHERE EXEC_RIGHTS = 'Q' and tran_id__ref = "+tranIdRef;
pstmt = con.prepareStatement(qCheckSql);
rs = pstmt.executeQuery();
boolean qConfirmed = false;
if (rs.next()) {
String confirmedFlag = checkNull(rs.getString("CONFIRMED"));
if ("Y".equalsIgnoreCase(confirmedFlag)) {
qConfirmed = true;
}
}
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
if (!qConfirmed) {
System.out.println("Cannot confirm this transaction. The dependent record with exec_rights = 'Q' is not yet confirmed.");
itmdbAccessLocal.getErrorString("confirmed", "VTCONFIRM", "","",con);
return errString; // Stop execution here
}
}
//Changes End -- 13 Nov AJIT
HashMap<String,String> schemaListMap= new HashMap<String,String>();
sql = "SELECT APPL_DB,ENTERPRISES,REQ_ID FROM SQL_CHANGES WHERE TRAN_ID=?";
pstmt = con.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
if( rs.next() )
{
applDB = checkNull( rs.getString("APPL_DB") );
enterprises = checkNull( rs.getString("ENTERPRISES") );
requestID = checkNull( rs.getString("REQ_ID") );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
if(applDB.equalsIgnoreCase("E"))
{
sql = "SELECT SCHEMA_NAME,ENTERPRISE FROM ENTERPRISE WHERE SCHEMA_NAME IS NOT NULL";
pstmt = con.prepareStatement(sql);
rs = pstmt.executeQuery();
while( rs.next() )
{
schemaName = checkNull( rs.getString("SCHEMA_NAME") );
enterpriseSQL = checkNull( rs.getString("ENTERPRISE") );
schemaListMap.put(schemaName,enterpriseSQL);
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
}
if(applDB.equalsIgnoreCase("S"))
{
String EnterPriseInFormat=getFormattedStringBuff(enterprises);
sql = "SELECT SCHEMA_NAME,ENTERPRISE FROM ENTERPRISE WHERE ENTERPRISE IN("+EnterPriseInFormat+") " ;
pstmt = con.prepareStatement(sql);
rs = pstmt.executeQuery();
while( rs.next() )
{
schemaName = checkNull( rs.getString("SCHEMA_NAME") );
enterpriseSQL = checkNull( rs.getString("ENTERPRISE") );
schemaListMap.put(schemaName,enterpriseSQL);
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
}
sql = "SELECT ORA_STMNT,LINE_NO FROM SQL_CHANGES_DET WHERE TRAN_ID=?";
pstmt = con.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
while( rs.next() )
{
String oracleStatment = checkNull( rs.getString("ORA_STMNT") );
String linNo = checkNull( rs.getString("LINE_NO") );
System.out.println("oracle execute statment["+oracleStatment+"]");
if( oracleStatment.lastIndexOf(";") != -1 )
{
if(!oracleStatment.toUpperCase().startsWith("CREATE"))
{
BaseLogger.log("3", null, null, "Inside if oracleStatment [" + oracleStatment + "]");//Added by Ashish.J
int endIndex=oracleStatment.lastIndexOf(";");
oracleStatment=oracleStatment.substring(0, endIndex);
}
else if(oracleStatment.toUpperCase().startsWith("CREATE TABLE"))
{
BaseLogger.log("3", null, null, "Inside else oracleStatment [" + oracleStatment + "]");//Added by Ashish.J
int endIndex=oracleStatment.lastIndexOf(";");
oracleStatment=oracleStatment.substring(0, endIndex);
}
}
if(oracleStatment.toUpperCase().startsWith("CREATE") && !oracleStatment.toUpperCase().startsWith("CREATE TABLE"))
{
BaseLogger.log("3", null, null, "Inside is the object oracleStatment [" + oracleStatment + "]");//Added by Ashish.J
isThisObject=true;
}
//if( oracleStatment.toUpperCase().startsWith("ALTER") || oracleStatment.toUpperCase().startsWith("INSERT INTO") || oracleStatment.toUpperCase().startsWith("UPDATE") || oracleStatment.toUpperCase().startsWith("DELETE"))
//{
executeQueries(con,schemaListMap, oracleStatment,tranId,linNo,requestID,userId,chgTerm,isThisObject) ;
//}
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
String upSql="UPDATE SQL_CHANGES SET CONFIRMED='Y',CONF_DATE=SYSDATE,EMP_CODE_APRV=?,EXECUTED='Y' WHERE TRAN_ID=?";
pstmt = con.prepareStatement(upSql);
pstmt.setString(1, userId);
pstmt.setString(2, tranId);
int updCnt = pstmt.executeUpdate();
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
System.out.println("update count is["+updCnt+"]");
if(updCnt>0)
{
errString = itmdbAccessLocal.getErrorString("confirmed", "VTCONFIRM", "","",con);
System.out.println("errString is "+ errString);
}
}
catch(Exception e)
{
isError = true;
try
{
con.rollback();
}
catch(Exception e1)
{
e1.printStackTrace();
}
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
System.out.println("Commiting and Closing Connection..........");
if ( !(isError) )
{
System.out.println( "inside finally if" );
con.commit();
//errString = itmdbAccessLocal.getErrorString("","TEMCONFIRM",loginEmpCode);
//errString = itmdbAccessLocal.getErrorString("confirmed", "TEMCONFIRM", "","",con);
}
else
{
System.out.println( "inside finally rollback else" );
con.rollback();
}
if( pstmt != null )
{
System.out.println( "inside finally if pstmt " );
pstmt.close();
pstmt = null;
}
if( con != null && !con.isClosed() )
{
System.out.println( "inside finally if con " );
con.close();
con = null;
}
}
catch( Exception e)
{
e.printStackTrace();
}
}
System.out.println("errString is +++:"+errString);
return errString;
}
private String checkNull(String input)
{
if(input == null)
{
input = "";
}
return input;
}
private String getFormattedStringBuff( String data )
{
StringBuffer dataString = new StringBuffer();
try
{
String[] dataArr = null;
if ( data.indexOf(",") == -1 )
{
dataString.append( "'"+data+"'" );
}
else
{
dataArr = data.split(",");
for (int i=0; i < dataArr.length; i++ )
{
if ( i == 0 )
{
dataString.append( "'"+dataArr[i]+"'" );
}
else
{
dataString.append( "," );
dataString.append( "'"+dataArr[i]+"'" );
}
}
}
}
catch (Exception ex)
{
ex.printStackTrace();
}
return dataString.toString();
}
private int executeQueries(Connection connection,HashMap<String,String> schemaListMap, String Sql,String tranID,String lineNo,String requestID,String userId,String chgTerm,boolean isThisObjectType)
{
BaseLogger.log("3", null, null, "Inside executeQueries [" + Sql + "]");
ConnDriver connDriver = new ConnDriver();
Connection conn = null;
Statement stmnt = null;
int updateCount=0;
CallableStatement callableStmt = null;
String error = "";//Added by Ashish.J
try
{
System.out.println("isThisObjectType:::::["+isThisObjectType+"]");
if(!schemaListMap.isEmpty())
{
Iterator<String> itr = schemaListMap.keySet().iterator();
while (itr.hasNext())
{
String schema = itr.next();
String enterprise = schemaListMap.get(schema);
int updCount = 0;
conn = connDriver.getConnectDB(schema);
if( conn == null )
{
BaseLogger.log("3", null, null, "Unable to get connection for [" + schema + "]");
throw new Exception("Unable to get connection for [" + schema + "]");
}
if(checkNull(Sql).trim().length() > 0)
{
BaseLogger.log("3", null, null, "is the object---[" + isThisObjectType + "]");
if(isThisObjectType)
{
BaseLogger.log("3", null, null, "is the object if [" + isThisObjectType + "]");
String plsql = " begin " +
" dbms_metadata.set_transform_param ( DBMS_METADATA.SESSION_TRANSFORM, 'SQLTERMINATOR', false ); " +
" end; ";
callableStmt = conn.prepareCall(plsql);
callableStmt.execute();
}
try
{
BaseLogger.log("3", null, null, "Inside try....");//Added by Ashish.J
stmnt = conn.createStatement();
updCount = stmnt.executeUpdate(Sql);
error="";
BaseLogger.log("3", null, null, "Inside try of error..["+error+"]");//Added by Ashish.J
BaseLogger.log("3", null, null, "schema...["+schema+"]updateCnt to get Sql [" + updCount + "]");
insertIntoSqlExectionLog(connection,tranID,enterprise,lineNo,requestID,Sql,updCount, "C" , userId,chgTerm,error);
}
catch(SQLException ise)
{
error=ise.getMessage();//Added by Ashish.J
BaseLogger.log("3", null, null, "Inside catch of error..["+error+"]");
//insertIntoSqlExectionLog(connection,tranID,enterprise,lineNo,requestID,Sql, userId,chgTerm);
BaseLogger.log("3", null, null, "Inside catch....");
insertIntoSqlExectionLog(connection,tranID,enterprise,lineNo,requestID,Sql,updCount, "E" , userId,chgTerm,error);
}//Added by Ashish.J
finally
{
if (stmnt != null)
{
stmnt.close();
stmnt = null;
}
}
}
Thread.sleep(100);
conn.commit();
}
}
}
catch (Exception e)
{
try
{
BaseLogger.log("3", null, null, "Excepotion in executeAlterQueries occured while executing Alter Queries>>>>" + e.getMessage());
conn.rollback();
}
catch (SQLException sqle)
{
BaseLogger.log("3", null, null, "SQLException executeAlterQueries occured during rollback:: " + sqle.getMessage());
sqle.printStackTrace();
}
e.printStackTrace();
}
finally
{
try
{
if (callableStmt != null)
{
callableStmt.close();
callableStmt = null;
}
if (conn != null)
{
conn.close();
conn = null;
}
}
catch (SQLException sqle)
{
BaseLogger.log("3", null, null, "SQLException executeAlterQueries inside finally:: "+ sqle.getMessage());
sqle.printStackTrace();
}
}
return updateCount;
}
//Added by Ashish.J one more parameter has added sql_exception
private String insertIntoSqlExectionLog( Connection conn, String refTranID, String enterprise, String lineNo,String requestID,String Sql,int updateCnt, String status, String userId,String chgTerm,String error) throws ITMException, RemoteException
{
System.out.println("inside insertIntoSqlExectionLog method");
String errorString="";
int insCount=0;
PreparedStatement pstmtIns=null;
ITMDBAccessEJB itmdbAccessLocal = new ITMDBAccessEJB();
try
{
System.out.println("inside try of method");
GenericUtility genericUtility = GenericUtility.getInstance();
String Aformat= genericUtility.getApplDateFormat();
java.text.SimpleDateFormat dtf= new java.text.SimpleDateFormat(Aformat);
String currDate = dtf.format(new java.util.Date());
System.out.println("currDate --> ["+currDate+"]");
System.out.println("insertIntoSqlExectionLog in --> ["+error+"]");
String tranID=generateTranID(conn);
String insSql="INSERT INTO SQL_EXEC_LOG(TRAN_ID,REF_TRAN_ID,ENTERPRISE,LINE_NO,REQ_ID,ORA_STMNT,CHG_DATE,CHG_USER,CHG_TERM,RESULT,STATUS,SQL_EXCEPTION) "
+ "VALUES (?,?,?,?,?,?,?,?,?,?,?,?)";
pstmtIns = conn.prepareStatement(insSql);
pstmtIns.setString(1, tranID);
pstmtIns.setString(2, refTranID);
pstmtIns.setString(3,enterprise);
pstmtIns.setString(4, lineNo);
pstmtIns.setString(5, requestID);
pstmtIns.setString(6, Sql);
pstmtIns.setTimestamp( 7,java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(checkNull(currDate),genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()))); //Added by kailash on 24-04-18.
pstmtIns.setString( 8,userId);
pstmtIns.setString( 9,chgTerm);
pstmtIns.setInt( 10,updateCnt);
pstmtIns.setString( 11,status);
pstmtIns.setString( 12,error);
insCount = pstmtIns.executeUpdate();//Added by Ashish.J one more parameter has added sql_exception
System.out.println("insCount into strg_meet_items["+lineNo+"] insCount= ["+insCount+"]");
pstmtIns.clearParameters();
if (pstmtIns != null)
{
pstmtIns.close();
pstmtIns = null;
}
}
catch (Exception e)
{
errorString= itmdbAccessLocal.getErrorString("confirmed", "CONFFAILED", "","",conn);
return errorString;
}
finally
{
{
try
{
if (pstmtIns != null)
{
pstmtIns.close();
pstmtIns = null;
}
} catch (SQLException e)
{
e.printStackTrace();
}
}
}
return errorString;
}
public String CancelLogTransaction( String tranId, String xtraParams, String forcedFlag ) throws RemoteException,ITMException
{
boolean isError = false;
ResultSet rs = null;
PreparedStatement pstmt = null;
Connection con = null;
ITMDBAccessEJB itmdbAccessLocal = null ;
String errString="";
String status="";
try
{
itmdbAccessLocal = new ITMDBAccessEJB();
GenericUtility genericUtility = GenericUtility.getInstance();
con = getConnection();
con.setAutoCommit(false);
String sql = "SELECT STATUS FROM SQL_EXEC_LOG WHERE TRAN_ID=?";
pstmt = con.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
if( rs.next() )
{
status = checkNull( rs.getString("STATUS") );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
if("C".equalsIgnoreCase(status))
{
errString = itmdbAccessLocal.getErrorString("confirmed", "VTECLNCANC", "","",con);
System.out.println("errString is "+ errString);
}
else if("X".equalsIgnoreCase(status))
{
errString = itmdbAccessLocal.getErrorString("confirmed", "VTMCANL1", "","",con);
System.out.println("errString is "+ errString);
}
else
{
String userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"));
String upSql="UPDATE SQL_EXEC_LOG SET STATUS='X' WHERE TRAN_ID=?";
pstmt = con.prepareStatement(upSql);
pstmt.setString(1, tranId);
int updCnt = pstmt.executeUpdate();
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
System.out.println("update count is["+updCnt+"]");
if(updCnt>0)
{
errString = itmdbAccessLocal.getErrorString("confirmed", "VTLVECAR01", "","",con);
System.out.println("errString is "+ errString);
}
}
}
catch(Exception e)
{
isError = true;
try
{
con.rollback();
}
catch(Exception e1)
{
e1.printStackTrace();
}
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if ( !(isError) )
{
con.commit();
//errString = itmdbAccessLocal.getErrorString("","TEMCONFIRM",loginEmpCode);
//errString = itmdbAccessLocal.getErrorString("confirmed", "TEMCONFIRM", "","",con);
}
else
{
con.rollback();
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if( con != null && !con.isClosed() )
{
con.close();
con = null;
}
}
catch( Exception e)
{
e.printStackTrace();
}
}
System.out.println("errString is +++:"+errString);
return errString;
}
public String ConfirmLog( String tranId, String xtraParams, String forcedFlag ) throws RemoteException,ITMException
{
System.out.println("managelogsql ConfirmLog........["+tranId+"]");
boolean isError = false;
String enterprises="";
String sql = "";
ResultSet rs = null;
PreparedStatement pstmt = null;
Connection con = null;
String errString = "";
String schemaName = "";
ITMDBAccessEJB itmdbAccessLocal = null ;
boolean isThisObject=false;
String sqlExecute="";
try
{
itmdbAccessLocal = new ITMDBAccessEJB();
GenericUtility genericUtility = GenericUtility.getInstance();
con = getConnection();
con.setAutoCommit(false);
String userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"));
sql = "SELECT ENTERPRISE FROM SQL_EXEC_LOG WHERE TRAN_ID=?";
pstmt = con.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
if( rs.next() )
{
enterprises = checkNull( rs.getString("ENTERPRISE") );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
String EnterPriseInFormat=getFormattedStringBuff(enterprises);
sql = "SELECT SCHEMA_NAME,ENTERPRISE FROM ENTERPRISE WHERE ENTERPRISE IN("+EnterPriseInFormat+") " ;
pstmt = con.prepareStatement(sql);
rs = pstmt.executeQuery();
if( rs.next() )
{
schemaName = checkNull( rs.getString("SCHEMA_NAME") );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
sql = "SELECT ORA_STMNT FROM SQL_EXEC_LOG WHERE TRAN_ID=?";
pstmt = con.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
if( rs.next() )
{
String oracleStatment = checkNull( rs.getString("ORA_STMNT") );
System.out.println("oracle execute statment["+oracleStatment+"]");
if( oracleStatment.lastIndexOf(";") != -1 )
{
if(!oracleStatment.toUpperCase().startsWith("CREATE"))
{
int endIndex=oracleStatment.lastIndexOf(";");
oracleStatment=oracleStatment.substring(0, endIndex);
}
else if(oracleStatment.toUpperCase().startsWith("CREATE TABLE"))
{
int endIndex=oracleStatment.lastIndexOf(";");
oracleStatment=oracleStatment.substring(0, endIndex);
}
}
if(oracleStatment.toUpperCase().startsWith("CREATE") && !oracleStatment.toUpperCase().startsWith("CREATE TABLE"))
{
isThisObject=true;
}
//if( oracleStatment.toUpperCase().startsWith("ALTER") || oracleStatment.toUpperCase().startsWith("INSERT INTO") || oracleStatment.toUpperCase().startsWith("UPDATE") || oracleStatment.toUpperCase().startsWith("DELETE"))
//{
sqlExecute=executeLogQueries(con,schemaName, oracleStatment,isThisObject) ;
//}
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}//changed by Ashish.J
if("SUCCESS".equalsIgnoreCase(sqlExecute))
{
//String upSql="UPDATE SQL_EXEC_LOG SET STATUS='C' WHERE TRAN_ID=?";
String upSql="UPDATE SQL_EXEC_LOG SET STATUS='C', RESULT = ?, SQL_EXCEPTION = ? WHERE TRAN_ID=?";
pstmt = con.prepareStatement(upSql);
pstmt.setInt(1, reUpdateCnt);
pstmt.setString(2, sqlError);
pstmt.setString(3, tranId);
int updCnt = pstmt.executeUpdate();
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
System.out.println("inside if update count is["+updCnt+"]");
if(updCnt>0)
{
errString = itmdbAccessLocal.getErrorString("confirmed", "VTCONFIRM", "","",con);
System.out.println("errString is "+ errString);
}
}
else
{
String upSql="UPDATE SQL_EXEC_LOG SET STATUS='E', RESULT = ?, SQL_EXCEPTION = ? WHERE TRAN_ID=?";
pstmt = con.prepareStatement(upSql);
pstmt.setInt(1, reUpdateCnt);
pstmt.setString(2, sqlError);
pstmt.setString(3, tranId);
int updCnt = pstmt.executeUpdate();
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
System.out.println("inside else update count is["+updCnt+"]");
errString = itmdbAccessLocal.getErrorString("confirmed", "CONFFAILED", "","",con);
}
}//Changed by Ashish.J
catch(Exception e)
{
isError = true;
try
{
con.rollback();
}
catch(Exception e1)
{
e1.printStackTrace();
}
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
System.out.println("Commiting and Closing Connection..........");
if ( !(isError) )
{
System.out.println( "inside finally if" );
con.commit();
//errString = itmdbAccessLocal.getErrorString("","TEMCONFIRM",loginEmpCode);
//errString = itmdbAccessLocal.getErrorString("confirmed", "TEMCONFIRM", "","",con);
}
else
{
System.out.println( "inside finally rollback else" );
con.rollback();
}
if( pstmt != null )
{
System.out.println( "inside finally if pstmt " );
pstmt.close();
pstmt = null;
}
if( con != null && !con.isClosed() )
{
System.out.println( "inside finally if con " );
con.close();
con = null;
}
}
catch( Exception e)
{
e.printStackTrace();
}
}
System.out.println("errString is +++:"+errString);
return errString;
}
private String executeLogQueries(Connection connection,String schemaName, String Sql,boolean isThisObjectType)
{
BaseLogger.log("3", null, null, "Inside executeQueries1 [" + Sql + "]");
ConnDriver connDriver = new ConnDriver();
Connection conn = null;
Statement stmnt = null;
int updateCount=0;
CallableStatement callableStmt = null;
String ExecuteSql="SUCCESS";
try
{
System.out.println("isThisObjectType1:::::["+isThisObjectType+"]");
conn = connDriver.getConnectDB(schemaName);
if( conn == null )
{
BaseLogger.log("3", null, null, "Unable to get connection for [" + schemaName + "]");
throw new Exception("Unable to get connection for [" + schemaName + "]");
}
if(checkNull(Sql).trim().length() > 0)
{
if(isThisObjectType)
{
String plsql = " begin " +
" dbms_metadata.set_transform_param ( DBMS_METADATA.SESSION_TRANSFORM, 'SQLTERMINATOR', false ); " +
" end; ";
callableStmt = conn.prepareCall(plsql);
callableStmt.execute();
}
try
{
BaseLogger.log("3", null, null, "Inside manageconf try");
stmnt = conn.createStatement();
//int updateCnt = stmnt.executeUpdate(Sql);
reUpdateCnt = stmnt.executeUpdate(Sql);
BaseLogger.log("3", null, null, "schema["+schemaName+"]updateCnt to get Sql [" + updateCount + "]");
}
catch(SQLException ise)
{
sqlError = ise.getMessage();
BaseLogger.log("3", null, null, "Inside manageconf catch::"+ise.getMessage());
ExecuteSql="NOT EXECUTE";
throw new ITMException(ise);
}
finally
{
if (stmnt != null)
{
stmnt.close();
stmnt = null;
}
}
}
Thread.sleep(100);
conn.commit();
}
catch (Exception e)
{
try
{
BaseLogger.log("3", null, null, "Excepotion in executeAlterQueries occured while executing Alter Queries>>>>::" + e.getMessage());
ExecuteSql="NOT EXECUTE";
conn.rollback();
//sqlError = e.getMessage();
}
catch (SQLException sqle)
{
BaseLogger.log("3", null, null, "SQLException executeAlterQueries occured during rollback:: " + sqle.getMessage());
sqle.printStackTrace();
}
e.printStackTrace();
}
finally
{
try
{
if (callableStmt != null)
{
callableStmt.close();
callableStmt = null;
}
if (conn != null)
{
conn.close();
conn = null;
}
}
catch (SQLException sqle)
{
BaseLogger.log("3", null, null, "SQLException executeAlterQueries inside finally:: "+ sqle.getMessage());
sqle.printStackTrace();
}
}
return ExecuteSql;
}
private String generateTranID( Connection conn ) throws ITMException
{
String uniqueKey = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
//System.out.println("RealTimeReportPos : Generating Primary Key ...........");
String keyStringQuery = "SELECT KEY_STRING, TRAN_ID_COL, REF_SER FROM TRANSETUP WHERE TRAN_WINDOW = 'w_sql_exec_log' ";
pstmt = conn.prepareStatement(keyStringQuery);
rs = pstmt.executeQuery();
if(rs.next())
{
String keyString = rs.getString("KEY_STRING");
String keyCol = rs.getString("TRAN_ID_COL");
String tranSer = rs.getString("REF_SER");
String xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
xmlValues = xmlValues + "<Header></Header>";
xmlValues = xmlValues + "<Detail1>";
xmlValues = xmlValues + "<tran_id></tran_id>";
xmlValues = xmlValues + "</Detail1></Root>";
TransIDGenerator tg = new TransIDGenerator(xmlValues, "BASE", CommonConstants.DB_NAME);
uniqueKey = tg.generateTranSeqID(tranSer, keyCol, keyString, conn);
}
rs.close(); rs = null;
pstmt.close();
pstmt = null;
}
catch(Exception exp)
{
System.out.println("Exception : RealTimeReportPos :generateTransID :==>\n");
throw new ITMException(exp);
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
System.out.println("Exception : RealTimeReportPos :getUniqueKey :finally==>");
throw new ITMException(e);
}
}
System.out.println("Generated Primary Key :"+uniqueKey);
return uniqueKey;
}
}
package ibase.webitm.ejb.sys;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import ibase.utility.BaseLogger;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
public class ManageSqlProceed extends ActionHandlerEJB {
public String updateStatus(String tranID, String xtraParams, String forcedFlag)
throws RemoteException, ITMException {
Connection conn = null;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
String quotType = "", custCode = "";
StringBuffer processDynXmlString = new StringBuffer();
int domId = 0;
int lineNo = 0;
UserInfoBean userInfo = null;
ResultSet fetchHospitalMappingRs = null;
PreparedStatement insertPs = null;
ValidatorEJB validatorEJB;
String errString = "";
try {
userInfo = getUserInfo();
validatorEJB = new ValidatorEJB();
BaseLogger.log("3", getUserInfo(), null, "ManageSqlProceed --> tranID [" + tranID + "]");
conn = getConnection();
String userId = validatorEJB.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
String tranIdRef = "";
int existingAprvLvl = 0;
String getAprvLvlSql = "select APRV_LEVEL, TRAN_ID__REF from sql_changes where tran_id = ?";
PreparedStatement getAprvLvlPs = conn.prepareStatement(getAprvLvlSql);
getAprvLvlPs.setString(1, tranID);
ResultSet getAprvLvlRs = getAprvLvlPs.executeQuery();
while(getAprvLvlRs.next()) {
existingAprvLvl = getAprvLvlRs.getInt("APRV_LEVEL");
tranIdRef = checkNull(getAprvLvlRs.getString("TRAN_ID__REF"));
}
if(tranIdRef.trim().length()!=0){
BaseLogger.log("3", getUserInfo(), null, "MSQLPAE Proceed already completed.");
return itmDBAccessEJB.getErrorString("", "MSQLPAE", "", "", conn);
}
if(existingAprvLvl<1) {
int updatedAprvLvl = existingAprvLvl+1;
BaseLogger.log("3", getUserInfo(), null, "ManageSqlProceed.updateStatus: updatedAprvLvl[" +updatedAprvLvl + "]");
// 🔹 Update APRV_LEVEL
String updateAprvLvlSql = "update sql_changes set APRV_LEVEL = ?, TXN_STATUS = 'T' where tran_id = ?";
PreparedStatement updateAprvLvlPs = conn.prepareStatement(updateAprvLvlSql);
updateAprvLvlPs.setInt(1, updatedAprvLvl);
updateAprvLvlPs.setString(2, tranID);
int updateAprvLvlCnt = updateAprvLvlPs.executeUpdate();
if (updateAprvLvlCnt > 0 && updatedAprvLvl == 1) {
conn.commit();
return itmDBAccessEJB.getErrorString("", "MSQLPROC", "", "", conn);
}
if (updateAprvLvlPs != null) {
updateAprvLvlPs.close();
updateAprvLvlPs = null;
}
}
else if(existingAprvLvl >= 1) {
return itmDBAccessEJB.getErrorString("", "MSQLAPROC", "", "", conn);
}
} catch (Exception e) {
if (conn != null) {
try {
conn.rollback();
} catch (Exception ex) {
ex.printStackTrace();
}
}
BaseLogger.log("3", getUserInfo(), null, "Exception in ManageSqlProceed.updateStatus: [" + e.getMessage() + "]");
}
finally {
try {
if (insertPs != null) insertPs.close();
if (conn != null) conn.close();
if (fetchHospitalMappingRs != null) fetchHospitalMappingRs.close();
} catch (Exception e) {
}
}
return " ";
}
private String checkNull(String input) {
if (input == null) {
input = "";
}
return input;
}
}
package ibase.webitm.ejb.sys;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;
import javax.naming.InitialContext;
import org.w3c.dom.Document;
import ibase.system.config.AppConnectParm;
import ibase.system.config.ConnDriver;
import ibase.utility.BaseLogger;
import ibase.utility.E12GenericUtility;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.MasterStatefulEJB;
import ibase.webitm.ejb.MasterStatefulLocal;
import ibase.webitm.utility.ITMException;
public class ManageSqlReleaseFromQC extends ActionHandlerEJB {
E12GenericUtility genericUtility = new E12GenericUtility();
public String updateStatus() throws RemoteException, ITMException {
return "";
}
public String updateStatus(String tranID, String xtraParams, String forcedFlag)
throws RemoteException, ITMException {
BaseLogger.log("3", null, null, " ManageSqlReleaseFromQC tranID::" + tranID + "]");
BaseLogger.log("3", null, null, "ManageSqlReleaseFromQC xtraParams::" + xtraParams + "]");
BaseLogger.log("3", null, null, "ManageSqlReleaseFromQC forcedFlag::" + forcedFlag + "]");
String action = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "actionTitle");
BaseLogger.log("3", null, null, "ManageSqlReleaseFromQC action::" + action + "]");
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
String retVal = "";
String refSer = "";
String signStatus = "";
String enterprises1 = "";
boolean isLocalConn = false;
PreparedStatement mSqlPstmt = null;
ResultSet mSqlRs = null;
PreparedStatement mSqlDetPstmt = null;
ResultSet mSqlDetRs = null;
String empCode = "";
String entityCode = "", reportTo = "", allocatedTo;
LocalDate tranDate = LocalDate.now();// for tranDate
LocalTime tranTime = LocalTime.now();
String tranDateStr = formatDateTime(tranDate, tranTime);
String tranId = "";
String reqId = "";
String custCode = "";
String empCodeGiven = "";
String empCodeMerge = "";
String executed = "";
String tranIdOrg = "";
String activeYn = "";
String itmVer = "";
String chgUser = "";
String chgTerm = "";
String confirmed = "";
String empCodeAprv = "";
String enterprises = "";
String applDb = "";
String execRights = "";
String tranIdRef = "";
String signRemarks = "";
String db2Statement = "";
String lineNo = "";
String oracleStatement = "";
String statementType = "";
// InitialContext ctx = null;
String retString = null;
String executionRights = "";
Connection conn = null;
// MasterStatefulLocal masterStateful = null; // for ejb3
try {
UserInfoBean userInfo = getUserInfo();
BaseLogger.log("3", null, null, "userInfo 91::" + userInfo.toString() + "]");
String profileIds = userInfo.getProfileId();
BaseLogger.log("3", null, null, "userInfo 91::profileIds:: " + profileIds + "]");
String[] profileIdArr = profileIds.split(",");
boolean QcProfileIdFlag = false;
for (String id : profileIdArr) {
if (id != null && id.trim().equals("MSQC")) {
QcProfileIdFlag = true;
break;
}
}
BaseLogger.log("3", null, null, "QcProfileIdFlag::: " + QcProfileIdFlag);
if (!QcProfileIdFlag) {
BaseLogger.log("3", null, null, "Not contain");
return itmDBAccessEJB.getErrorString("", "INVPROF", "", "", conn);
}
// CommonDBAccessEJB commonDBAccessEJB = new CommonDBAccessEJB();
// AppConnectParm appConnect = new AppConnectParm();
// ctx = new InitialContext(appConnect.getProperty());
// masterStateful =
// (MasterStatefulLocal)ctx.lookup("ibase/MasterStatefulEJB/local");
AppConnectParm appConnect = new AppConnectParm();
InitialContext initialContext = new InitialContext(appConnect.getProperty());
if (conn == null) {
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB(userInfo.getTransDB());
}
String qcConfirmed = "";
String tranIdReference = "";
String getAprvLvlSql = "select confirmed,tran_id__ref from sql_changes where tran_id = ? and exec_rights = 'Q'";
PreparedStatement getAprvLvlPs = conn.prepareStatement(getAprvLvlSql);
getAprvLvlPs.setString(1, tranID);
ResultSet getAprvLvlRs = getAprvLvlPs.executeQuery();
while (getAprvLvlRs.next()) {
qcConfirmed = checkNull(getAprvLvlRs.getString("confirmed"));
tranIdReference = checkNull(getAprvLvlRs.getString("tran_id__ref"));
}
tranID = tranIdReference;
if (!qcConfirmed.trim().equalsIgnoreCase("Y")) {
return itmDBAccessEJB.getErrorString("", "QCNOTC", "", "", conn);
}
String msqlDetSql = "SELECT TRAN_ID, TRAN_DATE, REQ_ID, REQ_DATE, CUST_CODE, EMP_CODE__GIVEN, EMP_CODE__MERGE, "
+ "EXECUTED, TRAN_ID__ORG, ACTIVE_YN, ITM_VER, CHG_USER, CHG_TERM, CHG_DATE, CONFIRMED, CONF_DATE, "
+ "EMP_CODE_APRV, ENTERPRISES, APPL_DB, EXEC_RIGHTS, TRAN_ID__REF "
+ "FROM sql_changes where tran_id = ?";
mSqlPstmt = conn.prepareStatement(msqlDetSql);
mSqlPstmt.setString(1, tranID);
mSqlRs = mSqlPstmt.executeQuery();
while (mSqlRs.next()) {
// Directly fetching and using values from result set without declaring
// variables
tranId = checkNull(mSqlRs.getString("TRAN_ID"));
reqId = checkNull(mSqlRs.getString("REQ_ID"));
custCode = checkNull(mSqlRs.getString("CUST_CODE"));
empCodeGiven = checkNull(mSqlRs.getString("EMP_CODE__GIVEN"));
empCodeMerge = checkNull(mSqlRs.getString("EMP_CODE__MERGE"));
executed = checkNull(mSqlRs.getString("EXECUTED"));
tranIdOrg = checkNull(mSqlRs.getString("TRAN_ID__ORG"));
activeYn = checkNull(mSqlRs.getString("ACTIVE_YN"));
itmVer = checkNull(mSqlRs.getString("ITM_VER"));
chgUser = checkNull(mSqlRs.getString("CHG_USER"));
chgTerm = checkNull(mSqlRs.getString("CHG_TERM"));
confirmed = checkNull(mSqlRs.getString("CONFIRMED"));
empCodeAprv = checkNull(mSqlRs.getString("EMP_CODE_APRV"));
enterprises = checkNull(mSqlRs.getString("ENTERPRISES"));
applDb = checkNull(mSqlRs.getString("APPL_DB"));
execRights = checkNull(mSqlRs.getString("EXEC_RIGHTS"));
tranIdRef = checkNull(mSqlRs.getString("TRAN_ID__REF"));
// Do something with these values directly (e.g., use them in logic, or store in
// a collection)
System.out.println("TRAN_ID: " + tranId + ", " +
"TRAN_DATE: " + tranDate + ", " +
"REQ_ID: " + reqId + ", " +
"CUST_CODE: " + custCode + ", " +
"EMP_CODE__GIVEN: " + empCodeGiven + ", " +
"EMP_CODE__MERGE: " + empCodeMerge + ", " +
"EXECUTED: " + executed + ", " +
"TRAN_ID__ORG: " + tranIdOrg + ", " +
"ACTIVE_YN: " + activeYn + ", " +
"ITM_VER: " + itmVer + ", " +
"CHG_USER: " + chgUser + ", " +
"CHG_TERM: " + chgTerm + ", " +
"CONFIRMED: " + confirmed + ", " +
"EMP_CODE_APRV: " + empCodeAprv + ", " +
"ENTERPRISES: " + enterprises + ", " +
"APPL_DB: " + applDb + ", " +
"EXEC_RIGHTS: " + execRights + ", " +
"TRAN_ID__REF: " + tranIdRef);
}
StringBuffer processDynXmlString = new StringBuffer();
// Start building the XML string
processDynXmlString.append("<DocumentRoot><description>Datawindow Root</description><group0>");
processDynXmlString.append(
"<description>Group0 description</description><Header0><description>Header0 members</description>");
processDynXmlString.append("<objName><![CDATA[sql_changes]]></objName>");
processDynXmlString.append("<pageContext><![CDATA[1]]></pageContext>");
processDynXmlString.append("<objContext><![CDATA[1]]></objContext>");
processDynXmlString.append("<editFlag><![CDATA[A]]></editFlag>");
processDynXmlString.append("<focusedColumn><![CDATA[]]></focusedColumn>");
processDynXmlString.append("<action><![CDATA[SAVE]]></action>");
processDynXmlString.append("<elementName><![CDATA[]]></elementName>");
processDynXmlString.append("<keyValue><![CDATA[1]]></keyValue>");
processDynXmlString.append("<saveLevel><![CDATA[1]]></saveLevel>");
processDynXmlString.append("<forcedSave><![CDATA[false]]></forcedSave>");
processDynXmlString.append("<Detail1 dbID='' domID='1' objContext='1' objName='sql_changes'>");
processDynXmlString
.append("<attribute IS_CHANGE='Y' pkNames='TRAN_ID' selected='N' status='N' updateFlag='A'/>");
// processDynXmlString.append("<tran_id/>");
processDynXmlString.append("<tran_date><![CDATA[" + dateFormatter(tranDateStr) + "]]></tran_date>");
processDynXmlString.append("<req_id><![CDATA[" + reqId + "]]></req_id>");
processDynXmlString.append("<req_date><![CDATA[" + dateFormatter(tranDateStr) + "]]></req_date>");
processDynXmlString.append("<emp_code__given><![CDATA[" + empCodeGiven + "]]></emp_code__given>");
processDynXmlString.append("<emp_code__merge><![CDATA[" + empCodeMerge + "]]></emp_code__merge>");
processDynXmlString.append("<executed><![CDATA[N]]></executed>");
processDynXmlString.append("<tran_id__org><![CDATA[" + tranIdOrg + "]]></tran_id__org>");
processDynXmlString.append("<active_yn><![CDATA[" + activeYn + "]]></active_yn>");
processDynXmlString.append("<chg_user><![CDATA[" + chgUser + "]]></chg_user>");
processDynXmlString.append("<chg_term><![CDATA[" + chgTerm + "]]></chg_term>");
processDynXmlString.append("<confirmed><![CDATA[N]]></confirmed>");
processDynXmlString.append("<conf_date><![CDATA[]]></conf_date>");
processDynXmlString.append("<itm_ver><![CDATA[]]></itm_ver>");
processDynXmlString.append("<enterprises><![CDATA[{{enterprises}}]]></enterprises>");
processDynXmlString.append("<emp_code_aprv><![CDATA[]]></emp_code_aprv>");
processDynXmlString.append("<chg_date><![CDATA[" + dateFormatter(tranDateStr) + "]]></chg_date>");
processDynXmlString.append("<appl_db><![CDATA[" + applDb + "]]></appl_db>");
processDynXmlString.append("<exec_rights><![CDATA[{{executionRights}}]]></exec_rights>");
processDynXmlString.append("<tran_id__ref><![CDATA[" + tranId + "]]></tran_id__ref>");
processDynXmlString.append("</Detail1>");
String msqlDet1Sql = "SELECT LINE_NO, ORA_STMNT, DB2_STMNT, STMNT_TYPE FROM sql_changes_det WHERE tran_id = ?";
mSqlDetPstmt = conn.prepareStatement(msqlDet1Sql);
mSqlDetPstmt.setString(1, tranID);
mSqlDetRs = mSqlDetPstmt.executeQuery();
while (mSqlDetRs.next()) {
lineNo = checkNull(mSqlDetRs.getString("LINE_NO"));
oracleStatement = checkNull(mSqlDetRs.getString("ORA_STMNT"));
db2Statement = checkNull(mSqlDetRs.getString("DB2_STMNT"));
statementType = checkNull(mSqlDetRs.getString("STMNT_TYPE"));
processDynXmlString.append("<Detail2 dbID=':' domID='2' objName=\"sql_changes\" objContext=\"2\">");
processDynXmlString.append("<attribute pkNames=\"\" selected=\"N\" updateFlag=\"A\" status=\"N\" />");
processDynXmlString.append("<line_no><![CDATA[").append(lineNo).append("]]></line_no>");
processDynXmlString.append("<ora_stmnt><![CDATA[").append(oracleStatement).append("]]></ora_stmnt>");
processDynXmlString.append("<db2_stmnt><![CDATA[").append(db2Statement).append("]]></db2_stmnt>");
processDynXmlString.append("<stmnt_type><![CDATA[").append(statementType).append("]]></stmnt_type>");
processDynXmlString.append("</Detail2>");
}
if (mSqlDetRs != null) {
mSqlDetRs.close();
mSqlDetRs = null;
}
if (mSqlDetPstmt != null) {
mSqlDetPstmt.close();
mSqlDetPstmt = null;
}
processDynXmlString.append("</Header0></group0></DocumentRoot>");
// Now, processDynXmlString contains the dynamically generated XML with the
// values from your query
System.out.println(processDynXmlString.toString());
//
// Added for PILOT transaction -- START
// Fetch DB_PILOT from ENTERPRISE table to use as the enterprise for the PILOT
// transaction
if (action.trim().equalsIgnoreCase("Release to Pilot")) {
BaseLogger.log("3", null, null, "In DB_PILOT condition.........");
int countOfPilotTran = 0;
String tranIdRedForPilot = "";
String checkEntryForPilotSql = "select count(tran_id) as DevTranCount from sql_changes where tran_id__ref = ? and exec_rights = 'P'";
PreparedStatement checkEntryForPilotPs = conn.prepareStatement(checkEntryForPilotSql);
checkEntryForPilotPs.setString(1, tranID);
ResultSet checkEntryForPilotRs = checkEntryForPilotPs.executeQuery();
while (checkEntryForPilotRs.next()) {
countOfPilotTran = checkEntryForPilotRs.getInt("DevTranCount");
}
BaseLogger.log("3", null, null, "In DB_PILOT condition :: countOfDevTran:: " + countOfPilotTran);
if (checkEntryForPilotRs != null) {
checkEntryForPilotRs.close();
}
if (checkEntryForPilotPs != null) {
checkEntryForPilotPs.close();
}
String checkTranIdRefSql = "select tran_id__ref from sql_changes where tran_id = ? and exec_rights = 'P'";
PreparedStatement checkTranIdRefPs = conn.prepareStatement(checkTranIdRefSql);
checkTranIdRefPs.setString(1, tranID);
ResultSet checkTranIdRefRs = checkTranIdRefPs.executeQuery();
while (checkTranIdRefRs.next()) {
tranIdRedForPilot = checkNull(checkTranIdRefRs.getString("tran_id__ref"));
}
BaseLogger.log("3", null, null, "In DB_PILOT condition :: tranIdRedForPilot:: " + tranIdRedForPilot);
if (checkTranIdRefPs != null) {
checkTranIdRefPs.close();
}
if (checkTranIdRefRs != null) {
checkTranIdRefRs.close();
}
if (countOfPilotTran > 0) {
return itmDBAccessEJB.getErrorString("", "MSQLAPP", "", "", conn);
}
// if(tranIdRedForPilot.trim().length()==0) {
// BaseLogger.log("3", null, null, "In DB_PILOT condition :: tran_id__ref is
// blank:: ");
// return itmDBAccessEJB.getErrorString("", "MSQLAPP", "", "", conn);
// }
String dbPilotEnterprise = "";
Connection pilotEntConn = null;
PreparedStatement pilotPstmt = null;
ResultSet pilotRs = null;
try {
ConnDriver pilotConnDriver = new ConnDriver();
pilotEntConn = pilotConnDriver.getConnectDB("Driver");
// Use the first enterprise from the original transaction to look up DB_PILOT
String entForLookup = enterprises;
if (entForLookup.contains(",")) {
entForLookup = entForLookup.split(",")[0].trim();
}
String pilotSql = "SELECT DB_PILOT FROM ENTERPRISE WHERE ENTERPRISE = ?";
pilotPstmt = pilotEntConn.prepareStatement(pilotSql);
pilotPstmt.setString(1, entForLookup);
pilotRs = pilotPstmt.executeQuery();
if (pilotRs.next()) {
dbPilotEnterprise = checkNull(pilotRs.getString("DB_PILOT"));
}
} finally {
if (pilotRs != null) {
pilotRs.close();
}
if (pilotPstmt != null) {
pilotPstmt.close();
}
if (pilotEntConn != null) {
pilotEntConn.close();
}
}
BaseLogger.log("3", null, null, "DB_PILOT enterprise fetched: [" + dbPilotEnterprise + "]");
if (!dbPilotEnterprise.isEmpty()) {
// Create PILOT XML with exec_rights = "P" and enterprise from DB_PILOT column
String xmlWithP = processDynXmlString.toString().replace("{{executionRights}}", "P");
xmlWithP = xmlWithP.replace("{{enterprises}}", enterprises);
BaseLogger.log("3", null, null, "xmlWithP XML:::" + xmlWithP + "]");
MasterStatefulLocal masterStateful = null;
appConnect = null;
initialContext = null;
appConnect = new AppConnectParm();
initialContext = new InitialContext(appConnect.getProperty());
masterStateful = (MasterStatefulLocal) initialContext
.lookup("ibase/MasterStatefulEJB/local");
String processRequestResultPilot = masterStateful.processRequest(userInfo, xmlWithP, false, conn);
BaseLogger.log("3", null, null,
"processRequest processRequestResultPilot" + processRequestResultPilot + "]");
Document dom = genericUtility.parseString(processRequestResultPilot);
String tranSuccessFlag = checkNull(genericUtility.getColumnValue("Detail", dom));
if (tranSuccessFlag.trim().equalsIgnoreCase("Success")) {
BaseLogger.log("3", null, null, "Transaction created on pilot succesfully");
Connection conn1 = getConnection();
String updateTxnStatusSql = "update sql_changes set TXN_STATUS = 'P' where tran_id = ?";
PreparedStatement updateTxnStatusPs = conn1.prepareStatement(updateTxnStatusSql);
updateTxnStatusPs.setString(1, tranID);
int updateAprvLvlCnt = updateTxnStatusPs.executeUpdate();
conn1.commit();
BaseLogger.log("3", null, null, "updateAprvLvlCnt::" + updateAprvLvlCnt + "]");
if (updateTxnStatusPs != null) {
updateTxnStatusPs.close();
updateTxnStatusPs = null;
}
if (conn1 != null) {
conn1.close();
conn1 = null;
}
return itmDBAccessEJB.getErrorString("", "MSQLRP", "", "", conn);
}
else {
BaseLogger.log("3", null, null, "Transaction creation failed on pilot");
return itmDBAccessEJB.getErrorString("", "MSQLFP", "", "", conn);
}
}
}
// Added for PILOT transaction -- END
// Added for Client Dev transaction -- START
// Fetch DB_DEV from ENTERPRISE table to use as the enterprise for the Client
// Dev transaction
if (action.trim().equalsIgnoreCase("Release Clients Dev")) {
BaseLogger.log("3", null, null, "In DB_DEV condition.........");
int countOfDevTran = 0;
String tranIdRedForClientDev = "";
String checkEntryForDevSql = "select count(tran_id) as DevTranCount from sql_changes where tran_id__ref = ? and exec_rights = 'C'";
PreparedStatement checkEntryForDevPs = conn.prepareStatement(checkEntryForDevSql);
checkEntryForDevPs.setString(1, tranID);
ResultSet checkEntryForDevRs = checkEntryForDevPs.executeQuery();
while (checkEntryForDevRs.next()) {
countOfDevTran = checkEntryForDevRs.getInt("DevTranCount");
}
BaseLogger.log("3", null, null, "In DB_DEV condition :: countOfDevTran:: " + countOfDevTran);
if (checkEntryForDevPs != null) {
checkEntryForDevPs.close();
}
if (checkEntryForDevRs != null) {
checkEntryForDevRs.close();
}
String checkTranIdRefSql = "select tran_id__ref from sql_changes where tran_id__ref = ? and exec_rights = 'C'";
PreparedStatement checkTranIdRefPs = conn.prepareStatement(checkTranIdRefSql);
checkTranIdRefPs.setString(1, tranID);
ResultSet checkTranIdRefRs = checkTranIdRefPs.executeQuery();
while (checkTranIdRefRs.next()) {
tranIdRedForClientDev = checkNull(checkTranIdRefRs.getString("tran_id__ref"));
}
BaseLogger.log("3", null, null, "In DB_DEV condition :: tranIdRedForPilot:: " + tranIdRedForClientDev);
if (checkTranIdRefPs != null) {
checkTranIdRefPs.close();
}
if (checkTranIdRefRs != null) {
checkTranIdRefRs.close();
}
if (countOfDevTran > 0) {
return itmDBAccessEJB.getErrorString("", "MSQLAPCD", "", "", conn);
}
// if(tranIdRedForClientDev.trim().length()==0) {
// BaseLogger.log("3", null, null, "In DB_DEV condition :: tran_id__ref is
// blank:: ");
// return itmDBAccessEJB.getErrorString("", "MSQLAPCD", "", "", conn);
// }
String dbClientDevEnterprise = "";
Connection clientDevEntConn = null;
PreparedStatement clientDevPstmt = null;
ResultSet clientDevRs = null;
try {
ConnDriver clientDevConnDriver = new ConnDriver();
clientDevEntConn = clientDevConnDriver.getConnectDB("Driver");
// Use the first enterprise from the original transaction to look up DB_PILOT
String entForLookup = enterprises;
if (entForLookup.contains(",")) {
entForLookup = entForLookup.split(",")[0].trim();
}
String clientDevSql = "SELECT DB_DEV FROM ENTERPRISE WHERE ENTERPRISE = ?";
clientDevPstmt = clientDevEntConn.prepareStatement(clientDevSql);
clientDevPstmt.setString(1, entForLookup);
clientDevRs = clientDevPstmt.executeQuery();
if (clientDevRs.next()) {
dbClientDevEnterprise = checkNull(clientDevRs.getString("DB_DEV"));
}
} finally {
if (clientDevRs != null) {
clientDevRs.close();
}
if (clientDevPstmt != null) {
clientDevPstmt.close();
}
if (clientDevEntConn != null) {
clientDevEntConn.close();
}
}
BaseLogger.log("3", null, null, "DB_PILOT enterprise fetched: [" + dbClientDevEnterprise + "]");
if (!dbClientDevEnterprise.isEmpty()) {
// Create Client Dev XML with exec_rights = "C" and enterprise from DB_DEV
// column
String xmlWithC = processDynXmlString.toString().replace("{{executionRights}}", "C");
xmlWithC = xmlWithC.replace("{{enterprises}}", enterprises);
BaseLogger.log("3", null, null, "xmlWithP XML:::" + xmlWithC + "]");
MasterStatefulLocal masterStateful = null;
appConnect = null;
initialContext = null;
appConnect = new AppConnectParm();
initialContext = new InitialContext(appConnect.getProperty());
masterStateful = (MasterStatefulLocal) initialContext
.lookup("ibase/MasterStatefulEJB/local");
String processRequestResultClientDev = masterStateful.processRequest(userInfo, xmlWithC, false,
conn);
BaseLogger.log("3", null, null,
"processRequest processRequestResultClientDev" + processRequestResultClientDev + "]");
Document dom = genericUtility.parseString(processRequestResultClientDev);
String tranSuccessFlag = checkNull(genericUtility.getColumnValue("Detail", dom));
if (tranSuccessFlag.trim().equalsIgnoreCase("Success")) {
BaseLogger.log("3", null, null, "Transaction created on client Dev succesfully");
Connection conn1 = getConnection();
String updateTxnStatusSql = "update sql_changes set TXN_STATUS = 'D' where tran_id = ?";
PreparedStatement updateTxnStatusPs = conn1.prepareStatement(updateTxnStatusSql);
updateTxnStatusPs.setString(1, tranID);
int updateAprvLvlCnt = updateTxnStatusPs.executeUpdate();
conn1.commit();
BaseLogger.log("3", null, null, "updateAprvLvlCnt::" + updateAprvLvlCnt + "]");
if (updateTxnStatusPs != null) {
updateTxnStatusPs.close();
updateTxnStatusPs = null;
}
if (conn1 != null) {
conn1.close();
conn1 = null;
}
return itmDBAccessEJB.getErrorString("", "MSQLRCD", "", "", conn);
}
else {
BaseLogger.log("3", null, null, "Transaction creation failed on client dev");
return itmDBAccessEJB.getErrorString("", "MSQLFCD", "", "", conn);
}
}
}
// Added for PILOT transaction -- END
// Added for Live transaction -- START
// Fetch DB_MAIN from ENTERPRISE table to use as the enterprise for the Live
// transaction
if (action.trim().equalsIgnoreCase("Release to Live")) {
BaseLogger.log("3", null, null, "In DB_MAIN condition.........");
String pilotConfirmedFlag = "";
String checkPilotConfirmed = "select confirmed from sql_changes where tran_id__ref = ? and exec_rights = 'P'";
PreparedStatement checkPilotConfirmedPs = conn.prepareStatement(checkPilotConfirmed);
checkPilotConfirmedPs.setString(1, tranID);
ResultSet checkPilotConfirmedRs = checkPilotConfirmedPs.executeQuery();
while (checkPilotConfirmedRs.next()) {
pilotConfirmedFlag = checkNull(checkPilotConfirmedRs.getString("confirmed"));
}
if (checkPilotConfirmedPs != null) {
checkPilotConfirmedPs.close();
}
if (checkPilotConfirmedRs != null) {
checkPilotConfirmedRs.close();
}
if (!pilotConfirmedFlag.trim().equalsIgnoreCase("Y")) {
return itmDBAccessEJB.getErrorString("", "MSQLNCP", "", "", conn);
}
int countOfLiveTran = 0;
String tranIdRedForLive = "";
String checkEntryForLiveSql = "select count(tran_id) as LiveTranCount from sql_changes where tran_id__ref = ? and exec_rights = 'A'";
PreparedStatement checkEntryForLivePs = conn.prepareStatement(checkEntryForLiveSql);
checkEntryForLivePs.setString(1, tranID);
ResultSet checkEntryForLiveRs = checkEntryForLivePs.executeQuery();
while (checkEntryForLiveRs.next()) {
countOfLiveTran = checkEntryForLiveRs.getInt("LiveTranCount");
}
BaseLogger.log("3", null, null, "In DB_MAIN condition :: countOfLiveTran:: " + countOfLiveTran);
if (checkEntryForLivePs != null) {
checkEntryForLivePs.close();
}
if (checkEntryForLiveRs != null) {
checkEntryForLiveRs.close();
}
String checkTranIdRefSql = "select tran_id__ref from sql_changes where tran_id__ref = ? and exec_rights = 'P'";
PreparedStatement checkTranIdRefPs = conn.prepareStatement(checkTranIdRefSql);
checkTranIdRefPs.setString(1, tranID);
ResultSet checkTranIdRefRs = checkTranIdRefPs.executeQuery();
while (checkTranIdRefRs.next()) {
tranIdRedForLive = checkNull(checkTranIdRefRs.getString("tran_id__ref"));
}
BaseLogger.log("3", null, null, "In DB_MAIN condition :: tranIdRedForLive:: " + tranIdRedForLive);
if (checkTranIdRefPs != null) {
checkTranIdRefPs.close();
}
if (checkTranIdRefRs != null) {
checkTranIdRefRs.close();
}
if (tranIdRedForLive.trim().length() == 0) {
BaseLogger.log("3", null, null, "In DB_MAIN condition :: tran_id__ref is blank:: ");
return itmDBAccessEJB.getErrorString("", "MSQLAPL", "", "", conn);
}
if (countOfLiveTran > 0) {
return itmDBAccessEJB.getErrorString("", "MSQLAPL", "", "", conn);
}
String dbLiveEnterprise = "";
Connection liveEntConn = null;
PreparedStatement livePstmt = null;
ResultSet liveRs = null;
try {
ConnDriver liveEntConnConnDriver = new ConnDriver();
liveEntConn = liveEntConnConnDriver.getConnectDB("Driver");
// Use the first enterprise from the original transaction to look up DB_PILOT
String entForLookup = enterprises;
if (entForLookup.contains(",")) {
entForLookup = entForLookup.split(",")[0].trim();
}
String clientDevSql = "SELECT DB_MAIN FROM ENTERPRISE WHERE ENTERPRISE = ?";
livePstmt = liveEntConn.prepareStatement(clientDevSql);
livePstmt.setString(1, entForLookup);
liveRs = livePstmt.executeQuery();
if (liveRs.next()) {
dbLiveEnterprise = checkNull(liveRs.getString("DB_MAIN"));
}
} finally {
if (liveRs != null) {
liveRs.close();
}
if (livePstmt != null) {
livePstmt.close();
}
if (liveEntConn != null) {
liveEntConn.close();
}
}
BaseLogger.log("3", null, null, "DB_PILOT enterprise fetched: [" + dbLiveEnterprise + "]");
if (!dbLiveEnterprise.isEmpty()) {
// Create PILOT XML with exec_rights = "P" and enterprise from DB_DEV column
String xmlWithA = processDynXmlString.toString().replace("{{executionRights}}", "A");
xmlWithA = xmlWithA.replace("{{enterprises}}", enterprises);
BaseLogger.log("3", null, null, "xmlWithA XML:::" + xmlWithA + "]");
MasterStatefulLocal masterStateful = null;
appConnect = null;
initialContext = null;
appConnect = new AppConnectParm();
initialContext = new InitialContext(appConnect.getProperty());
masterStateful = (MasterStatefulLocal) initialContext
.lookup("ibase/MasterStatefulEJB/local");
String processRequestResultLive = masterStateful.processRequest(userInfo, xmlWithA, false, conn);
BaseLogger.log("3", null, null,
"processRequest processRequestResultLive" + processRequestResultLive + "]");
Document dom = genericUtility.parseString(processRequestResultLive);
String tranSuccessFlag = checkNull(genericUtility.getColumnValue("Detail", dom));
if (tranSuccessFlag.trim().equalsIgnoreCase("Success")) {
BaseLogger.log("3", null, null, "Transaction created on Live succesfully");
Connection conn1 = getConnection();
String updateTxnStatusSql = "update sql_changes set TXN_STATUS = 'L' where tran_id = ?";
PreparedStatement updateTxnStatusPs = conn1.prepareStatement(updateTxnStatusSql);
updateTxnStatusPs.setString(1, tranID);
int updateAprvLvlCnt = updateTxnStatusPs.executeUpdate();
conn1.commit();
BaseLogger.log("3", null, null, "updateAprvLvlCnt::" + updateAprvLvlCnt + "]");
if (updateTxnStatusPs != null) {
updateTxnStatusPs.close();
updateTxnStatusPs = null;
}
if (conn1 != null) {
conn1.close();
conn1 = null;
}
return itmDBAccessEJB.getErrorString("", "MSQLRTL", "", "", conn);
}
else {
BaseLogger.log("3", null, null, "Transaction creation failed on Live");
return itmDBAccessEJB.getErrorString("", "MSQLFTL", "", "", conn);
}
}
}
// Added for Live transaction -- END
} catch (Exception e) {
e.printStackTrace();
throw new ITMException(e);
} finally {
try {
if (conn != null) {
conn.close();
conn = null;
}
} catch (Exception e) {
}
}
return retString;
}
public static String formatDateTime(LocalDate tranDate, LocalTime tranTime) {
LocalDateTime tranDateTime = LocalDateTime.of(tranDate, tranTime);
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
String formattedDateTime = tranDateTime.format(formatter);
return formattedDateTime;
}
private String checkNull(String input) {
if (input == null) {
input = "";
}
return input;
}
public static String dateFormatter(String inputDateString) {
String result = "";
String inputFormat = "yyyy-MM-dd HH:mm:ss";
String outputFormat = "dd/MM/yy HH:mm:ss";
try {
// Parse input date string
SimpleDateFormat inputFormatter = new SimpleDateFormat(inputFormat);
Date date = inputFormatter.parse(inputDateString);
// Format the date in the desired output format
SimpleDateFormat outputFormatter = new SimpleDateFormat(outputFormat);
String outputDateString = outputFormatter.format(date);
System.out.println("Input Date: " + inputDateString);
System.out.println("Formatted Date: " + outputDateString);
result = outputDateString;
} catch (Exception e) {
BaseLogger.log("3", null, null, "Exception in dateFormatter. [" + E12GenericUtility.getStackTrace(e) + "]");
}
return result;
}
}
package ibase.webitm.ejb.sys;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.Date;
import javax.naming.InitialContext;
import org.w3c.dom.Document;
import ibase.system.config.AppConnectParm;
import ibase.system.config.ConnDriver;
import ibase.utility.BaseLogger;
import ibase.utility.E12GenericUtility;
import ibase.utility.GenericUtility;
import ibase.utility.UserInfoBean;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.MasterStatefulLocal;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
public class ManageSqlReleaseToQC extends ActionHandlerEJB{
E12GenericUtility genericUtility = new E12GenericUtility();
public String updateStatus()throws RemoteException,ITMException
{
return "";
}
public String updateStatus(String tranID, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
String retVal = "";
String refSer = "";
String signStatus = "";
String enterprises1 = "";
boolean isLocalConn = false;
PreparedStatement mSqlPstmt = null;
ResultSet mSqlRs = null;
PreparedStatement mSqlDetPstmt = null;
ResultSet mSqlDetRs = null;
String empCode = "";
String entityCode = "",reportTo="",allocatedTo;
LocalDate tranDate = LocalDate.now();// for tranDate
LocalTime tranTime = LocalTime.now();
String tranDateStr = formatDateTime(tranDate, tranTime);
String tranId = "";
String reqId = "";
String custCode = "";
String empCodeGiven = "";
String empCodeMerge = "";
String executed = "";
String tranIdOrg = "";
String activeYn = "";
String itmVer = "";
String chgUser = "";
String chgTerm = "";
String confirmed = "";
String empCodeAprv = "";
String enterprises = "";
String applDb = "";
String execRights = "";
String tranIdRef = "";
String signRemarks = "";
String db2Statement = "";
String lineNo = "";
String oracleStatement = "";
String statementType = "";
//InitialContext ctx = null;
String retString = null;
String executionRights = "";
Connection conn = null;
// MasterStatefulLocal masterStateful = null; // for ejb3
try
{
UserInfoBean userInfo = getUserInfo();
BaseLogger.log("3", null, null, "userInfo 91::" + userInfo.toString() + "]");
if (conn == null)
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB(userInfo.getTransDB());
}
//
int existingAprvLvl = 0;
int qcTranCount = 0;
String executiveApproval = "";
String tranIdRefForVal = "";
String wfStatus = "";
String getAprvLvlSql = "select APRV_LEVEL,EXEC_APRV,TRAN_ID__REF,WF_STATUS from sql_changes where tran_id = ?";
PreparedStatement getAprvLvlPs = conn.prepareStatement(getAprvLvlSql);
getAprvLvlPs.setString(1, tranID);
ResultSet getAprvLvlRs = getAprvLvlPs.executeQuery();
while (getAprvLvlRs.next()) {
existingAprvLvl = getAprvLvlRs.getInt("APRV_LEVEL");
executiveApproval = checkNull(getAprvLvlRs.getString("EXEC_APRV"));
tranIdRefForVal = checkNull(getAprvLvlRs.getString("TRAN_ID__REF"));
wfStatus = checkNull(getAprvLvlRs.getString("WF_STATUS"));
}
if (getAprvLvlRs != null) { getAprvLvlRs.close(); }
if (getAprvLvlPs != null) { getAprvLvlPs.close(); }
BaseLogger.log("3", null, null, "existingAprvLvl::" + existingAprvLvl + "]");
BaseLogger.log("3", null, null, "executeRights::" + executiveApproval + "]");
BaseLogger.log("3", null, null, "tranIdRefForVal::" + tranIdRefForVal + "]");
String checkQcTranCountSql = "select count(tran_id) as qcTranCount from sql_changes where tran_id__ref = ?";
PreparedStatement checkQcTranCountPs = conn.prepareStatement(checkQcTranCountSql);
checkQcTranCountPs.setString(1, tranIdRefForVal);
ResultSet checkQcTranCountRs = checkQcTranCountPs.executeQuery();
while (checkQcTranCountRs.next()) {
qcTranCount = checkQcTranCountRs.getInt("qcTranCount");
}
if (checkQcTranCountPs != null) { checkQcTranCountPs.close(); }
if (checkQcTranCountRs != null) { checkQcTranCountRs.close(); }
if(existingAprvLvl>2) {
return itmDBAccessEJB.getErrorString("", "MSQLARQC", "", "", conn);
}
else if (executiveApproval.trim().equalsIgnoreCase("Y")) {
if (!wfStatus.trim().equalsIgnoreCase("A")) {
BaseLogger.log("3", null, null, "Workflow not approved");
return itmDBAccessEJB.getErrorString("", "MSQLWNA", "", "", conn);
}
}
else if(existingAprvLvl!=1 && existingAprvLvl!=3){
BaseLogger.log("3", null, null, "Transaction is no processed");
return itmDBAccessEJB.getErrorString("", "MSQLNPROC", "", "", conn);
}
else if(qcTranCount>0){
BaseLogger.log("3", null, null, "Transaction already created for the QC");
return itmDBAccessEJB.getErrorString("", "MSQLARQC", "", "", conn);
}
else{
if(executiveApproval.trim().equalsIgnoreCase("Y")){
String updateSqlTxnStatus = "update sql_changes set txn_status = 'K' where tran_id = ?";
PreparedStatement updateSqlTxnStatusPs = conn.prepareStatement(updateSqlTxnStatus);
updateSqlTxnStatusPs.setString(1, tranID);
int updateTxnStatusCount = updateSqlTxnStatusPs.executeUpdate();
BaseLogger.log("3", null, null, "updateTxnStatusCount::" + updateTxnStatusCount + "]");
}
}
//
//ValidatorEJB validatorEJB = new ValidatorEJB();
// CommonDBAccessEJB commonDBAccessEJB = new CommonDBAccessEJB();
//AppConnectParm appConnect = new AppConnectParm();
//ctx = new InitialContext(appConnect.getProperty());
// masterStateful = (MasterStatefulLocal)ctx.lookup("ibase/MasterStatefulEJB/local");
AppConnectParm appConnect = new AppConnectParm();
InitialContext initialContext = new InitialContext(appConnect.getProperty());
System.out.println("ManageSQLAprv.updateWFStatus() tranId testtttttttt["+tranID+"]");
System.out.println("ManageSQLAprv.updateWFStatus() xtraParams testtttttttt["+xtraParams+"]");
String msqlDetSql = "SELECT TRAN_ID, TRAN_DATE, REQ_ID, REQ_DATE, CUST_CODE, EMP_CODE__GIVEN, EMP_CODE__MERGE, "
+ "EXECUTED, TRAN_ID__ORG, ACTIVE_YN, ITM_VER, CHG_USER, CHG_TERM, CHG_DATE, CONFIRMED, CONF_DATE, "
+ "EMP_CODE_APRV, ENTERPRISES, APPL_DB, EXEC_RIGHTS, TRAN_ID__REF "
+ "FROM sql_changes where tran_id = ?";
mSqlPstmt = conn.prepareStatement(msqlDetSql);
mSqlPstmt.setString(1, tranID);
mSqlRs = mSqlPstmt.executeQuery();
while (mSqlRs.next()) {
// Directly fetching and using values from result set without declaring variables
tranId = checkNull(mSqlRs.getString("TRAN_ID"));
reqId = checkNull(mSqlRs.getString("REQ_ID"));
custCode = checkNull(mSqlRs.getString("CUST_CODE"));
empCodeGiven = checkNull(mSqlRs.getString("EMP_CODE__GIVEN"));
empCodeMerge = checkNull(mSqlRs.getString("EMP_CODE__MERGE"));
executed = checkNull(mSqlRs.getString("EXECUTED"));
tranIdOrg = checkNull(mSqlRs.getString("TRAN_ID__ORG"));
activeYn = checkNull(mSqlRs.getString("ACTIVE_YN"));
itmVer = checkNull(mSqlRs.getString("ITM_VER"));
chgUser = checkNull(mSqlRs.getString("CHG_USER"));
chgTerm = checkNull(mSqlRs.getString("CHG_TERM"));
confirmed = checkNull(mSqlRs.getString("CONFIRMED"));
empCodeAprv = checkNull(mSqlRs.getString("EMP_CODE_APRV"));
enterprises = checkNull(mSqlRs.getString("ENTERPRISES"));
applDb = checkNull(mSqlRs.getString("APPL_DB"));
execRights = checkNull(mSqlRs.getString("EXEC_RIGHTS"));
tranIdRef = checkNull(mSqlRs.getString("TRAN_ID__REF"));
// Do something with these values directly (e.g., use them in logic, or store in a collection)
System.out.println("TRAN_ID: " + tranId + ", " +
"TRAN_DATE: " + tranDate + ", " +
"REQ_ID: " + reqId + ", " +
"CUST_CODE: " + custCode + ", " +
"EMP_CODE__GIVEN: " + empCodeGiven + ", " +
"EMP_CODE__MERGE: " + empCodeMerge + ", " +
"EXECUTED: " + executed + ", " +
"TRAN_ID__ORG: " + tranIdOrg + ", " +
"ACTIVE_YN: " + activeYn + ", " +
"ITM_VER: " + itmVer + ", " +
"CHG_USER: " + chgUser + ", " +
"CHG_TERM: " + chgTerm + ", " +
"CONFIRMED: " + confirmed + ", " +
"EMP_CODE_APRV: " + empCodeAprv + ", " +
"ENTERPRISES: " + enterprises + ", " +
"APPL_DB: " + applDb + ", " +
"EXEC_RIGHTS: " + execRights + ", " +
"TRAN_ID__REF: " + tranIdRef);
}
StringBuffer processDynXmlString = new StringBuffer();
// Start building the XML string
processDynXmlString.append("<DocumentRoot><description>Datawindow Root</description><group0>");
processDynXmlString.append(
"<description>Group0 description</description><Header0><description>Header0 members</description>");
processDynXmlString.append("<objName><![CDATA[sql_changes]]></objName>");
processDynXmlString.append("<pageContext><![CDATA[1]]></pageContext>");
processDynXmlString.append("<objContext><![CDATA[1]]></objContext>");
processDynXmlString.append("<editFlag><![CDATA[A]]></editFlag>");
processDynXmlString.append("<focusedColumn><![CDATA[]]></focusedColumn>");
processDynXmlString.append("<action><![CDATA[SAVE]]></action>");
processDynXmlString.append("<elementName><![CDATA[]]></elementName>");
processDynXmlString.append("<keyValue><![CDATA[1]]></keyValue>");
processDynXmlString.append("<saveLevel><![CDATA[1]]></saveLevel>");
processDynXmlString.append("<forcedSave><![CDATA[false]]></forcedSave>");
processDynXmlString.append("<Detail1 dbID='' domID='1' objContext='1' objName='sql_changes'>");
processDynXmlString
.append("<attribute IS_CHANGE='Y' pkNames='TRAN_ID' selected='N' status='N' updateFlag='A'/>");
//processDynXmlString.append("<tran_id/>");
processDynXmlString.append("<tran_date><![CDATA[" + dateFormatter(tranDateStr) + "]]></tran_date>");
processDynXmlString.append("<req_id><![CDATA["+ reqId +"]]></req_id>");
processDynXmlString.append("<req_date><![CDATA[" + dateFormatter(tranDateStr) + "]]></req_date>");
processDynXmlString.append("<emp_code__given><![CDATA[" + empCodeGiven + "]]></emp_code__given>");
processDynXmlString.append("<emp_code__merge><![CDATA[" + empCodeMerge + "]]></emp_code__merge>");
processDynXmlString.append("<executed><![CDATA[N]]></executed>");
processDynXmlString.append("<tran_id__org><![CDATA[" + tranIdOrg + "]]></tran_id__org>");
processDynXmlString.append("<active_yn><![CDATA[" + activeYn + "]]></active_yn>");
processDynXmlString.append("<chg_user><![CDATA[" + chgUser + "]]></chg_user>");
processDynXmlString.append("<chg_term><![CDATA[" + chgTerm + "]]></chg_term>");
processDynXmlString.append("<confirmed><![CDATA[N]]></confirmed>");
processDynXmlString.append("<conf_date><![CDATA[]]></conf_date>");
processDynXmlString.append("<itm_ver><![CDATA[]]></itm_ver>");
processDynXmlString.append("<enterprises><![CDATA[{{enterprises}}]]></enterprises>");
processDynXmlString.append("<emp_code_aprv><![CDATA[]]></emp_code_aprv>");
processDynXmlString.append("<chg_date><![CDATA[" + dateFormatter(tranDateStr) + "]]></chg_date>");
processDynXmlString.append("<appl_db><![CDATA[" + applDb + "]]></appl_db>");
processDynXmlString.append("<exec_rights><![CDATA[{{executionRights}}]]></exec_rights>");
processDynXmlString.append("<tran_id__ref><![CDATA[" + tranId + "]]></tran_id__ref>");
processDynXmlString.append("</Detail1>");
String msqlDet1Sql = "SELECT LINE_NO, ORA_STMNT, DB2_STMNT, STMNT_TYPE FROM sql_changes_det WHERE tran_id = ?";
mSqlDetPstmt = conn.prepareStatement(msqlDet1Sql);
mSqlDetPstmt.setString(1, tranID);
mSqlDetRs = mSqlDetPstmt.executeQuery();
while (mSqlDetRs.next()) {
lineNo = checkNull(mSqlDetRs.getString("LINE_NO"));
oracleStatement = checkNull(mSqlDetRs.getString("ORA_STMNT"));
db2Statement = checkNull(mSqlDetRs.getString("DB2_STMNT"));
statementType = checkNull(mSqlDetRs.getString("STMNT_TYPE"));
processDynXmlString.append("<Detail2 dbID=':' domID='2' objName=\"sql_changes\" objContext=\"2\">");
processDynXmlString.append("<attribute pkNames=\"\" selected=\"N\" updateFlag=\"A\" status=\"N\" />");
processDynXmlString.append("<line_no><![CDATA[").append(lineNo).append("]]></line_no>");
processDynXmlString.append("<ora_stmnt><![CDATA[").append(oracleStatement).append("]]></ora_stmnt>");
processDynXmlString.append("<db2_stmnt><![CDATA[").append(db2Statement).append("]]></db2_stmnt>");
processDynXmlString.append("<stmnt_type><![CDATA[").append(statementType).append("]]></stmnt_type>");
processDynXmlString.append("</Detail2>");
}
if (mSqlDetRs != null) {
mSqlDetRs.close();
mSqlDetRs = null;
}
if (mSqlDetPstmt != null) {
mSqlDetPstmt.close();
mSqlDetPstmt = null;
}
processDynXmlString.append("</Header0></group0></DocumentRoot>");
// Now, processDynXmlString contains the dynamically generated XML with the values from your query
System.out.println(processDynXmlString.toString());
// String tranIDNew = commonDBAccessEJB.generateSeq("asset_assign_seq", 10, userInfo.getTransDB());
// BaseLogger.log("3", null, null, " generated tranID :: " + tranIDNew); // tran_id
// processDynXmlString.toString().replace("{{tranId}}", tranIdNew);
String xmlWithQ = processDynXmlString.toString().replace("{{executionRights}}", "Q");
xmlWithQ = xmlWithQ.toString().replace("{{enterprises}}", "APPVISQC");
BaseLogger.log("3", null, null, "xmlWithQ XML:::" + xmlWithQ + "]");
String xmlWithD = processDynXmlString.toString().replace("{{executionRights}}", "D");
// xmlWithD = xmlWithD.toString().replace("{{enterprises}}", "APPVISDEV");
// BaseLogger.log("3", null, null, "userInfo::" + userInfo.toString() + "]");
MasterStatefulLocal masterStateful = (MasterStatefulLocal) initialContext
.lookup("ibase/MasterStatefulEJB/local");
// String processRequestResultDev = masterStateful.processRequest(userInfo, xmlWithD, false, conn);
// BaseLogger.log("3", null, null, "processRequest processRequestResultD" + processRequestResultDev + "]");
masterStateful = null;
appConnect = null;
initialContext = null;
appConnect = new AppConnectParm();
initialContext = new InitialContext(appConnect.getProperty());
masterStateful = (MasterStatefulLocal) initialContext
.lookup("ibase/MasterStatefulEJB/local");
String processRequestResultQC = masterStateful.processRequest(userInfo, xmlWithQ, false, conn);
BaseLogger.log("3", null, null, "processRequest gsbnice processRequestResultQ" + processRequestResultQC + "]");
GenericUtility genericUtility = new GenericUtility();
Document dom = genericUtility.parseString(processRequestResultQC);
String tranSuccessFlag = checkNull(genericUtility.getColumnValue("Detail",dom));
if(tranSuccessFlag.trim().equalsIgnoreCase("Success")) {
Connection conn1 = getConnection();
String updateAprvLvlSql = "update sql_changes set APRV_LEVEL = '3', TXN_STATUS = 'Q' where tran_id = ?";
PreparedStatement updateAprvLvlPs = conn1.prepareStatement(updateAprvLvlSql);
updateAprvLvlPs.setString(1, tranID);
int updateAprvLvlCnt = updateAprvLvlPs.executeUpdate();
conn1.commit();
BaseLogger.log("3", null, null, "updateAprvLvlCnt::" + updateAprvLvlCnt + "]");
if (updateAprvLvlPs != null) {
updateAprvLvlPs.close();
updateAprvLvlPs = null;
}
if(conn1!= null) {
conn1.close();
conn1 = null;
}
return itmDBAccessEJB.getErrorString("", "MSQLRQC", "", "", conn);
}
else {
return itmDBAccessEJB.getErrorString("", "MSQLFQC", "", "", conn);
}
/*
* retString = processRequestResultQC;
*
* // Added for PILOT transaction -- START // Fetch DB_PILOT from ENTERPRISE
* table to use as the enterprise for the PILOT transaction String
* dbPilotEnterprise = ""; Connection pilotEntConn = null; PreparedStatement
* pilotPstmt = null; ResultSet pilotRs = null; try { ConnDriver pilotConnDriver
* = new ConnDriver(); pilotEntConn = pilotConnDriver.getConnectDB("Driver");
*
* // Use the first enterprise from the original transaction to look up DB_PILOT
* String entForLookup = enterprises; if (entForLookup.contains(",")) {
* entForLookup = entForLookup.split(",")[0].trim(); }
*
* String pilotSql = "SELECT DB_PILOT FROM ENTERPRISE WHERE ENTERPRISE = ?";
* pilotPstmt = pilotEntConn.prepareStatement(pilotSql); pilotPstmt.setString(1,
* entForLookup); pilotRs = pilotPstmt.executeQuery(); if (pilotRs.next()) {
* dbPilotEnterprise = checkNull(pilotRs.getString("DB_PILOT")); } } finally {
* if (pilotRs != null) { pilotRs.close(); } if (pilotPstmt != null) {
* pilotPstmt.close(); } if (pilotEntConn != null) { pilotEntConn.close(); } }
*
* BaseLogger.log("3", null, null, "DB_PILOT enterprise fetched: [" +
* dbPilotEnterprise + "]");
*
* if (!dbPilotEnterprise.isEmpty()) { // Create PILOT XML with exec_rights =
* "P" and enterprise from DB_PILOT column String xmlWithP =
* processDynXmlString.toString().replace("{{executionRights}}", "P"); xmlWithP
* = xmlWithP.replace("{{enterprises}}", enterprises); BaseLogger.log("3", null,
* null, "xmlWithP XML:::" + xmlWithP + "]");
*
* masterStateful = null; appConnect = null; initialContext = null;
*
* appConnect = new AppConnectParm(); initialContext = new
* InitialContext(appConnect.getProperty()); masterStateful =
* (MasterStatefulLocal) initialContext
* .lookup("ibase/MasterStatefulEJB/local");
*
* String processRequestResultPilot = masterStateful.processRequest(userInfo,
* xmlWithP, false, conn); BaseLogger.log("3", null, null,
* "processRequest processRequestResultPilot" + processRequestResultPilot +
* "]");
*
* retString = processRequestResultPilot; } else { BaseLogger.log("3", null,
* null, "DB_PILOT is empty, skipping PILOT transaction creation."); }
*/
// Added for PILOT transaction -- END
}
catch(Exception e)
{
BaseLogger.log("3", null, null, "Exception 1746. [" + E12GenericUtility.getStackTrace(e) + "]");
throw new ITMException(e);
}
finally {
try {
if (mSqlRs != null) mSqlRs.close();
if (mSqlPstmt != null) mSqlPstmt.close();
if (mSqlDetRs != null) mSqlDetRs.close();
if (mSqlDetPstmt != null) mSqlDetPstmt.close();
if (conn != null) {
conn.close(); // returns to pool
}
} catch(Exception e) {
BaseLogger.log("3", null, null, "Exception 1746. [" + E12GenericUtility.getStackTrace(e) + "]");
}
}
//return retString;
}
public static String formatDateTime(LocalDate tranDate, LocalTime tranTime) {
LocalDateTime tranDateTime = LocalDateTime.of(tranDate, tranTime);
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
String formattedDateTime = tranDateTime.format(formatter);
return formattedDateTime;
}
public static String dateFormatter(String inputDateString ) {
String result = "";
String inputFormat = "yyyy-MM-dd HH:mm:ss";
String outputFormat = "dd/MM/yy HH:mm:ss";
try {
// Parse input date string
SimpleDateFormat inputFormatter = new SimpleDateFormat(inputFormat);
Date date = inputFormatter.parse(inputDateString);
// Format the date in the desired output format
SimpleDateFormat outputFormatter = new SimpleDateFormat(outputFormat);
String outputDateString = outputFormatter.format(date);
System.out.println("Input Date: " + inputDateString);
System.out.println("Formatted Date: " + outputDateString);
result = outputDateString;
} catch (Exception e) {
BaseLogger.log("3", null, null, "Exception in dateFormatter. [" + E12GenericUtility.getStackTrace(e) + "]");
}
return result;
}
private void closeResources(ResultSet rs, PreparedStatement pstmt, Connection conn) {
if (rs != null) {
try {
rs.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
if (pstmt != null) {
try {
pstmt.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
if (conn != null) {
try {
conn.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
}
private String checkNull(String input)
{
if(input == null)
{
input = "";
}
return input;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>1073741824</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>41</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>sql_changes.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>sql_changes.tran_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>req_id</name>
<dbname>sql_changes.req_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>req_date</name>
<dbname>sql_changes.req_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__given</name>
<dbname>sql_changes.emp_code__given</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__merge</name>
<dbname>sql_changes.emp_code__merge</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id__org</name>
<dbname>sql_changes.tran_id__org</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>itm_ver</name>
<dbname>sql_changes.itm_ver</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>sql_changes.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>sql_changes.chg_term</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>sql_changes.conf_date</dbname>
</table_column>
<table_column>
<type size="100">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>enterprises</name>
<dbname>sql_changes.enterprises</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>name</name>
<dbname>users.name</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>itemser.descr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>users_name</name>
<dbname>users.name</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>executed</name>
<dbname>executed</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>sql_changes.chg_date</dbname>
</table_column>
<table_column>
<type size="3">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>confirm</name>
<dbname>confirm</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>sql_changes.confirmed</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>users_name_conf</name>
<dbname>users.name</dbname>
</table_column>
<table_column>
<type size="52">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed_by</name>
<dbname>confirmed_by</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>exec_rights</name>
<dbname>sql_changes.exec_rights</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id__ref</name>
<dbname>sql_changes.tran_id__ref</dbname>
</table_column>
<table_column>
<type size="1500">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>req_descr</name>
<dbname>req_descr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code</name>
<dbname>sql_changes.cust_code</dbname>
</table_column>
<table_column>
<type size="50">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_name</name>
<dbname>cust_name</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>wf_status</name>
<dbname>sql_changes.wf_status</dbname>
</table_column>
<table_column>
<type size="2000">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>wf_remarks</name>
<dbname>sql_changes.wf_remarks</dbname>
</table_column>
<table_column>
<type size="2000">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>sql_changes.remarks</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>aprv_level</name>
<dbname>sql_changes.aprv_level</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>exec_aprv</name>
<dbname>sql_changes.exec_aprv</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>review_yn</name>
<dbname>sql_changes.review_yn</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>txn_status</name>
<dbname>sql_changes.txn_status</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>closed_yn</name>
<dbname>sql_changes.closed_yn</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>closed_by</name>
<dbname>sql_changes.closed_by</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>closed_date</name>
<dbname>sql_changes.closed_date</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>enterprise_descr</name>
<dbname>enterprise.enterprise_descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sql_changes&quot; ) TABLE(NAME=&quot;users&quot; ALIAS=&quot;users_a&quot; ) TABLE(NAME=&quot;users&quot; ALIAS=&quot;users_b&quot; ) TABLE(NAME=&quot;itemser&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;users&quot; ALIAS=&quot;users_c&quot; ) TABLE(NAME=&quot;enterprise&quot; ) COLUMN(NAME=&quot;sql_changes.tran_id&quot;) COLUMN(NAME=&quot;sql_changes.tran_date&quot;) COLUMN(NAME=&quot;sql_changes.req_id&quot;) COLUMN(NAME=&quot;sql_changes.req_date&quot;) COLUMN(NAME=&quot;sql_changes.emp_code__given&quot;) COLUMN(NAME=&quot;sql_changes.emp_code__merge&quot;) COLUMN(NAME=&quot;sql_changes.tran_id__org&quot;) COLUMN(NAME=&quot;sql_changes.itm_ver&quot;) COLUMN(NAME=&quot;sql_changes.chg_user&quot;) COLUMN(NAME=&quot;sql_changes.chg_term&quot;) COLUMN(NAME=&quot;sql_changes.conf_date&quot;) COLUMN(NAME=&quot;sql_changes.enterprises&quot;) COLUMN(NAME=&quot;users_a.name&quot;) COLUMN(NAME=&quot;itemser.descr&quot;) COLUMN(NAME=&quot;users_b.name&quot;) COMPUTE(NAME=&quot;(CASE WHEN sql_changes.executed=&apos;Y&apos; then &apos;YES&apos; else &apos;No&apos; END) AS Executed&quot;) COLUMN(NAME=&quot;sql_changes.chg_date&quot;) COMPUTE(NAME=&quot;(CASE WHEN sql_changes.confirmed=&apos;Y&apos; then &apos;YES&apos; else &apos;No&apos; END) AS Confirm&quot;) COLUMN(NAME=&quot;sql_changes.confirmed&quot;) COLUMN(NAME=&quot;users_c.name&quot;) COMPUTE(NAME=&quot; (users_c.name ||&apos;(&apos;||trim(sql_changes.emp_code_aprv)||&apos;)&apos;) as confirmed_by
&quot;) COLUMN(NAME=&quot;sql_changes.exec_rights&quot;) COLUMN(NAME=&quot;sql_changes.tran_id__ref&quot;) COMPUTE(NAME=&quot;(select DTL_DESCR from ser_request where req_id = sql_changes.req_id) as req_descr&quot;) COLUMN(NAME=&quot;sql_changes.cust_code&quot;) COMPUTE(NAME=&quot;(SELECT cust_name FROM customer WHERE cust_code = (SELECT cust_code FROM ser_request WHERE req_id = sql_changes.req_id)) as cust_name&quot;) COLUMN(NAME=&quot;sql_changes.wf_status&quot;) COLUMN(NAME=&quot;sql_changes.wf_remarks&quot;) COLUMN(NAME=&quot;sql_changes.remarks&quot;) COLUMN(NAME=&quot;sql_changes.aprv_level&quot;) COLUMN(NAME=&quot;sql_changes.exec_aprv&quot;) COLUMN(NAME=&quot;sql_changes.review_yn&quot;) COLUMN(NAME=&quot;sql_changes.txn_status&quot;) COLUMN(NAME=&quot;sql_changes.closed_yn&quot;) COLUMN(NAME=&quot;sql_changes.closed_by&quot;) COLUMN(NAME=&quot;sql_changes.closed_date&quot;) COLUMN(NAME=&quot;enterprise.enterprise_descr&quot;) JOIN (LEFT=&quot;sql_changes.emp_code__given&quot; OP =&quot;=&quot;RIGHT=&quot;users_a.code&quot; OUTER1 =&quot;sql_changes.emp_code__given&quot; ) JOIN (LEFT=&quot;sql_changes.itm_ver&quot; OP =&quot;=&quot;RIGHT=&quot;itemser.item_ser&quot; OUTER1 =&quot;sql_changes.itm_ver&quot; ) JOIN (LEFT=&quot;sql_changes.emp_code_aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;sql_changes.emp_code_aprv&quot; ) JOIN (LEFT=&quot;sql_changes.emp_code__merge&quot; OP =&quot;=&quot;RIGHT=&quot;users_b.code&quot; OUTER1 =&quot;sql_changes.emp_code__merge&quot; ) JOIN (LEFT=&quot;sql_changes.emp_code_aprv&quot; OP =&quot;=&quot;RIGHT=&quot;users_c.code&quot; OUTER1 =&quot;sql_changes.emp_code_aprv&quot; ) JOIN (LEFT=&quot;sql_changes.enterprises&quot; OP =&quot;=&quot;RIGHT=&quot;enterprise.enterprise&quot; OUTER1 =&quot;sql_changes.enterprises&quot; )) </retrieve>
<update>sql_changes</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Transaction ID</text>
<border>2</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Transaction Date</text>
<border>2</border>
<color>33554432</color>
<x>70</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Request ID / Ticket ID</text>
<border>2</border>
<color>33554432</color>
<x>204</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Request Date</text>
<border>2</border>
<color>33554432</color>
<x>272</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Submitted By</text>
<border>2</border>
<color>33554432</color>
<x>406</x>
<y>2</y>
<height>16</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__given_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Merged By</text>
<border>2</border>
<color>33554432</color>
<x>749</x>
<y>2</y>
<height>16</height>
<width>105</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__merge_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Executed</text>
<border>2</border>
<color>33554432</color>
<x>1096</x>
<y>2</y>
<height>16</height>
<width>55</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>executed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Reference ID</text>
<border>2</border>
<color>33554432</color>
<x>1153</x>
<y>2</y>
<height>16</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__org_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Division</text>
<border>2</border>
<color>33554432</color>
<x>1223</x>
<y>2</y>
<height>16</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>itm_ver_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg User</text>
<border>2</border>
<color>33554432</color>
<x>2535</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Term</text>
<border>2</border>
<color>33554432</color>
<x>2603</x>
<y>2</y>
<height>16</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Confirm</text>
<border>2</border>
<color>33554432</color>
<x>4706</x>
<y>2</y>
<height>16</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Confirmed On</text>
<border>2</border>
<color>33554432</color>
<x>2143</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Enterprises</text>
<border>2</border>
<color>33554432</color>
<x>1561</x>
<y>2</y>
<height>16</height>
<width>454</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>enterprises_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Submitted By Name</text>
<border>0</border>
<color>33554432</color>
<x>509</x>
<y>1</y>
<height>19</height>
<width>238</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>name_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Merged By Name</text>
<border>0</border>
<color>33554432</color>
<x>856</x>
<y>1</y>
<height>16</height>
<width>238</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>users_name_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Division Description</text>
<border>0</border>
<color>33554432</color>
<x>1321</x>
<y>1</y>
<height>19</height>
<width>238</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Chg Date</text>
<border>2</border>
<color>33554432</color>
<x>2701</x>
<y>1</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sql_changes_chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed By</text>
<border>0</border>
<color>33554432</color>
<x>2277</x>
<y>1</y>
<height>16</height>
<width>256</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_by_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed</text>
<border>2</border>
<color>33554432</color>
<x>2017</x>
<y>1</y>
<height>16</height>
<width>124</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirm_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Users Name</text>
<border>2</border>
<color>33554432</color>
<x>4766</x>
<y>1</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>users_name_conf_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Execution Rights</text>
<border>0</border>
<color>33554432</color>
<x>2767</x>
<y>1</y>
<height>19</height>
<width>217</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exec_rights_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Transaction ID Reference</text>
<border>0</border>
<color>33554432</color>
<x>2986</x>
<y>1</y>
<height>19</height>
<width>201</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__ref_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Req Descr</text>
<border>0</border>
<color>33554432</color>
<x>3189</x>
<y>1</y>
<height>19</height>
<width>105</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_descr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Cust Name</text>
<border>0</border>
<color>33554432</color>
<x>3296</x>
<y>1</y>
<height>19</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Customer Code</text>
<border>2</border>
<color>33554432</color>
<x>3394</x>
<y>1</y>
<height>16</height>
<width>154</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Wf Status</text>
<border>2</border>
<color>33554432</color>
<x>3550</x>
<y>1</y>
<height>16</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_status_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Workflow Remarks :</text>
<border>2</border>
<color>33554432</color>
<x>3650</x>
<y>1</y>
<height>19</height>
<width>328</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_remarks_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Remarks</text>
<border>0</border>
<color>33554432</color>
<x>3980</x>
<y>1</y>
<height>19</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Approval Level</text>
<border>0</border>
<color>33554432</color>
<x>4072</x>
<y>1</y>
<height>19</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_level_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Executive Approval</text>
<border>0</border>
<color>33554432</color>
<x>4183</x>
<y>1</y>
<height>19</height>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exec_aprv_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Review</text>
<border>0</border>
<color>33554432</color>
<x>4256</x>
<y>1</y>
<height>19</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>review_yn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Transaction status</text>
<border>0</border>
<color>33554432</color>
<x>4331</x>
<y>1</y>
<height>19</height>
<width>135</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>txn_status_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Closed</text>
<border>0</border>
<color>33554432</color>
<x>4468</x>
<y>1</y>
<height>19</height>
<width>71</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_yn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Closed By</text>
<border>0</border>
<color>33554432</color>
<x>4541</x>
<y>1</y>
<height>19</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_by_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Closed Date</text>
<border>0</border>
<color>33554432</color>
<x>4620</x>
<y>1</y>
<height>19</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>70</x>
<y>2</y>
<height>19</height>
<width>132</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>204</x>
<y>2</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>272</x>
<y>2</y>
<height>19</height>
<width>132</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>406</x>
<y>2</y>
<height>19</height>
<width>101</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__given</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>749</x>
<y>2</y>
<height>19</height>
<width>105</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__merge</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>1096</x>
<y>3</y>
<height>19</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>executed</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>1153</x>
<y>2</y>
<height>19</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__org</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>1223</x>
<y>2</y>
<height>19</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>itm_ver</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>2535</x>
<y>2</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>2603</x>
<y>2</y>
<height>19</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>4706</x>
<y>2</y>
<height>19</height>
<width>58</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>2143</x>
<y>2</y>
<height>19</height>
<width>132</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>1561</x>
<y>2</y>
<height>19</height>
<width>454</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>enterprises</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>509</x>
<y>1</y>
<height>16</height>
<width>238</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>856</x>
<y>1</y>
<height>16</height>
<width>238</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>users_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1321</x>
<y>1</y>
<height>16</height>
<width>238</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>2701</x>
<y>1</y>
<height>16</height>
<width>64</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2277</x>
<y>3</y>
<height>16</height>
<width>256</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_by</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>2017</x>
<y>1</y>
<height>16</height>
<width>124</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirm</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>4766</x>
<y>1</y>
<height>16</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>users_name_conf</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2767</x>
<y>1</y>
<height>16</height>
<width>217</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exec_rights</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2986</x>
<y>1</y>
<height>16</height>
<width>201</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>3189</x>
<y>1</y>
<height>16</height>
<width>105</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>26</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>3296</x>
<y>1</y>
<height>16</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>3394</x>
<y>1</y>
<height>16</height>
<width>154</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>3550</x>
<y>1</y>
<height>16</height>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>3650</x>
<y>1</y>
<height>16</height>
<width>328</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>29</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>3980</x>
<y>1</y>
<height>16</height>
<width>90</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>30</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>4072</x>
<y>1</y>
<height>16</height>
<width>109</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_level</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>31</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>4183</x>
<y>1</y>
<height>16</height>
<width>71</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exec_aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>32</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>4256</x>
<y>1</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>review_yn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>33</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>4331</x>
<y>1</y>
<height>16</height>
<width>135</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>txn_status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>34</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>4468</x>
<y>1</y>
<height>16</height>
<width>71</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_yn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>35</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>4541</x>
<y>1</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_by</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>36</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>4620</x>
<y>1</y>
<height>16</height>
<width>84</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>37</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>4862</x>
<y>1</y>
<height>16</height>
<width>358</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>enterprise_descr</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Enterprise Description</text>
<border>2</border>
<color>33554432</color>
<x>4861</x>
<y>1</y>
<height>16</height>
<width>359</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>enterprise_descr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>23</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>sql_changes_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>sql_changes_det.line_no</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ora_stmnt</name>
<dbname>sql_changes_det.ora_stmnt</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sql_changes_det&quot; ) COLUMN(NAME=&quot;sql_changes_det.tran_id&quot;) COLUMN(NAME=&quot;sql_changes_det.line_no&quot;) COLUMN(NAME=&quot;sql_changes_det.ora_stmnt&quot;)WHERE( EXP1 =&quot;sql_changes_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = number) </retrieve>
<update>sql_changes_det</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>number</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Transaction ID</text>
<border>2</border>
<color>0</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No</text>
<border>2</border>
<color>0</color>
<x>70</x>
<y>2</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>SQL To Execute</text>
<border>2</border>
<color>0</color>
<x>144</x>
<y>2</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ora_stmnt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>2</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>2</border>
<color>33554432</color>
<x>70</x>
<y>2</y>
<height>19</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>2</border>
<color>33554432</color>
<x>144</x>
<y>2</y>
<height>19</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ora_stmnt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>4000</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>1073741824</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Header>
<height>2</height>
<color>536870912</color>
</Header>
<Summary>
<height>114</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>1119</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>sql_changes.tran_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_date</name>
<dbname>sql_changes.tran_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>req_id</name>
<dbname>sql_changes.req_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>req_date</name>
<dbname>sql_changes.req_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__given</name>
<dbname>sql_changes.emp_code__given</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__merge</name>
<dbname>sql_changes.emp_code__merge</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>executed</name>
<dbname>sql_changes.executed</dbname>
<initial>N</initial>
<values>
<item display="YES" data="Y"/>
<item display="NO" data="N"/>
</values>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id__org</name>
<dbname>sql_changes.tran_id__org</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>active_yn</name>
<dbname>sql_changes.active_yn</dbname>
<initial>Y</initial>
<values>
<item display="YES" data="Y"/>
<item display="NO" data="N"/>
</values>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>sql_changes.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>sql_changes.chg_term</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>sql_changes.confirmed</dbname>
<initial>N</initial>
<values>
<item display="YES" data="Y"/>
<item display="NO" data="N"/>
</values>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>sql_changes.conf_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>itm_ver</name>
<dbname>sql_changes.itm_ver</dbname>
</table_column>
<table_column>
<type size="100">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>enterprises</name>
<dbname>sql_changes.enterprises</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code_aprv</name>
<dbname>sql_changes.emp_code_aprv</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>sql_changes.chg_date</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>appl_db</name>
<dbname>sql_changes.appl_db</dbname>
<initial>S</initial>
<values>
<item display="Selected Enterprise" data="S"/>
<item display="All enterprise" data="E"/>
</values>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>name</name>
<dbname>users.name</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>users_name</name>
<dbname>users.name</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>descr</name>
<dbname>itemser.descr</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_mname</name>
<dbname>employee.emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>users_name_aprv</name>
<dbname>users.name</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>exec_rights</name>
<dbname>sql_changes.exec_rights</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>tran_id__ref</name>
<dbname>sql_changes.tran_id__ref</dbname>
</table_column>
<table_column>
<type size="1500">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>req_descr</name>
<dbname>req_descr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_code</name>
<dbname>sql_changes.cust_code</dbname>
</table_column>
<table_column>
<type size="50">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>cust_name</name>
<dbname>cust_name</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>wf_status</name>
<dbname>sql_changes.wf_status</dbname>
</table_column>
<table_column>
<type size="2000">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>wf_remarks</name>
<dbname>sql_changes.wf_remarks</dbname>
</table_column>
<table_column>
<type size="2000">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>remarks</name>
<dbname>sql_changes.remarks</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>exec_aprv</name>
<dbname>sql_changes.exec_aprv</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>txn_status</name>
<dbname>sql_changes.txn_status</dbname>
<values>
<item display="Awaiting TL Approval " data="T"/>
<item display="Awaiting KB Approval " data="K"/>
<item display="Approved " data="A"/>
<item display="Released to QC " data="Q"/>
<item display="Executed in QC " data="X"/>
<item display="Released to Pilot " data="P"/>
<item display="Executed in Pilot " data="Y"/>
<item display="Released to Live " data="L"/>
<item display="Executed in Live " data="Z"/>
<item display="Under Review " data="R"/>
<item display="Closed " data="C"/>
<item display="Released to Client Developer" data="D"/>
<item display="Executed in Client Developer" data="E"/>
</values>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>closed_yn</name>
<dbname>sql_changes.closed_yn</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>closed_by</name>
<dbname>sql_changes.closed_by</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>closed_date</name>
<dbname>sql_changes.closed_date</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>aprv_level</name>
<dbname>sql_changes.aprv_level</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>review_yn</name>
<dbname>sql_changes.review_yn</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>enterprise_descr</name>
<dbname>enterprise.enterprise_descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sql_changes&quot; ) TABLE(NAME=&quot;users&quot; ALIAS=&quot;users_a&quot; ) TABLE(NAME=&quot;users&quot; ALIAS=&quot;users_b&quot; ) TABLE(NAME=&quot;itemser&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;users&quot; ALIAS=&quot;users_c&quot; ) TABLE(NAME=&quot;enterprise&quot; ) COLUMN(NAME=&quot;sql_changes.tran_id&quot;) COLUMN(NAME=&quot;sql_changes.tran_date&quot;) COLUMN(NAME=&quot;sql_changes.req_id&quot;) COLUMN(NAME=&quot;sql_changes.req_date&quot;) COLUMN(NAME=&quot;sql_changes.emp_code__given&quot;) COLUMN(NAME=&quot;sql_changes.emp_code__merge&quot;) COLUMN(NAME=&quot;sql_changes.executed&quot;) COLUMN(NAME=&quot;sql_changes.tran_id__org&quot;) COLUMN(NAME=&quot;sql_changes.active_yn&quot;) COLUMN(NAME=&quot;sql_changes.chg_user&quot;) COLUMN(NAME=&quot;sql_changes.chg_term&quot;) COLUMN(NAME=&quot;sql_changes.confirmed&quot;) COLUMN(NAME=&quot;sql_changes.conf_date&quot;) COLUMN(NAME=&quot;sql_changes.itm_ver&quot;) COLUMN(NAME=&quot;sql_changes.enterprises&quot;) COLUMN(NAME=&quot;sql_changes.emp_code_aprv&quot;) COLUMN(NAME=&quot;sql_changes.chg_date&quot;) COLUMN(NAME=&quot;sql_changes.appl_db&quot;) COLUMN(NAME=&quot;users_a.name&quot;) COLUMN(NAME=&quot;users_b.name&quot;) COLUMN(NAME=&quot;itemser.descr&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;users_c.name&quot;) COLUMN(NAME=&quot;sql_changes.exec_rights&quot;) COLUMN(NAME=&quot;sql_changes.tran_id__ref&quot;) COMPUTE(NAME=&quot;(select DTL_DESCR from ser_request where req_id = sql_changes.req_id) as req_descr&quot;) COLUMN(NAME=&quot;sql_changes.cust_code&quot;) COMPUTE(NAME=&quot;(SELECT cust_name FROM customer WHERE cust_code = (SELECT cust_code FROM ser_request WHERE req_id = sql_changes.req_id)) as cust_name&quot;) COLUMN(NAME=&quot;sql_changes.wf_status&quot;) COLUMN(NAME=&quot;sql_changes.wf_remarks&quot;) COLUMN(NAME=&quot;sql_changes.remarks&quot;) COLUMN(NAME=&quot;sql_changes.exec_aprv&quot;) COLUMN(NAME=&quot;sql_changes.txn_status&quot;) COLUMN(NAME=&quot;sql_changes.closed_yn&quot;) COLUMN(NAME=&quot;sql_changes.closed_by&quot;) COLUMN(NAME=&quot;sql_changes.closed_date&quot;) COLUMN(NAME=&quot;sql_changes.aprv_level&quot;) COLUMN(NAME=&quot;sql_changes.review_yn&quot;) COLUMN(NAME=&quot;enterprise.enterprise_descr&quot;) JOIN (LEFT=&quot;sql_changes.emp_code__given&quot; OP =&quot;=&quot;RIGHT=&quot;users_a.code&quot; OUTER1 =&quot;sql_changes.emp_code__given&quot; ) JOIN (LEFT=&quot;sql_changes.emp_code__merge&quot; OP =&quot;=&quot;RIGHT=&quot;users_b.code&quot; OUTER1 =&quot;sql_changes.emp_code__merge&quot; ) JOIN (LEFT=&quot;sql_changes.emp_code_aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;sql_changes.emp_code_aprv&quot; ) JOIN (LEFT=&quot;sql_changes.itm_ver&quot; OP =&quot;=&quot;RIGHT=&quot;itemser.item_ser&quot; OUTER1 =&quot;sql_changes.itm_ver&quot; ) JOIN (LEFT=&quot;sql_changes.emp_code_aprv&quot; OP =&quot;=&quot;RIGHT=&quot;users_c.code&quot; OUTER1 =&quot;sql_changes.emp_code_aprv&quot; ) JOIN (LEFT=&quot;sql_changes.enterprises&quot; OP =&quot;=&quot;RIGHT=&quot;enterprise.enterprise&quot; OUTER1 =&quot;sql_changes.enterprises&quot; )WHERE( EXP1 =&quot;sql_changes.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>sql_changes</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>33554432</color>
<x>132</x>
<y>700</y>
<height>373</height>
<width>529</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Status</text>
<border>2</border>
<color>33554432</color>
<x>133</x>
<y>539</y>
<height>149</height>
<width>537</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>132</x>
<y>2</y>
<height>523</height>
<width>539</width>
<name>gb_3</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Date:</text>
<border>2</border>
<color>33554432</color>
<x>176</x>
<y>52</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>292</x>
<y>52</y>
<height>19</height>
<width>109</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Request ID / Ticket ID:</text>
<border>2</border>
<color>33554432</color>
<x>154</x>
<y>85</y>
<height>16</height>
<width>131</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>2</border>
<color>33554432</color>
<x>289</x>
<y>85</y>
<height>19</height>
<width>109</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Request Date:</text>
<border>2</border>
<color>33554432</color>
<x>173</x>
<y>137</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>290</x>
<y>137</y>
<height>19</height>
<width>109</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>2</border>
<color>33554432</color>
<x>289</x>
<y>221</y>
<height>19</height>
<width>109</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__merge</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<required>yes</required>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Executed:</text>
<border>2</border>
<color>33554432</color>
<x>176</x>
<y>255</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>executed_t</name>
<visible>1</visible>
<font>
<face>Arial CE</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>238</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>289</x>
<y>255</y>
<height>19</height>
<width>109</width>
<format>[YES/NO]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>executed</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>BatangChe</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Reference ID:</text>
<border>2</border>
<color>33554432</color>
<x>176</x>
<y>289</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__org_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>2</border>
<color>33554432</color>
<x>289</x>
<y>289</y>
<height>19</height>
<width>109</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__org</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Merged By:</text>
<border>2</border>
<color>33554432</color>
<x>176</x>
<y>221</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__merge_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>404</x>
<y>221</y>
<height>16</height>
<width>94</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>users_name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>291</x>
<y>113</y>
<height>16</height>
<width>109</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>req_descr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>33</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>2</border>
<color>33554432</color>
<x>290</x>
<y>167</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>34</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>2</border>
<color>33554432</color>
<x>289</x>
<y>326</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exec_aprv</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>30</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>2</border>
<color>33554432</color>
<x>171</x>
<y>195</y>
<height>16</height>
<width>99</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_name</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>29</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>2</border>
<color>33554432</color>
<x>290</x>
<y>194</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Remarks:</text>
<border>2</border>
<color>33554432</color>
<x>173</x>
<y>167</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>remarks_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Active:</text>
<border>2</border>
<color>33554432</color>
<x>176</x>
<y>358</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>active_yn_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>289</x>
<y>358</y>
<height>19</height>
<width>109</width>
<format>[YES/NO]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>active_yn</name>
<visible>0</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Division:</text>
<border>2</border>
<color>33554432</color>
<x>176</x>
<y>393</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>itm_ver_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>2</border>
<color>33554432</color>
<x>294</x>
<y>393</y>
<height>16</height>
<width>124</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>itm_ver</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>427</x>
<y>393</y>
<height>16</height>
<width>155</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Applicable For :</text>
<border>2</border>
<color>33554432</color>
<x>177</x>
<y>434</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>appl_db_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>2</border>
<color>33554432</color>
<x>296</x>
<y>434</y>
<height>16</height>
<width>56</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>appl_db</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Executive Approval:</text>
<border>2</border>
<color>33554432</color>
<x>172</x>
<y>325</y>
<height>16</height>
<width>113</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exec_aprv_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction ID:</text>
<border>2</border>
<color>33554432</color>
<x>166</x>
<y>737</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>281</x>
<y>737</y>
<height>19</height>
<width>109</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<criteria.required>yes</criteria.required>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction status:</text>
<border>2</border>
<color>33554432</color>
<x>164</x>
<y>621</y>
<height>16</height>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>txn_status_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>35</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>282</x>
<y>622</y>
<height>16</height>
<width>112</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>txn_status</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Closed By:</text>
<border>2</border>
<color>33554432</color>
<x>424</x>
<y>621</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_by_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>38</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>542</x>
<y>652</y>
<height>16</height>
<width>114</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Closed Date:</text>
<border>2</border>
<color>33554432</color>
<x>425</x>
<y>653</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>37</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>539</x>
<y>621</y>
<height>16</height>
<width>104</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_by</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Approval Level:</text>
<border>2</border>
<color>33554432</color>
<x>166</x>
<y>588</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_level_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>39</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>281</x>
<y>588</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_level</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Closed:</text>
<border>2</border>
<color>33554432</color>
<x>424</x>
<y>588</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_yn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>36</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>543</x>
<y>587</y>
<height>16</height>
<width>92</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>closed_yn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>40</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>2</border>
<color>33554432</color>
<x>280</x>
<y>761</y>
<height>16</height>
<width>75</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>review_yn</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Submitted By:</text>
<border>2</border>
<color>33554432</color>
<x>166</x>
<y>782</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__given_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>279</x>
<y>782</y>
<height>19</height>
<width>109</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__given</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<required>yes</required>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>395</x>
<y>782</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<required>yes</required>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed:</text>
<border>2</border>
<color>33554432</color>
<x>166</x>
<y>805</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>280</x>
<y>805</y>
<height>19</height>
<width>109</width>
<format>[YES/NO]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed On:</text>
<border>2</border>
<color>33554432</color>
<x>166</x>
<y>831</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>282</x>
<y>831</y>
<height>19</height>
<width>109</width>
<format>[General]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed By:</text>
<border>2</border>
<color>33554432</color>
<x>166</x>
<y>856</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_aprv_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>282</x>
<y>856</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>347</x>
<y>856</y>
<height>16</height>
<width>104</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>users_name_aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>457</x>
<y>856</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>521</x>
<y>856</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_mname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>586</x>
<y>856</y>
<height>16</height>
<width>60</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>565</x>
<y>880</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term:</text>
<border>2</border>
<color>33554432</color>
<x>480</x>
<y>880</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sql_changes_chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>398</x>
<y>880</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg User:</text>
<border>2</border>
<color>33554432</color>
<x>318</x>
<y>880</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>246</x>
<y>880</y>
<height>16</height>
<width>66</width>
<format>[shortdate] </format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Date:</text>
<border>2</border>
<color>33554432</color>
<x>167</x>
<y>880</y>
<height>16</height>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Execution Rights:</text>
<border>2</border>
<color>33554432</color>
<x>185</x>
<y>906</y>
<height>16</height>
<width>103</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exec_rights_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>26</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>294</x>
<y>905</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exec_rights</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>291</x>
<y>927</y>
<height>16</height>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__ref</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction ID reference:</text>
<border>2</border>
<color>33554432</color>
<x>142</x>
<y>929</y>
<height>16</height>
<width>144</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id__ref_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Workflow Status:</text>
<border>2</border>
<color>33554432</color>
<x>141</x>
<y>954</y>
<height>16</height>
<width>143</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_status_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>31</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>290</x>
<y>951</y>
<height>16</height>
<width>123</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_status</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>32</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>289</x>
<y>984</y>
<height>16</height>
<width>138</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_remarks</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Workflow Remarks</text>
<border>2</border>
<color>33554432</color>
<x>145</x>
<y>983</y>
<height>16</height>
<width>136</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wf_remarks_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Review:</text>
<border>2</border>
<color>33554432</color>
<x>166</x>
<y>761</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>review_yn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Enterprise:</text>
<border>2</border>
<color>33554432</color>
<x>178</x>
<y>473</y>
<height>16</height>
<width>109</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>enterprises_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>2</border>
<color>33554432</color>
<x>296</x>
<y>473</y>
<height>16</height>
<width>150</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>enterprises</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>41</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>33554432</color>
<x>454</x>
<y>473</y>
<height>16</height>
<width>119</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>enterprise_descr</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>1073741824</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>349</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>sql_changes_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>sql_changes_det.line_no</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ora_stmnt</name>
<dbname>sql_changes_det.ora_stmnt</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sql_changes_det&quot; ) COLUMN(NAME=&quot;sql_changes_det.tran_id&quot;) COLUMN(NAME=&quot;sql_changes_det.line_no&quot;) COLUMN(NAME=&quot;sql_changes_det.ora_stmnt&quot;)WHERE( EXP1 =&quot;sql_changes_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;sql_changes_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>sql_changes_det</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
<argument>
<name>line_no</name>
<type>number</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>0</color>
<x>83</x>
<y>233</y>
<height>123</height>
<width>421</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>80</x>
<y>44</y>
<height>138</height>
<width>561</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction ID:</text>
<border>2</border>
<color>0</color>
<x>128</x>
<y>275</y>
<height>16</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>0</color>
<x>219</x>
<y>275</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No:</text>
<border>2</border>
<color>0</color>
<x>151</x>
<y>309</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>2</border>
<color>0</color>
<x>219</x>
<y>309</y>
<height>19</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>SQL To Execute:</text>
<border>2</border>
<color>0</color>
<x>153</x>
<y>81</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ora_stmnt_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>2</border>
<color>0</color>
<x>257</x>
<y>79</y>
<height>86</height>
<width>191</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ora_stmnt</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>4000</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
$PBExportHeader$headerdetail11.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=41 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=22 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="sql_changes.tran_id" )
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="sql_changes.tran_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=req_id dbname="sql_changes.req_id" )
column=(type=datetime update=yes updatewhereclause=yes name=req_date dbname="sql_changes.req_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__given dbname="sql_changes.emp_code__given" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__merge dbname="sql_changes.emp_code__merge" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__org dbname="sql_changes.tran_id__org" )
column=(type=char(15) update=yes updatewhereclause=yes name=itm_ver dbname="sql_changes.itm_ver" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="sql_changes.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="sql_changes.chg_term" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="sql_changes.conf_date" )
column=(type=char(100) update=yes updatewhereclause=yes name=enterprises dbname="sql_changes.enterprises" )
column=(type=char(40) updatewhereclause=yes name=name dbname="users.name" )
column=(type=char(40) updatewhereclause=yes name=descr dbname="itemser.descr" )
column=(type=char(40) updatewhereclause=yes name=users_name dbname="users.name" )
column=(type=char(3) update=yes updatewhereclause=yes name=executed dbname="executed" )
column=(type=datetime updatewhereclause=yes name=chg_date dbname="sql_changes.chg_date" )
column=(type=char(3) updatewhereclause=yes name=confirm dbname="confirm" )
column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="sql_changes.confirmed" )
column=(type=char(40) updatewhereclause=yes name=users_name_conf dbname="users.name" )
column=(type=char(52) updatewhereclause=yes name=confirmed_by dbname="confirmed_by" )
column=(type=char(1) update=yes updatewhereclause=yes name=exec_rights dbname="sql_changes.exec_rights" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__ref dbname="sql_changes.tran_id__ref" )
column=(type=char(1500) updatewhereclause=yes name=req_descr dbname="req_descr" )
column=(type=char(10) update=yes updatewhereclause=yes name=cust_code dbname="sql_changes.cust_code" )
column=(type=char(50) updatewhereclause=yes name=cust_name dbname="cust_name" )
column=(type=char(1) updatewhereclause=yes name=wf_status dbname="sql_changes.wf_status" )
column=(type=char(2000) update=yes updatewhereclause=yes name=wf_remarks dbname="sql_changes.wf_remarks" )
column=(type=char(2000) update=yes updatewhereclause=yes name=remarks dbname="sql_changes.remarks" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=aprv_level dbname="sql_changes.aprv_level" )
column=(type=char(1) update=yes updatewhereclause=yes name=exec_aprv dbname="sql_changes.exec_aprv" )
column=(type=char(1) update=yes updatewhereclause=yes name=review_yn dbname="sql_changes.review_yn" )
column=(type=char(1) update=yes updatewhereclause=yes name=txn_status dbname="sql_changes.txn_status" )
column=(type=char(1) update=yes updatewhereclause=yes name=closed_yn dbname="sql_changes.closed_yn" )
column=(type=char(10) update=yes updatewhereclause=yes name=closed_by dbname="sql_changes.closed_by" )
column=(type=datetime update=yes updatewhereclause=yes name=closed_date dbname="sql_changes.closed_date" )
column=(type=char(60) updatewhereclause=yes name=enterprise_descr dbname="enterprise.enterprise_descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sql_changes~" ) TABLE(NAME=~"users~" ALIAS=~"users_a~" ) TABLE(NAME=~"users~" ALIAS=~"users_b~" ) TABLE(NAME=~"itemser~" ) TABLE(NAME=~"employee~" ) TABLE(NAME=~"users~" ALIAS=~"users_c~" ) TABLE(NAME=~"enterprise~" ) COLUMN(NAME=~"sql_changes.tran_id~") COLUMN(NAME=~"sql_changes.tran_date~") COLUMN(NAME=~"sql_changes.req_id~") COLUMN(NAME=~"sql_changes.req_date~") COLUMN(NAME=~"sql_changes.emp_code__given~") COLUMN(NAME=~"sql_changes.emp_code__merge~") COLUMN(NAME=~"sql_changes.tran_id__org~") COLUMN(NAME=~"sql_changes.itm_ver~") COLUMN(NAME=~"sql_changes.chg_user~") COLUMN(NAME=~"sql_changes.chg_term~") COLUMN(NAME=~"sql_changes.conf_date~") COLUMN(NAME=~"sql_changes.enterprises~") COLUMN(NAME=~"users_a.name~") COLUMN(NAME=~"itemser.descr~") COLUMN(NAME=~"users_b.name~") COMPUTE(NAME=~"(CASE WHEN sql_changes.executed='Y' then 'YES' else 'No' END) AS Executed~") COLUMN(NAME=~"sql_changes.chg_date~") COMPUTE(NAME=~"(CASE WHEN sql_changes.confirmed='Y' then 'YES' else 'No' END) AS Confirm~") COLUMN(NAME=~"sql_changes.confirmed~") COLUMN(NAME=~"users_c.name~") COMPUTE(NAME=~" (users_c.name ||'('||trim(sql_changes.emp_code_aprv)||')') as confirmed_by
~") COLUMN(NAME=~"sql_changes.exec_rights~") COLUMN(NAME=~"sql_changes.tran_id__ref~") COMPUTE(NAME=~"(select DTL_DESCR from ser_request where req_id = sql_changes.req_id) as req_descr~") COLUMN(NAME=~"sql_changes.cust_code~") COMPUTE(NAME=~"(SELECT cust_name FROM customer WHERE cust_code = (SELECT cust_code FROM ser_request WHERE req_id = sql_changes.req_id)) as cust_name~") COLUMN(NAME=~"sql_changes.wf_status~") COLUMN(NAME=~"sql_changes.wf_remarks~") COLUMN(NAME=~"sql_changes.remarks~") COLUMN(NAME=~"sql_changes.aprv_level~") COLUMN(NAME=~"sql_changes.exec_aprv~") COLUMN(NAME=~"sql_changes.review_yn~") COLUMN(NAME=~"sql_changes.txn_status~") COLUMN(NAME=~"sql_changes.closed_yn~") COLUMN(NAME=~"sql_changes.closed_by~") COLUMN(NAME=~"sql_changes.closed_date~") COLUMN(NAME=~"enterprise.enterprise_descr~") JOIN (LEFT=~"sql_changes.emp_code__given~" OP =~"=~"RIGHT=~"users_a.code~" OUTER1 =~"sql_changes.emp_code__given~" ) JOIN (LEFT=~"sql_changes.itm_ver~" OP =~"=~"RIGHT=~"itemser.item_ser~" OUTER1 =~"sql_changes.itm_ver~" ) JOIN (LEFT=~"sql_changes.emp_code_aprv~" OP =~"=~"RIGHT=~"employee.emp_code~" OUTER1 =~"sql_changes.emp_code_aprv~" ) JOIN (LEFT=~"sql_changes.emp_code__merge~" OP =~"=~"RIGHT=~"users_b.code~" OUTER1 =~"sql_changes.emp_code__merge~" ) JOIN (LEFT=~"sql_changes.emp_code_aprv~" OP =~"=~"RIGHT=~"users_c.code~" OUTER1 =~"sql_changes.emp_code_aprv~" ) JOIN (LEFT=~"sql_changes.enterprises~" OP =~"=~"RIGHT=~"enterprise.enterprise~" OUTER1 =~"sql_changes.enterprises~" )) " update="sql_changes" updatewhere=0 updatekeyinplace=no )
text(band=header alignment="2" text="Transaction ID" border="2" color="33554432" x="2" y="2" height="16" width="66" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Transaction Date" border="2" color="33554432" x="70" y="2" height="16" width="132" html.valueishtml="0" name=tran_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Request ID / Ticket ID" border="2" color="33554432" x="204" y="2" height="16" width="66" html.valueishtml="0" name=req_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Request Date" border="2" color="33554432" x="272" y="2" height="16" width="132" html.valueishtml="0" name=req_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Submitted By" border="2" color="33554432" x="406" y="2" height="16" width="101" html.valueishtml="0" name=emp_code__given_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Merged By" border="2" color="33554432" x="749" y="2" height="16" width="105" html.valueishtml="0" name=emp_code__merge_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Executed" border="2" color="33554432" x="1096" y="2" height="16" width="55" html.valueishtml="0" name=executed_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Reference ID" border="2" color="33554432" x="1153" y="2" height="16" width="68" html.valueishtml="0" name=tran_id__org_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Division" border="2" color="33554432" x="1223" y="2" height="16" width="96" html.valueishtml="0" name=itm_ver_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg User" border="2" color="33554432" x="2535" y="2" height="16" width="66" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg Term" border="2" color="33554432" x="2603" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Confirm" border="2" color="33554432" x="4706" y="2" height="16" width="58" html.valueishtml="0" name=confirmed_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Confirmed On" border="2" color="33554432" x="2143" y="2" height="16" width="132" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Enterprises" border="2" color="33554432" x="1561" y="2" height="16" width="454" html.valueishtml="0" name=enterprises_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Submitted By Name" border="0" color="33554432" x="509" y="1" height="19" width="238" html.valueishtml="0" name=name_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Merged By Name" border="0" color="33554432" x="856" y="1" height="16" width="238" html.valueishtml="0" name=users_name_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Division Description" border="0" color="33554432" x="1321" y="1" height="19" width="238" html.valueishtml="0" name=descr_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Chg Date" border="2" color="33554432" x="2701" y="1" height="16" width="64" html.valueishtml="0" name=sql_changes_chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Confirmed By" border="0" color="33554432" x="2277" y="1" height="16" width="256" html.valueishtml="0" name=confirmed_by_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Confirmed" border="2" color="33554432" x="2017" y="1" height="16" width="124" html.valueishtml="0" name=confirm_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Users Name" border="2" color="33554432" x="4766" y="1" height="16" width="93" html.valueishtml="0" name=users_name_conf_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Execution Rights" border="0" color="33554432" x="2767" y="1" height="19" width="217" html.valueishtml="0" name=exec_rights_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Transaction ID Reference" border="0" color="33554432" x="2986" y="1" height="19" width="201" html.valueishtml="0" name=tran_id__ref_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Req Descr" border="0" color="33554432" x="3189" y="1" height="19" width="105" html.valueishtml="0" name=req_descr_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Cust Name" border="0" color="33554432" x="3296" y="1" height="19" width="96" html.valueishtml="0" name=cust_name_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Customer Code" border="2" color="33554432" x="3394" y="1" height="16" width="154" html.valueishtml="0" name=cust_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Wf Status" border="2" color="33554432" x="3550" y="1" height="16" width="98" html.valueishtml="0" name=wf_status_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Workflow Remarks :" border="2" color="33554432" x="3650" y="1" height="19" width="328" html.valueishtml="0" name=wf_remarks_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Remarks" border="0" color="33554432" x="3980" y="1" height="19" width="90" html.valueishtml="0" name=remarks_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Approval Level" border="0" color="33554432" x="4072" y="1" height="19" width="109" html.valueishtml="0" name=aprv_level_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Executive Approval" border="0" color="33554432" x="4183" y="1" height="19" width="71" html.valueishtml="0" name=exec_aprv_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Review" border="0" color="33554432" x="4256" y="1" height="19" width="73" html.valueishtml="0" name=review_yn_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Transaction status" border="0" color="33554432" x="4331" y="1" height="19" width="135" html.valueishtml="0" name=txn_status_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Closed" border="0" color="33554432" x="4468" y="1" height="19" width="71" html.valueishtml="0" name=closed_yn_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Closed By" border="0" color="33554432" x="4541" y="1" height="19" width="77" html.valueishtml="0" name=closed_by_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="0" text="Closed Date" border="0" color="33554432" x="4620" y="1" height="19" width="84" html.valueishtml="0" name=closed_date_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="2" color="33554432" x="2" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="2" color="33554432" x="70" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="2" color="33554432" x="204" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=req_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="2" color="33554432" x="272" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=req_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="2" color="33554432" x="406" y="2" height="19" width="101" format="[general]" html.valueishtml="0" name=emp_code__given visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="2" color="33554432" x="749" y="2" height="19" width="105" format="[general]" html.valueishtml="0" name=emp_code__merge visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="2" color="33554432" x="1096" y="3" height="19" width="55" format="[general]" html.valueishtml="0" name=executed visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="2" color="33554432" x="1153" y="2" height="19" width="68" format="[general]" html.valueishtml="0" name=tran_id__org visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="2" color="33554432" x="1223" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=itm_ver visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="2" color="33554432" x="2535" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="2" color="33554432" x="2603" y="2" height="19" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="2" color="33554432" x="4706" y="2" height="19" width="58" format="[general]" html.valueishtml="0" name=confirmed visible="0" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="2" color="33554432" x="2143" y="2" height="19" width="132" format="[shortdate] [time]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="2" color="33554432" x="1561" y="2" height="19" width="454" format="[general]" html.valueishtml="0" name=enterprises visible="1" edit.limit=100 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="0" color="33554432" x="509" y="1" height="16" width="238" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="0" color="33554432" x="856" y="1" height="16" width="238" format="[general]" html.valueishtml="0" name=users_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="0" color="33554432" x="1321" y="1" height="16" width="238" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="2" color="33554432" x="2701" y="1" height="16" width="64" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=21 alignment="0" tabsequence=32766 border="0" color="33554432" x="2277" y="3" height="16" width="256" format="[general]" html.valueishtml="0" name=confirmed_by visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="2" color="33554432" x="2017" y="1" height="16" width="124" format="[general]" html.valueishtml="0" name=confirm visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=20 alignment="0" tabsequence=32766 border="2" color="33554432" x="4766" y="1" height="16" width="93" format="[general]" html.valueishtml="0" name=users_name_conf visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=22 alignment="0" tabsequence=32766 border="0" color="33554432" x="2767" y="1" height="16" width="217" format="[general]" html.valueishtml="0" name=exec_rights visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=23 alignment="0" tabsequence=32766 border="0" color="33554432" x="2986" y="1" height="16" width="201" format="[general]" html.valueishtml="0" name=tran_id__ref visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=24 alignment="0" tabsequence=32766 border="0" color="33554432" x="3189" y="1" height="16" width="105" format="[general]" html.valueishtml="0" name=req_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=26 alignment="0" tabsequence=32766 border="0" color="33554432" x="3296" y="1" height="16" width="96" format="[general]" html.valueishtml="0" name=cust_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=25 alignment="0" tabsequence=32766 border="2" color="33554432" x="3394" y="1" height="16" width="154" format="[general]" html.valueishtml="0" name=cust_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=27 alignment="0" tabsequence=32766 border="2" color="33554432" x="3550" y="1" height="16" width="98" format="[general]" html.valueishtml="0" name=wf_status visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=28 alignment="0" tabsequence=32766 border="2" color="33554432" x="3650" y="1" height="16" width="328" format="[general]" html.valueishtml="0" name=wf_remarks visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=29 alignment="0" tabsequence=32766 border="0" color="33554432" x="3980" y="1" height="16" width="90" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=30 alignment="0" tabsequence=32766 border="0" color="33554432" x="4072" y="1" height="16" width="109" format="[general]" html.valueishtml="0" name=aprv_level visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=31 alignment="0" tabsequence=32766 border="0" color="33554432" x="4183" y="1" height="16" width="71" format="[general]" html.valueishtml="0" name=exec_aprv visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=32 alignment="0" tabsequence=32766 border="0" color="33554432" x="4256" y="1" height="16" width="73" format="[general]" html.valueishtml="0" name=review_yn visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=33 alignment="0" tabsequence=32766 border="0" color="33554432" x="4331" y="1" height="16" width="135" format="[general]" html.valueishtml="0" name=txn_status visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=34 alignment="0" tabsequence=32766 border="0" color="33554432" x="4468" y="1" height="16" width="71" format="[general]" html.valueishtml="0" name=closed_yn visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=35 alignment="0" tabsequence=32766 border="0" color="33554432" x="4541" y="1" height="16" width="77" format="[general]" html.valueishtml="0" name=closed_by visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=36 alignment="0" tabsequence=32766 border="0" color="33554432" x="4620" y="1" height="16" width="84" format="[shortdate] [time]" html.valueishtml="0" name=closed_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=37 alignment="0" tabsequence=32766 border="2" color="33554432" x="4862" y="1" height="16" width="358" html.valueishtml="0" name=enterprise_descr visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Enterprise Description" border="2" color="33554432" x="4861" y="1" height="16" width="359" html.valueishtml="0" name=enterprise_descr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$sql_changes_det_brow.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=23 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="sql_changes_det.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="sql_changes_det.line_no" )
column=(type=char(4000) update=yes updatewhereclause=yes name=ora_stmnt dbname="sql_changes_det.ora_stmnt" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sql_changes_det~" ) COLUMN(NAME=~"sql_changes_det.tran_id~") COLUMN(NAME=~"sql_changes_det.line_no~") COLUMN(NAME=~"sql_changes_det.ora_stmnt~")WHERE( EXP1 =~"sql_changes_det.tran_id~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = number) " update="sql_changes_det" updatewhere=1 updatekeyinplace=no arguments=(("tran_id", number)) )
text(band=header alignment="2" text="Transaction ID" border="2" color="0" x="2" y="2" height="16" width="66" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Line No" border="2" color="0" x="70" y="2" height="16" width="72" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="SQL To Execute" border="2" color="0" x="144" y="2" height="16" width="118" html.valueishtml="0" name=ora_stmnt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=10 border="2" color="33554432" x="2" y="2" height="19" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="1" tabsequence=20 border="2" color="33554432" x="70" y="2" height="19" width="72" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=30 border="2" color="33554432" x="144" y="2" height="19" width="118" format="[general]" html.valueishtml="0" name=ora_stmnt visible="1" edit.limit=4000 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$sql_changes_det_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=349 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="sql_changes_det.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="sql_changes_det.line_no" )
column=(type=char(4000) update=yes updatewhereclause=yes name=ora_stmnt dbname="sql_changes_det.ora_stmnt" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sql_changes_det~" ) COLUMN(NAME=~"sql_changes_det.tran_id~") COLUMN(NAME=~"sql_changes_det.line_no~") COLUMN(NAME=~"sql_changes_det.ora_stmnt~")WHERE( EXP1 =~"sql_changes_det.tran_id~" OP =~"=~" EXP2 =~":tran_id~" LOGIC =~"and~" ) WHERE( EXP1 =~"sql_changes_det.line_no~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="sql_changes_det" updatewhere=1 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) )
groupbox(band=detail text="Others"border="2" color="0" x="83" y="233" height="123" width="421" name=gb_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
groupbox(band=detail text="Basic"border="2" color="0" x="80" y="44" height="138" width="561" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Transaction ID:" border="2" color="0" x="128" y="275" height="16" width="87" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="2" color="0" x="219" y="275" height="19" width="66" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No:" border="2" color="0" x="151" y="309" height="16" width="64" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="2" color="0" x="219" y="309" height="19" width="72" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="SQL To Execute:" border="2" color="0" x="153" y="81" height="16" width="100" html.valueishtml="0" name=ora_stmnt_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=10 border="2" color="0" x="257" y="79" height="86" width="191" format="[general]" html.valueishtml="0" name=ora_stmnt visible="1" edit.limit=4000 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$headerdetail.srd
release 9;
datawindow(units=1 timer_interval=0 color=1073741824 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
header(height=2 color="536870912" )
summary(height=114 color="536870912" )
footer(height=0 color="536870912" )
detail(height=1119 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="sql_changes.tran_id" )
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="sql_changes.tran_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=req_id dbname="sql_changes.req_id" )
column=(type=datetime update=yes updatewhereclause=yes name=req_date dbname="sql_changes.req_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__given dbname="sql_changes.emp_code__given" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__merge dbname="sql_changes.emp_code__merge" )
column=(type=char(1) update=yes updatewhereclause=yes name=executed dbname="sql_changes.executed" initial="N" values="YES Y/NO N/" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__org dbname="sql_changes.tran_id__org" )
column=(type=char(1) update=yes updatewhereclause=yes name=active_yn dbname="sql_changes.active_yn" initial="Y" values="YES Y/NO N/" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="sql_changes.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="sql_changes.chg_term" )
column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="sql_changes.confirmed" initial="N" values="YES Y/NO N/" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="sql_changes.conf_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=itm_ver dbname="sql_changes.itm_ver" )
column=(type=char(100) update=yes updatewhereclause=yes name=enterprises dbname="sql_changes.enterprises" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code_aprv dbname="sql_changes.emp_code_aprv" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="sql_changes.chg_date" )
column=(type=char(1) update=yes updatewhereclause=yes name=appl_db dbname="sql_changes.appl_db" initial="S" values="Selected Enterprise S/All enterprise E/" )
column=(type=char(40) updatewhereclause=yes name=name dbname="users.name" )
column=(type=char(40) updatewhereclause=yes name=users_name dbname="users.name" )
column=(type=char(40) updatewhereclause=yes name=descr dbname="itemser.descr" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_mname dbname="employee.emp_mname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=char(40) updatewhereclause=yes name=users_name_aprv dbname="users.name" )
column=(type=char(1) update=yes updatewhereclause=yes name=exec_rights dbname="sql_changes.exec_rights" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__ref dbname="sql_changes.tran_id__ref" )
column=(type=char(1500) updatewhereclause=yes name=req_descr dbname="req_descr" )
column=(type=char(10) updatewhereclause=yes name=cust_code dbname="sql_changes.cust_code" )
column=(type=char(50) updatewhereclause=yes name=cust_name dbname="cust_name" )
column=(type=char(1) update=yes updatewhereclause=yes name=wf_status dbname="sql_changes.wf_status" )
column=(type=char(2000) update=yes updatewhereclause=yes name=wf_remarks dbname="sql_changes.wf_remarks" )
column=(type=char(2000) update=yes updatewhereclause=yes name=remarks dbname="sql_changes.remarks" )
column=(type=char(1) update=yes updatewhereclause=yes name=exec_aprv dbname="sql_changes.exec_aprv" values="Yes Y/No N/" )
column=(type=char(1) update=yes updatewhereclause=yes name=txn_status dbname="sql_changes.txn_status" values="Awaiting TL Approval T/Awaiting KB Approval K/Approved A/Released to QC Q/Executed in QC X/Released to Pilot P/Executed in Pilot Y/Released to Live L/Executed in Live Z/Under Review R/Closed C/Released to Client Developer D/Executed in Client Developer E/" )
column=(type=char(1) update=yes updatewhereclause=yes name=closed_yn dbname="sql_changes.closed_yn" )
column=(type=char(10) update=yes updatewhereclause=yes name=closed_by dbname="sql_changes.closed_by" )
column=(type=datetime update=yes updatewhereclause=yes name=closed_date dbname="sql_changes.closed_date" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=aprv_level dbname="sql_changes.aprv_level" )
column=(type=char(1) update=yes updatewhereclause=yes name=review_yn dbname="sql_changes.review_yn" initial="N" values="Yes Y/No N/" )
column=(type=char(60) updatewhereclause=yes name=enterprise_descr dbname="enterprise.enterprise_descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"sql_changes~" ) TABLE(NAME=~"users~" ALIAS=~"users_a~" ) TABLE(NAME=~"users~" ALIAS=~"users_b~" ) TABLE(NAME=~"itemser~" ) TABLE(NAME=~"employee~" ) TABLE(NAME=~"users~" ALIAS=~"users_c~" ) TABLE(NAME=~"enterprise~" ) COLUMN(NAME=~"sql_changes.tran_id~") COLUMN(NAME=~"sql_changes.tran_date~") COLUMN(NAME=~"sql_changes.req_id~") COLUMN(NAME=~"sql_changes.req_date~") COLUMN(NAME=~"sql_changes.emp_code__given~") COLUMN(NAME=~"sql_changes.emp_code__merge~") COLUMN(NAME=~"sql_changes.executed~") COLUMN(NAME=~"sql_changes.tran_id__org~") COLUMN(NAME=~"sql_changes.active_yn~") COLUMN(NAME=~"sql_changes.chg_user~") COLUMN(NAME=~"sql_changes.chg_term~") COLUMN(NAME=~"sql_changes.confirmed~") COLUMN(NAME=~"sql_changes.conf_date~") COLUMN(NAME=~"sql_changes.itm_ver~") COLUMN(NAME=~"sql_changes.enterprises~") COLUMN(NAME=~"sql_changes.emp_code_aprv~") COLUMN(NAME=~"sql_changes.chg_date~") COLUMN(NAME=~"sql_changes.appl_db~") COLUMN(NAME=~"users_a.name~") COLUMN(NAME=~"users_b.name~") COLUMN(NAME=~"itemser.descr~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_mname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"users_c.name~") COLUMN(NAME=~"sql_changes.exec_rights~") COLUMN(NAME=~"sql_changes.tran_id__ref~") COMPUTE(NAME=~"(select DTL_DESCR from ser_request where req_id = sql_changes.req_id) as req_descr~") COLUMN(NAME=~"sql_changes.cust_code~") COMPUTE(NAME=~"(SELECT cust_name FROM customer WHERE cust_code = (SELECT cust_code FROM ser_request WHERE req_id = sql_changes.req_id)) as cust_name~") COLUMN(NAME=~"sql_changes.wf_status~") COLUMN(NAME=~"sql_changes.wf_remarks~") COLUMN(NAME=~"sql_changes.remarks~") COLUMN(NAME=~"sql_changes.exec_aprv~") COLUMN(NAME=~"sql_changes.txn_status~") COLUMN(NAME=~"sql_changes.closed_yn~") COLUMN(NAME=~"sql_changes.closed_by~") COLUMN(NAME=~"sql_changes.closed_date~") COLUMN(NAME=~"sql_changes.aprv_level~") COLUMN(NAME=~"sql_changes.review_yn~") COLUMN(NAME=~"enterprise.enterprise_descr~") JOIN (LEFT=~"sql_changes.emp_code__given~" OP =~"=~"RIGHT=~"users_a.code~" OUTER1 =~"sql_changes.emp_code__given~" ) JOIN (LEFT=~"sql_changes.emp_code__merge~" OP =~"=~"RIGHT=~"users_b.code~" OUTER1 =~"sql_changes.emp_code__merge~" ) JOIN (LEFT=~"sql_changes.emp_code_aprv~" OP =~"=~"RIGHT=~"employee.emp_code~" OUTER1 =~"sql_changes.emp_code_aprv~" ) JOIN (LEFT=~"sql_changes.itm_ver~" OP =~"=~"RIGHT=~"itemser.item_ser~" OUTER1 =~"sql_changes.itm_ver~" ) JOIN (LEFT=~"sql_changes.emp_code_aprv~" OP =~"=~"RIGHT=~"users_c.code~" OUTER1 =~"sql_changes.emp_code_aprv~" ) JOIN (LEFT=~"sql_changes.enterprises~" OP =~"=~"RIGHT=~"enterprise.enterprise~" OUTER1 =~"sql_changes.enterprises~" )WHERE( EXP1 =~"sql_changes.tran_id~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="sql_changes" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
groupbox(band=detail text="Others"border="2" color="33554432" x="132" y="700" height="373" width="529" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
groupbox(band=detail text="Status"border="2" color="33554432" x="133" y="539" height="149" width="537" name=gb_2 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
groupbox(band=detail text="Basic"border="2" color="33554432" x="132" y="2" height="523" width="539" name=gb_3 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Transaction Date:" border="2" color="33554432" x="176" y="52" height="16" width="109" html.valueishtml="0" name=tran_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="2" color="33554432" x="292" y="52" height="19" width="109" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Request ID / Ticket ID:" border="2" color="33554432" x="154" y="85" height="16" width="131" html.valueishtml="0" name=req_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=10 border="2" color="33554432" x="289" y="85" height="19" width="109" format="[general]" html.valueishtml="0" name=req_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Request Date:" border="2" color="33554432" x="173" y="137" height="16" width="109" html.valueishtml="0" name=req_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="2" color="33554432" x="290" y="137" height="19" width="109" format="[shortdate] [time]" html.valueishtml="0" name=req_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=20 border="2" color="33554432" x="289" y="221" height="19" width="109" format="[general]" html.valueishtml="0" name=emp_code__merge visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.required=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Executed:" border="2" color="33554432" x="176" y="255" height="16" width="109" html.valueishtml="0" name=executed_t visible="1" font.face="Arial CE" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="238" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="2" color="33554432" x="289" y="255" height="19" width="109" format="[YES/NO]" html.valueishtml="0" name=executed visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="BatangChe" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Reference ID:" border="2" color="33554432" x="176" y="289" height="16" width="109" html.valueishtml="0" name=tran_id__org_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=30 border="2" color="33554432" x="289" y="289" height="19" width="109" format="[general]" html.valueishtml="0" name=tran_id__org visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Merged By:" border="2" color="33554432" x="176" y="221" height="16" width="109" html.valueishtml="0" name=emp_code__merge_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=20 alignment="0" tabsequence=32766 border="2" color="33554432" x="404" y="221" height="16" width="94" format="[general]" html.valueishtml="0" name=users_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=28 alignment="0" tabsequence=32766 border="2" color="33554432" x="291" y="113" height="16" width="109" format="[general]" html.valueishtml="0" name=req_descr visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=33 alignment="0" tabsequence=90 border="2" color="33554432" x="290" y="167" height="16" width="66" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=34 alignment="0" tabsequence=110 border="2" color="33554432" x="289" y="326" height="16" width="72" format="[general]" html.valueishtml="0" name=exec_aprv visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=30 alignment="0" tabsequence=70 border="2" color="33554432" x="171" y="195" height="16" width="99" format="[general]" html.valueishtml="0" name=cust_name visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=29 alignment="0" tabsequence=80 border="2" color="33554432" x="290" y="194" height="16" width="60" format="[general]" html.valueishtml="0" name=cust_code visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Remarks:" border="2" color="33554432" x="173" y="167" height="16" width="109" html.valueishtml="0" name=remarks_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Active:" border="2" color="33554432" x="176" y="358" height="16" width="109" html.valueishtml="0" name=active_yn_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="2" color="33554432" x="289" y="358" height="19" width="109" format="[YES/NO]" html.valueishtml="0" name=active_yn visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Division:" border="2" color="33554432" x="176" y="393" height="16" width="109" html.valueishtml="0" name=itm_ver_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=14 alignment="0" tabsequence=40 border="2" color="33554432" x="294" y="393" height="16" width="124" format="[general]" html.valueishtml="0" name=itm_ver visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=21 alignment="0" tabsequence=32766 border="2" color="33554432" x="427" y="393" height="16" width="155" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Applicable For :" border="2" color="33554432" x="177" y="434" height="16" width="109" html.valueishtml="0" name=appl_db_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=18 alignment="0" tabsequence=50 border="2" color="33554432" x="296" y="434" height="16" width="56" format="[general]" html.valueishtml="0" name=appl_db visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Executive Approval:" border="2" color="33554432" x="172" y="325" height="16" width="113" html.valueishtml="0" name=exec_aprv_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction ID:" border="2" color="33554432" x="166" y="737" height="16" width="109" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="2" color="33554432" x="281" y="737" height="19" width="109" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 criteria.required=yes font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction status:" border="2" color="33554432" x="164" y="621" height="16" width="111" html.valueishtml="0" name=txn_status_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=35 alignment="0" tabsequence=32766 border="2" color="33554432" x="282" y="622" height="16" width="112" format="[general]" html.valueishtml="0" name=txn_status visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Closed By:" border="2" color="33554432" x="424" y="621" height="16" width="109" html.valueishtml="0" name=closed_by_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=38 alignment="0" tabsequence=32766 border="2" color="33554432" x="542" y="652" height="16" width="114" format="[shortdate] [time]" html.valueishtml="0" name=closed_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Closed Date:" border="2" color="33554432" x="425" y="653" height="16" width="109" html.valueishtml="0" name=closed_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=37 alignment="0" tabsequence=32766 border="2" color="33554432" x="539" y="621" height="16" width="104" format="[general]" html.valueishtml="0" name=closed_by visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Approval Level:" border="2" color="33554432" x="166" y="588" height="16" width="109" html.valueishtml="0" name=aprv_level_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=39 alignment="0" tabsequence=32766 border="2" color="33554432" x="281" y="588" height="16" width="74" format="[general]" html.valueishtml="0" name=aprv_level visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Closed:" border="2" color="33554432" x="424" y="588" height="16" width="109" html.valueishtml="0" name=closed_yn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=36 alignment="0" tabsequence=32766 border="2" color="33554432" x="543" y="587" height="16" width="92" format="[general]" html.valueishtml="0" name=closed_yn visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=40 alignment="0" tabsequence=100 border="2" color="33554432" x="280" y="761" height="16" width="75" format="[general]" html.valueishtml="0" name=review_yn visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Submitted By:" border="2" color="33554432" x="166" y="782" height="16" width="109" html.valueishtml="0" name=emp_code__given_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="2" color="33554432" x="279" y="782" height="19" width="109" format="[general]" html.valueishtml="0" name=emp_code__given visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.required=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="2" color="33554432" x="395" y="782" height="16" width="87" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.required=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Confirmed:" border="2" color="33554432" x="166" y="805" height="16" width="109" html.valueishtml="0" name=confirmed_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="2" color="33554432" x="280" y="805" height="19" width="109" format="[YES/NO]" html.valueishtml="0" name=confirmed visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Confirmed On:" border="2" color="33554432" x="166" y="831" height="16" width="109" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="2" color="33554432" x="282" y="831" height="19" width="109" format="[General]" html.valueishtml="0" name=conf_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Confirmed By:" border="2" color="33554432" x="166" y="856" height="16" width="109" html.valueishtml="0" name=emp_code_aprv_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="2" color="33554432" x="282" y="856" height="16" width="60" format="[general]" html.valueishtml="0" name=emp_code_aprv visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=25 alignment="0" tabsequence=32766 border="2" color="33554432" x="347" y="856" height="16" width="104" format="[general]" html.valueishtml="0" name=users_name_aprv visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=22 alignment="0" tabsequence=32766 border="2" color="33554432" x="457" y="856" height="16" width="60" format="[general]" html.valueishtml="0" name=emp_fname visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=23 alignment="0" tabsequence=32766 border="2" color="33554432" x="521" y="856" height="16" width="60" format="[general]" html.valueishtml="0" name=emp_mname visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=24 alignment="0" tabsequence=32766 border="2" color="33554432" x="586" y="856" height="16" width="60" format="[general]" html.valueishtml="0" name=emp_lname visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="2" color="33554432" x="565" y="880" height="16" width="80" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Chg Term:" border="2" color="33554432" x="480" y="880" height="16" width="80" html.valueishtml="0" name=sql_changes_chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="2" color="33554432" x="398" y="880" height="16" width="74" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Chg User:" border="2" color="33554432" x="318" y="880" height="16" width="74" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="2" color="33554432" x="246" y="880" height="16" width="66" format="[shortdate] " html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Chg Date:" border="2" color="33554432" x="167" y="880" height="16" width="73" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Execution Rights:" border="2" color="33554432" x="185" y="906" height="16" width="103" html.valueishtml="0" name=exec_rights_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=26 alignment="0" tabsequence=32766 border="0" color="33554432" x="294" y="905" height="16" width="76" format="[general]" html.valueishtml="0" name=exec_rights visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=27 alignment="0" tabsequence=32766 border="0" color="33554432" x="291" y="927" height="16" width="85" format="[general]" html.valueishtml="0" name=tran_id__ref visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction ID reference:" border="2" color="33554432" x="142" y="929" height="16" width="144" html.valueishtml="0" name=tran_id__ref_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Workflow Status:" border="2" color="33554432" x="141" y="954" height="16" width="143" html.valueishtml="0" name=wf_status_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=31 alignment="0" tabsequence=32766 border="0" color="33554432" x="290" y="951" height="16" width="123" format="[general]" html.valueishtml="0" name=wf_status visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=32 alignment="0" tabsequence=32766 border="0" color="33554432" x="289" y="984" height="16" width="138" format="[general]" html.valueishtml="0" name=wf_remarks visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Workflow Remarks" border="2" color="33554432" x="145" y="983" height="16" width="136" html.valueishtml="0" name=wf_remarks_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Review:" border="2" color="33554432" x="166" y="761" height="16" width="109" html.valueishtml="0" name=review_yn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Enterprise:" border="2" color="33554432" x="178" y="473" height="16" width="109" html.valueishtml="0" name=enterprises_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=15 alignment="0" tabsequence=60 border="2" color="33554432" x="296" y="473" height="16" width="150" format="[general]" html.valueishtml="0" name=enterprises visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=41 alignment="0" tabsequence=32766 border="2" color="33554432" x="454" y="473" height="16" width="119" html.valueishtml="0" name=enterprise_descr visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
ALTER TABLE sql_changes ADD (
remarks VARCHAR2(2000),
aprv_level NUMBER(1),
exec_aprv CHAR(1),
review_yn CHAR(1),
txn_status CHAR(1),
closed_yn CHAR(1),
closed_by CHAR(10),
closed_date DATE
);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('sql_changes',6,'ibase/resource/objaction/confirm.svg','Proceed','proc_post_item_change','a','X','Proceed','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2','000',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('sql_changes',7,'ibase/resource/objaction/confirm.svg','Release To QC','qc_post_item_change','a','X','Release To QC','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2','000',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('sql_changes',8,'ibase/resource/objaction/confirm.svg','Release to Pilot','qc_from_post_item_change','a','X','Release to Pilot','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2','000',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('sql_changes',9,'ibase/resource/objaction/confirm.svg','Release Clients Dev','qc_from_post_item_change','a','X','Release Clients Dev','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2','000',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('sql_changes',10,'ibase/resource/objaction/confirm.svg','Release To Live','qc_from_post_item_change','a','X','Release To Live','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2','000',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT,FIELD_NAME,FORM_NO) values ('sql_changes','proc_post_item_change','1','sql_changes_proceed',null,'0',to_date('04-DEC-07','DD-MON-RR'),'Ajit ','Ajit','2','JB','ibase.webitm.ejb.sys.ManageSqlProceed',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION,SERVICE_TYPE,SERVICE_HANDLER,DESCR) values
('sql_changes_proceed','Action To update Approval Level','http://localhost:9090/axis/services/ActionHandlerService','Base','updateStatus','String','S',null,null,to_date('24-JAN-18','DD-MON-RR'),'base','base',null,null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_proceed',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_proceed',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE','ibase.webitm.ejb.sys.ManageSqlProceed');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_proceed',3,'<tran_id>','I','tranid','B.String',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_proceed',4,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_proceed',5,'FORCED_FLAG','I','Forced Flag','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE',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
('MSQLPROC','Transaction processed successfully.','The transaction has been processed successfully.','P','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLAPROC','Transaction already processed.','The transaction has already been processed.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLNPROC','The transaction has not been processed.','The transaction has not been processed. Please process it before releasing to QC.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLNS','Cannot Submit','Submission not allowed for QC, Pilot, Client Development, or Live.','E','Y',null,null,'A',to_date('27-SEP-18','DD-MON-RR'),'AJIT','SYSTEM',null,'0');
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
('MSQLRQC','Released to QC successfully.','Transaction has been successfully released to QC.','P','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLFQC','Failed to release to QC.','The transaction could not be released to QC.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLARQC','Already released to QC.','The transaction has already been released to QC.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLRP','Released to Pilot successfully.','Transaction has been successfully released to Pilot.','P','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLFP','Failed to release to Pilot.','The transaction could not be released to Pilot.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE ','BASE',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
('MSQLPAE','Proceed already completed.','Proceed action is already completed for this transaction.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLRCD','Released to Client Developer Server successfully.','Transaction has been successfully released to Client Developer Server.','P','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLFCD','Failed to release to Client Developer Server.','The transaction could not be released to Client Developer Server.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE ','BASE',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
('MSQLRTL','Released to Live Server successfully.','Transaction has been successfully released to Live Server.','P','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLFTL','Failed to release to Live Server.','The transaction could not be released to Live Server.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE ','BASE',null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT,FIELD_NAME,FORM_NO) values ('sql_changes','qc_from_post_item_change','3','sql_changes_from_qc',null,'0',to_date('04-DEC-07','DD-MON-RR'),'Ajit ','Ajit','2','JB','ibase.webitm.ejb.sys.ManageSqlReleaseFromQC',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION,SERVICE_TYPE,SERVICE_HANDLER,DESCR) values
('sql_changes_from_qc','Action To create client side tran','http://localhost:9090/axis/services/ActionHandlerService','Base','updateStatus','String','S',null,null,to_date('24-JAN-18','DD-MON-RR'),'base ','base',null,null,null,null,null,null)
;
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_from_qc',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_from_qc',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE','ibase.webitm.ejb.sys.ManageSqlReleaseFromQC');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_from_qc',3,'<tran_id>','I','tranid','B.String',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_from_qc',4,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_from_qc',5,'FORCED_FLAG','I','Forced Flag','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE','BASE',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT,FIELD_NAME,FORM_NO) values ('sql_changes','qc_post_item_change','2','sql_changes_for_QC',null,'0',to_date('04-DEC-07','DD-MON-RR'),'Ajit ','Ajit','2','JB','ibase.webitm.ejb.sys.ManageSqlReleaseToQC',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION,SERVICE_TYPE,SERVICE_HANDLER,DESCR) values ('sql_changes_for_QC','Action To create QC transaction','http://localhost:9090/axis/services/ActionHandlerService','Base','updateStatus','String','S',null,null,to_date('24-JAN-18','DD-MON-RR'),'base ','base',null,null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_for_QC',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE ','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_for_QC',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE ','BASE','ibase.webitm.ejb.sys.ManageSqlReleaseToQC');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_for_QC',3,'<tran_id>','I','tranid','B.String',null,to_date('01-JUN-12','DD-MON-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_for_QC',4,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('sql_changes_for_QC',5,'FORCED_FLAG','I','Forced Flag','S',null,to_date('01-JUN-12','DD-MON-RR'),'BASE ','BASE',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
('MSQLAPCD','Already released to the Client Developer Server.','The transaction has already been released to the Client Developer Server.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLAPP','Already released to the Pilot Server.','The transaction has already been released to the Pilot Server.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLAPL','Already released to the Live Server.','The transaction has already been released to the Live Server.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('INVPROF','Only QC users are allowed to perform this action.','You are not authorized to perform this action. Only QC department users are allowed.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('QCNOTC','QC transaction not confirmed.','The QC transaction is not confirmed. Please confirm it before proceeding with the release action.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',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
('MSQLNCP','Pilot transaction not confirmed.','The Pilot server transaction is not confirmed.','E','Y',null,null,null,to_date('25-DEC-13','DD-MON-RR'),'BASE','BASE',null,null);
Insert into "VTCICONF1 " (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 ('VTCICONF1 ','Transaction already confirmed','The selected transaction is already confirmed.You cannot edit or confirm this transaction again','E',null,null,null,null,to_date('22-OCT-00','DD-MON-RR'),'BASE','BASE',null,null);
Insert into WF_ACTIVITY (ACTIVITY_CODE,DESCR,ACTIVITY_TYPE,INVOKE_SYNC,CLASS_NAME,EXCP_SORT_CLASS,CHG_DATE,CHG_USER,CHG_TERM,ADD_DATE,ADD_USER,ADD_TERM,METHOD_NAME) values
('APRVL-R2','Second level approval For Manage SQL R-2','0','1','ibase.wrkflw.utility.SignTrans',null,to_date('27-MAY-21','DD-MON-RR'),'BASE','BASE',to_date('27-MAY-21','DD-MON-RR'),'BASE ','BASE','insertSignCtx');
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',1,'ProcessInstanceId','STRING',null);
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',2,'roleCodeSign','STRING',null);
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',3,'entityCode','STRING',null);
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',4,'formatCode','STRING',null);
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',5,'xslFileName','STRING',null);
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',6,'signFor','STRING',null);
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',7,'context1','STRING',null);
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',8,'context2','STRING',null);
Insert into WF_ACTIVITY_ARGS (ACTIVITY_CODE,LINE_NO,ARG_NAME,ARG_TYPE,ARG_DEF_VALUE) values ('APRVL-R2',9,'context3','STRING',null);
update transetup set confirm_col = null, confirm_val = null where tran_window = 'w_sql_changes';
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
('MSQLCNA','Not authorized to close the transaction.','Only Admin can close the transaction.','E','Y',null,null,'A',to_date('27-SEP-18','DD-MON-RR'),'AJIT','SYSTEM',null,'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