Commit 96e21582 authored by ysawant's avatar ysawant

Added new migrated component of Leave Laps

auto_leave_laps11.xml
auto_leave_laps12.xml
AutoLeaveLapsIC.java
AutoLeaveLapsICLocal.java
AutoLeaveLapsICRemote.java
AutoLeaveLapsPrc.java
AutoLeaveLapsPrcLocal.java
AutoLeaveLapsPrcRemote.java
w_auto_leave_laps.sql
d_auto_leave_laps.srd
d_auto_leave_laps_display.srd


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205188 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 80909ed9
//Migrated by Yashwant on 05/08/2019
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
public class AutoLeaveLapsIC extends ValidatorEJB implements AutoLeaveLapsICLocal,AutoLeaveLapsICRemote
{
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 = "";
E12GenericUtility genericUtility = null;
try
{
genericUtility = new E12GenericUtility();
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);
}
valueXmlString = itemChanged(dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams);
}
catch (Exception e)
{
System.out.println("Exception :AutoLeaveLaps :itemChanged(String,String):" + e.getMessage() + ":");
valueXmlString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from AutoLeaveLaps itemChanged");
return valueXmlString;
}
public String itemChanged(Document dom , Document dom1, Document dom2, String objContext, String currentColumn,
String editFlag, String xtraParams) throws RemoteException, ITMException
{
PreparedStatement pstmt = null;
ResultSet rs = null;
Connection conn = null;
StringBuffer valueXmlString = null;
int currentFormNo = 0;
E12GenericUtility genericUtility = null;
String sql = "";
UtilMethods utilmethod=new UtilMethods();
String userId="";
String loginSite="";
String prdCode="";
int mLevel=0;
String todaydate= "";
String lsDescr="";
String rights="";
String empCodeFr="";
String empFname="";
String empLname="";
String modStr="";
String profileId="";
String empCodeTo="";
String deptCodeFr="";
String deptCodeTo="";
String siteCodeFr="";
String siteCodeTo="";
String lveCodeFr="";
String lveCodeTo="";
String procGroupFr="";
String procGroupTo="";
try
{
genericUtility = new E12GenericUtility();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
System.out.println("currentFormNo...." + currentFormNo);
conn = getConnection();
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</Header>\r\n");
System.out.println("current form no: " + currentFormNo);
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginSite=genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
sql="select usr_lev,profile_id from users where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, userId);
rs = pstmt.executeQuery();
if (rs.next())
{
mLevel = rs.getInt("usr_lev");
profileId = checkNull(rs.getString("profile_id"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
switch (currentFormNo)
{
case 1:
{
valueXmlString.append("<Detail1>\r\n");
if ("itm_default".equalsIgnoreCase(currentColumn))
{
sql="select prd_code from parameter";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next())
{
prdCode = checkNull(rs.getString("prd_code"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
todaydate=sdf.format(new java.util.Date());
System.out.println("todaydate == "+todaydate);
valueXmlString.append("<laps_on_date><![CDATA[").append(todaydate).append("]]></laps_on_date>\r\n");
if(loginSite != null && loginSite.trim().length() > 0)
{
valueXmlString.append("<site_code__fr><![CDATA[").append(loginSite).append("]]></site_code__fr>\r\n");
valueXmlString.append("<site_code__to><![CDATA[").append(loginSite).append("]]></site_code__to>\r\n");
sql="select descr from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginSite);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<fr_site_descr><![CDATA[").append(lsDescr).append("]]></fr_site_descr>\r\n");
valueXmlString.append("<to_site_descr><![CDATA[").append(lsDescr).append("]]></to_site_descr>\r\n");
}
if(mLevel > 1)
{
valueXmlString.append("<site_code__fr protect=\"1\"><![CDATA[").append(loginSite).append("]]></site_code__fr>\r\n");
valueXmlString.append("<site_code__to protect=\"1\"><![CDATA[").append(loginSite).append("]]></site_code__to>\r\n");
}
if(mLevel > 0)
{
sql="select rights from user_rights where profile_id = ? and obj_name = 'auto_leave_laps'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,profileId);
rs = pstmt.executeQuery();
if (rs.next())
{
rights = checkNull(rs.getString("rights"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rights == null || rights.trim().length() == 0)
{
rights="^";
}
else
{
rights="*CD";
}
if((utilmethod.pos(rights, "*")) > 0 || (utilmethod.pos(rights, "C")) > 0 && (utilmethod.pos(rights, "D") > 0))
{
valueXmlString.append("<process_for><![CDATA[").append("C").append("]]></process_for>\r\n");
}
else if(utilmethod.pos(rights, "C") > 0)
{
valueXmlString.append("<process_for><![CDATA[").append("C").append("]]></process_for>\r\n");
valueXmlString.append("<process_for protect=\"1\"><![CDATA[").append("C").append("]]></process_for>\r\n");
}
else if(utilmethod.pos(rights, "D") > 0)
{
valueXmlString.append("<process_for><![CDATA[").append("D").append("]]></process_for>\r\n");
valueXmlString.append("<process_for protect=\"1\"><![CDATA[").append("D").append("]]></process_for>\r\n");
}
else
{
valueXmlString.append("<process_for><![CDATA[").append("C").append("]]></process_for>\r\n");
valueXmlString.append("<process_for protect=\"1\"><![CDATA[").append("C").append("]]></process_for>\r\n");
}
valueXmlString.append("<noof_confirmed><![CDATA[").append(0).append("]]></noof_confirmed>\r\n");
valueXmlString.append("<noof_rejected><![CDATA[").append(0).append("]]></noof_rejected>\r\n");
}
}
if ("emp_code__fr".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside emp_code__fr:::::::::::::::");
empCodeFr=checkNull(genericUtility.getColumnValue("emp_code__fr", dom));
sql="select emp_fname, emp_lname from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCodeFr);
rs = pstmt.executeQuery();
if (rs.next())
{
empFname = checkNull(rs.getString("emp_fname"));
empLname = checkNull(rs.getString("emp_lname"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
modStr = empFname+" "+empLname;
valueXmlString.append("<emp_name__fr><![CDATA[").append(modStr).append("]]></emp_name__fr>\r\n");
}
if ("emp_code__to".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside emp_code__to:::::::::::::::");
empCodeTo=checkNull(genericUtility.getColumnValue("emp_code__to", dom));
sql="select emp_fname, emp_lname from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCodeTo);
rs = pstmt.executeQuery();
if (rs.next())
{
empFname = checkNull(rs.getString("emp_fname"));
empLname = checkNull(rs.getString("emp_lname"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
modStr = empFname+" "+empLname;
valueXmlString.append("<emp_name__to><![CDATA[").append(modStr).append("]]></emp_name__to>\r\n");
}
if ("dept_code__fr".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside dept_code__fr:::::::::::::::");
deptCodeFr=checkNull(genericUtility.getColumnValue("dept_code__fr", dom));
sql="select descr from department where dept_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, deptCodeFr);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<dept_descr__fr><![CDATA[").append(lsDescr).append("]]></dept_descr__fr>\r\n");
}
if ("dept_code__to".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside dept_code__to:::::::::::::::");
deptCodeTo=checkNull(genericUtility.getColumnValue("dept_code__to", dom));
sql="select descr from department where dept_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, deptCodeTo);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<dept_descr__to><![CDATA[").append(lsDescr).append("]]></dept_descr__to>\r\n");
}
if ("site_code__fr".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside site_code__fr:::::::::::::::");
siteCodeFr=checkNull(genericUtility.getColumnValue("site_code__fr", dom));
sql="select descr from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCodeFr);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<fr_site_descr><![CDATA[").append(lsDescr).append("]]></fr_site_descr>\r\n");
}
if ("site_code__to".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside site_code__to:::::::::::::::");
siteCodeTo=checkNull(genericUtility.getColumnValue("site_code__to", dom));
sql="select descr from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCodeTo);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<to_site_descr><![CDATA[").append(lsDescr).append("]]></to_site_descr>\r\n");
}
if ("lve_code__fr".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside lve_code__fr:::::::::::::::");
lveCodeFr=checkNull(genericUtility.getColumnValue("lve_code__fr", dom));
sql="select descr from leaves where lve_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lveCodeFr);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<lve_desc_fr><![CDATA[").append(lsDescr).append("]]></lve_desc_fr>\r\n");
}
if ("lve_code__to".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside lve_code__to:::::::::::::::");
lveCodeTo=checkNull(genericUtility.getColumnValue("lve_code__to", dom));
sql="select descr from leaves where lve_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lveCodeTo);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<lve_desc_to><![CDATA[").append(lsDescr).append("]]></lve_desc_to>\r\n");
}
if ("proc_group__fr".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside proc_group__fr:::::::::::::::");
procGroupFr=checkNull(genericUtility.getColumnValue("proc_group__fr", dom));
sql="select descr from gencodes where fld_name = 'PROC_GROUP' and fld_value = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, procGroupFr);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<fr_proc_desc><![CDATA[").append(lsDescr).append("]]></fr_proc_desc>\r\n");
}
if ("proc_group__to".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside proc_group__to:::::::::::::::");
procGroupTo=checkNull(genericUtility.getColumnValue("proc_group__to", dom));
sql="select descr from gencodes where fld_name = 'PROC_GROUP' and fld_value = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, procGroupTo);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<to_proc_desc><![CDATA[").append(lsDescr).append("]]></to_proc_desc>\r\n");
}
}
valueXmlString.append("</Detail1>");
break;
}
valueXmlString.append("</Root>");
}
catch (Exception e)
{
e.printStackTrace();
System.out.println("Exception :AutoLeaveLaps [itemChanged(String xmlString)] : ==>\n" + e.getMessage());
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
conn.close();
conn = null;
}
}
catch (Exception e)
{
System.out.println("Exception ::" + e);
e.printStackTrace();
throw new ITMException(e);
}
}
return valueXmlString.toString();
}
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag,
String xtraParams) throws RemoteException, ITMException
{
System.out.println("xmlString::::::::::::"+xmlString);
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = "";
E12GenericUtility genericUtility = null;
try
{
genericUtility = new E12GenericUtility();
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString);
System.out.println("Print dom>>>> " + dom);
}
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 :AutoLeaveLaps :wfValData(String xmlString):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from AutoLeaveLaps wfvaldata");
return errString;
}
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag,
String xtraParams) throws RemoteException, ITMException
{
PreparedStatement pstmt = null;
ResultSet rs = null;
String childNodeName = null;
StringBuffer errStringXml = null;
ITMDBAccessEJB itmDbAcess = null;
Connection conn = null;
int currentFormNo = 0;
NodeList parentList = null;
NodeList childList = null;
Node parentNode = null;
Node childNode = null;
int noOfChilds = 0;
String errString="";
String sql = "";
String userId="";
String processFor="";
int userLev=0;
String profileId="";
String rights="";
String lapsOnDate="";
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
String errorType="";
errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
E12GenericUtility genericUtility = null;
UtilMethods utilmethod=new UtilMethods();
try
{
genericUtility = new E12GenericUtility();
itmDbAcess = new ITMDBAccessEJB();
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
parentList = dom.getElementsByTagName("Detail" + currentFormNo);
parentNode = parentList.item(0);
childList = parentNode.getChildNodes();
noOfChilds = childList.getLength();
System.out.println("noOfChilds--->>>" + noOfChilds);
sql="select usr_lev,profile_id from users where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, userId);
rs = pstmt.executeQuery();
if (rs.next())
{
userLev = rs.getInt("usr_lev");
profileId = checkNull(rs.getString("profile_id"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
switch (currentFormNo)
{
case 1:
NodeList parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
NodeList childNodeList = parentNode.getChildNodes();
int childNodeListLength = childNodeList.getLength();
System.out.println("child Node List Length::::::" + childNodeListLength);
for (int ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
System.out.println("childNode" + childNode);
if (childNode.getNodeType() != Node.ELEMENT_NODE)
{
continue;
}
childNodeName = childNode.getNodeName();
System.out.println("childNodeName.editFlag." + childNodeName + " " + editFlag);
System.out.println("@V@ Edit flag :- [" + editFlag + "");
if("laps_on_date".equalsIgnoreCase(childNodeName))
{
lapsOnDate = genericUtility.getColumnValue("laps_on_date", dom);
if(lapsOnDate == null)
{
errList.add("VEDAT2");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VEDAT2");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
if("process_for".equalsIgnoreCase(childNodeName))
{
processFor=checkNull(genericUtility.getColumnValue("process_for", dom));
if(userLev > 0)
{
sql="select rights from user_rights where profile_id = ? and obj_name = 'auto_leave_laps'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, profileId);
rs = pstmt.executeQuery();
if (rs.next())
{
rights = checkNull(rs.getString("rights"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rights == null || rights.trim().length() == 0)
{
rights="^";
}
else
{
rights = "*CD";
}
rights = rights.trim();
if(utilmethod.pos(rights, "*") > 0)
{
rights = "*CD";
}
if((utilmethod.pos(rights,processFor) == 0) && (utilmethod.pos(rights,"*") == 0))
{
errList.add("VPALVLEP01");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VPALVLEP01");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
}
if (errList != null && errList.size() > 0)
{
System.out.println("errList==[" + errList + "]");
int errListSize = errList.size();
System.out.println("errListSize:::::::[" + errListSize + "]");
System.out.println("in error::::::::::");
for (int i = 0; i < errListSize; i++)
{
System.out.println("in error For:::::::::::::::");
String errCode = (String) errList.get(i);
String errFldName = (String) errFields.get(i);
System.out.println("errCode .........." + errCode);
errString = itmDbAcess.getErrorString(errFldName, errCode, userId, "", conn);
System.out.println("errString is : ::::>>>> " + errString);
String msgType = errorType(conn, errCode);
if (errString.length() > 0)
{
String bifurErrString = errString.substring(errString.indexOf("<Errors>") + 8,errString.indexOf("<trace>"));
bifurErrString = bifurErrString + errString.substring(errString.indexOf("</trace>") + 8,errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
System.out.println("errStringXml .........." + errStringXml);
errString = "";
}
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
errList.clear();
errFields.clear();
errStringXml.append("</Errors></Root>\r\n");
}
else
{
errStringXml = new StringBuffer("");
}
System.out.println("errStringXml.toString()---2= "+errStringXml.toString());
}
}
catch (Exception e)
{
e.printStackTrace();
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 e)
{
System.out.println("Exception ::" + e);
e.printStackTrace();
throw new ITMException(e);
}
}
errString = errStringXml.toString();
return errString;
}
private String errorType(Connection conn, String errorCode) throws ITMException
{
String msgType = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
if (conn == null)
{
System.out.println("Connection is null");
} else
{
System.out.println("Connection is not null");
}
String sql = " SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
if (rs.next())
{
msgType = rs.getString("MSG_TYPE");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return msgType;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
public interface AutoLeaveLapsICLocal extends ValidatorLocal
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException,ITMException ;
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
public interface AutoLeaveLapsICRemote extends ValidatorRemote
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException,ITMException ;
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.Map;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.CommonConstants;
import ibase.utility.E12GenericUtility;
import ibase.webitm.bean.adm.LogWriterDatabase;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ProcessEJB;
import ibase.webitm.ejb.adm.adv.LeaveEncashmentConfirmation;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
import ibase.webitm.utility.TransIDGenerator;
public class AutoLeaveLapsPrc extends ProcessEJB implements AutoLeaveLapsPrcLocal,AutoLeaveLapsPrcRemote
{
E12GenericUtility genericUtility= new E12GenericUtility();
AdmCommon admCommon = new AdmCommon();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
UtilMethods utilMethod = new UtilMethods();
LeaveEncashmentConfirmation LeaveConf = new LeaveEncashmentConfirmation();
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException
{
String rtrStr = "";
Document dom = null;
Document dom1 = null;
try
{
if(xmlString != null && xmlString.trim().length()!=0)
{
dom = genericUtility.parseString(xmlString);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
dom1 = genericUtility.parseString(xmlString2);
}
rtrStr = getData(dom, dom1, windowName, xtraParams);
System.out.println("Inside getDate returnString is 8888:::"+rtrStr);
}
catch (Exception e)
{
System.out.println("Exception :AutoLeaveLapsPrc :getData(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
return rtrStr;
}
public String getData(Document dom, Document dom1, String windowName, String xtraParams) throws RemoteException,ITMException
{
boolean isError = false;
UtilMethods utilMethod = new UtilMethods();
ITMDBAccessEJB itmdbAccessEJB = new ITMDBAccessEJB();
Connection conn = null;
String sql = "";
ResultSet rs = null;
PreparedStatement pstmt = null;
ResultSet rs1 = null;
PreparedStatement pstmt1 = null;
String sql1 = "";
ResultSet rs2 = null;
PreparedStatement pstmt2 = null;
String sql2 = "";
ResultSet rs3 = null;
PreparedStatement pstmt3 = null;
String sql3 = "";
ResultSet rs4 = null;
PreparedStatement pstmt4 = null;
String sql4 = "";
ResultSet rs5 = null;
PreparedStatement pstmt5 = null;
String sql5 = "";
String resultString = "";
String errString= "";
String errCode = "";
String empCodeFr="";
String empCodeTo="";
String deptCodeFr="";
String deptCodeTo="";
String siteCodeFr="";
String siteCodeTo="";
String lveCodeFr="";
String lveCodeTo="";
String lapsOnDate="";
String procGroupFr="";
String procGroupTo="";
String lsProcess="";
Timestamp ldProcDate = null;
String empCode="";
String lveCode="";
String userId ="";
int cbal=0;
String lsSite="";
String lsGrade="";
String lsCadre="";
String lsEmpsite="";
String lsPaysite="";
String lveTblno="";
String lsCbal ="";
int maxAccumulate=0;
String lsWorksite="";
double lcBalDays = 0;
double lcLapseDays = 0;
int llRowCnt = 0;
String lsEmp="";
Timestamp lapsdate=null;
Map dwDataMap = null;
Map dataMap = null;
int rowCnt = 0;
Map rowMap = null;
try
{
System.out.println("::::::::::::::Inside getData method:::::::::::::::: ");
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
StringBuffer valueXmlString=null;
valueXmlString = new StringBuffer("<?xml version='1.0' encoding='UTF-8'?><Root>");
empCodeFr=checkNull(genericUtility.getColumnValue("emp_code__fr", dom));
empCodeTo=checkNull(genericUtility.getColumnValue("emp_code__to", dom));
if((empCodeFr.trim()) == null)
{
empCodeFr = "0";
}
if((empCodeTo.trim()) == null)
{
empCodeTo = "z";
}
deptCodeFr=checkNull(genericUtility.getColumnValue("dept_code__fr", dom));
deptCodeTo=checkNull(genericUtility.getColumnValue("dept_code__to", dom));
if((deptCodeFr.trim()) == null)
{
deptCodeFr = "0";
}
if((deptCodeTo.trim()) == null)
{
deptCodeTo = "z"; //ZZ
}
siteCodeFr=checkNull(genericUtility.getColumnValue("site_code__fr", dom));
siteCodeTo=checkNull(genericUtility.getColumnValue("site_code__to", dom));
if((siteCodeFr.trim()) == null)
{
siteCodeFr = "0";
}
if((siteCodeTo.trim()) == null)
{
siteCodeTo = "z";
}
lveCodeFr=checkNull(genericUtility.getColumnValue("lve_code__fr", dom));
lveCodeTo=checkNull(genericUtility.getColumnValue("lve_code__to", dom));
if((lveCodeFr.trim()) == null)
{
lveCodeFr = "0";
}
if((lveCodeTo.trim()) == null)
{
lveCodeTo = "z";
}
lapsOnDate = checkNull(genericUtility.getColumnValue("laps_on_date", dom));
lapsdate = Timestamp.valueOf(genericUtility.getValidDateString(lapsOnDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println(":::::::lapsdate= "+lapsdate);
if(lapsdate == null)
{
lapsdate = utilMethod.dateTime(utilMethod.today());
System.out.println(":::::::::::::if lapsdate is null:::::::::::::::: "+lapsdate);
}
procGroupFr=checkNull(genericUtility.getColumnValue("proc_group__fr", dom));
procGroupTo=checkNull(genericUtility.getColumnValue("proc_group__to", dom));
if((procGroupFr.trim()) == null)
{
procGroupFr = "0";
}
if((procGroupTo.trim()) == null)
{
procGroupTo = "z";
}
lsProcess=checkNull(genericUtility.getColumnValue("process_for", dom));
ldProcDate = utilMethod.dateTime(utilMethod.today(), utilMethod.stringToTime("00:00"));
System.out.println("ldProcDate value = "+ldProcDate);
dataMap = new HashMap<>();
sql="SELECT leavebal.emp_code, employee.emp_fname,employee.emp_lname, leavebal.lve_code," +
" sum(leavebal.bal_days) as cbal, 0.00 max_days, 0.00 laps_days" +
" FROM leavebal,employee"+
" WHERE ( employee.emp_code = leavebal.emp_code ) and"+
" ( leavebal.emp_code between ? and ? ) AND"+
" ( leavebal.lve_code between ? and ? ) AND"+
" ( employee.emp_site between ? and ? ) AND"+
" ( leavebal.eff_date <= ? ) AND"+
" ( leavebal.exp_date >= ? ) AND"+
" ( leavebal.bal_days > 0 ) AND "+
" ( employee.dept_code >= ? ) AND"+
" ( employee.dept_code <= ? ) AND"+
" (employee.proc_group >= ?) AND"+
" (employee.proc_group <= ?)"+
" GROUP BY leavebal.emp_code,"+
" leavebal.lve_code,"+
" employee.emp_fname,"+
" employee.emp_lname ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCodeFr);
pstmt.setString(2,empCodeTo);
pstmt.setString(3,lveCodeFr);
pstmt.setString(4,lveCodeTo);
pstmt.setString(5,siteCodeFr);
pstmt.setString(6,siteCodeTo);
pstmt.setString(7,lapsOnDate);
pstmt.setString(8,lapsOnDate);
pstmt.setString(9,deptCodeFr);
pstmt.setString(10,deptCodeTo);
pstmt.setString(11,procGroupFr);
pstmt.setString(12,procGroupTo);
rs = pstmt.executeQuery();
while(rs.next())
{
rowCnt++;
dwDataMap = new HashMap<>();
dwDataMap.put("emp_code", checkNull(rs.getString("emp_code")));
dwDataMap.put("emp_fname", checkNull(rs.getString("emp_fname")));
dwDataMap.put("emp_lname", checkNull(rs.getString("emp_lname")));
dwDataMap.put("lve_code", checkNull(rs.getString("lve_code")));
dwDataMap.put("cbal", rs.getInt("cbal"));
dwDataMap.put("max_days", ((Double) rs.getDouble("max_days")).doubleValue());
dwDataMap.put("laps_days", ((Double) rs.getDouble("laps_days")).doubleValue());
dataMap.put(rowCnt, dwDataMap);
dwDataMap = null;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
llRowCnt = dataMap.size();
if(llRowCnt <= 0)
{
errCode ="VTPOST0";
errString = itmdbAccessEJB.getErrorString("", errCode, userId, "", conn);
return errString;
}
else
{
sql1="select work_site,grade,cadre,emp_site,pay_site from employee where emp_code = ?";
pstmt1 = conn.prepareStatement(sql1);
sql2="select lve_tblno from grade_site_lvetbl where site_code = ? and grade_code = ?";
pstmt2 = conn.prepareStatement(sql2);
sql4="select max_accumulate from lvetable where lve_tblno = ? and lve_code = ?";
pstmt4 = conn.prepareStatement(sql4);
for(int i = 1; i<=llRowCnt; i++)
{
rowMap = (Map) dataMap.get(i);
System.out.println("Data inside rowMap = "+rowMap);
lsEmp = (String) rowMap.get("emp_code");
lveCode =checkNull(genericUtility.getColumnValue("lve_code", dom));
lsCbal = checkNull(genericUtility.getColumnValue("ccbal", dom));
cbal = Integer.parseInt(lsCbal);
lveTblno = "";
maxAccumulate = 0;
pstmt1.setString(1,empCode);
rs1 = pstmt1.executeQuery();
if (rs1.next())
{
lsSite = checkNull(rs1.getString("work_site"));
lsGrade = checkNull(rs1.getString("grade"));
lsCadre = checkNull(rs1.getString("cadre"));
lsEmpsite = checkNull(rs1.getString("emp_site"));
lsPaysite = checkNull(rs1.getString("pay_site"));
}
rs1.close();
pstmt1.clearParameters();
//
pstmt2.setString(1,lsSite);
pstmt2.setString(2,lsGrade);
rs2 = pstmt2.executeQuery();
if (rs2.next())
{
lveTblno = checkNull(rs2.getString("lve_tblno"));
}
rs2.close();
pstmt2.clearParameters();
//
if(lveTblno ==null || lveTblno.trim().length() == 0)
{
sql3="select lve_tblno from cadre_site_lvetbl where site_code = ? and cadre_code = ?";
pstmt3 = conn.prepareStatement(sql3);
pstmt3.setString(1,lsSite);
pstmt3.setString(2,lsCadre);
rs3 = pstmt3.executeQuery();
if (rs3.next())
{
lveTblno = checkNull(rs3.getString("lve_tblno"));
}
rs3.close();
pstmt3.clearParameters();
}
//
pstmt4.setString(1,lveTblno);
pstmt4.setString(2,lveCode);
rs4 = pstmt4.executeQuery();
if (rs4.next())
{
maxAccumulate = rs4.getInt("max_accumulate");
}
rs4.close();
pstmt4.clearParameters();
valueXmlString.append("<max_days><![CDATA[").append(maxAccumulate).append("]]></max_days>\r\n");
lsWorksite = lsSite;
lcBalDays = 0.00;
if("D".equalsIgnoreCase(lsProcess))
{
//select FN_GET_LAPSE_LVEBAL( :ls_emp , :ls_lve_code , :ld_laps_on_date , :ld_proc_date , :ls_empsite , :ls_worksite , :ls_paysite , :ls_grade , :ls_cadre , :ls_lve_tblno ) into :lc_bal_days from dual;
sql5="select FN_GET_LAPSE_LVEBAL( ? , ? , ? , ? , ? , ? , ? , ? , ? , ?) as lc_bal_days from dual ";
pstmt5 = conn.prepareStatement(sql5);
pstmt5.setString(1,empCode);
pstmt5.setString(2,lveCode);
pstmt5.setString(3,lapsOnDate);
pstmt5.setTimestamp(4,ldProcDate);
pstmt5.setString(5,lsEmpsite);
pstmt5.setString(6,lsWorksite);
pstmt5.setString(7,lsPaysite);
pstmt5.setString(8,lsGrade);
pstmt5.setString(9,lsCadre);
pstmt5.setString(10,lveTblno);
rs5 = pstmt5.executeQuery();
if (rs5.next())
{
lcBalDays = rs5.getInt("lc_bal_days");
}
if (rs5 != null)
{
rs5.close();
rs5 = null;
}
if (pstmt5 != null)
{
pstmt5.close();
pstmt5 = null;
}
if(lcBalDays == 0)
{
lcBalDays = 0.0;
}
valueXmlString.append("<ccbal><![CDATA[").append(lcBalDays).append("]]></ccbal>\r\n");
cbal = (int) lcBalDays;
}
if(maxAccumulate == 0)
{
lcLapseDays = 0;
}
else if(cbal < maxAccumulate)
{
lcLapseDays = 0;
}
else
{
lcLapseDays = cbal - maxAccumulate;
}
valueXmlString.append("<laps_days><![CDATA[").append(lcLapseDays).append("]]></laps_days>\r\n");
}
}
if(errCode.trim().length() > 0)
{
errString = itmDBAccessEJB.getErrorString("",errCode, userId, "", conn);
return errString;
}
/*if len(trim(errcode)) > 0 then
gbf_insert_err(errcode,"")*/
valueXmlString.append("</Root>");
}
catch (Exception e)
{
System.out.println("Exception :AutoLeaveLapsPrc :getData(Document dom, Document dom1, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception d) {throw new ITMException(d);}
throw new ITMException(e);
}
finally
{
try
{
if(isError)
{
conn.rollback();
}
else
{
conn.commit();
conn.close();
conn = null;
}
if(rs != null)
{
rs.close();
rs=null;
}
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
}
catch(Exception e)
{
errString = e.getMessage();
e.printStackTrace();
throw new ITMException(e);
}
}
return resultString;
}
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException, ITMException
{
Document detailDom = null;
Document headerDom = null;
String retStr = "";
Connection conn = null;
Connection logConn = null;
try
{
conn = getConnection();
logConn = getConnection();
System.out.println("Conn ["+conn+"]");
System.out.println("logConn ["+logConn+"]");
if (xmlString != null && xmlString.trim().length() > 0)
{
headerDom = genericUtility.parseString(xmlString);
System.out.println("headerDom ["+headerDom+"]");
}
if (xmlString2 != null && xmlString2.trim().length() > 0)
{
detailDom = genericUtility.parseString(xmlString2);
System.out.println("detailDom ["+detailDom+"]");
}
retStr = process(headerDom, detailDom, windowName, xtraParams, conn,logConn);
System.out.println("Process for AutoLeaveLapsPrc :::: " + retStr);
}
catch (Exception e)
{
System.out.println("Exception :AutoLeaveLapsPrc :process(String xmlString, String xmlString2, String windowName, String xtraParams):"
+ e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(conn != null)
{
conn.close();
conn = null;
}
if(logConn != null)
{
logConn.close();
logConn = null;
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return retStr;
}
public String process(Document headerDom, Document detailDom, String windowName, String xtraParams, Connection conn, Connection logConn) throws RemoteException, ITMException
{
LogWriterDatabase logWriter = new LogWriterDatabase();
ResultSet rs = null, rs1 = null,rs2 = null;
PreparedStatement pstmt = null, pstmt1 = null, pstmt2 = null,pstmt3 = null;
String sql = "",sql1 = "" ,sql2 = "",sql3 = "";
String errString = "";
String empCodeTo = "";
String objName = "", currentProcess = "", activity = "", processId = "";
String procGroupTo = "", prdCode = "",empCode = "";
String errorCode = "",fileNameStartName = "";
Map map = null;
HashMap headerRowMap = null;
HashMap gbflogWriterMap = null;
String userId = "";
String termId = "";
String loginSite = "";
String lapsOnDate = "";
Timestamp ldLaps = null;
String keyString = "";
StringBuffer valueXmlString=null;
SimpleDateFormat sdf=null;
String todaydate="";
Timestamp ldChgTime= null;
Timestamp mTranDate = null;
Map dataMap = null;
int rowCnt = 0;
Map rowMap = null;
Map dwDataMap = null;
String empCodeFr="";
String deptCodeFr="";
String deptCodeTo="";
String siteCodeFr="";
String siteCodeTo="";
String lveCodeFr="";
String lveCodeTo="";
String procGroupFr="";
String workSite="";
String lveCode="";
int ccBal=0;
int maxDays=0;
int lapsDays=0;
int cnt = 0;
String tranId="";
String lsPayrollOrVoucher ="";
String lsPayrollPrd ="";
String forcedFlag = "2";
long llRejected = 0;
long llConfirmed = 0;
try
{
System.out.println("Inside process method.......");
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
termId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId"));
loginSite = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode"));
valueXmlString = new StringBuffer("<?xml version='1.0' encoding='UTF-8'?><Root>");
map = new HashMap();
headerRowMap = new HashMap();
gbflogWriterMap = new HashMap();
objName = getObjNameFromDom(headerDom, "objName");
System.out.println("objName coming from getObjNameFromDom method:::: " + objName);
logWriter.setCurrentProcess("AutoLeaveLapseProcess");
logWriter.setActivity("AutoLeaveLapseProcess");
logWriter.setProcessId("AutoLeaveLapseProcess");
logWriter.setFileNameStartWith("AutoLeaveLapseProcess");
currentProcess = logWriter.getCurrentProcess();
activity = logWriter.getActivity();
processId = logWriter.getProcessId();
fileNameStartName = logWriter.getFileNameStartWith();
gbflogWriterMap.put("objName", objName);
gbflogWriterMap.put("currentProcess", currentProcess);
gbflogWriterMap.put("activity", activity);
gbflogWriterMap.put("processId", processId);
gbflogWriterMap.put("userId", userId);
gbflogWriterMap.put("loginSite", loginSite);
gbflogWriterMap.put("xtraParams", xtraParams);
gbflogWriterMap.put("fileNameStartName", fileNameStartName);
logWriter = admCommon.initializeLogWriter(gbflogWriterMap,headerDom, logConn);
errorCode = logWriter.getReturnUpdError();
if(errorCode != null && errorCode.trim().length() > 0)
{
errString = itmDBAccessEJB.getErrorString("", errorCode, userId, "", conn);
return errString;
}
logWriter = admCommon.initializeLogWriter(gbflogWriterMap, headerDom, logConn);
int liRet = logWriter.getlogWriterFlag();
if(liRet == -1)
{
return errString;
}
else
{
logWriter = gbfErrWrite("", "", "", "Processing Started" , "I", logWriter, logConn);
}
lapsOnDate = checkNull(genericUtility.getColumnValue("laps_on_date", headerDom));
ldLaps = Timestamp.valueOf(genericUtility.getValidDateString(lapsOnDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println(":::::::ldLaps= "+ldLaps);
if(ldLaps == null)
{
ldLaps = utilMethod.dateTime(utilMethod.today());
System.out.println(":::::::::::::if ldLaps is null:::::::::::::::: "+ldLaps);
}
sql="select key_string from transetup where upper(tran_window) = 'W_EMPLEAVE'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next())
{
keyString = checkNull(rs.getString("key_string"));
}
else
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
errorCode = "VTSEQ";
logWriter = gbfErrWrite(prdCode, empCode, "", "VTSEQ", "E", logWriter, logConn);
gbfReleaseLogWriter(headerDom, logWriter, logConn);
errString = itmDBAccessEJB.getErrorString("", "VTSEQ", userId, "", conn);
return errString;
}
sdf=new SimpleDateFormat(genericUtility.getApplDateFormat());
todaydate=sdf.format(new java.util.Date());
ldChgTime = Timestamp.valueOf(genericUtility.getValidDateString(todaydate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
mTranDate = Timestamp.valueOf(genericUtility.getValidDateString(todaydate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
valueXmlString.append("<noof_confirmed><![CDATA[").append(0).append("]]></noof_confirmed>\r\n");
valueXmlString.append("<noof_rejected><![CDATA[").append(0).append("]]></noof_rejected>\r\n");
dataMap = new HashMap<>();
sql1="SELECT leavebal.emp_code, employee.emp_fname,employee.emp_lname, leavebal.lve_code," +
" sum(leavebal.bal_days) as cbal, 0.00 max_days, 0.00 laps_days" +
" FROM leavebal,employee"+
" WHERE ( employee.emp_code = leavebal.emp_code ) and"+
" ( leavebal.emp_code between ? and ? ) AND"+
" ( leavebal.lve_code between ? and ? ) AND"+
" ( employee.emp_site between ? and ? ) AND"+
" ( leavebal.eff_date <= ? ) AND"+
" ( leavebal.exp_date >= ? ) AND"+
" ( leavebal.bal_days > 0 ) AND "+
" ( employee.dept_code >= ? ) AND"+
" ( employee.dept_code <= ? ) AND"+
" (employee.proc_group >= ?) AND"+
" (employee.proc_group <= ?)"+
" GROUP BY leavebal.emp_code,"+
" leavebal.lve_code,"+
" employee.emp_fname,"+
" employee.emp_lname ";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1,empCodeFr);
pstmt1.setString(2,empCodeTo);
pstmt1.setString(3,lveCodeFr);
pstmt1.setString(4,lveCodeTo);
pstmt1.setString(5,siteCodeFr);
pstmt1.setString(6,siteCodeTo);
pstmt1.setString(7,lapsOnDate);
pstmt1.setString(8,lapsOnDate);
pstmt1.setString(9,deptCodeFr);
pstmt1.setString(10,deptCodeTo);
pstmt1.setString(11,procGroupFr);
pstmt1.setString(12,procGroupTo);
rs1 = pstmt1.executeQuery();
while(rs1.next())
{
rowCnt++;
dwDataMap = new HashMap<>();
dwDataMap.put("emp_code", checkNull(rs1.getString("emp_code")));
dwDataMap.put("emp_fname", checkNull(rs1.getString("emp_fname")));
dwDataMap.put("emp_lname", checkNull(rs1.getString("emp_lname")));
dwDataMap.put("lve_code", checkNull(rs1.getString("lve_code")));
dwDataMap.put("cbal", rs1.getInt("cbal"));
dwDataMap.put("max_days", ((Double) rs1.getDouble("max_days")).doubleValue());
dwDataMap.put("laps_days", ((Double) rs1.getDouble("laps_days")).doubleValue());
dataMap.put(rowCnt, dwDataMap);
dwDataMap = null;
}
if (rs1 != null)
{
rs1.close();
rs1 = null;
}
if (pstmt1 != null)
{
pstmt1.close();
pstmt1 = null;
}
if (rowCnt == 0)
{
errString = itmDBAccessEJB.getErrorString("", "NORECFND", userId, "", conn);
gbfReleaseLogWriter(headerDom, logWriter, logConn);
return errString;
}
rowCnt = dataMap.size();
System.out.println("rowCount---[" + rowCnt + "]");
sql2="select work_site from employee where emp_code= ?";
pstmt2 = conn.prepareStatement(sql2);
sql3 ="Insert into empleave " +
"(tran_id ,emp_code,lve_date_fr,lve_date_to,lve_code,use_flag," +
"no_days,chg_date,chg_term,chg_user,status,status_date,leave_starts,leave_ends)" +
" Values (?, ?, ?, ?, ?,'L', ?, ?, ?, ?,'R',?,'B','E')";
pstmt3 = conn.prepareStatement(sql3);
for (int i = 1; i <= rowCnt; i++)
{
do
{
rowMap = (HashMap) dataMap.get(i);
empCode = (String) rowMap.get("emp_code");
lveCode = (String) rowMap.get("lve_code");
ccBal = (int) rowMap.get("ccbal");
maxDays = (int) rowMap.get("max_days");
lapsDays = (int) rowMap.get("laps_days");
pstmt2.setString(1,empCode);
rs2 = pstmt2.executeQuery();
if(rs2.next())
{
workSite = checkNull(rs.getString("work_site"));
}
else
{
errString = itmDBAccessEJB.getErrorString("", "DS000", userId, "", conn);
logWriter = gbfErrWrite("", empCode, "", "DS000" + "Unable to fetch work site" , "E", 2, logWriter, logConn);
}
if (rs2 != null)
{
rs2.close();
rs2 = null;
}
if (pstmt2 != null)
{
pstmt2.close();
pstmt2 = null;
}
/*lds_keygen.reset()
lds_keygen.insertrow(0)
lds_keygen.setitem(1, "lve_date_fr", ld_lapes)
lds_keygen.setitem(1, "lve_date_to", ld_lapes)
lds_keygen.setitem(1, "emp_code", ls_emp)
lds_keygen.setitem(1, "work_site", msitecode)
lds_keygen.setitem(1, "lve_code", ls_lve_code)
lds_keygen.setitem(1, "lve_type", 'ALL')
lds_keygen.setitem(1, "use_flag", 'L')
lds_keygen.setitem(1, "appl_date", mtrandate)*/
String xmlValues = "";
xmlValues = "<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
xmlValues = xmlValues + "<Header></Header>";
xmlValues = xmlValues + "<Detail1>";
xmlValues = xmlValues + "<tran_id></tran_id>";
xmlValues = xmlValues + "<lve_date_fr>" + ldLaps + "</lve_date_fr>";
xmlValues = xmlValues + "<lve_date_to>" + ldLaps + "</lve_date_to>";
xmlValues = xmlValues + "<emp_code>" + empCode + "</emp_code>";
xmlValues = xmlValues + "<work_site>" + workSite + "</work_site>";
xmlValues = xmlValues + "<lve_code>" + lveCode + "</lve_code>";
xmlValues = xmlValues + "<lve_type>" + "ALL" + "</lve_type>";
xmlValues = xmlValues + "<use_flag>" + "L" + "</use_flag>";
xmlValues = xmlValues + "<appl_date>" + mTranDate + "</appl_date>";
xmlValues = xmlValues + "</Detail1></Root>";
System.out.println("xmlValues :[" + xmlValues + "]");
TransIDGenerator tg = new TransIDGenerator(xmlValues, "BASE", CommonConstants.DB_NAME);
tranId = tg.generateTranSeqID("E-LVE", "tran_id", keyString, conn);
tg = null;
System.out.println("Generated Tran ID ::[" + tranId + "]");
if ("ERROR".equalsIgnoreCase(tranId) || tranId == null || tranId.trim().length() == 0) {
errString = itmDBAccessEJB.getErrorString("", "VTTRANID", userId, "", conn);
logWriter = (admCommon.gbfErrWrite("", empCode, "", "VTTRANID", "E", 2, logWriter,logConn));
//gbf_err_write("" , ls_emp , "" , errcode + "~tUnable to generate tran id for leave code [" + ls_lve_code + "]" , "E" , 2)
break;
}
pstmt3.setString(1,tranId);
pstmt3.setString(2,empCode);
pstmt3.setTimestamp(3,ldLaps);
pstmt3.setTimestamp(4,ldLaps);
pstmt3.setString(5,lveCode);
pstmt3.setInt(6,lapsDays);
pstmt3.setTimestamp(7,ldChgTime);
pstmt3.setString(8,termId);
pstmt3.setString(9,userId);
pstmt3.setString(10,empCode);
cnt = pstmt3.executeUpdate();
if(cnt < 0)
{
errString = itmDBAccessEJB.getErrorString("", "DS000", userId, "", conn);
logWriter = gbfErrWrite("", empCode, "", "DS000" , "E", 2, logWriter, logConn);
}
//errcode = nvo_leave_lapse.gbf_leaves_approve(ls_mtranid,2,ls_payroll_or_voucher,ls_payroll_prd, 2)
errorCode = LeaveConf.leavesApprove(tranId, 2, lsPayrollOrVoucher, lsPayrollPrd, xtraParams,forcedFlag , logConn);
logWriter = gbfErrWrite("", empCode, "", errorCode , "E", 2, logWriter, logConn);
} while (true);
if(errorCode.trim().length() > 0)
{
conn.rollback();
errString = itmDBAccessEJB.getErrorString("", errorCode, userId, "", conn);
llRejected = llRejected + 1;
}
else
{
conn.commit();
llConfirmed = llConfirmed + 1;
logWriter = gbfErrWrite("", empCode, "", "- Processed successfully for leave code [" + lveCode + "]" , "I", 1, logWriter, logConn);
}
}
valueXmlString.append("<noof_confirmed><![CDATA[").append(llConfirmed).append("]]></noof_confirmed>\r\n");
valueXmlString.append("<noof_rejected><![CDATA[").append(llRejected).append("]]></noof_rejected>\r\n");
gbfReleaseLogWriter(headerDom, logWriter, logConn);
if(utilMethod.pos(errString, "<error") == 0)
{
errString = itmDBAccessEJB.getErrorString("", "VPALVELPS9", userId, "", conn);
}
valueXmlString.append("</Root>");
}
catch (Exception e)
{
System.out.println("Exception :AutoLeaveLapsPrc :process(String xmlString, String xmlString2, String xtraParams):"
+ e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
errString = e.getMessage();
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
public int gbfReleaseLogWriter(Document headerDom, LogWriterDatabase logWriter, Connection logConn) throws ITMException
{
int liRet = 1;
String lsLogStr ="";
try
{
lsLogStr = "Total Employees: "+ String.valueOf(logWriter.getRowsProcessed()+logWriter.getRowsRejected()).trim() + "Processed: " + String.valueOf(logWriter.getRowsProcessed()).trim() + "Rejected: " + String.valueOf(logWriter.getRowsRejected()).trim();
logWriter = gbfErrWrite("", "", "", lsLogStr, "I",logWriter,logConn);
lsLogStr = "Processing Over";
logWriter = gbfErrWrite("", "", "", lsLogStr, "I",logWriter,logConn);
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return liRet;
}
public LogWriterDatabase gbfErrWrite(String prdCode, String empCode, String type, String errCode, String severity,LogWriterDatabase logWriter, Connection logConn) throws RemoteException, ITMException
{
System.out.println("Inside admCommon gbfErrWrite method with 5 parameters....");
String lsStr = "";
String lsErr = "";
String lsErrcode = "";
String errString = "";
String userId = logWriter.getUserId();
try
{
if(prdCode != null && prdCode.trim().length() > 0)
{
lsErr = lsErr + " Prd: " + prdCode;
}
if(empCode != null && empCode.trim().length() > 0)
{
lsErr = lsErr + " Emp :" + empCode + " - ";
}
if(type != null && type.trim().length() > 0)
{
lsErr = lsErr + " Leave Type : " + type + " - ";
}
if(errCode != null && errCode.trim().length() > 0)
{
lsStr = errCode;
lsErrcode = admCommon.getToken(lsStr, "~t");
/*if(lsStr == null)
{
lsStr = "";
}*/
}
logWriter.setStatusDetail(lsErr + logWriter.getCurrentProcess() + " " + lsStr);
logWriter.setErrorCode(lsErrcode);
logWriter.setStatusType(severity);
if(lsErrcode != null && lsErrcode.trim().length() > 0)
{
errString = itmDBAccessEJB.getErrorString("", "VBFILEOPEN", userId, "", logConn);
logWriter.setlogWriterFlag(-1);
}
else
{
logWriter.setlogWriterFlag(1);
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return logWriter;
}
public LogWriterDatabase gbfErrWrite(String prdCode, String empCode, String type, String errCode, String severity, int aiNo,LogWriterDatabase logWriter, Connection logConn) throws RemoteException, ITMException
{
System.out.println("Inside admCommon gbfErrWrite method with 6 parameters....");
try
{
logWriter.setTotalRows(logWriter.getTotalRows() + 1);
if(aiNo == 1)
{
logWriter.setRowsProcessed(logWriter.getRowsProcessed() + 1);
logWriter = gbfErrWrite(prdCode, empCode, type, errCode, severity,logWriter,logConn);
}
else if(aiNo == 2)
{
logWriter.setRowsRejected(logWriter.getRowsRejected() + 1);
logWriter = gbfErrWrite(prdCode, empCode, type, errCode, severity,logWriter,logConn);
}
else if(aiNo == 3)
{
logWriter.setRowsIgnored(logWriter.getRowsIgnored() + 1);
logWriter = gbfErrWrite(prdCode, empCode, type, errCode, severity,logWriter,logConn);
}
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return logWriter;
}
private String getObjNameFromDom(Document dom, String attribute) throws RemoteException, ITMException
{
String objName = "";
try
{
NodeList detailList = null;
Node currDetail = null;
int detailListLength = 0;
detailList = dom.getElementsByTagName("Detail1");
detailListLength = detailList.getLength();
for (int ctr = 0; ctr < detailListLength; ctr++)
{
currDetail = detailList.item(ctr);
objName = currDetail.getAttributes().getNamedItem(attribute).getNodeValue();
}
}
catch (Exception e)
{
e.printStackTrace();
}
return objName;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ProcessLocal;
import ibase.webitm.utility.ITMException;
public interface AutoLeaveLapsPrcLocal extends ProcessLocal
{
public String process() throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException, ITMException;
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ProcessRemote;
import ibase.webitm.utility.ITMException;
public interface AutoLeaveLapsPrcRemote extends ProcessRemote
{
public String process() throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException, ITMException;
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
}
Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION) values ('HRM',4,12,6,0,0,'w_auto_leave_laps','Leave lapse','Leave lapse','HRM.4.12.6.0.0',null,null,null,'P',null,null,null,null,null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,SCAN_FLAG,SCAN_METADATA,AUTO_ACCEPT_SCAN,PROPERTY_INFO,SCAN_DELIMITER,EXT_COM,EXT_METADATA,EXT_SETUP,AFTER_SAVE,COLUMN_ON_SAVE,AUTO_ACCEPT_WEIGHDATA,RATE_COL,QTY_COL,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,FREEZE_COL_POS,DEFAULT_ROW_CNT,IS_MANDATORY,TRAN_ID_COL,KEY_INFO,SELECTION_OPT,THUMB_OBJ,THUMB_IMAGE_COL,FORM_NAME,FORM_ICON,THUMB_ALT_COL) values ('w_auto_leave_laps','Auto Leave Laps','d_auto_leve_laps','d_auto_leve_laps_display',null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,SCAN_FLAG,SCAN_METADATA,AUTO_ACCEPT_SCAN,PROPERTY_INFO,SCAN_DELIMITER,EXT_COM,EXT_METADATA,EXT_SETUP,AFTER_SAVE,COLUMN_ON_SAVE,AUTO_ACCEPT_WEIGHDATA,RATE_COL,QTY_COL,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,FREEZE_COL_POS,DEFAULT_ROW_CNT,IS_MANDATORY,TRAN_ID_COL,KEY_INFO,SELECTION_OPT,THUMB_OBJ,THUMB_IMAGE_COL,FORM_NAME,FORM_ICON,THUMB_ALT_COL) values ('w_auto_leave_laps','Auto Leave Laps','d_auto_leve_laps','d_auto_leve_laps_display',null,null,null,null,'2',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('auto_leave_laps',3,'C','a','get_data','Excess balance as of today','Today','confirm.gif','1','2',null,'U',null,to_date('2017-07-03','RRRR-MM-DD'),'PINAKIN ','PINAKIN ',null,null,null,null,null,null,null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,RIGHTS_CHAR,INTERACTIVE,SERVICE_CODE,DESCRIPTION,TITLE,IMAGE,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,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA) values ('auto_leave_laps',4,'D','a','get_data','Excess balance as on date','On Date','confirm.gif','1','2',null,'U',null,to_date('2017-07-03','RRRR-MM-DD'),'PINAKIN ','PINAKIN ',null,null,null,null,null,null,null,null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','emp_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','emp_code__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','dept_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','dept_code__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','site_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','site_code__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','lve_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','lve_code__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','proc_group__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('auto_leave_laps','1','proc_group__to','Y');
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('auto_leave_laps','get_data','1','gd_adm_default_1',null,to_date('2013-11-20','RRRR-MM-DD'),'BASE ','BASE','2','0','WSR','nvo_bo_auto_leave_laps',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('auto_leave_laps','post_item_change','1','poic_adm_default_1',null,to_date('2015-04-24','RRRR-MM-DD'),'BASE ','BASE','2','0','WSR','nvo_bo_auto_leave_laps',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('auto_leave_laps','pre_validate','1','prv_adm_default_1',null,to_date('2015-04-24','RRRR-MM-DD'),'BASE ','BASE','2','0','WSR','nvo_bo_auto_leave_laps',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('auto_leave_laps','process','1','pr_adm_default_2',null,to_date('2015-04-24','RRRR-MM-DD'),'BASE ','BASE','2','0','WSR','nvo_bo_auto_leave_laps',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('auto_leave_laps','post_validate','1','post_gen_val',null,to_date('2015-04-24','RRRR-MM-DD'),'BASE ','BASE','2','0','EJB','GenValidate',null);
========================================================================Update for wildfly14=======================================================================
update SYSTEM_EVENTS set SERVICE_CODE='gd_auto_leave_laps',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.AutoLeaveLapsPrc' where OBJ_NAME='auto_leave_laps' and EVENT_CODE='get_data';
update SYSTEM_EVENTS set SERVICE_CODE='poic_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.AutoLeaveLapsIC' where OBJ_NAME='auto_leave_laps' and EVENT_CODE='post_item_change';
update SYSTEM_EVENTS set SERVICE_CODE='prv_default_ejb',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.AutoLeaveLapsIC' where OBJ_NAME='auto_leave_laps' and EVENT_CODE='pre_validate';
update SYSTEM_EVENTS set SERVICE_CODE='prc_autoleave_laps',COMP_TYPE='JB',COMP_NAME='ibase.webitm.ejb.adm.AutoLeaveLapsPrc' where OBJ_NAME='auto_leave_laps' and EVENT_CODE='process';
====================================================================================================================================================================
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) values ('gd_adm_default_1','Get Data Default','http://172.16.10.97/BaseE12DotNetService7-0-252/E12BusinessLogic7-0-252.asmx','Base Information','gbf_get_data','String','S',null,null,to_date('2019-06-18','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV');
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) values ('poic_adm_default_1','post item change default','http://172.16.10.97/BaseE12DotNetService7-0-252/E12BusinessLogic7-0-252.asmx','Base Information','gbf_itemchanged','String','S',null,null,to_date('2019-06-18','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV');
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) values ('prv_adm_default_1','val data default','http://172.16.10.97/BaseE12DotNetService7-0-252/E12BusinessLogic7-0-252.asmx','Base Information','gbf_valdata','String','S',null,null,to_date('2019-06-18','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV');
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) values ('pr_adm_default_2','Process Default For View','http://172.16.10.97/BaseE12DotNetService7-0-252/E12BusinessLogic7-0-252.asmx','Base Information','gbf_process','String','S',null,null,to_date('2019-06-18','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV');
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) values ('post_gen_val','validation','http://localhost/axis/services/ValidatorService','BASE iformation','wfValData','String','S',null,null,to_date('2012-06-01','RRRR-MM-DD'),'ALKA ','BASE');
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)
values ('prc_autoleave_laps','process','http://localhost:8080/axis/services/ProcessService','BASE','process',null,'S',null,null,to_date('31-08-06','DD-MM-RR'),'Vanita ','Base206 ',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)
values ('gd_auto_leave_laps','Action To get the Data','http://localhost/axis/services/ProcessService','BASE','getData','String','S',null,null,to_date('16-05-08','DD-MM-RR'),'BASE ','BASE',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 ('gd_adm_default_1',1,'COMPONENT_TYPE','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('gd_adm_default_1',2,'COMPONENT_NAME','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('gd_adm_default_1',3,'TAB_XML_DATA','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('gd_adm_default_1',4,'TAB_XML_DATA_1','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('gd_adm_default_1',5,'XTRA_PARAMS','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('poic_adm_default_1',1,'COMPONENT_TYPE','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'BASE ','Base','WSR');
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 ('poic_adm_default_1',2,'COMPONENT_NAME','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('poic_adm_default_1',3,'TAB_XML_DATA','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'BASE ','Base91',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 ('poic_adm_default_1',4,'TAB_XML_DATA_1','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'BASE ','Base91',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 ('poic_adm_default_1',5,'OBJ_CONTEXT','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'BASE ','Base91',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 ('poic_adm_default_1',6,'FOCUSED_COLUMN','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('poic_adm_default_1',7,'EDIT_FLAG','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'BASE ','Base91',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 ('poic_adm_default_1',8,'XTRA_PARAMS','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('prv_adm_default_1',1,'COMPONENT_TYPE','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'BASE ','Base ','WSR');
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 ('prv_adm_default_1',2,'COMPONENT_NAME','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('prv_adm_default_1',3,'TAB_XML_DATA','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('prv_adm_default_1',4,'TAB_XML_DATA_1','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('prv_adm_default_1',5,'OBJ_CONTEXT','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('prv_adm_default_1',6,'EDIT_FLAG','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('prv_adm_default_1',7,'XTRA_PARAMS','I',null,'S',null,to_date('2014-12-14','RRRR-MM-DD'),'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 ('pr_adm_default_2',1,'COMPONENT_TYPE','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('pr_adm_default_2',2,'COMPONENT_NAME','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('pr_adm_default_2',3,'TAB_XML_DATA_1','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('pr_adm_default_2',4,'TAB_XML_DATA__ALL','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('pr_adm_default_2',5,'XTRA_PARAMS','I',null,'S',null,to_date('2015-03-07','RRRR-MM-DD'),'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 ('prc_autoleave_laps',1,'COMPONENT_TYPE','I','Component Type','C.String',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207','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 ('prc_autoleave_laps',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207','ibase.webitm.ejb.adm.AutoLeaveLapsPrc');
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 ('prc_autoleave_laps',3,'XML_DATA_1','I','XML data of form no 1','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207',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 ('prc_autoleave_laps',4,'XML_DATA__ALL','I','XML data of form no 1','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207',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 ('prc_autoleave_laps',5,'WINDOW_NAME','I','Object Context','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207','w_auto_leave_laps');
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 ('prc_autoleave_laps',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207',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 ('gd_auto_leave_laps',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('16-05-08','DD-MM-RR'),'Jaimin ','BASE207 ','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 ('gd_auto_leave_laps',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ','ibase.webitm.ejb.adm.AutoLeaveLapsPrc');
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 ('gd_auto_leave_laps',3,'XML_DATA','I','XML data of form no 1','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',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 ('gd_auto_leave_laps',4,'XML_DATA_1','I','XML data of form no All','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',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 ('gd_auto_leave_laps',5,'WINDOW_NAME','I','Window Name','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ','w_auto_leave_laps');
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 ('gd_auto_leave_laps',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',null);
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>79741120</color> <color>79741120</color>
<processing>0</processing> <processing>0</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Summary> <Summary>
<height>1</height> <height>1</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>350</height> <height>429</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>emp_code__fr</name> <name>emp_code__fr</name>
<dbname>EMP_CODE__FR</dbname> <dbname>EMP_CODE__FR</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>emp_code__to</name> <name>emp_code__to</name>
<dbname>EMP_CODE__TO</dbname> <dbname>EMP_CODE__TO</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>site_code__fr</name> <name>site_code__fr</name>
<dbname>SITE_CODE__FR</dbname> <dbname>SITE_CODE__FR</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>site_code__to</name> <name>site_code__to</name>
<dbname>SITE_CODE__TO</dbname> <dbname>SITE_CODE__TO</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>laps_on_date</name> <name>laps_on_date</name>
<dbname>laps_on_date</dbname> <dbname>laps_on_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>lve_code__fr</name> <name>lve_code__fr</name>
<dbname>leave_type_fr</dbname> <dbname>leave_type_fr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>lve_code__to</name> <name>lve_code__to</name>
<dbname>leave_type_to</dbname> <dbname>leave_type_to</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="2">decimal</type> <type precision="2">decimal</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>no_days</name> <name>no_days</name>
<dbname>No_days</dbname> <dbname>No_days</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>dept_code__fr</name> <name>dept_code__fr</name>
<dbname>dept_code_fr</dbname> <dbname>dept_code_fr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>dept_code__to</name> <name>dept_code__to</name>
<dbname>dept_code_to</dbname> <dbname>dept_code_to</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>proc_group__fr</name> <name>proc_group__fr</name>
<dbname>proc_group__fr</dbname> <dbname>proc_group__fr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>proc_group__to</name> <name>proc_group__to</name>
<dbname>proc_group__to</dbname> <dbname>proc_group__to</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="40">char</type> <type size="40">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>emp_name__fr</name> <name>emp_name__fr</name>
<dbname>emp_name__fr</dbname> <dbname>emp_name__fr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="40">char</type> <type size="40">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>emp_name__to</name> <name>emp_name__to</name>
<dbname>emp_name__to</dbname> <dbname>emp_name__to</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="40">char</type> <type size="40">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>dept_descr__fr</name> <name>dept_descr__fr</name>
<dbname>dept_descr__fr</dbname> <dbname>dept_descr__fr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="40">char</type> <type size="40">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>dept_descr__to</name> <name>dept_descr__to</name>
<dbname>dept_descr__to</dbname> <dbname>dept_descr__to</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="60">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>fr_site_descr</name> <name>fr_site_descr</name>
<dbname>fr_site_descr</dbname> <dbname>fr_site_descr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="60">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>to_site_descr</name> <name>to_site_descr</name>
<dbname>to_site_descr</dbname> <dbname>to_site_descr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="20">char</type> <type size="20">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>lve_desc_fr</name> <name>lve_desc_fr</name>
<dbname>lve_desc_fr</dbname> <dbname>lve_desc_fr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="20">char</type> <type size="20">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>lve_desc_to</name> <name>lve_desc_to</name>
<dbname>lve_desc_to</dbname> <dbname>lve_desc_to</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="60">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>fr_proc_desc</name> <name>fr_proc_desc</name>
<dbname>fr_proc_desc</dbname> <dbname>fr_proc_desc</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="60">char</type> <type size="60">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>to_proc_desc</name> <name>to_proc_desc</name>
<dbname>to_proc_desc</dbname> <dbname>to_proc_desc</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>number</type> <type>number</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>noof_confirmed</name> <name>noof_confirmed</name>
<dbname>noof_confirmed</dbname> <dbname>noof_confirmed</dbname>
<initial>0</initial> <initial>0</initial>
</table_column> </table_column>
<table_column> <table_column>
<type>number</type> <type>number</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>noof_rejected</name> <name>noof_rejected</name>
<dbname>noof_rejected</dbname> <dbname>noof_rejected</dbname>
<initial>0</initial> <initial>0</initial>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="1">char</type>
<updatewhereclause>no</updatewhereclause> <updatewhereclause>no</updatewhereclause>
<name>process_for</name> <name>process_for</name>
<dbname>process_for</dbname> <dbname>process_for</dbname>
<initial>C</initial> <initial>C</initial>
<values> <values>
<item display="Excess balance as of today" data="C"/> <item display="Excess balance as of today" data="C"/>
<item display="Excess balance as on date" data="D"/> <item display="Excess balance as on date" data="D"/>
</values> </values>
</table_column> </table_column>
</TableDefinition> </TableDefinition>
<GroupBox> <GroupBox>
<band>Detail</band> <band>Detail</band>
<text>Basic</text> <text>Basic</text>
<border>2</border> <border>2</border>
<color>0</color> <color>33554432</color>
<x>6</x> <x>5</x>
<y>2</y> <y>2</y>
<height>291</height> <height>402</height>
<width>704</width> <width>505</width>
<name>gb_1</name> <name>gb_1</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Liberation Sans</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</GroupBox> </GroupBox>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>8</id>
<text>Employee &gt;&gt;</text> <alignment>0</alignment>
<border>6</border> <tabsequence>32766</tabsequence>
<color>16711680</color> <border>0</border>
<x>40</x> <color>33554432</color>
<y>50</y> <x>413</x>
<height>16</height> <y>371</y>
<width>115</width> <height>17</height>
<html> <width>81</width>
<valueishtml>0</valueishtml> <format>[general]</format>
</html> <html>
<name>t_1</name> <valueishtml>0</valueishtml>
<visible>1</visible> </html>
<font> <name>no_days</name>
<face>Courier New</face> <visible>0</visible>
<height>-10</height> <EditStyle style="edit">
<weight>400</weight> <limit>0</limit>
<family>1</family> <case>any</case>
<pitch>1</pitch> <focusrectangle>no</focusrectangle>
<charset>0</charset> <autoselect>no</autoselect>
</font> <imemode>0</imemode>
<background> </EditStyle>
<mode>2</mode> <font>
<color>79741120</color> <face>Times New Roman</face>
</background> <height>-10</height>
</TextObject> <weight>400</weight>
<ColumnObject> <family>1</family>
<band>Detail</band> <pitch>2</pitch>
<id>13</id> <charset>0</charset>
<alignment>0</alignment> </font>
<tabsequence>32766</tabsequence> <background>
<border>5</border> <mode>2</mode>
<color>255</color> <color>1073741824</color>
<x>256</x> </background>
<y>50</y> </ColumnObject>
<height>16</height> <ColumnObject>
<width>163</width> <band>Detail</band>
<format>[general]</format> <id>25</id>
<html> <alignment>0</alignment>
<valueishtml>0</valueishtml> <tabsequence>10</tabsequence>
</html> <border>5</border>
<name>emp_name__fr</name> <color>0</color>
<visible>1</visible> <x>161</x>
<EditStyle style="edit"> <y>26</y>
<limit>0</limit> <height>17</height>
<case>any</case> <width>174</width>
<focusrectangle>no</focusrectangle> <format>[general]</format>
<autoselect>no</autoselect> <html>
<imemode>0</imemode> <valueishtml>0</valueishtml>
</EditStyle> </html>
<font> <name>process_for</name>
<face>Times New Roman</face> <visible>1</visible>
<height>-10</height> <EditStyle style="ddlb">
<weight>400</weight> <limit>1</limit>
<family>1</family> <allowedit>no</allowedit>
<pitch>2</pitch> <case>upper</case>
<charset>0</charset> <imemode>0</imemode>
</font> </EditStyle>
<background> <font>
<mode>2</mode> <face>Times New Roman</face>
<color>67108864</color> <height>-10</height>
</background> <weight>400</weight>
</ColumnObject> <family>1</family>
<TextObject> <pitch>2</pitch>
<band>Detail</band> <charset>0</charset>
<alignment>1</alignment> </font>
<text>To :</text> <background>
<border>0</border> <mode>2</mode>
<color>0</color> <color>16777215</color>
<x>431</x> </background>
<y>50</y> </ColumnObject>
<height>16</height> <TextObject>
<width>23</width> <band>Detail</band>
<html> <alignment>1</alignment>
<valueishtml>0</valueishtml> <text>Process For :</text>
</html> <border>0</border>
<name>t_3</name> <color>0</color>
<visible>1</visible> <x>23</x>
<font> <y>26</y>
<face>Times New Roman</face> <height>17</height>
<height>-10</height> <width>133</width>
<weight>400</weight> <html>
<family>1</family> <valueishtml>0</valueishtml>
<pitch>2</pitch> </html>
<charset>0</charset> <name>process_for_t</name>
</font> <visible>1</visible>
<background> <font>
<mode>2</mode> <face>Times New Roman</face>
<color>79741120</color> <height>-10</height>
</background> <weight>400</weight>
</TextObject> <family>1</family>
<ColumnObject> <pitch>2</pitch>
<band>Detail</band> <charset>0</charset>
<id>2</id> </font>
<alignment>0</alignment> <background>
<tabsequence>30</tabsequence> <mode>2</mode>
<border>5</border> <color>79741120</color>
<color>0</color> </background>
<x>458</x> </TextObject>
<y>50</y> <TextObject>
<height>16</height> <band>Detail</band>
<width>55</width> <alignment>1</alignment>
<format>[general]</format> <text>Effective on or Before :</text>
<html> <border>0</border>
<valueishtml>0</valueishtml> <color>0</color>
</html> <x>23</x>
<name>emp_code__to</name> <y>313</y>
<visible>1</visible> <height>17</height>
<EditStyle style="edit"> <width>133</width>
<limit>10</limit> <html>
<case>upper</case> <valueishtml>0</valueishtml>
<focusrectangle>no</focusrectangle> </html>
<autoselect>yes</autoselect> <name>laps_on_date_t</name>
<autohscroll>yes</autohscroll> <visible>1</visible>
<imemode>0</imemode> <font>
</EditStyle> <face>Times New Roman</face>
<font> <height>-10</height>
<face>Times New Roman</face> <weight>400</weight>
<height>-10</height> <family>1</family>
<weight>400</weight> <pitch>2</pitch>
<family>1</family> <charset>0</charset>
<pitch>2</pitch> </font>
<charset>0</charset> <background>
</font> <mode>2</mode>
<background> <color>79741120</color>
<mode>2</mode> </background>
<color>16777215</color> </TextObject>
</background> <ColumnObject>
</ColumnObject> <band>Detail</band>
<ColumnObject> <id>5</id>
<band>Detail</band> <alignment>0</alignment>
<id>14</id> <tabsequence>120</tabsequence>
<alignment>0</alignment> <border>5</border>
<tabsequence>32766</tabsequence> <color>0</color>
<border>5</border> <x>161</x>
<color>255</color> <y>313</y>
<x>516</x> <height>17</height>
<y>50</y> <width>96</width>
<height>16</height> <format>[shortdate] [time]</format>
<width>163</width> <html>
<format>[general]</format> <valueishtml>0</valueishtml>
<html> </html>
<valueishtml>0</valueishtml> <name>laps_on_date</name>
</html> <visible>1</visible>
<name>emp_name__to</name> <EditStyle name="datetime" style="editmask">
<visible>1</visible> <mask>dd/mm/yy</mask>
<EditStyle style="edit"> <imemode>0</imemode>
<limit>0</limit> <focusrectangle>no</focusrectangle>
<case>any</case> </EditStyle>
<focusrectangle>no</focusrectangle> <font>
<autoselect>no</autoselect> <face>Times New Roman</face>
<imemode>0</imemode> <height>-10</height>
</EditStyle> <weight>400</weight>
<font> <family>1</family>
<face>Times New Roman</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>1</family> <background>
<pitch>2</pitch> <mode>2</mode>
<charset>0</charset> <color>16777215</color>
</font> </background>
<background> </ColumnObject>
<mode>2</mode> <TextObject>
<color>67108864</color> <band>Detail</band>
</background> <alignment>1</alignment>
</ColumnObject> <text>No of Leave Confirmed :</text>
<TextObject> <border>0</border>
<band>Detail</band> <color>33554432</color>
<alignment>1</alignment> <x>16</x>
<text>Department &gt;&gt; </text> <y>339</y>
<border>6</border> <height>16</height>
<color>16711680</color> <width>140</width>
<x>35</x> <html>
<y>74</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>120</width> <name>noof_confirmed_t</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <font>
</html> <face>Times New Roman</face>
<name>t_4</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<font> <family>1</family>
<face>Courier New</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>1</family> <background>
<pitch>1</pitch> <mode>2</mode>
<charset>0</charset> <color>67108864</color>
</font> </background>
<background> </TextObject>
<mode>2</mode> <ColumnObject>
<color>79741120</color> <band>Detail</band>
</background> <id>23</id>
</TextObject> <alignment>1</alignment>
<ColumnObject> <tabsequence>32766</tabsequence>
<band>Detail</band> <border>5</border>
<id>15</id> <color>255</color>
<alignment>0</alignment> <x>161</x>
<tabsequence>32766</tabsequence> <y>339</y>
<border>5</border> <height>16</height>
<color>255</color> <width>65</width>
<x>256</x> <format>[general]</format>
<y>74</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>163</width> </html>
<format>[general]</format> <name>noof_confirmed</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <EditStyle style="edit">
</html> <limit>0</limit>
<name>dept_descr__fr</name> <case>any</case>
<visible>1</visible> <focusrectangle>no</focusrectangle>
<EditStyle style="edit"> <autoselect>no</autoselect>
<limit>0</limit> <imemode>0</imemode>
<case>any</case> </EditStyle>
<focusrectangle>no</focusrectangle> <font>
<autoselect>no</autoselect> <face>Times New Roman</face>
<imemode>0</imemode> <height>-10</height>
</EditStyle> <weight>400</weight>
<font> <family>1</family>
<face>Times New Roman</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>1</family> <background>
<pitch>2</pitch> <mode>2</mode>
<charset>0</charset> <color>67108864</color>
</font> </background>
<background> </ColumnObject>
<mode>2</mode> <TextObject>
<color>67108864</color> <band>Detail</band>
</background> <alignment>1</alignment>
</ColumnObject> <text> No of Leave Rejected :</text>
<TextObject> <border>0</border>
<band>Detail</band> <color>33554432</color>
<alignment>1</alignment> <x>269</x>
<text>To :</text> <y>339</y>
<border>0</border> <height>16</height>
<color>0</color> <width>147</width>
<x>431</x> <html>
<y>74</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>23</width> <name>noof_rejected_t</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <font>
</html> <face>Times New Roman</face>
<name>t_6</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<font> <family>1</family>
<face>Times New Roman</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>1</family> <background>
<pitch>2</pitch> <mode>2</mode>
<charset>0</charset> <color>67108864</color>
</font> </background>
<background> </TextObject>
<mode>2</mode> <ColumnObject>
<color>79741120</color> <band>Detail</band>
</background> <id>24</id>
</TextObject> <alignment>1</alignment>
<ColumnObject> <tabsequence>32766</tabsequence>
<band>Detail</band> <border>5</border>
<id>10</id> <color>255</color>
<alignment>0</alignment> <x>421</x>
<tabsequence>50</tabsequence> <y>339</y>
<border>5</border> <height>16</height>
<color>0</color> <width>65</width>
<x>458</x> <format>[general]</format>
<y>74</y> <html>
<height>16</height> <valueishtml>0</valueishtml>
<width>55</width> </html>
<format>[general]</format> <name>noof_rejected</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <EditStyle style="edit">
</html> <limit>0</limit>
<name>dept_code__to</name> <case>any</case>
<visible>1</visible> <focusrectangle>no</focusrectangle>
<EditStyle style="edit"> <autoselect>no</autoselect>
<limit>5</limit> <imemode>0</imemode>
<case>upper</case> </EditStyle>
<focusrectangle>no</focusrectangle> <font>
<autoselect>yes</autoselect> <face>Times New Roman</face>
<autohscroll>yes</autohscroll> <height>-10</height>
<imemode>0</imemode> <weight>400</weight>
</EditStyle> <family>1</family>
<font> <pitch>2</pitch>
<face>Times New Roman</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>2</family> <mode>2</mode>
<pitch>2</pitch> <color>67108864</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <TextObject>
<mode>2</mode> <band>Detail</band>
<color>16777215</color> <alignment>1</alignment>
</background> <text>Process Group To :</text>
</ColumnObject> <border>0</border>
<ColumnObject> <color>0</color>
<band>Detail</band> <x>23</x>
<id>16</id> <y>287</y>
<alignment>0</alignment> <height>17</height>
<tabsequence>32766</tabsequence> <width>133</width>
<border>5</border> <html>
<color>255</color> <valueishtml>0</valueishtml>
<x>516</x> </html>
<y>74</y> <name>proc_group__to_t</name>
<height>16</height> <visible>1</visible>
<width>163</width> <font>
<format>[general]</format> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>dept_descr__to</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<EditStyle style="edit"> </font>
<limit>0</limit> <background>
<case>any</case> <mode>2</mode>
<focusrectangle>no</focusrectangle> <color>79741120</color>
<autoselect>no</autoselect> </background>
<imemode>0</imemode> </TextObject>
</EditStyle> <ColumnObject>
<font> <band>Detail</band>
<face>Times New Roman</face> <id>12</id>
<height>-10</height> <alignment>0</alignment>
<weight>400</weight> <tabsequence>110</tabsequence>
<family>1</family> <border>5</border>
<pitch>2</pitch> <color>0</color>
<charset>0</charset> <x>161</x>
</font> <y>287</y>
<background> <height>17</height>
<mode>2</mode> <width>65</width>
<color>67108864</color> <format>[general]</format>
</background> <html>
</ColumnObject> <valueishtml>0</valueishtml>
<TextObject> </html>
<band>Detail</band> <name>proc_group__to</name>
<alignment>1</alignment> <visible>1</visible>
<text>Site &gt;&gt;</text> <EditStyle style="edit">
<border>6</border> <limit>0</limit>
<color>16711680</color> <case>upper</case>
<x>40</x> <focusrectangle>no</focusrectangle>
<y>98</y> <autoselect>no</autoselect>
<height>16</height> <imemode>0</imemode>
<width>115</width> </EditStyle>
<html> <font>
<valueishtml>0</valueishtml> <face>Times New Roman</face>
</html> <height>-10</height>
<name>t_7</name> <weight>400</weight>
<visible>1</visible> <family>1</family>
<font> <pitch>2</pitch>
<face>Courier New</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>1</family> <mode>2</mode>
<pitch>1</pitch> <color>16777215</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <ColumnObject>
<mode>2</mode> <band>Detail</band>
<color>79741120</color> <id>22</id>
</background> <alignment>0</alignment>
</TextObject> <tabsequence>32766</tabsequence>
<ColumnObject> <border>5</border>
<band>Detail</band> <color>255</color>
<id>17</id> <x>231</x>
<alignment>0</alignment> <y>287</y>
<tabsequence>32766</tabsequence> <height>17</height>
<border>5</border> <width>255</width>
<color>255</color> <format>[general]</format>
<x>256</x> <html>
<y>98</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>163</width> <name>to_proc_desc</name>
<format>[general]</format> <visible>1</visible>
<html> <EditStyle style="edit">
<valueishtml>0</valueishtml> <limit>0</limit>
</html> <case>any</case>
<name>fr_site_descr</name> <focusrectangle>no</focusrectangle>
<visible>1</visible> <autoselect>no</autoselect>
<EditStyle style="edit"> <imemode>0</imemode>
<limit>0</limit> </EditStyle>
<case>any</case> <font>
<focusrectangle>no</focusrectangle> <face>Times New Roman</face>
<autoselect>no</autoselect> <height>-10</height>
<imemode>0</imemode> <weight>400</weight>
</EditStyle> <family>1</family>
<font> <pitch>2</pitch>
<face>Times New Roman</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>1</family> <mode>2</mode>
<pitch>2</pitch> <color>67108864</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <TextObject>
<mode>2</mode> <band>Detail</band>
<color>67108864</color> <alignment>1</alignment>
</background> <text>Process Group From :</text>
</ColumnObject> <border>0</border>
<TextObject> <color>0</color>
<band>Detail</band> <x>23</x>
<alignment>1</alignment> <y>261</y>
<text>To :</text> <height>17</height>
<border>0</border> <width>133</width>
<color>0</color> <html>
<x>431</x> <valueishtml>0</valueishtml>
<y>98</y> </html>
<height>16</height> <name>proc_group__fr_t</name>
<width>23</width> <visible>1</visible>
<html> <font>
<valueishtml>0</valueishtml> <face>Times New Roman</face>
</html> <height>-10</height>
<name>site_code__to_t</name> <weight>400</weight>
<visible>1</visible> <family>1</family>
<font> <pitch>2</pitch>
<face>Times New Roman</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>1</family> <mode>2</mode>
<pitch>2</pitch> <color>79741120</color>
<charset>0</charset> </background>
</font> </TextObject>
<background> <ColumnObject>
<mode>2</mode> <band>Detail</band>
<color>79741120</color> <id>11</id>
</background> <alignment>0</alignment>
</TextObject> <tabsequence>100</tabsequence>
<ColumnObject> <border>5</border>
<band>Detail</band> <color>0</color>
<id>4</id> <x>161</x>
<alignment>0</alignment> <y>261</y>
<tabsequence>70</tabsequence> <height>17</height>
<border>5</border> <width>65</width>
<color>0</color> <format>[general]</format>
<x>458</x> <html>
<y>98</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>55</width> <name>proc_group__fr</name>
<format>[general]</format> <visible>1</visible>
<html> <EditStyle style="edit">
<valueishtml>0</valueishtml> <limit>0</limit>
</html> <case>upper</case>
<name>site_code__to</name> <focusrectangle>no</focusrectangle>
<visible>1</visible> <autoselect>no</autoselect>
<EditStyle style="edit"> <imemode>0</imemode>
<limit>5</limit> </EditStyle>
<case>upper</case> <font>
<focusrectangle>no</focusrectangle> <face>Times New Roman</face>
<autoselect>yes</autoselect> <height>-10</height>
<autohscroll>yes</autohscroll> <weight>400</weight>
<imemode>0</imemode> <family>1</family>
</EditStyle> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Times New Roman</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>2</mode>
<family>1</family> <color>16777215</color>
<pitch>2</pitch> </background>
<charset>0</charset> </ColumnObject>
</font> <ColumnObject>
<background> <band>Detail</band>
<mode>2</mode> <id>21</id>
<color>16777215</color> <alignment>0</alignment>
</background> <tabsequence>32766</tabsequence>
</ColumnObject> <border>5</border>
<ColumnObject> <color>255</color>
<band>Detail</band> <x>231</x>
<id>18</id> <y>261</y>
<alignment>0</alignment> <height>17</height>
<tabsequence>32766</tabsequence> <width>255</width>
<border>5</border> <format>[general]</format>
<color>255</color> <html>
<x>516</x> <valueishtml>0</valueishtml>
<y>98</y> </html>
<height>16</height> <name>fr_proc_desc</name>
<width>163</width> <visible>1</visible>
<format>[general]</format> <EditStyle style="edit">
<html> <limit>0</limit>
<valueishtml>0</valueishtml> <case>any</case>
</html> <focusrectangle>no</focusrectangle>
<name>to_site_descr</name> <autoselect>no</autoselect>
<visible>1</visible> <imemode>0</imemode>
<EditStyle style="edit"> </EditStyle>
<limit>0</limit> <font>
<case>any</case> <face>Times New Roman</face>
<focusrectangle>no</focusrectangle> <height>-10</height>
<autoselect>no</autoselect> <weight>400</weight>
<imemode>0</imemode> <family>1</family>
</EditStyle> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Times New Roman</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>2</mode>
<family>1</family> <color>67108864</color>
<pitch>2</pitch> </background>
<charset>0</charset> </ColumnObject>
</font> <TextObject>
<background> <band>Detail</band>
<mode>2</mode> <alignment>1</alignment>
<color>67108864</color> <text>Leave To :</text>
</background> <border>0</border>
</ColumnObject> <color>0</color>
<ColumnObject> <x>23</x>
<band>Detail</band> <y>235</y>
<id>25</id> <height>17</height>
<alignment>0</alignment> <width>133</width>
<tabsequence>10</tabsequence> <html>
<border>5</border> <valueishtml>0</valueishtml>
<color>0</color> </html>
<x>197</x> <name>lve_code__to_t</name>
<y>26</y> <visible>1</visible>
<height>16</height> <font>
<width>174</width> <face>Times New Roman</face>
<format>[general]</format> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>1</family>
</html> <pitch>2</pitch>
<name>process_for</name> <charset>0</charset>
<visible>1</visible> </font>
<EditStyle style="ddlb"> <background>
<limit>1</limit> <mode>2</mode>
<allowedit>no</allowedit> <color>79741120</color>
<case>upper</case> </background>
<imemode>0</imemode> </TextObject>
</EditStyle> <ColumnObject>
<font> <band>Detail</band>
<face>Times New Roman</face> <id>7</id>
<height>-10</height> <alignment>0</alignment>
<weight>400</weight> <tabsequence>90</tabsequence>
<family>1</family> <border>5</border>
<pitch>2</pitch> <color>0</color>
<charset>0</charset> <x>161</x>
</font> <y>235</y>
<background> <height>17</height>
<mode>2</mode> <width>65</width>
<color>16777215</color> <format>[general]</format>
</background> <html>
</ColumnObject> <valueishtml>0</valueishtml>
<ColumnObject> </html>
<band>Detail</band> <name>lve_code__to</name>
<id>1</id> <visible>1</visible>
<alignment>0</alignment> <EditStyle style="edit">
<tabsequence>20</tabsequence> <limit>5</limit>
<border>5</border> <case>upper</case>
<color>0</color> <focusrectangle>no</focusrectangle>
<x>197</x> <autoselect>yes</autoselect>
<y>50</y> <imemode>0</imemode>
<height>16</height> </EditStyle>
<width>55</width> <font>
<format>[general]</format> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>emp_code__fr</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<EditStyle style="edit"> </font>
<limit>10</limit> <background>
<case>upper</case> <mode>2</mode>
<focusrectangle>no</focusrectangle> <color>16777215</color>
<autoselect>yes</autoselect> </background>
<autohscroll>yes</autohscroll> </ColumnObject>
<imemode>0</imemode> <ColumnObject>
</EditStyle> <band>Detail</band>
<font> <id>20</id>
<face>Times New Roman</face> <alignment>0</alignment>
<height>-10</height> <tabsequence>32766</tabsequence>
<weight>400</weight> <border>5</border>
<family>1</family> <color>255</color>
<pitch>2</pitch> <x>231</x>
<charset>0</charset> <y>235</y>
</font> <height>17</height>
<background> <width>255</width>
<mode>2</mode> <format>[general]</format>
<color>16777215</color> <html>
</background> <valueishtml>0</valueishtml>
</ColumnObject> </html>
<TextObject> <name>lve_desc_to</name>
<band>Detail</band> <visible>1</visible>
<alignment>1</alignment> <EditStyle style="edit">
<text>Process For :</text> <limit>0</limit>
<border>0</border> <case>any</case>
<color>0</color> <focusrectangle>no</focusrectangle>
<x>91</x> <autoselect>no</autoselect>
<y>26</y> <imemode>0</imemode>
<height>16</height> </EditStyle>
<width>102</width> <font>
<html> <face>Times New Roman</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>process_for_t</name> <family>1</family>
<visible>1</visible> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Times New Roman</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>2</mode>
<family>1</family> <color>67108864</color>
<pitch>2</pitch> </background>
<charset>0</charset> </ColumnObject>
</font> <TextObject>
<background> <band>Detail</band>
<mode>2</mode> <alignment>1</alignment>
<color>79741120</color> <text>Leave From :</text>
</background> <border>0</border>
</TextObject> <color>0</color>
<TextObject> <x>23</x>
<band>Detail</band> <y>208</y>
<alignment>1</alignment> <height>17</height>
<text>From :</text> <width>133</width>
<border>0</border> <html>
<color>0</color> <valueishtml>0</valueishtml>
<x>157</x> </html>
<y>50</y> <name>lve_code__fr_t</name>
<height>16</height> <visible>1</visible>
<width>36</width> <font>
<html> <face>Times New Roman</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>t_2</name> <family>1</family>
<visible>1</visible> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Times New Roman</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>2</mode>
<family>1</family> <color>79741120</color>
<pitch>2</pitch> </background>
<charset>0</charset> </TextObject>
</font> <ColumnObject>
<background> <band>Detail</band>
<mode>2</mode> <id>6</id>
<color>79741120</color> <alignment>0</alignment>
</background> <tabsequence>80</tabsequence>
</TextObject> <border>5</border>
<TextObject> <color>0</color>
<band>Detail</band> <x>161</x>
<alignment>1</alignment> <y>208</y>
<text>From :</text> <height>17</height>
<border>0</border> <width>65</width>
<color>0</color> <format>[general]</format>
<x>157</x> <html>
<y>74</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>36</width> <name>lve_code__fr</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <EditStyle style="edit">
</html> <limit>5</limit>
<name>t_5</name> <case>upper</case>
<visible>1</visible> <focusrectangle>no</focusrectangle>
<font> <autoselect>yes</autoselect>
<face>Times New Roman</face> <imemode>0</imemode>
<height>-10</height> </EditStyle>
<weight>400</weight> <font>
<family>1</family> <face>Times New Roman</face>
<pitch>2</pitch> <height>-10</height>
<charset>0</charset> <weight>400</weight>
</font> <family>1</family>
<background> <pitch>2</pitch>
<mode>2</mode> <charset>0</charset>
<color>79741120</color> </font>
</background> <background>
</TextObject> <mode>2</mode>
<TextObject> <color>16777215</color>
<band>Detail</band> </background>
<alignment>1</alignment> </ColumnObject>
<text>From :</text> <ColumnObject>
<border>0</border> <band>Detail</band>
<color>0</color> <id>19</id>
<x>157</x> <alignment>0</alignment>
<y>98</y> <tabsequence>32766</tabsequence>
<height>16</height> <border>5</border>
<width>36</width> <color>255</color>
<html> <x>231</x>
<valueishtml>0</valueishtml> <y>208</y>
</html> <height>17</height>
<name>site_code__fr_t</name> <width>255</width>
<visible>1</visible> <format>[general]</format>
<font> <html>
<face>Times New Roman</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>lve_desc_fr</name>
<family>1</family> <visible>1</visible>
<pitch>2</pitch> <EditStyle style="edit">
<charset>0</charset> <limit>0</limit>
</font> <case>any</case>
<background> <focusrectangle>no</focusrectangle>
<mode>2</mode> <autoselect>no</autoselect>
<color>79741120</color> <imemode>0</imemode>
</background> </EditStyle>
</TextObject> <font>
<ColumnObject> <face>Times New Roman</face>
<band>Detail</band> <height>-10</height>
<id>9</id> <weight>400</weight>
<alignment>0</alignment> <family>1</family>
<tabsequence>40</tabsequence> <pitch>2</pitch>
<border>5</border> <charset>0</charset>
<color>0</color> </font>
<x>197</x> <background>
<y>74</y> <mode>2</mode>
<height>16</height> <color>67108864</color>
<width>55</width> </background>
<format>[general]</format> </ColumnObject>
<html> <TextObject>
<valueishtml>0</valueishtml> <band>Detail</band>
</html> <alignment>1</alignment>
<name>dept_code__fr</name> <text>Site To :</text>
<visible>1</visible> <border>0</border>
<EditStyle style="edit"> <color>0</color>
<limit>5</limit> <x>23</x>
<case>upper</case> <y>182</y>
<focusrectangle>no</focusrectangle> <height>17</height>
<autoselect>yes</autoselect> <width>133</width>
<autohscroll>yes</autohscroll> <html>
<imemode>0</imemode> <valueishtml>0</valueishtml>
</EditStyle> </html>
<font> <name>site_code__to_t</name>
<face>Times New Roman</face> <visible>1</visible>
<height>-10</height> <font>
<weight>400</weight> <face>Times New Roman</face>
<family>2</family> <height>-10</height>
<pitch>2</pitch> <weight>400</weight>
<charset>0</charset> <family>1</family>
</font> <pitch>2</pitch>
<background> <charset>0</charset>
<mode>2</mode> </font>
<color>16777215</color> <background>
</background> <mode>2</mode>
</ColumnObject> <color>79741120</color>
<TextObject> </background>
<band>Detail</band> </TextObject>
<alignment>1</alignment> <ColumnObject>
<text>From :</text> <band>Detail</band>
<border>0</border> <id>4</id>
<color>0</color> <alignment>0</alignment>
<x>157</x> <tabsequence>70</tabsequence>
<y>122</y> <border>5</border>
<height>16</height> <color>0</color>
<width>36</width> <x>161</x>
<html> <y>182</y>
<valueishtml>0</valueishtml> <height>17</height>
</html> <width>65</width>
<name>t_9</name> <format>[general]</format>
<visible>1</visible> <html>
<font> <valueishtml>0</valueishtml>
<face>Times New Roman</face> </html>
<height>-10</height> <name>site_code__to</name>
<weight>400</weight> <visible>1</visible>
<family>1</family> <EditStyle style="edit">
<pitch>2</pitch> <limit>5</limit>
<charset>0</charset> <case>upper</case>
</font> <focusrectangle>no</focusrectangle>
<background> <autoselect>yes</autoselect>
<mode>2</mode> <autohscroll>yes</autohscroll>
<color>79741120</color> <imemode>0</imemode>
</background> </EditStyle>
</TextObject> <font>
<TextObject> <face>Times New Roman</face>
<band>Detail</band> <height>-10</height>
<alignment>1</alignment> <weight>400</weight>
<text>Leave &gt;&gt;</text> <family>1</family>
<border>6</border> <pitch>2</pitch>
<color>16711680</color> <charset>0</charset>
<x>40</x> </font>
<y>122</y> <background>
<height>16</height> <mode>2</mode>
<width>115</width> <color>16777215</color>
<html> </background>
<valueishtml>0</valueishtml> </ColumnObject>
</html> <ColumnObject>
<name>t_8</name> <band>Detail</band>
<visible>1</visible> <id>18</id>
<font> <alignment>0</alignment>
<face>Courier New</face> <tabsequence>32766</tabsequence>
<height>-10</height> <border>5</border>
<weight>400</weight> <color>255</color>
<family>1</family> <x>231</x>
<pitch>1</pitch> <y>182</y>
<charset>0</charset> <height>17</height>
</font> <width>255</width>
<background> <format>[general]</format>
<mode>2</mode> <html>
<color>79741120</color> <valueishtml>0</valueishtml>
</background> </html>
</TextObject> <name>to_site_descr</name>
<ColumnObject> <visible>1</visible>
<band>Detail</band> <EditStyle style="edit">
<id>19</id> <limit>0</limit>
<alignment>0</alignment> <case>any</case>
<tabsequence>32766</tabsequence> <focusrectangle>no</focusrectangle>
<border>5</border> <autoselect>no</autoselect>
<color>255</color> <imemode>0</imemode>
<x>256</x> </EditStyle>
<y>122</y> <font>
<height>16</height> <face>Times New Roman</face>
<width>163</width> <height>-10</height>
<format>[general]</format> <weight>400</weight>
<html> <family>1</family>
<valueishtml>0</valueishtml> <pitch>2</pitch>
</html> <charset>0</charset>
<name>lve_desc_fr</name> </font>
<visible>1</visible> <background>
<EditStyle style="edit"> <mode>2</mode>
<limit>0</limit> <color>67108864</color>
<case>any</case> </background>
<focusrectangle>no</focusrectangle> </ColumnObject>
<autoselect>no</autoselect> <TextObject>
<imemode>0</imemode> <band>Detail</band>
</EditStyle> <alignment>1</alignment>
<font> <text>Site From :</text>
<face>Times New Roman</face> <border>0</border>
<height>-10</height> <color>0</color>
<weight>400</weight> <x>23</x>
<family>1</family> <y>156</y>
<pitch>2</pitch> <height>17</height>
<charset>0</charset> <width>133</width>
</font> <html>
<background> <valueishtml>0</valueishtml>
<mode>2</mode> </html>
<color>67108864</color> <name>site_code__fr_t</name>
</background> <visible>1</visible>
</ColumnObject> <font>
<TextObject> <face>Times New Roman</face>
<band>Detail</band> <height>-10</height>
<alignment>1</alignment> <weight>400</weight>
<text>To :</text> <family>1</family>
<border>0</border> <pitch>2</pitch>
<color>0</color> <charset>0</charset>
<x>431</x> </font>
<y>122</y> <background>
<height>16</height> <mode>2</mode>
<width>23</width> <color>79741120</color>
<html> </background>
<valueishtml>0</valueishtml> </TextObject>
</html> <ColumnObject>
<name>t_10</name> <band>Detail</band>
<visible>1</visible> <id>3</id>
<font> <alignment>0</alignment>
<face>Times New Roman</face> <tabsequence>60</tabsequence>
<height>-10</height> <border>5</border>
<weight>400</weight> <color>0</color>
<family>1</family> <x>161</x>
<pitch>2</pitch> <y>156</y>
<charset>0</charset> <height>17</height>
</font> <width>65</width>
<background> <format>[general]</format>
<mode>2</mode> <html>
<color>79741120</color> <valueishtml>0</valueishtml>
</background> </html>
</TextObject> <name>site_code__fr</name>
<ColumnObject> <visible>1</visible>
<band>Detail</band> <EditStyle style="edit">
<id>7</id> <limit>5</limit>
<alignment>0</alignment> <case>upper</case>
<tabsequence>90</tabsequence> <focusrectangle>no</focusrectangle>
<border>5</border> <autoselect>yes</autoselect>
<color>0</color> <autohscroll>yes</autohscroll>
<x>458</x> <imemode>0</imemode>
<y>122</y> </EditStyle>
<height>16</height> <font>
<width>55</width> <face>Times New Roman</face>
<format>[general]</format> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>1</family>
</html> <pitch>2</pitch>
<name>lve_code__to</name> <charset>0</charset>
<visible>1</visible> </font>
<EditStyle style="edit"> <background>
<limit>5</limit> <mode>2</mode>
<case>upper</case> <color>16777215</color>
<focusrectangle>no</focusrectangle> </background>
<autoselect>yes</autoselect> </ColumnObject>
<imemode>0</imemode> <ColumnObject>
</EditStyle> <band>Detail</band>
<font> <id>17</id>
<face>Times New Roman</face> <alignment>0</alignment>
<height>-10</height> <tabsequence>32766</tabsequence>
<weight>400</weight> <border>5</border>
<family>1</family> <color>255</color>
<pitch>2</pitch> <x>231</x>
<charset>0</charset> <y>156</y>
</font> <height>17</height>
<background> <width>255</width>
<mode>2</mode> <format>[general]</format>
<color>16777215</color> <html>
</background> <valueishtml>0</valueishtml>
</ColumnObject> </html>
<ColumnObject> <name>fr_site_descr</name>
<band>Detail</band> <visible>1</visible>
<id>20</id> <EditStyle style="edit">
<alignment>0</alignment> <limit>0</limit>
<tabsequence>32766</tabsequence> <case>any</case>
<border>5</border> <focusrectangle>no</focusrectangle>
<color>255</color> <autoselect>no</autoselect>
<x>516</x> <imemode>0</imemode>
<y>122</y> </EditStyle>
<height>16</height> <font>
<width>163</width> <face>Times New Roman</face>
<format>[general]</format> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>1</family>
</html> <pitch>2</pitch>
<name>lve_desc_to</name> <charset>0</charset>
<visible>1</visible> </font>
<EditStyle style="edit"> <background>
<limit>0</limit> <mode>2</mode>
<case>any</case> <color>67108864</color>
<focusrectangle>no</focusrectangle> </background>
<autoselect>no</autoselect> </ColumnObject>
<imemode>0</imemode> <TextObject>
</EditStyle> <band>Detail</band>
<font> <alignment>1</alignment>
<face>Times New Roman</face> <text>Department To :</text>
<height>-10</height> <border>0</border>
<weight>400</weight> <color>0</color>
<family>1</family> <x>23</x>
<pitch>2</pitch> <y>130</y>
<charset>0</charset> <height>17</height>
</font> <width>133</width>
<background> <html>
<mode>2</mode> <valueishtml>0</valueishtml>
<color>67108864</color> </html>
</background> <name>dept_code__to_t</name>
</ColumnObject> <visible>1</visible>
<ColumnObject> <font>
<band>Detail</band> <face>Times New Roman</face>
<id>3</id> <height>-10</height>
<alignment>0</alignment> <weight>400</weight>
<tabsequence>60</tabsequence> <family>1</family>
<border>5</border> <pitch>2</pitch>
<color>0</color> <charset>0</charset>
<x>197</x> </font>
<y>98</y> <background>
<height>16</height> <mode>2</mode>
<width>55</width> <color>79741120</color>
<format>[general]</format> </background>
<html> </TextObject>
<valueishtml>0</valueishtml> <ColumnObject>
</html> <band>Detail</band>
<name>site_code__fr</name> <id>10</id>
<visible>1</visible> <alignment>0</alignment>
<EditStyle style="edit"> <tabsequence>50</tabsequence>
<limit>5</limit> <border>5</border>
<case>upper</case> <color>0</color>
<focusrectangle>no</focusrectangle> <x>161</x>
<autoselect>yes</autoselect> <y>130</y>
<autohscroll>yes</autohscroll> <height>17</height>
<imemode>0</imemode> <width>65</width>
</EditStyle> <format>[general]</format>
<font> <html>
<face>Times New Roman</face> <valueishtml>0</valueishtml>
<height>-10</height> </html>
<weight>400</weight> <name>dept_code__to</name>
<family>1</family> <visible>1</visible>
<pitch>2</pitch> <EditStyle style="edit">
<charset>0</charset> <limit>5</limit>
</font> <case>upper</case>
<background> <focusrectangle>no</focusrectangle>
<mode>2</mode> <autoselect>yes</autoselect>
<color>16777215</color> <autohscroll>yes</autohscroll>
</background> <imemode>0</imemode>
</ColumnObject> </EditStyle>
<TextObject> <font>
<band>Detail</band> <face>Times New Roman</face>
<alignment>1</alignment> <height>-10</height>
<text>From :</text> <weight>400</weight>
<border>0</border> <family>2</family>
<color>0</color> <pitch>2</pitch>
<x>157</x> <charset>0</charset>
<y>146</y> </font>
<height>16</height> <background>
<width>36</width> <mode>2</mode>
<html> <color>16777215</color>
<valueishtml>0</valueishtml> </background>
</html> </ColumnObject>
<name>t_12</name> <ColumnObject>
<visible>1</visible> <band>Detail</band>
<font> <id>16</id>
<face>Times New Roman</face> <alignment>0</alignment>
<height>-10</height> <tabsequence>32766</tabsequence>
<weight>400</weight> <border>5</border>
<family>1</family> <color>255</color>
<pitch>2</pitch> <x>231</x>
<charset>0</charset> <y>130</y>
</font> <height>17</height>
<background> <width>255</width>
<mode>2</mode> <format>[general]</format>
<color>79741120</color> <html>
</background> <valueishtml>0</valueishtml>
</TextObject> </html>
<TextObject> <name>dept_descr__to</name>
<band>Detail</band> <visible>1</visible>
<alignment>1</alignment> <EditStyle style="edit">
<text>Process Group &gt;&gt;</text> <limit>0</limit>
<border>6</border> <case>any</case>
<color>16711680</color> <focusrectangle>no</focusrectangle>
<x>16</x> <autoselect>no</autoselect>
<y>146</y> <imemode>0</imemode>
<height>16</height> </EditStyle>
<width>139</width> <font>
<html> <face>Times New Roman</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>t_11</name> <family>1</family>
<visible>1</visible> <pitch>2</pitch>
<font> <charset>0</charset>
<face>Courier New</face> </font>
<height>-10</height> <background>
<weight>400</weight> <mode>2</mode>
<family>1</family> <color>67108864</color>
<pitch>1</pitch> </background>
<charset>0</charset> </ColumnObject>
</font> <TextObject>
<background> <band>Detail</band>
<mode>2</mode> <alignment>1</alignment>
<color>79741120</color> <text>Department From :</text>
</background> <border>0</border>
</TextObject> <color>0</color>
<ColumnObject> <x>23</x>
<band>Detail</band> <y>104</y>
<id>21</id> <height>17</height>
<alignment>0</alignment> <width>133</width>
<tabsequence>32766</tabsequence> <html>
<border>5</border> <valueishtml>0</valueishtml>
<color>255</color> </html>
<x>256</x> <name>dept_code__fr_t</name>
<y>146</y> <visible>1</visible>
<height>16</height> <font>
<width>163</width> <face>Times New Roman</face>
<format>[general]</format> <height>-10</height>
<html> <weight>400</weight>
<valueishtml>0</valueishtml> <family>1</family>
</html> <pitch>2</pitch>
<name>fr_proc_desc</name> <charset>0</charset>
<visible>1</visible> </font>
<EditStyle style="edit"> <background>
<limit>0</limit> <mode>2</mode>
<case>any</case> <color>79741120</color>
<focusrectangle>no</focusrectangle> </background>
<autoselect>no</autoselect> </TextObject>
<imemode>0</imemode> <ColumnObject>
</EditStyle> <band>Detail</band>
<font> <id>9</id>
<face>Times New Roman</face> <alignment>0</alignment>
<height>-10</height> <tabsequence>40</tabsequence>
<weight>400</weight> <border>5</border>
<family>1</family> <color>0</color>
<pitch>2</pitch> <x>161</x>
<charset>0</charset> <y>104</y>
</font> <height>17</height>
<background> <width>65</width>
<mode>2</mode> <format>[general]</format>
<color>67108864</color> <html>
</background> <valueishtml>0</valueishtml>
</ColumnObject> </html>
<TextObject> <name>dept_code__fr</name>
<band>Detail</band> <visible>1</visible>
<alignment>1</alignment> <EditStyle style="edit">
<text>To :</text> <limit>5</limit>
<border>0</border> <case>upper</case>
<color>0</color> <focusrectangle>no</focusrectangle>
<x>431</x> <autoselect>yes</autoselect>
<y>146</y> <autohscroll>yes</autohscroll>
<height>16</height> <imemode>0</imemode>
<width>23</width> </EditStyle>
<html> <font>
<valueishtml>0</valueishtml> <face>Times New Roman</face>
</html> <height>-10</height>
<name>t_14</name> <weight>400</weight>
<visible>1</visible> <family>2</family>
<font> <pitch>2</pitch>
<face>Times New Roman</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>1</family> <mode>2</mode>
<pitch>2</pitch> <color>16777215</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <ColumnObject>
<mode>2</mode> <band>Detail</band>
<color>79741120</color> <id>15</id>
</background> <alignment>0</alignment>
</TextObject> <tabsequence>32766</tabsequence>
<ColumnObject> <border>5</border>
<band>Detail</band> <color>255</color>
<id>12</id> <x>231</x>
<alignment>0</alignment> <y>104</y>
<tabsequence>110</tabsequence> <height>17</height>
<border>5</border> <width>255</width>
<color>0</color> <format>[general]</format>
<x>458</x> <html>
<y>146</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>54</width> <name>dept_descr__fr</name>
<format>[general]</format> <visible>1</visible>
<html> <EditStyle style="edit">
<valueishtml>0</valueishtml> <limit>0</limit>
</html> <case>any</case>
<name>proc_group__to</name> <focusrectangle>no</focusrectangle>
<visible>1</visible> <autoselect>no</autoselect>
<EditStyle style="edit"> <imemode>0</imemode>
<limit>0</limit> </EditStyle>
<case>upper</case> <font>
<focusrectangle>no</focusrectangle> <face>Times New Roman</face>
<autoselect>no</autoselect> <height>-10</height>
<imemode>0</imemode> <weight>400</weight>
</EditStyle> <family>1</family>
<font> <pitch>2</pitch>
<face>Times New Roman</face> <charset>0</charset>
<height>-10</height> </font>
<weight>400</weight> <background>
<family>1</family> <mode>2</mode>
<pitch>2</pitch> <color>67108864</color>
<charset>0</charset> </background>
</font> </ColumnObject>
<background> <TextObject>
<mode>2</mode> <band>Detail</band>
<color>16777215</color> <alignment>1</alignment>
</background> <text>Employee To :</text>
</ColumnObject> <border>0</border>
<ColumnObject> <color>0</color>
<band>Detail</band> <x>23</x>
<id>6</id> <y>78</y>
<alignment>0</alignment> <height>17</height>
<tabsequence>80</tabsequence> <width>133</width>
<border>5</border> <html>
<color>0</color> <valueishtml>0</valueishtml>
<x>197</x> </html>
<y>122</y> <name>emp_code__to_t</name>
<height>16</height> <visible>1</visible>
<width>54</width> <font>
<format>[general]</format> <face>Times New Roman</face>
<html> <height>-10</height>
<valueishtml>0</valueishtml> <weight>400</weight>
</html> <family>1</family>
<name>lve_code__fr</name> <pitch>2</pitch>
<visible>1</visible> <charset>0</charset>
<EditStyle style="edit"> </font>
<limit>5</limit> <background>
<case>upper</case> <mode>2</mode>
<focusrectangle>no</focusrectangle> <color>79741120</color>
<autoselect>yes</autoselect> </background>
<imemode>0</imemode> </TextObject>
</EditStyle> <ColumnObject>
<font> <band>Detail</band>
<face>Times New Roman</face> <id>2</id>
<height>-10</height> <alignment>0</alignment>
<weight>400</weight> <tabsequence>30</tabsequence>
<family>1</family> <border>5</border>
<pitch>2</pitch> <color>0</color>
<charset>0</charset> <x>161</x>
</font> <y>78</y>
<background> <height>17</height>
<mode>2</mode> <width>65</width>
<color>16777215</color> <format>[general]</format>
</background> <html>
</ColumnObject> <valueishtml>0</valueishtml>
<ColumnObject> </html>
<band>Detail</band> <name>emp_code__to</name>
<id>11</id> <visible>1</visible>
<alignment>0</alignment> <EditStyle style="edit">
<tabsequence>100</tabsequence> <limit>10</limit>
<border>5</border> <case>upper</case>
<color>0</color> <focusrectangle>no</focusrectangle>
<x>197</x> <autoselect>yes</autoselect>
<y>146</y> <autohscroll>yes</autohscroll>
<height>16</height> <imemode>0</imemode>
<width>54</width> </EditStyle>
<format>[general]</format> <font>
<html> <face>Times New Roman</face>
<valueishtml>0</valueishtml> <height>-10</height>
</html> <weight>400</weight>
<name>proc_group__fr</name> <family>1</family>
<visible>1</visible> <pitch>2</pitch>
<EditStyle style="edit"> <charset>0</charset>
<limit>0</limit> </font>
<case>upper</case> <background>
<focusrectangle>no</focusrectangle> <mode>2</mode>
<autoselect>no</autoselect> <color>16777215</color>
<imemode>0</imemode> </background>
</EditStyle> </ColumnObject>
<font> <ColumnObject>
<face>Times New Roman</face> <band>Detail</band>
<height>-10</height> <id>14</id>
<weight>400</weight> <alignment>0</alignment>
<family>1</family> <tabsequence>32766</tabsequence>
<pitch>2</pitch> <border>5</border>
<charset>0</charset> <color>255</color>
</font> <x>231</x>
<background> <y>78</y>
<mode>2</mode> <height>17</height>
<color>16777215</color> <width>255</width>
</background> <format>[general]</format>
</ColumnObject> <html>
<TextObject> <valueishtml>0</valueishtml>
<band>Detail</band> </html>
<alignment>1</alignment> <name>emp_name__to</name>
<text>Effective on or Before :</text> <visible>1</visible>
<border>0</border> <EditStyle style="edit">
<color>0</color> <limit>0</limit>
<x>52</x> <case>any</case>
<y>170</y> <focusrectangle>no</focusrectangle>
<height>16</height> <autoselect>no</autoselect>
<width>141</width> <imemode>0</imemode>
<html> </EditStyle>
<valueishtml>0</valueishtml> <font>
</html> <face>Times New Roman</face>
<name>laps_on_date_t</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<font> <family>1</family>
<face>Times New Roman</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>1</family> <background>
<pitch>2</pitch> <mode>2</mode>
<charset>0</charset> <color>67108864</color>
</font> </background>
<background> </ColumnObject>
<mode>2</mode> <TextObject>
<color>79741120</color> <band>Detail</band>
</background> <alignment>1</alignment>
</TextObject> <text>Employee From :</text>
<TextObject> <border>0</border>
<band>Detail</band> <color>0</color>
<alignment>1</alignment> <x>23</x>
<text>No of Leave Confirmed :</text> <y>52</y>
<border>0</border> <height>17</height>
<color>33554432</color> <width>133</width>
<x>46</x> <html>
<y>201</y> <valueishtml>0</valueishtml>
<height>16</height> </html>
<width>147</width> <name>emp_code__fr_t</name>
<html> <visible>1</visible>
<valueishtml>0</valueishtml> <font>
</html> <face>Times New Roman</face>
<name>noof_confirmed_t</name> <height>-10</height>
<visible>1</visible> <weight>400</weight>
<font> <family>1</family>
<face>Times New Roman</face> <pitch>2</pitch>
<height>-10</height> <charset>0</charset>
<weight>400</weight> </font>
<family>1</family> <background>
<pitch>2</pitch> <mode>2</mode>
<charset>0</charset> <color>79741120</color>
</font> </background>
<background> </TextObject>
<mode>2</mode> <ColumnObject>
<color>67108864</color> <band>Detail</band>
</background> <id>1</id>
</TextObject> <alignment>0</alignment>
<TextObject> <tabsequence>20</tabsequence>
<band>Detail</band> <border>5</border>
<alignment>1</alignment> <color>0</color>
<text> No of Leave Rejected :</text> <x>161</x>
<border>0</border> <y>52</y>
<color>33554432</color> <height>17</height>
<x>470</x> <width>65</width>
<y>201</y> <format>[general]</format>
<height>16</height> <html>
<width>147</width> <valueishtml>0</valueishtml>
<html> </html>
<valueishtml>0</valueishtml> <name>emp_code__fr</name>
</html> <visible>1</visible>
<name>noof_rejected_t</name> <EditStyle style="edit">
<visible>1</visible> <limit>10</limit>
<font> <case>upper</case>
<face>Times New Roman</face> <focusrectangle>no</focusrectangle>
<height>-10</height> <autoselect>yes</autoselect>
<weight>400</weight> <autohscroll>yes</autohscroll>
<family>1</family> <imemode>0</imemode>
<pitch>2</pitch> </EditStyle>
<charset>0</charset> <font>
</font> <face>Times New Roman</face>
<background> <height>-10</height>
<mode>2</mode> <weight>400</weight>
<color>67108864</color> <family>1</family>
</background> <pitch>2</pitch>
</TextObject> <charset>0</charset>
<ColumnObject> </font>
<band>Detail</band> <background>
<id>8</id> <mode>2</mode>
<alignment>0</alignment> <color>16777215</color>
<tabsequence>32766</tabsequence> </background>
<border>0</border> </ColumnObject>
<color>33554432</color> <ColumnObject>
<x>426</x> <band>Detail</band>
<y>227</y> <id>13</id>
<height>16</height> <alignment>0</alignment>
<width>81</width> <tabsequence>32766</tabsequence>
<format>[general]</format> <border>5</border>
<html> <color>255</color>
<valueishtml>0</valueishtml> <x>231</x>
</html> <y>52</y>
<name>no_days</name> <height>17</height>
<visible>0</visible> <width>255</width>
<EditStyle style="edit"> <format>[general]</format>
<limit>0</limit> <html>
<case>any</case> <valueishtml>0</valueishtml>
<focusrectangle>no</focusrectangle> </html>
<autoselect>no</autoselect> <name>emp_name__fr</name>
<imemode>0</imemode> <visible>1</visible>
</EditStyle> <EditStyle style="edit">
<font> <limit>0</limit>
<face>Times New Roman</face> <case>any</case>
<height>-10</height> <focusrectangle>no</focusrectangle>
<weight>400</weight> <autoselect>no</autoselect>
<family>1</family> <imemode>0</imemode>
<pitch>2</pitch> </EditStyle>
<charset>0</charset> <font>
</font> <face>Times New Roman</face>
<background> <height>-10</height>
<mode>2</mode> <weight>400</weight>
<color>1073741824</color> <family>1</family>
</background> <pitch>2</pitch>
</ColumnObject> <charset>0</charset>
<ColumnObject> </font>
<band>Detail</band> <background>
<id>5</id> <mode>2</mode>
<alignment>0</alignment> <color>67108864</color>
<tabsequence>120</tabsequence> </background>
<border>5</border> </ColumnObject>
<color>0</color> <HtmlTable>
<x>197</x> <border>1</border>
<y>170</y> </HtmlTable>
<height>16</height> <HtmlGen>
<width>57</width> <clientevents>1</clientevents>
<format>[shortdate] [time]</format> <clientvalidation>1</clientvalidation>
<html> <clientcomputedfields>1</clientcomputedfields>
<valueishtml>0</valueishtml> <clientformatting>0</clientformatting>
</html> <clientscriptable>0</clientscriptable>
<name>laps_on_date</name> <generatejavascript>1</generatejavascript>
<visible>1</visible> <encodeselflinkargs>1</encodeselflinkargs>
<EditStyle name="datetime" style="editmask"> <netscapelayers>0</netscapelayers>
<mask>dd/mm/yy</mask> </HtmlGen>
<imemode>0</imemode> <Export.XML>
<focusrectangle>no</focusrectangle> <headgroups>1</headgroups>
</EditStyle> <includewhitespace>0</includewhitespace>
<font> <metadatatype>0</metadatatype>
<face>Times New Roman</face> <savemetadata>0</savemetadata>
<height>-10</height> </Export.XML>
<weight>400</weight> <Import.XML>
<family>1</family> </Import.XML>
<pitch>2</pitch> <Export.PDF>
<charset>0</charset> <method>0</method>
</font> <distill.custompostscript>0</distill.custompostscript>
<background> <xslfop.print>0</xslfop.print>
<mode>2</mode> </Export.PDF>
<color>16777215</color> </Sybase_eDataWindow>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>197</x>
<y>201</y>
<height>16</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>noof_confirmed</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>516</x>
<y>146</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_proc_desc</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>622</x>
<y>201</y>
<height>16</height>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>noof_rejected</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</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"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>79741120</color> <color>79741120</color>
<processing>1</processing> <processing>1</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>17</height> <height>17</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>21</height> <height>21</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_code</name> <name>emp_code</name>
<dbname>leavebal.emp_code</dbname> <dbname>leavebal.emp_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name> <name>emp_fname</name>
<dbname>employee.emp_fname</dbname> <dbname>employee.emp_fname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name> <name>emp_lname</name>
<dbname>employee.emp_lname</dbname> <dbname>employee.emp_lname</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>lve_code</name> <name>lve_code</name>
<dbname>leavebal.lve_code</dbname> <dbname>leavebal.lve_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>number</type> <type>number</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>ccbal</name> <name>ccbal</name>
<dbname>cbal</dbname> <dbname>cbal</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>number</type> <type>number</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>max_days</name> <name>max_days</name>
<dbname>max_days</dbname> <dbname>max_days</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>number</type> <type>number</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>laps_days</name> <name>laps_days</name>
<dbname>laps_days</dbname> <dbname>laps_days</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;leavebal&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;leavebal.emp_code&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;leavebal.lve_code&quot;) COMPUTE(NAME=&quot;sum(leavebal.bal_days) cbal&quot;) COMPUTE(NAME=&quot;0.00 max_days&quot;) COMPUTE(NAME=&quot;0.00 laps_days&quot;) JOIN (LEFT=&quot;employee.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;leavebal.emp_code&quot; )WHERE( EXP1 =&quot;( leavebal.emp_code&quot; OP =&quot;between&quot; EXP2 =&quot;:emp_code_fr and :emp_code_to )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( leavebal.lve_code&quot; OP =&quot;between&quot; EXP2 =&quot;:lve_code_fr and :lve_code_to )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( employee.emp_site&quot; OP =&quot;between&quot; EXP2 =&quot;:site_code_fr and :site_code_to )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( leavebal.eff_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:laps_on_date )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( leavebal.exp_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:laps_on_date )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( leavebal.bal_days&quot; OP =&quot;&gt;&quot; EXP2 =&quot;0 )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( employee.dept_code&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:dept_code_fr )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( employee.dept_code&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:dept_code_to )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;(employee.proc_group&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:as_proc_group__fr)&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;(employee.proc_group&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:as_proc_group__to)&quot; ) GROUP(NAME=&quot;leavebal.emp_code&quot;) GROUP(NAME=&quot;leavebal.lve_code&quot;) GROUP(NAME=&quot;employee.emp_fname&quot;) GROUP(NAME=&quot;employee.emp_lname&quot;)) ARG(NAME = &quot;lve_code_fr&quot; TYPE = string) ARG(NAME = &quot;lve_code_to&quot; TYPE = string) ARG(NAME = &quot;emp_code_fr&quot; TYPE = string) ARG(NAME = &quot;emp_code_to&quot; TYPE = string) ARG(NAME = &quot;site_code_fr&quot; TYPE = string) ARG(NAME = &quot;site_code_to&quot; TYPE = string) ARG(NAME = &quot;laps_on_date&quot; TYPE = datetime) ARG(NAME = &quot;dept_code_fr&quot; TYPE = string) ARG(NAME = &quot;dept_code_to&quot; TYPE = string) ARG(NAME = &quot;as_proc_group__fr&quot; TYPE = string) ARG(NAME = &quot;as_proc_group__to&quot; TYPE = string) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;leavebal&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;leavebal.emp_code&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;leavebal.lve_code&quot;) COMPUTE(NAME=&quot;sum(leavebal.bal_days) cbal&quot;) COMPUTE(NAME=&quot;0.00 max_days&quot;) COMPUTE(NAME=&quot;0.00 laps_days&quot;) JOIN (LEFT=&quot;employee.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;leavebal.emp_code&quot; )WHERE( EXP1 =&quot;( leavebal.emp_code&quot; OP =&quot;between&quot; EXP2 =&quot;:emp_code_fr and :emp_code_to )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( leavebal.lve_code&quot; OP =&quot;between&quot; EXP2 =&quot;:lve_code_fr and :lve_code_to )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( employee.emp_site&quot; OP =&quot;between&quot; EXP2 =&quot;:site_code_fr and :site_code_to )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( leavebal.eff_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:laps_on_date )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( leavebal.exp_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:laps_on_date )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( leavebal.bal_days&quot; OP =&quot;&gt;&quot; EXP2 =&quot;0 )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( employee.dept_code&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:dept_code_fr )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( employee.dept_code&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:dept_code_to )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;(employee.proc_group&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:as_proc_group__fr)&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;(employee.proc_group&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:as_proc_group__to)&quot; ) GROUP(NAME=&quot;leavebal.emp_code&quot;) GROUP(NAME=&quot;leavebal.lve_code&quot;) GROUP(NAME=&quot;employee.emp_fname&quot;) GROUP(NAME=&quot;employee.emp_lname&quot;)) ARG(NAME = &quot;lve_code_fr&quot; TYPE = string) ARG(NAME = &quot;lve_code_to&quot; TYPE = string) ARG(NAME = &quot;emp_code_fr&quot; TYPE = string) ARG(NAME = &quot;emp_code_to&quot; TYPE = string) ARG(NAME = &quot;site_code_fr&quot; TYPE = string) ARG(NAME = &quot;site_code_to&quot; TYPE = string) ARG(NAME = &quot;laps_on_date&quot; TYPE = datetime) ARG(NAME = &quot;dept_code_fr&quot; TYPE = string) ARG(NAME = &quot;dept_code_to&quot; TYPE = string) ARG(NAME = &quot;as_proc_group__fr&quot; TYPE = string) ARG(NAME = &quot;as_proc_group__to&quot; TYPE = string) </retrieve>
<argument> <argument>
<name>lve_code_fr</name> <name>lve_code_fr</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>lve_code_to</name> <name>lve_code_to</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>emp_code_fr</name> <name>emp_code_fr</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>emp_code_to</name> <name>emp_code_to</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>site_code_fr</name> <name>site_code_fr</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>site_code_to</name> <name>site_code_to</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>laps_on_date</name> <name>laps_on_date</name>
<type>datetime</type> <type>datetime</type>
</argument> </argument>
<argument> <argument>
<name>dept_code_fr</name> <name>dept_code_fr</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>dept_code_to</name> <name>dept_code_to</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>as_proc_group__fr</name> <name>as_proc_group__fr</name>
<type>string</type> <type>string</type>
</argument> </argument>
<argument> <argument>
<name>as_proc_group__to</name> <name>as_proc_group__to</name>
<type>string</type> <type>string</type>
</argument> </argument>
<sort> <sort>
<expression>emp_code A</expression> <expression>emp_code A</expression>
<expression>lve_code A</expression> <expression>lve_code A</expression>
</sort> </sort>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Employee Code</text> <text>Employee Code</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>2</x> <x>2</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>93</width> <width>93</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code_t</name> <name>emp_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>First Name</text> <text>First Name</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>97</x> <x>97</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>136</width> <width>136</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_fname_t</name> <name>emp_fname_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Last Name</text> <text>Last Name</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>235</x> <x>235</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>136</width> <width>136</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_lname_t</name> <name>emp_lname_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Leave Code</text> <text>Leave Code</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>373</x> <x>373</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>76</width> <width>76</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>lve_code_t</name> <name>lve_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Balance Days</text> <text>Balance Days</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>451</x> <x>451</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>80</width> <width>80</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>ccbal_t</name> <name>ccbal_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Max Days Allowed</text> <text>Max Days Allowed</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>533</x> <x>533</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>115</width> <width>115</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>max_days_t</name> <name>max_days_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Days To Be Lapsed</text> <text>Days To Be Lapsed</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>650</x> <x>650</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>128</width> <width>128</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>laps_days_t</name> <name>laps_days_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>2</x> <x>2</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>93</width> <width>93</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code</name> <name>emp_code</name>
<tag>Employee code.</tag> <tag>Employee code.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>1090519039</color> <color>1090519039</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>2</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>97</x> <x>97</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>136</width> <width>136</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_fname</name> <name>emp_fname</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>1090519039</color> <color>1090519039</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>235</x> <x>235</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>136</width> <width>136</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_lname</name> <name>emp_lname</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>1090519039</color> <color>1090519039</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>373</x> <x>373</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>76</width> <width>76</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>lve_code</name> <name>lve_code</name>
<tag>Leave code.</tag> <tag>Leave code.</tag>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>5</limit> <limit>5</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>1090519039</color> <color>1090519039</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>5</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>451</x> <x>451</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>80</width> <width>80</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>ccbal</name> <name>ccbal</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>1090519039</color> <color>1090519039</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>6</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>533</x> <x>533</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>115</width> <width>115</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>max_days</name> <name>max_days</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>1090519039</color> <color>1090519039</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>7</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>650</x> <x>650</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>128</width> <width>128</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>laps_days</name> <name>laps_days</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect> <autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>1090519039</color> <color>1090519039</color>
</background> </background>
</ColumnObject> </ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
<HtmlGen> <HtmlGen>
<clientevents>1</clientevents> <clientevents>1</clientevents>
<clientvalidation>1</clientvalidation> <clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields> <clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting> <clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable> <clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript> <generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs> <encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers> <netscapelayers>0</netscapelayers>
</HtmlGen> </HtmlGen>
<Export.XML> <Export.XML>
<headgroups>1</headgroups> <headgroups>1</headgroups>
<includewhitespace>0</includewhitespace> <includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype> <metadatatype>0</metadatatype>
<savemetadata>0</savemetadata> <savemetadata>0</savemetadata>
</Export.XML> </Export.XML>
<Import.XML> <Import.XML>
</Import.XML> </Import.XML>
<Export.PDF> <Export.PDF>
<method>0</method> <method>0</method>
<distill.custompostscript>0</distill.custompostscript> <distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print> <xslfop.print>0</xslfop.print>
</Export.PDF> </Export.PDF>
</Sybase_eDataWindow> </Sybase_eDataWindow>
$PBExportHeader$d_auto_leave_laps.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 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=1 color="536870912" )
footer(height=0 color="536870912" )
detail(height=350 color="536870912" )
table(column=(type=char(10) updatewhereclause=no name=emp_code__fr dbname="EMP_CODE__FR" )
column=(type=char(10) updatewhereclause=no name=emp_code__to dbname="EMP_CODE__TO" )
column=(type=char(5) updatewhereclause=no name=site_code__fr dbname="SITE_CODE__FR" )
column=(type=char(5) updatewhereclause=no name=site_code__to dbname="SITE_CODE__TO" )
column=(type=datetime updatewhereclause=no name=laps_on_date dbname="laps_on_date" )
column=(type=char(5) updatewhereclause=no name=lve_code__fr dbname="leave_type_fr" )
column=(type=char(5) updatewhereclause=no name=lve_code__to dbname="leave_type_to" )
column=(type=decimal(2) updatewhereclause=no name=no_days dbname="No_days" )
column=(type=char(10) updatewhereclause=no name=dept_code__fr dbname="dept_code_fr" )
column=(type=char(10) updatewhereclause=no name=dept_code__to dbname="dept_code_to" )
column=(type=char(10) updatewhereclause=no name=proc_group__fr dbname="proc_group__fr" )
column=(type=char(10) updatewhereclause=no name=proc_group__to dbname="proc_group__to" )
column=(type=char(40) updatewhereclause=no name=emp_name__fr dbname="emp_name__fr" )
column=(type=char(40) updatewhereclause=no name=emp_name__to dbname="emp_name__to" )
column=(type=char(40) updatewhereclause=no name=dept_descr__fr dbname="dept_descr__fr" )
column=(type=char(40) updatewhereclause=no name=dept_descr__to dbname="dept_descr__to" )
column=(type=char(60) updatewhereclause=no name=fr_site_descr dbname="fr_site_descr" )
column=(type=char(60) updatewhereclause=no name=to_site_descr dbname="to_site_descr" )
column=(type=char(20) updatewhereclause=no name=lve_desc_fr dbname="lve_desc_fr" )
column=(type=char(20) updatewhereclause=no name=lve_desc_to dbname="lve_desc_to" )
column=(type=char(60) updatewhereclause=no name=fr_proc_desc dbname="fr_proc_desc" )
column=(type=char(60) updatewhereclause=no name=to_proc_desc dbname="to_proc_desc" )
column=(type=number updatewhereclause=no name=noof_confirmed dbname="noof_confirmed" initial="0" )
column=(type=number updatewhereclause=no name=noof_rejected dbname="noof_rejected" initial="0" )
column=(type=char(1) updatewhereclause=no name=process_for dbname="process_for" initial="C" values="Excess balance as of today C/Excess balance as on date D/" )
)
groupbox(band=detail text="Basic"border="2" color="0" x="6" y="2" height="291" width="704" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Employee >>" border="6" color="16711680" x="40" y="50" height="16" width="115" html.valueishtml="0" name=t_1 visible="1" font.face="Courier New" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="256" y="50" height="16" width="163" format="[general]" html.valueishtml="0" name=emp_name__fr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="To :" border="0" color="0" x="431" y="50" height="16" width="23" html.valueishtml="0" name=t_3 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=2 alignment="0" tabsequence=30 border="5" color="0" x="458" y="50" height="16" width="55" format="[general]" html.valueishtml="0" name=emp_code__to visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="516" y="50" height="16" width="163" format="[general]" html.valueishtml="0" name=emp_name__to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Department >> " border="6" color="16711680" x="35" y="74" height="16" width="120" html.valueishtml="0" name=t_4 visible="1" font.face="Courier New" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="256" y="74" height="16" width="163" format="[general]" html.valueishtml="0" name=dept_descr__fr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="To :" border="0" color="0" x="431" y="74" height="16" width="23" html.valueishtml="0" name=t_6 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=10 alignment="0" tabsequence=50 border="5" color="0" x="458" y="74" height="16" width="55" format="[general]" html.valueishtml="0" name=dept_code__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="516" y="74" height="16" width="163" format="[general]" html.valueishtml="0" name=dept_descr__to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Site >>" border="6" color="16711680" x="40" y="98" height="16" width="115" html.valueishtml="0" name=t_7 visible="1" font.face="Courier New" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="256" y="98" height="16" width="163" format="[general]" html.valueishtml="0" name=fr_site_descr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="To :" border="0" color="0" x="431" y="98" height="16" width="23" html.valueishtml="0" name=site_code__to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=4 alignment="0" tabsequence=70 border="5" color="0" x="458" y="98" height="16" width="55" format="[general]" html.valueishtml="0" name=site_code__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="516" y="98" height="16" width="163" format="[general]" html.valueishtml="0" name=to_site_descr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=25 alignment="0" tabsequence=10 border="5" color="0" x="197" y="26" height="16" width="174" format="[general]" html.valueishtml="0" name=process_for visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=20 border="5" color="0" x="197" y="50" height="16" width="55" format="[general]" html.valueishtml="0" name=emp_code__fr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Process For :" border="0" color="0" x="91" y="26" height="16" width="102" html.valueishtml="0" name=process_for_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="From :" border="0" color="0" x="157" y="50" height="16" width="36" html.valueishtml="0" name=t_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="From :" border="0" color="0" x="157" y="74" height="16" width="36" html.valueishtml="0" name=t_5 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="From :" border="0" color="0" x="157" y="98" height="16" width="36" html.valueishtml="0" name=site_code__fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=9 alignment="0" tabsequence=40 border="5" color="0" x="197" y="74" height="16" width="55" format="[general]" html.valueishtml="0" name=dept_code__fr visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="From :" border="0" color="0" x="157" y="122" height="16" width="36" html.valueishtml="0" name=t_9 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Leave >>" border="6" color="16711680" x="40" y="122" height="16" width="115" html.valueishtml="0" name=t_8 visible="1" font.face="Courier New" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="256" y="122" height="16" width="163" format="[general]" html.valueishtml="0" name=lve_desc_fr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="To :" border="0" color="0" x="431" y="122" height="16" width="23" html.valueishtml="0" name=t_10 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=90 border="5" color="0" x="458" y="122" height="16" width="55" format="[general]" html.valueishtml="0" name=lve_code__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=20 alignment="0" tabsequence=32766 border="5" color="255" x="516" y="122" height="16" width="163" format="[general]" html.valueishtml="0" name=lve_desc_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=60 border="5" color="0" x="197" y="98" height="16" width="55" format="[general]" html.valueishtml="0" name=site_code__fr visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="From :" border="0" color="0" x="157" y="146" height="16" width="36" html.valueishtml="0" name=t_12 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Process Group >>" border="6" color="16711680" x="16" y="146" height="16" width="139" html.valueishtml="0" name=t_11 visible="1" font.face="Courier New" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=21 alignment="0" tabsequence=32766 border="5" color="255" x="256" y="146" height="16" width="163" format="[general]" html.valueishtml="0" name=fr_proc_desc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="To :" border="0" color="0" x="431" y="146" height="16" width="23" html.valueishtml="0" name=t_14 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=12 alignment="0" tabsequence=110 border="5" color="0" x="458" y="146" height="16" width="54" format="[general]" html.valueishtml="0" name=proc_group__to visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=80 border="5" color="0" x="197" y="122" height="16" width="54" format="[general]" html.valueishtml="0" name=lve_code__fr visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=100 border="5" color="0" x="197" y="146" height="16" width="54" format="[general]" html.valueishtml="0" name=proc_group__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Effective on or Before :" border="0" color="0" x="52" y="170" height="16" width="141" html.valueishtml="0" name=laps_on_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="No of Leave Confirmed :" border="0" color="33554432" x="46" y="201" height="16" width="147" html.valueishtml="0" name=noof_confirmed_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text=" No of Leave Rejected :" border="0" color="33554432" x="470" y="201" height="16" width="147" html.valueishtml="0" name=noof_rejected_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="426" y="227" height="16" width="81" format="[general]" html.valueishtml="0" name=no_days visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=5 alignment="0" tabsequence=120 border="5" color="0" x="197" y="170" height="16" width="57" format="[shortdate] [time]" html.valueishtml="0" name=laps_on_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=23 alignment="1" tabsequence=32766 border="5" color="255" x="197" y="201" height="16" width="57" format="[general]" html.valueishtml="0" name=noof_confirmed visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=22 alignment="0" tabsequence=32766 border="5" color="255" x="516" y="146" height="16" width="163" format="[general]" html.valueishtml="0" name=to_proc_desc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=24 alignment="1" tabsequence=32766 border="5" color="255" x="622" y="201" height="16" width="57" format="[general]" html.valueishtml="0" name=noof_rejected visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
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$d_auto_leave_laps_display.srd
$PBExportComments$Employee transfer - browse
release 9;
datawindow(units=1 timer_interval=0 color=79741120 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=17 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=21 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="leavebal.emp_code" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=char(5) update=yes updatewhereclause=yes name=lve_code dbname="leavebal.lve_code" )
column=(type=number updatewhereclause=yes name=ccbal dbname="cbal" )
column=(type=number updatewhereclause=yes name=max_days dbname="max_days" )
column=(type=number updatewhereclause=yes name=laps_days dbname="laps_days" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"leavebal~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"leavebal.emp_code~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"leavebal.lve_code~") COMPUTE(NAME=~"sum(leavebal.bal_days) cbal~") COMPUTE(NAME=~"0.00 max_days~") COMPUTE(NAME=~"0.00 laps_days~") JOIN (LEFT=~"employee.emp_code~" OP =~"=~"RIGHT=~"leavebal.emp_code~" )WHERE( EXP1 =~"( leavebal.emp_code~" OP =~"between~" EXP2 =~":emp_code_fr and :emp_code_to )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( leavebal.lve_code~" OP =~"between~" EXP2 =~":lve_code_fr and :lve_code_to )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( employee.emp_site~" OP =~"between~" EXP2 =~":site_code_fr and :site_code_to )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( leavebal.eff_date~" OP =~"<=~" EXP2 =~":laps_on_date )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( leavebal.exp_date~" OP =~">=~" EXP2 =~":laps_on_date )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( leavebal.bal_days~" OP =~">~" EXP2 =~"0 )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( employee.dept_code~" OP =~">=~" EXP2 =~":dept_code_fr )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( employee.dept_code~" OP =~"<=~" EXP2 =~":dept_code_to )~" LOGIC =~"and~" ) WHERE( EXP1 =~"(employee.proc_group~" OP =~">=~" EXP2 =~":as_proc_group__fr)~" LOGIC =~"And~" ) WHERE( EXP1 =~"(employee.proc_group~" OP =~"<=~" EXP2 =~":as_proc_group__to)~" ) GROUP(NAME=~"leavebal.emp_code~") GROUP(NAME=~"leavebal.lve_code~") GROUP(NAME=~"employee.emp_fname~") GROUP(NAME=~"employee.emp_lname~")) ARG(NAME = ~"lve_code_fr~" TYPE = string) ARG(NAME = ~"lve_code_to~" TYPE = string) ARG(NAME = ~"emp_code_fr~" TYPE = string) ARG(NAME = ~"emp_code_to~" TYPE = string) ARG(NAME = ~"site_code_fr~" TYPE = string) ARG(NAME = ~"site_code_to~" TYPE = string) ARG(NAME = ~"laps_on_date~" TYPE = datetime) ARG(NAME = ~"dept_code_fr~" TYPE = string) ARG(NAME = ~"dept_code_to~" TYPE = string) ARG(NAME = ~"as_proc_group__fr~" TYPE = string) ARG(NAME = ~"as_proc_group__to~" TYPE = string) " arguments=(("lve_code_fr", string),("lve_code_to", string),("emp_code_fr", string),("emp_code_to", string),("site_code_fr", string),("site_code_to", string),("laps_on_date", datetime),("dept_code_fr", string),("dept_code_to", string),("as_proc_group__fr", string),("as_proc_group__to", string)) sort="emp_code A lve_code A " )
text(band=header alignment="2" text="Employee Code" border="6" color="0" x="2" y="1" height="16" width="93" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="2" text="First Name" border="6" color="0" x="97" y="1" height="16" width="136" html.valueishtml="0" name=emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="0" text="Last Name" border="6" color="0" x="235" y="1" height="16" width="136" html.valueishtml="0" name=emp_lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="2" text="Leave Code" border="6" color="0" x="373" y="1" height="16" width="76" html.valueishtml="0" name=lve_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="2" text="Balance Days" border="6" color="0" x="451" y="1" height="16" width="80" html.valueishtml="0" name=ccbal_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="2" text="Max Days Allowed" border="6" color="0" x="533" y="1" height="16" width="115" html.valueishtml="0" name=max_days_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="2" text="Days To Be Lapsed" border="6" color="0" x="650" y="1" height="16" width="128" html.valueishtml="0" name=laps_days_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="2" y="1" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_code tag="Employee code." visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="0" x="97" y="1" height="16" width="136" format="[general]" html.valueishtml="0" name=emp_fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="235" y="1" height="16" width="136" format="[general]" html.valueishtml="0" name=emp_lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="0" x="373" y="1" height="16" width="76" format="[general]" html.valueishtml="0" name=lve_code tag="Leave code." visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=5 alignment="1" tabsequence=32766 border="5" color="0" x="451" y="1" height="16" width="80" format="[general]" html.valueishtml="0" name=ccbal visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=6 alignment="1" tabsequence=32766 border="5" color="0" x="533" y="1" height="16" width="115" format="[general]" html.valueishtml="0" name=max_days visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="0" x="650" y="1" height="16" width="128" format="[general]" html.valueishtml="0" name=laps_days visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
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
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