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"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>1</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>350</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_code__fr</name>
<dbname>EMP_CODE__FR</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_code__to</name>
<dbname>EMP_CODE__TO</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__fr</name>
<dbname>SITE_CODE__FR</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__to</name>
<dbname>SITE_CODE__TO</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>no</updatewhereclause>
<name>laps_on_date</name>
<dbname>laps_on_date</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lve_code__fr</name>
<dbname>leave_type_fr</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lve_code__to</name>
<dbname>leave_type_to</dbname>
</table_column>
<table_column>
<type precision="2">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>no_days</name>
<dbname>No_days</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dept_code__fr</name>
<dbname>dept_code_fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dept_code__to</name>
<dbname>dept_code_to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__fr</name>
<dbname>proc_group__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__to</name>
<dbname>proc_group__to</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name__fr</name>
<dbname>emp_name__fr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name__to</name>
<dbname>emp_name__to</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dept_descr__fr</name>
<dbname>dept_descr__fr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dept_descr__to</name>
<dbname>dept_descr__to</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>fr_site_descr</name>
<dbname>fr_site_descr</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>to_site_descr</name>
<dbname>to_site_descr</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lve_desc_fr</name>
<dbname>lve_desc_fr</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lve_desc_to</name>
<dbname>lve_desc_to</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>fr_proc_desc</name>
<dbname>fr_proc_desc</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>to_proc_desc</name>
<dbname>to_proc_desc</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>no</updatewhereclause>
<name>noof_confirmed</name>
<dbname>noof_confirmed</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>no</updatewhereclause>
<name>noof_rejected</name>
<dbname>noof_rejected</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>process_for</name>
<dbname>process_for</dbname>
<initial>C</initial>
<values>
<item display="Excess balance as of today" data="C"/>
<item display="Excess balance as on date" data="D"/>
</values>
</table_column>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>6</x>
<y>2</y>
<height>291</height>
<width>704</width>
<name>gb_1</name>
<visible>1</visible>
<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>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>40</x>
<y>50</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</name>
<visible>1</visible>
<font>
<face>Courier New</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>256</x>
<y>50</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__fr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>431</x>
<y>50</y>
<height>16</height>
<width>23</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_3</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>458</x>
<y>50</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>516</x>
<y>50</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__to</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Department &gt;&gt; </text>
<border>6</border>
<color>16711680</color>
<x>35</x>
<y>74</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_4</name>
<visible>1</visible>
<font>
<face>Courier New</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>256</x>
<y>74</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_descr__fr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>431</x>
<y>74</y>
<height>16</height>
<width>23</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_6</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>458</x>
<y>74</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>516</x>
<y>74</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_descr__to</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>40</x>
<y>98</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_7</name>
<visible>1</visible>
<font>
<face>Courier New</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>256</x>
<y>98</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_site_descr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>431</x>
<y>98</y>
<height>16</height>
<width>23</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>458</x>
<y>98</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>516</x>
<y>98</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_site_descr</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>25</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>197</x>
<y>26</y>
<height>16</height>
<width>174</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>process_for</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>197</x>
<y>50</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Process For :</text>
<border>0</border>
<color>0</color>
<x>91</x>
<y>26</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>process_for_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>157</x>
<y>50</y>
<height>16</height>
<width>36</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_2</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>157</x>
<y>74</y>
<height>16</height>
<width>36</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_5</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>157</x>
<y>98</y>
<height>16</height>
<width>36</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>197</x>
<y>74</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>157</x>
<y>122</y>
<height>16</height>
<width>36</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_9</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Leave &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>40</x>
<y>122</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_8</name>
<visible>1</visible>
<font>
<face>Courier New</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>256</x>
<y>122</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_desc_fr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>431</x>
<y>122</y>
<height>16</height>
<width>23</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_10</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>458</x>
<y>122</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>516</x>
<y>122</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_desc_to</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>3</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>197</x>
<y>98</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>From :</text>
<border>0</border>
<color>0</color>
<x>157</x>
<y>146</y>
<height>16</height>
<width>36</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_12</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Process Group &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>16</x>
<y>146</y>
<height>16</height>
<width>139</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_11</name>
<visible>1</visible>
<font>
<face>Courier New</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>256</x>
<y>146</y>
<height>16</height>
<width>163</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To :</text>
<border>0</border>
<color>0</color>
<x>431</x>
<y>146</y>
<height>16</height>
<width>23</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_14</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>0</color>
<x>458</x>
<y>146</y>
<height>16</height>
<width>54</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>197</x>
<y>122</y>
<height>16</height>
<width>54</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>0</color>
<x>197</x>
<y>146</y>
<height>16</height>
<width>54</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Effective on or Before :</text>
<border>0</border>
<color>0</color>
<x>52</x>
<y>170</y>
<height>16</height>
<width>141</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>laps_on_date_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>No of Leave Confirmed :</text>
<border>0</border>
<color>33554432</color>
<x>46</x>
<y>201</y>
<height>16</height>
<width>147</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>noof_confirmed_t</name>
<visible>1</visible>
<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>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text> No of Leave Rejected :</text>
<border>0</border>
<color>33554432</color>
<x>470</x>
<y>201</y>
<height>16</height>
<width>147</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>noof_rejected_t</name>
<visible>1</visible>
<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>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>426</x>
<y>227</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_days</name>
<visible>0</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>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<color>0</color>
<x>197</x>
<y>170</y>
<height>16</height>
<width>57</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>laps_on_date</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>16777215</color>
</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"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>1</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>429</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_code__fr</name>
<dbname>EMP_CODE__FR</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_code__to</name>
<dbname>EMP_CODE__TO</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__fr</name>
<dbname>SITE_CODE__FR</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__to</name>
<dbname>SITE_CODE__TO</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>no</updatewhereclause>
<name>laps_on_date</name>
<dbname>laps_on_date</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lve_code__fr</name>
<dbname>leave_type_fr</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lve_code__to</name>
<dbname>leave_type_to</dbname>
</table_column>
<table_column>
<type precision="2">decimal</type>
<updatewhereclause>no</updatewhereclause>
<name>no_days</name>
<dbname>No_days</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dept_code__fr</name>
<dbname>dept_code_fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dept_code__to</name>
<dbname>dept_code_to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__fr</name>
<dbname>proc_group__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__to</name>
<dbname>proc_group__to</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name__fr</name>
<dbname>emp_name__fr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name__to</name>
<dbname>emp_name__to</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dept_descr__fr</name>
<dbname>dept_descr__fr</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dept_descr__to</name>
<dbname>dept_descr__to</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>fr_site_descr</name>
<dbname>fr_site_descr</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>to_site_descr</name>
<dbname>to_site_descr</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lve_desc_fr</name>
<dbname>lve_desc_fr</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>no</updatewhereclause>
<name>lve_desc_to</name>
<dbname>lve_desc_to</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>fr_proc_desc</name>
<dbname>fr_proc_desc</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>to_proc_desc</name>
<dbname>to_proc_desc</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>no</updatewhereclause>
<name>noof_confirmed</name>
<dbname>noof_confirmed</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>no</updatewhereclause>
<name>noof_rejected</name>
<dbname>noof_rejected</dbname>
<initial>0</initial>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>process_for</name>
<dbname>process_for</dbname>
<initial>C</initial>
<values>
<item display="Excess balance as of today" data="C"/>
<item display="Excess balance as on date" data="D"/>
</values>
</table_column>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>5</x>
<y>2</y>
<height>402</height>
<width>505</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>413</x>
<y>371</y>
<height>17</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_days</name>
<visible>0</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>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>26</y>
<height>17</height>
<width>174</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>process_for</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Process For :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>26</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>process_for_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Effective on or Before :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>313</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>laps_on_date_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>313</y>
<height>17</height>
<width>96</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>laps_on_date</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</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>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>No of Leave Confirmed :</text>
<border>0</border>
<color>33554432</color>
<x>16</x>
<y>339</y>
<height>16</height>
<width>140</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>noof_confirmed_t</name>
<visible>1</visible>
<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>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>161</x>
<y>339</y>
<height>16</height>
<width>65</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text> No of Leave Rejected :</text>
<border>0</border>
<color>33554432</color>
<x>269</x>
<y>339</y>
<height>16</height>
<width>147</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>noof_rejected_t</name>
<visible>1</visible>
<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>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>421</x>
<y>339</y>
<height>16</height>
<width>65</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Process Group To :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>287</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>287</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>287</y>
<height>17</height>
<width>255</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Process Group From :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>261</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__fr_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>261</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>261</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Leave To :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>235</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code__to_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>235</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>235</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_desc_to</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Leave From :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>208</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code__fr_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>208</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>208</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_desc_fr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site To :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>182</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>182</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>182</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_site_descr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site From :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>156</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>156</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>156</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_site_descr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Department To :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>130</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code__to_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>130</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>130</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_descr__to</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Department From :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>104</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code__fr_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>104</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>104</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dept_descr__fr</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee To :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>78</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>78</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>78</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__to</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>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee From :</text>
<border>0</border>
<color>0</color>
<x>23</x>
<y>52</y>
<height>17</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>161</x>
<y>52</y>
<height>17</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>231</x>
<y>52</y>
<height>17</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__fr</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"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>17</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>21</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>leavebal.emp_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>lve_code</name>
<dbname>leavebal.lve_code</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>ccbal</name>
<dbname>cbal</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>max_days</name>
<dbname>max_days</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>laps_days</name>
<dbname>laps_days</dbname>
</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>
<argument>
<name>lve_code_fr</name>
<type>string</type>
</argument>
<argument>
<name>lve_code_to</name>
<type>string</type>
</argument>
<argument>
<name>emp_code_fr</name>
<type>string</type>
</argument>
<argument>
<name>emp_code_to</name>
<type>string</type>
</argument>
<argument>
<name>site_code_fr</name>
<type>string</type>
</argument>
<argument>
<name>site_code_to</name>
<type>string</type>
</argument>
<argument>
<name>laps_on_date</name>
<type>datetime</type>
</argument>
<argument>
<name>dept_code_fr</name>
<type>string</type>
</argument>
<argument>
<name>dept_code_to</name>
<type>string</type>
</argument>
<argument>
<name>as_proc_group__fr</name>
<type>string</type>
</argument>
<argument>
<name>as_proc_group__to</name>
<type>string</type>
</argument>
<sort>
<expression>emp_code A</expression>
<expression>lve_code A</expression>
</sort>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Employee Code</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>1</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>First Name</text>
<border>6</border>
<color>0</color>
<x>97</x>
<y>1</y>
<height>16</height>
<width>136</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Last Name</text>
<border>6</border>
<color>0</color>
<x>235</x>
<y>1</y>
<height>16</height>
<width>136</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Leave Code</text>
<border>6</border>
<color>0</color>
<x>373</x>
<y>1</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Balance Days</text>
<border>6</border>
<color>0</color>
<x>451</x>
<y>1</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ccbal_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Max Days Allowed</text>
<border>6</border>
<color>0</color>
<x>533</x>
<y>1</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_days_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Days To Be Lapsed</text>
<border>6</border>
<color>0</color>
<x>650</x>
<y>1</y>
<height>16</height>
<width>128</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>laps_days_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2</x>
<y>1</y>
<height>16</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<tag>Employee code.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>97</x>
<y>1</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>235</x>
<y>1</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>373</x>
<y>1</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code</name>
<tag>Leave code.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>451</x>
<y>1</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ccbal</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>533</x>
<y>1</y>
<height>16</height>
<width>115</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_days</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>650</x>
<y>1</y>
<height>16</height>
<width>128</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>laps_days</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>1090519039</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79741120</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>17</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>21</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code</name>
<dbname>leavebal.emp_code</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>lve_code</name>
<dbname>leavebal.lve_code</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>ccbal</name>
<dbname>cbal</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>max_days</name>
<dbname>max_days</dbname>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>laps_days</name>
<dbname>laps_days</dbname>
</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>
<argument>
<name>lve_code_fr</name>
<type>string</type>
</argument>
<argument>
<name>lve_code_to</name>
<type>string</type>
</argument>
<argument>
<name>emp_code_fr</name>
<type>string</type>
</argument>
<argument>
<name>emp_code_to</name>
<type>string</type>
</argument>
<argument>
<name>site_code_fr</name>
<type>string</type>
</argument>
<argument>
<name>site_code_to</name>
<type>string</type>
</argument>
<argument>
<name>laps_on_date</name>
<type>datetime</type>
</argument>
<argument>
<name>dept_code_fr</name>
<type>string</type>
</argument>
<argument>
<name>dept_code_to</name>
<type>string</type>
</argument>
<argument>
<name>as_proc_group__fr</name>
<type>string</type>
</argument>
<argument>
<name>as_proc_group__to</name>
<type>string</type>
</argument>
<sort>
<expression>emp_code A</expression>
<expression>lve_code A</expression>
</sort>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Employee Code</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>1</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>First Name</text>
<border>6</border>
<color>0</color>
<x>97</x>
<y>1</y>
<height>16</height>
<width>136</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Last Name</text>
<border>6</border>
<color>0</color>
<x>235</x>
<y>1</y>
<height>16</height>
<width>136</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Leave Code</text>
<border>6</border>
<color>0</color>
<x>373</x>
<y>1</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Balance Days</text>
<border>6</border>
<color>0</color>
<x>451</x>
<y>1</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ccbal_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Max Days Allowed</text>
<border>6</border>
<color>0</color>
<x>533</x>
<y>1</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_days_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Days To Be Lapsed</text>
<border>6</border>
<color>0</color>
<x>650</x>
<y>1</y>
<height>16</height>
<width>128</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>laps_days_t</name>
<visible>1</visible>
<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>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>2</x>
<y>1</y>
<height>16</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<tag>Employee code.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>97</x>
<y>1</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>235</x>
<y>1</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>373</x>
<y>1</y>
<height>16</height>
<width>76</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lve_code</name>
<tag>Leave code.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>451</x>
<y>1</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ccbal</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>533</x>
<y>1</y>
<height>16</height>
<width>115</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>max_days</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>650</x>
<y>1</y>
<height>16</height>
<width>128</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>laps_days</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>1090519039</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
$PBExportHeader$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