Commit 0aef182a authored by ysawant's avatar ysawant

Changes done as per framework and SRD

DeptIC.java
ShiftPattern.java
ShiftPatternRemote.java
dept11.xml
dept21.xml
shift_pattern11.xml
shift_pattern21.xml
d_shift_pattern_edit.srd
w_dept.sql
w_shift_pattern.sql
d_shift_pattern_brow.srd


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204546 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6cda077b
......@@ -5,7 +5,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import javax.ejb.Stateless;
//import javax.ejb.Stateless;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
......@@ -13,55 +13,69 @@ import org.w3c.dom.NodeList;
import ibase.utility.CommonConstants;
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;
@Stateless
public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
public String itemChanged() throws RemoteException, ITMException {
//@Stateless
public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal
{
public String itemChanged() throws RemoteException, ITMException
{
return "";
}
public String itemChanged(String xmlString, String xmlString1,
String xmlString2, String objContext, String currentColumn,
String editFlag, String xtraParams) throws RemoteException,
ITMException {
String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom1 = null;
Document dom = null;
Document dom2 = null;
String valueXmlString = "";
E12GenericUtility genericUtility = new E12GenericUtility();
try {
if (xmlString != null && xmlString.trim().length() != 0) {
try
{
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length() != 0) {
if (xmlString1 != null && xmlString1.trim().length() != 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length() != 0) {
if (xmlString2 != null && xmlString2.trim().length() != 0)
{
dom2 = genericUtility.parseString(xmlString2);
}
valueXmlString = itemChanged(dom, dom1, dom2, objContext,
currentColumn, editFlag, xtraParams);
} catch (Exception e) {
}
catch (Exception e)
{
System.out.println("Exception :DeptIC :itemChanged(String,String):"+ e.getMessage() + ":");
valueXmlString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from DeptIC itemChanged");
return (valueXmlString);
return valueXmlString;
}
public String itemChanged(Document dom, Document dom1, Document dom2,
String objContext, String currentColumn, String editFlag,
String xtraParams) throws RemoteException, ITMException {
String colName = " ", mcode = " ", mdescr = " ", mdescr1 = " ", err = " ";
String deptCodeParent = " ", deptCode = " ";
colName = currentColumn;
String xtraParams) throws RemoteException, ITMException
{
//String mcode = " ";
//String mdescr = " ";
//String mdescr1 = " ";
//String err = " ";
String deptCodeParent = " ";
String deptCode = " ";
//String colName = " ";
//colName = currentColumn;
Connection connectionObject = null;
int currentFormNo = 0;
StringBuffer valueXmlString = null;
......@@ -69,12 +83,33 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
PreparedStatement pstmt = null;
String sql = " ";
// Modified by Yashwant on 24/06/2019.Start
String deptHead="";
String deptHead1="";
String acctCode="";
String cctrCode="";
String acctCodeAp="";
String cctrCodeAp="";
String buCode="";
String funcCode="";
String empCodeFunchead="";
String itemSer="";
String empFname="";
String empLname="";
String descr="";
String buDescr="";
String funcDescr="";
String funcHeadName="";
String itemserDescr="";
// Modified by Yashwant on 24/06/2019.End
E12GenericUtility genericUtility = new E12GenericUtility();
try {
try
{
System.out.println("currentFormNo...." + currentFormNo);
connectionObject = getConnection();
if (objContext != null && objContext.trim().length() > 0) {
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
......@@ -82,23 +117,32 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
valueXmlString.append(editFlag).append("</editFlag>\r\n</Header>\r\n");
System.out.println("current form no: " + currentFormNo);
switch (currentFormNo) {
switch (currentFormNo)
{
case 1:
System.out.println("Case1");
valueXmlString.append("<Detail1>\r\n");
if (currentColumn.trim().equals("dept_head"))
{
mcode = genericUtility.getColumnValue("dept_head", dom);
if(mcode !=null && mcode.length()>0)
// Modified by Yashwant on 24/06/2019.Start
deptHead =checkNull(genericUtility.getColumnValue("dept_head", dom));
if(deptHead != null && deptHead.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{
sql = "Select emp_fname, emp_lname from employee where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, deptHead);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString("emp_fname");
mdescr1 = resultSet.getString("emp_lname");
// Modified by Yashwant on 24/06/2019.Start
//empFname = resultSet.getString("emp_fname");
//empLname = resultSet.getString("emp_lname");
empFname =checkNull(resultSet.getString("emp_fname"));
empLname = checkNull(resultSet.getString("emp_lname"));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -111,22 +155,30 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null;
}
}
valueXmlString.append("<emp_fname>").append(mdescr).append("</emp_fname>\r\n");
valueXmlString.append("<emp_lname>").append(mdescr1).append("</emp_lname>\r\n");
valueXmlString.append("<emp_fname>").append(empFname).append("</emp_fname>\r\n");
valueXmlString.append("<emp_lname>").append(empLname).append("</emp_lname>\r\n");
}
else if (currentColumn.trim().equals("dept_head_1"))
{
mcode = genericUtility.getColumnValue("dept_head_1", dom);
if(mcode != null && mcode.length()>0)
// Modified by Yashwant on 24/06/2019.Start
deptHead1 =checkNull(genericUtility.getColumnValue("dept_head_1", dom));
if(deptHead1 != null && deptHead1.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{
sql = "Select emp_fname, emp_lname from employee where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, deptHead1);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString("emp_fname");
mdescr1 = resultSet.getString("emp_lname");
// Modified by Yashwant on 24/06/2019.Start
//empFname = resultSet.getString("emp_fname");
//empLname = resultSet.getString("emp_lname");
empFname = checkNull(resultSet.getString("emp_fname"));
empLname = checkNull(resultSet.getString("emp_lname"));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -139,21 +191,28 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null;
}
}
valueXmlString.append("<emp_fname_1>").append(mdescr).append("</emp_fname_1>\r\n");
valueXmlString.append("<emp_lname_1>").append(mdescr1).append("</emp_lname_1>\r\n");
valueXmlString.append("<emp_fname_1>").append(empFname).append("</emp_fname_1>\r\n");
valueXmlString.append("<emp_lname_1>").append(empLname).append("</emp_lname_1>\r\n");
}
else if (currentColumn.trim().equals("acct_code"))
{
mcode = genericUtility.getColumnValue("acct_code", dom);
if(mcode != null && mcode.length()>0)
// Modified by Yashwant on 24/06/2019.Start
acctCode = checkNull(genericUtility.getColumnValue("acct_code", dom));
if(acctCode != null && acctCode.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{
sql = "select descr from accounts where acct_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, acctCode);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString("descr");
// Modified by Yashwant on 24/06/2019.Start
//descr = resultSet.getString("descr");
descr =checkNull(resultSet.getString("descr"));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -166,22 +225,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null;
}
}
valueXmlString.append("<accounts_descr>").append(mdescr).append("</accounts_descr>\r\n");
valueXmlString.append("<accounts_descr>").append(descr).append("</accounts_descr>\r\n");
}
else if (currentColumn.trim().equals("cctr_code"))
{
mcode = genericUtility.getColumnValue("cctr_code", dom);
if(mcode != null && mcode.length()>0 )
// Modified by Yashwant on 24/06/2019.Start
cctrCode = checkNull(genericUtility.getColumnValue("cctr_code", dom));
if(cctrCode != null && cctrCode.trim().length() > 0 )
// Modified by Yashwant on 24/06/2019.End
{
sql = "select descr from costctr where cctr_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, cctrCode);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString("descr");
// Modified by Yashwant on 24/06/2019.Start
//descr = resultSet.getString("descr");
descr = checkNull(resultSet.getString("descr"));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -194,22 +260,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null;
}
}
valueXmlString.append("<costctr_descr>").append(mdescr).append("</costctr_descr>\r\n");
valueXmlString.append("<costctr_descr>").append(descr).append("</costctr_descr>\r\n");
}
else if (currentColumn.trim().equals("acct_code__ap"))
{
mcode = genericUtility.getColumnValue("acct_code__ap", dom);
if(mcode !=null && mcode.length()>0)
// Modified by Yashwant on 24/06/2019.Start
acctCodeAp = checkNull(genericUtility.getColumnValue("acct_code__ap", dom));
if(acctCodeAp !=null && acctCodeAp.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{
sql = "select descr from accounts where acct_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, acctCodeAp);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString("descr");
// Modified by Yashwant on 24/06/2019.Start
//descr = resultSet.getString("descr");
descr = checkNull(resultSet.getString("descr"));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -222,21 +295,28 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null;
}
}
valueXmlString.append("<accounts_descr__ap>").append(mdescr).append("</accounts_descr__ap>\r\n");
valueXmlString.append("<accounts_descr__ap>").append(descr).append("</accounts_descr__ap>\r\n");
}
else if (currentColumn.trim().equals("cctr_code__ap"))
{
mcode = genericUtility.getColumnValue("cctr_code__ap", dom);
if(mcode!=null && mcode.length()>0)
// Modified by Yashwant on 24/06/2019.Start
cctrCodeAp = checkNull(genericUtility.getColumnValue("cctr_code__ap", dom));
if(cctrCodeAp!=null && cctrCodeAp.trim().length()>0)
// Modified by Yashwant on 24/06/2019.End
{
sql = "select descr from costctr where cctr_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, cctrCodeAp);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString("descr");
// Modified by Yashwant on 24/06/2019.Start
//descr = resultSet.getString("descr");
descr = checkNull(resultSet.getString("descr"));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -249,14 +329,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null;
}
}
valueXmlString.append("<costctr_descr__ap>").append(mdescr).append("</costctr_descr__ap>\r\n");
valueXmlString.append("<costctr_descr__ap>").append(descr).append("</costctr_descr__ap>\r\n");
}
else if (currentColumn.trim().equals("dept_code"))
{
System.out.println("dept_code>>>");
deptCode = genericUtility.getColumnValue("dept_code", dom);
deptCodeParent = genericUtility.getColumnValue("dept_code__parent", dom);
// Modified by Yashwant on 24/06/2019.Start
deptCode =checkNull(genericUtility.getColumnValue("dept_code", dom));
deptCodeParent = checkNull(genericUtility.getColumnValue("dept_code__parent", dom));
// Modified by Yashwant on 24/06/2019.End
if ((deptCode != null && deptCode.trim().length() > 0) && (deptCodeParent == null || deptCodeParent.trim().length() == 0))
{
valueXmlString.append("<dept_code__parent>").append(deptCode).append("</dept_code__parent>\r\n");
......@@ -269,36 +351,46 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if (currentColumn.trim().equals("descr"))
{
deptCode = genericUtility.getColumnValue("dept_code", dom);
deptCodeParent = genericUtility.getColumnValue("dept_code__parent", dom);
mdescr = genericUtility.getColumnValue("descr", dom);
// Modified by Yashwant on 24/06/2019.Start
deptCode = checkNull(genericUtility.getColumnValue("dept_code", dom));
deptCodeParent = checkNull(genericUtility.getColumnValue("dept_code__parent", dom));
descr = checkNull(genericUtility.getColumnValue("descr", dom));
// Modified by Yashwant on 24/06/2019.End
if ((deptCode != null && deptCode.trim().length() > 0) && (deptCodeParent != null && deptCodeParent.trim().equalsIgnoreCase(deptCode.trim())))
{
valueXmlString.append("<parent_dept_descr>").append(mdescr).append("</parent_dept_descr>\r\n");
valueXmlString.append("<parent_dept_descr>").append(descr).append("</parent_dept_descr>\r\n");
}
else{
valueXmlString.append("<parent_dept_descr>").append(mdescr).append("</parent_dept_descr>\r\n");
valueXmlString.append("<parent_dept_descr>").append(descr).append("</parent_dept_descr>\r\n");
}
}
else if (currentColumn.trim().equals("dept_code__parent"))
{
deptCodeParent = genericUtility.getColumnValue("dept_code__parent", dom);
mdescr = "";
// Modified by Yashwant on 24/06/2019.Start
deptCodeParent = checkNull(genericUtility.getColumnValue("dept_code__parent", dom));
if (deptCodeParent != null && deptCodeParent.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{
deptCode = genericUtility.getColumnValue("dept_code",dom);
// Modified by Yashwant on 24/06/2019.Start
deptCode =checkNull(genericUtility.getColumnValue("dept_code",dom));
// Modified by Yashwant on 24/06/2019.End
if (!deptCodeParent.trim().equalsIgnoreCase(deptCode.trim()))
{
sql = "select FN_GET_DEPT_DESCR(?) from dual";
pstmt = connectionObject.prepareStatement(sql);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, deptCodeParent);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString(1);
// Modified by Yashwant on 24/06/2019.Start
//descr = resultSet.getString(1);
descr = checkNull(resultSet.getString(1));
// Modified by Yashwant on 24/06/2019.Start
}
if (resultSet != null)
{
......@@ -314,27 +406,35 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
else
{
mdescr = genericUtility.getColumnValue("descr", dom);
// Modified by Yashwant on 24/06/2019.Start
descr = checkNull(genericUtility.getColumnValue("descr", dom));
// Modified by Yashwant on 24/06/2019.End
}
valueXmlString.append("<parent_dept_descr>").append(mdescr).append("</parent_dept_descr>\r\n");
valueXmlString.append("<parent_dept_descr>").append(descr).append("</parent_dept_descr>\r\n");
}
}
else if (currentColumn.trim().equals("bu_code"))
{
mcode = genericUtility.getColumnValue("bu_code", dom);
mdescr = "";
System.out.println("mcode bu_code==="+mcode);
if (mcode != null && mcode.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.Start
buCode = checkNull(genericUtility.getColumnValue("bu_code", dom));
System.out.println("mcode bu_code==="+buCode);
if (buCode != null && buCode.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{
sql = "select FN_GET_BUCODE_DESCR(?) from dual";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, buCode);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString(1);
// Modified by Yashwant on 24/06/2019.Start
//buDescr = resultSet.getString(1);
buDescr = checkNull(resultSet.getString(1));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -348,23 +448,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
}
valueXmlString.append("<bu_descr>").append(mdescr).append("</bu_descr>\r\n");
valueXmlString.append("<bu_descr>").append(buDescr).append("</bu_descr>\r\n");
}
else if (currentColumn.trim().equals("func_code"))
{
mcode = genericUtility.getColumnValue("func_code", dom);
mdescr = "";
System.out.println("mcode func_code"+mcode);
if (mcode != null && mcode.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.Start
funcCode = checkNull(genericUtility.getColumnValue("func_code", dom));
System.out.println("mcode func_code"+funcCode);
// Modified by Yashwant on 24/06/2019.End
if (funcCode != null && funcCode.trim().length() > 0)
{
sql = "select FN_GET_BUFUNC_DESCR(?) from dual";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, funcCode);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString(1);
// Modified by Yashwant on 24/06/2019.Start
//funcDescr = resultSet.getString(1);
funcDescr =checkNull(resultSet.getString(1));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null) {
resultSet.close();
......@@ -375,23 +481,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null;
}
}
valueXmlString.append("<func_descr>").append(mdescr).append("</func_descr>\r\n");
valueXmlString.append("<func_descr>").append(funcDescr).append("</func_descr>\r\n");
}
else if (currentColumn.trim().equals("emp_code__funchead"))
{
mcode = genericUtility.getColumnValue("emp_code__funchead",dom);
mdescr = "";
System.out.println("mcode emp_code__funchead"+mcode);
if (mcode != null && mcode.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.Start
empCodeFunchead = checkNull(genericUtility.getColumnValue("emp_code__funchead",dom));
System.out.println("mcode emp_code__funchead"+empCodeFunchead);
if (empCodeFunchead != null && empCodeFunchead.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{
sql = "select FN_GET_EMP_NAME(?,'X') from dual";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, empCodeFunchead);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString(1);
// Modified by Yashwant on 24/06/2019.Start
//funcHeadName = resultSet.getString(1);
funcHeadName = checkNull(resultSet.getString(1));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -405,24 +517,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
}
valueXmlString.append("<funchead_name>").append(mdescr).append("</funchead_name>\r\n");
valueXmlString.append("<funchead_name>").append(funcHeadName).append("</funchead_name>\r\n");
}
else if (currentColumn.trim().equals("item_ser"))
{
mcode = genericUtility.getColumnValue("item_ser", dom);
mdescr = "";
System.out.println("mcode item_ser"+mcode);
if (mcode != null && mcode.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.Start
itemSer = checkNull(genericUtility.getColumnValue("item_ser", dom));
System.out.println("mcode item_ser"+itemSer);
if (itemSer != null && itemSer.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{
sql = "select descr from itemser where item_ser = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mcode);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, itemSer);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
mdescr = resultSet.getString("descr");
// Modified by Yashwant on 24/06/2019.Start
//itemserDescr = resultSet.getString("descr");
itemserDescr = checkNull(resultSet.getString("descr"));
// Modified by Yashwant on 24/06/2019.End
}
if (resultSet != null)
{
......@@ -435,7 +552,7 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null;
}
}
valueXmlString.append("<itemser_descr>").append(mdescr).append("</itemser_descr>\r\n");
valueXmlString.append("<itemser_descr>").append(itemserDescr).append("</itemser_descr>\r\n");
}
valueXmlString.append("</Detail1>\r\n");
break;
......@@ -446,26 +563,36 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
valueXmlString.delete(0, valueXmlString.length());
valueXmlString = valueXmlString.append(genericUtility.createErrorString(e));
e.printStackTrace();
} finally {
try {
if (connectionObject != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
throw new ITMException(e);
}
finally
{
// Modified by Yashwant on 24/06/2019.Start
try
{
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (connectionObject != null)
{
connectionObject.close();
connectionObject = null;
}
} catch (Exception e)
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
// Modified by Yashwant on 24/06/2019.End
}
System.out.println("\n****ValueXmlString :" + valueXmlString + ":********");
return valueXmlString.toString();
......@@ -479,7 +606,8 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
public String wfValData(String xmlString, String xmlString1,
String xmlString2, String objContext, String editFlag,
String xtraParams) throws RemoteException,
ITMException {
ITMException
{
System.out.println(xmlString);
Document dom = null;
......@@ -488,26 +616,31 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
String errString = null;
E12GenericUtility genericUtility = new E12GenericUtility();
try {
if (xmlString != null && xmlString.trim().length() != 0) {
try
{
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString);
System.out.println("Print dom>>>> "+dom);
}
if (xmlString1 != null && xmlString1.trim().length() != 0) {
if (xmlString1 != null && xmlString1.trim().length() != 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length() != 0) {
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 :DeptIC :wfValData(String xmlString):"
+ e.getMessage() + ":");
}
catch (Exception e)
{
System.out.println("Exception :DeptIC :wfValData(String xmlString):"+ e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from DeptIC wfvaldata");
return errString;
......@@ -516,10 +649,11 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
public String wfValData(Document dom, Document dom1, Document dom2,
String objContext, String editFlag, String xtraParams)
throws RemoteException, ITMException {
boolean checkNextCol = true;
throws RemoteException, ITMException
{
/*boolean checkNextCol = true;
String columnName = "";
String columnValue = "";
String columnValue = "";*/
String userId = "";
String sql = "";
String errString = "";
......@@ -535,54 +669,84 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
int noOfChilds = 0;
int currentFormNo = 0;
int cnt = 0;
String mVal = "";
String mVal1 = "";
String mVal2 = "";
//String mVal="";
//String mVal1 = "";
//String mVal2 = "";
String status="";
java.sql.Timestamp mdate1 = null;
java.sql.Timestamp mdate2 = null;
//java.sql.Timestamp mdate2 = null;
String deptCodeParent = "";
String deptCode = "";
// Modified by Yashwant on 25/06/2019.Start
String descr="";
String deptHead="";
String deptHead1="";
String acctCode="";
String cctrCode="";
String payTable="";
String buCode="";
String funcCode="";
String itemSer="";
String empCodeFunchead="";
// Modified by Yashwant on 25/06/2019.End
E12GenericUtility genericUtility = new E12GenericUtility();
UtilMethods utilmethod = new UtilMethods();
try {
try
{
connectionObject = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
// Modified by Yashwant on 25/06/2019.Start
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"));
// Modified by Yashwant on 25/06/2019.End
System.out.println("Line no--468");
if(objContext != null && objContext.trim().length() > 0) {
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);
// Modified by Yashwant on 25/06/2019.Start
ITMDBAccessEJB itmdbAccessEJB=new ITMDBAccessEJB();
// Modified by Yashwant on 25/06/2019.End
for (counter = 0; counter < noOfChilds; counter++) {
for (counter = 0; counter < noOfChilds; counter++)
{
childNode = childList.item(counter);
childNodeName = childNode.getNodeName();
System.out.println("childNodeName>>>>>"+childNodeName);
System.out.println("childNode>>>>>>"+childNode);
System.out.println("counter>>>"+counter);
switch (currentFormNo) {
switch (currentFormNo)
{
case 1:
if(childNodeName.equals("dept_code"))
{
mVal = genericUtility.getColumnValue("dept_code", dom);
// Modified by Yashwant on 25/06/2019.Start
deptCode =checkNull(genericUtility.getColumnValue("dept_code", dom));
// Modified by Yashwant on 25/06/2019.End
System.out.println("EditFlag--------"+editFlag);
if("A".equalsIgnoreCase(editFlag))
{
if(mVal == null || mVal.length() == 0)
// Modified by Yashwant on 25/06/2019.Start
if(deptCode == null || deptCode.trim().length() == 0)
{
errString = getErrorString("dept_code","VEDEP2", userId);
errString = itmdbAccessEJB.getErrorString("dept_code", "VEDEP2", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
else
{
sql = "select count(*) as cnt from department where dept_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, deptCode);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next())
{
......@@ -590,13 +754,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt > 0)
{
errString = getErrorString("dept_code","VMDUPL1", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("dept_code", "VMDUPL1", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
......@@ -606,21 +774,27 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("descr"))
{
System.out.println("line --509");
mVal = genericUtility.getColumnValue("descr", dom);
if(mVal == null || mVal.length() == 0)
// Modified by Yashwant on 25/06/2019.Start
descr = checkNull(genericUtility.getColumnValue("descr", dom));
if(descr == null || descr.trim().length() == 0)
{
errString = getErrorString("descr", "VTDESC1",userId);
itmdbAccessEJB.getErrorString("descr", "VTDESC1", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
}
else if(childNodeName.equalsIgnoreCase("dept_head"))
{
System.out.println("line--515");
mVal = genericUtility.getColumnValue("dept_head", dom);
if(mVal != null && mVal.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.Start
deptHead = checkNull(genericUtility.getColumnValue("dept_head", dom));
if(deptHead != null && deptHead.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.End
{
sql = "select count(*) as cnt from employee where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, deptHead);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next())
{
......@@ -628,13 +802,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt == 0)
{
errString = getErrorString("dept_head","VMEMP1", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("dept_head", "VMEMP1", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
......@@ -643,12 +821,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("dept_head_1"))
{
System.out.println("line--530");
mVal = genericUtility.getColumnValue("dept_head_1", dom);
if(mVal != null && mVal.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.Start
deptHead1 = checkNull(genericUtility.getColumnValue("dept_head_1", dom));
if(deptHead1 != null && deptHead1.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.End
{
sql = "select count(*) as cnt from employee where emp_code =?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, deptHead1);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next())
{
......@@ -656,13 +838,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt == 0)
{
errString = getErrorString("dept_head_1","VMDEPTHD01", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("dept_head_1", "VMDEPTHD01", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
......@@ -671,12 +857,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("acct_code"))
{
System.out.println("line --545");
mVal = genericUtility.getColumnValue("acct_code", dom);
//if(mVal != null && mVal.trim().length()>0)
//{
// Modified by Yashwant on 25/06/2019.Start
acctCode =checkNull(genericUtility.getColumnValue("acct_code", dom));
if(acctCode != null && acctCode.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.End
{
sql = "select count(*) as cnt from accounts where acct_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, acctCode);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next())
{
......@@ -684,27 +874,35 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt == 0)
{
errString = getErrorString("acct_code", "VMACCT1",userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("acct_code", "VMACCT1", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
//}
}
}
else if(childNodeName.equalsIgnoreCase("cctr_code"))
{
System.out.println("line --558");
mVal = genericUtility.getColumnValue("cctr_code", dom);
if(mVal !=null && mVal.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.Start
cctrCode = checkNull(genericUtility.getColumnValue("cctr_code", dom));
if(cctrCode !=null && cctrCode.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.End
{
sql = "select count(*) as cnt from costctr where cctr_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, cctrCode);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
......@@ -712,13 +910,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if (cnt == 0)
{
errString = getErrorString("cctr_code","VMCCTR1", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("cctr_code", "VMCCTR1", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
......@@ -727,12 +929,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("pay_table"))
{
System.out.println("573");
mVal = genericUtility.getColumnValue("pay_table", dom);
if(mVal !=null && mVal.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.Start
payTable =checkNull(genericUtility.getColumnValue("pay_table", dom));
if(payTable !=null && payTable.trim().length() != 0)
// Modified by Yashwant on 25/06/2019.End
{
sql = "select count(*) as cnt from paytable where pay_table = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, payTable);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next())
{
......@@ -740,13 +946,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt == 0)
{
errString = getErrorString("pay_table","VMPYTAB2", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("pay_table", "VMPYTAB2", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
......@@ -755,29 +965,40 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("dept_code__parent"))
{
System.out.println("line 589");
deptCodeParent = genericUtility.getColumnValue("dept_code__parent", dom);
// Modified by Yashwant on 25/06/2019.Start
deptCodeParent =checkNull(genericUtility.getColumnValue("dept_code__parent", dom));
cnt = 0;
if(deptCodeParent != null && deptCodeParent.trim().length() > 0)
// Modified by Yashwant on 25/06/2019.End
{
deptCode = genericUtility.getColumnValue("dept_code", dom);
// Modified by Yashwant on 25/06/2019.Start
deptCode =checkNull(genericUtility.getColumnValue("dept_code", dom));
// Modified by Yashwant on 25/06/2019.End
if(!deptCodeParent.trim().equalsIgnoreCase(deptCode))
{
sql = "select count(1) as cnt from department where dept_code = ?";
pstmt = connectionObject.prepareStatement(sql);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, deptCodeParent);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next()){
if(resultSet.next())
{
cnt = resultSet.getInt("cnt");
}
if(cnt == 0)
{
errString = getErrorString("dept_code__parent", "VMDEPTPD01",userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("dept_code__parent", "VMDEPTPD01", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
......@@ -788,13 +1009,14 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
cnt = 0;
if(CommonConstants.DB_NAME.equalsIgnoreCase("ORACLE"))
{
sql = "select count(1) as cnt from DUAL where ? in "
+ " (select dept_code from department where dept_code <> dept_code__parent "
+ " start with dept_code =? connect by prior dept_code = dept_code__parent) ";
pstmt = connectionObject.prepareStatement(sql);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, deptCodeParent);
pstmt.setString(2, mVal);
pstmt.setString(2, deptCode);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next())
{
......@@ -802,35 +1024,44 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt > 0)
{
errString = getErrorString("dept_code__parent","VMDEPTPD02", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("dept_code__parent", "VMDEPTPD02", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
}
}
else
{
errString = getErrorString("dept_code__parent","VMDEPTPD03", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("dept_code__parent", "VMDEPTPD03", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
}
else if(childNodeName.equalsIgnoreCase("bu_code"))
{
System.out.println("line--639");
mVal = genericUtility.getColumnValue("bu_code", dom);
// Modified by Yashwant on 25/06/2019.Start
buCode = checkNull(genericUtility.getColumnValue("bu_code", dom));
cnt = 0;
if(mVal != null && mVal.length() > 0)
if(buCode != null && buCode.trim().length() > 0)
// Modified by Yashwant on 25/06/2019.End
{
sql = "select count(1) as cnt from business_units where bu_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, buCode);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
......@@ -838,13 +1069,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if (cnt == 0)
{
errString = getErrorString("bu_code","VMDEPTBU01", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("bu_code", "VMDEPTBU01", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
......@@ -853,13 +1088,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("func_code"))
{
System.out.println("line --662");
mVal = genericUtility.getColumnValue("func_code", dom);
// Modified by Yashwant on 25/06/2019.Start
funcCode = checkNull(genericUtility.getColumnValue("func_code", dom));
cnt = 0;
if(mVal != null && mVal.length() > 0)
if(funcCode != null && funcCode.trim().length() > 0)
// Modified by Yashwant on 25/06/2019.End
{
sql = "select count(1) as cnt from BUSI_FUNCTIONS where func_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, funcCode);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
......@@ -867,13 +1106,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt == 0)
{
errString = getErrorString("func_code","VMDEPTFU01", userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("func_code", "VMDEPTFU01", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
......@@ -882,16 +1125,21 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("emp_code__funchead"))
{
System.out.println("line--679");
mVal = genericUtility.getColumnValue("emp_code__funchead", dom);
// Modified by Yashwant on 25/06/2019.Start
empCodeFunchead = checkNull(genericUtility.getColumnValue("emp_code__funchead", dom));
// Modified by Yashwant on 25/06/2019.End
cnt = 0;
mVal1 = "";
status = "";
mdate1 = null;
if(mVal != null && mVal.length() > 0)
// Modified by Yashwant on 25/06/2019.Start
if(empCodeFunchead != null && empCodeFunchead.trim().length() > 0)
// Modified by Yashwant on 25/06/2019.End
{
sql = "select count(1) as cnt from EMPLOYEE where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, empCodeFunchead);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next())
{
......@@ -899,58 +1147,85 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt == 0)
{
errString = getErrorString("emp_code__funchead", "VMDEPTFH01",userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("emp_code__funchead", "VMDEPTFH01", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
else
{
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select status, relieve_date from EMPLOYEE where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1, mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, empCodeFunchead);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if(resultSet.next())
{
mVal1 = resultSet.getString("status");
// Modified by Yashwant on 25/06/2019.Start
//status = resultSet.getString("status");
status = checkNull(resultSet.getString("status"));
// Modified by Yashwant on 25/06/2019.End
mdate1 = resultSet.getTimestamp("relieve_date");
}
if(mVal1 != null && mVal1.trim().equalsIgnoreCase("S"))
if(status != null && status.trim().equalsIgnoreCase("S"))
{
errString = getErrorString("emp_code__funchead", "VMDEPTFH02",userId);
//Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("emp_code__funchead", "VMDEPTFH02", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
else if(mdate1 != null &&( utilmethod.date(mdate1).equals(utilmethod.today()) || utilmethod.date(mdate1).before(utilmethod.today())))
{
errString = getErrorString("emp_code__funchead", "VMDEPTFH03",userId);
itmdbAccessEJB.getErrorString("emp_code__funchead", "VMDEPTFH03", userId, "", connectionObject);
System.out.println("relieve_date line 835>>>>"+mdate1);
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
}
else if(childNodeName.equalsIgnoreCase("item_ser"))
{
System.out.println("line--723");
mVal = genericUtility.getColumnValue("item_ser", dom);
if(mVal != null && mVal.length()>0)
// Modified by Yashwant on 25/06/2019.Start
itemSer = checkNull(genericUtility.getColumnValue("item_ser", dom));
if(itemSer != null && itemSer.trim().length()>0)
// Modified by Yashwant on 25/06/2019.End
{
cnt = 0;
sql = "select count(1) as cnt from itemser where item_ser = ?";
pstmt = connectionObject.prepareStatement(sql);
pstmt.setString(1,mVal);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1,itemSer);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery();
if (resultSet.next())
{
......@@ -958,52 +1233,71 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
}
if(cnt == 0)
{
errString = getErrorString("item_ser", "VMDEPTIS01",userId);
// Modified by Yashwant on 25/06/2019.Start
itmdbAccessEJB.getErrorString("item_ser", "VMDEPTIS01", userId, "", connectionObject);
// Modified by Yashwant on 25/06/2019.End
}
if (resultSet != null) {
if (resultSet != null)
{
resultSet.close();
resultSet = null;
}
if (pstmt != null) {
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
}
}
}
} catch (Exception e)
}
catch (Exception e)
{
System.out.println("Exception :DeptIC :wfValData(Document,String):"+ e.getMessage() + ":");
e.printStackTrace();
}finally
throw new ITMException(e);
}
finally
{
// Modified by Yashwant on 25/06/2019.Start
try
{
if (connectionObject != null)
if (resultSet != null)
{
if (resultSet != null) {
resultSet.close();
resultSet = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
resultSet.close();
resultSet = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (connectionObject != null)
{
connectionObject.close();
connectionObject = null;
}
// Modified by Yashwant on 25/06/2019.End
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
// Modified by Yashwant on 25/06/2019.Start
//checkNull method added
private String checkNull(String input)
{
if(input==null)
{
input="";
}
return input;
}
// Modified by Yashwant on 25/06/2019.End
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.util.*;
import org.w3c.dom.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.system.config.*;
import java.sql.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
// Changed by Dhiraj 07/10/10 [AD01SUN008]
import java.text.SimpleDateFormat;
import javax.ejb.Stateless; // added for ejb3
import java.util.ArrayList;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ITMDBAccessLocal;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
@Stateless // added for ejb3
//@Stateless // added for ejb3
public class ShiftPattern extends ValidatorEJB implements ShiftPatternLocal,ShiftPatternRemote //SessionBean
{
......@@ -35,20 +40,23 @@ public String wfValData() throws RemoteException,ITMException
System.out.println("xmlString : " + xmlString);
System.out.println("xmlString1 : " + xmlString1);
System.out.println("xmlString2 : " + xmlString2);
GenericUtility genericUtility = GenericUtility.getInstance();
//Modified by Yashwant on 09/07/2019[Start]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility e12GenericUtility = new E12GenericUtility();
//Modified by Yashwant on 09/07/2019[Start]
try
{
if(xmlString != null && xmlString.trim().length()!=0)
{
dom = genericUtility.parseString(xmlString);
dom = e12GenericUtility.parseString(xmlString);
}
if(xmlString1 != null && xmlString1.trim().length()!=0)
{
dom1 = genericUtility.parseString(xmlString1);
dom1 = e12GenericUtility.parseString(xmlString1);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
dom2 = genericUtility.parseString(xmlString2);
dom2 = e12GenericUtility.parseString(xmlString2);
}
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
System.out.println("ErrString :" + errString);
......@@ -56,8 +64,9 @@ public String wfValData() throws RemoteException,ITMException
catch(Exception e)
{
System.out.println("Exception :ShiftPatternEJB :wfValData(String xmlString):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
errString = e12GenericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from ShiftPatternEJB wfValData");
return (errString);
......@@ -73,13 +82,9 @@ public String wfValData() throws RemoteException,ITMException
String columnValue1 = "";
String userId = "";
String sql = "";
String sql2 = "";
String errString = "";
Connection connectionObject = null;
Statement stmt = null;
Statement pstmt = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
ResultSet rs2 = null;
String returnValue = "";
String returnValue2 = "";
java.util.Date returnDate = null;
......@@ -100,14 +105,22 @@ public String wfValData() throws RemoteException,ITMException
int count = 0;
int noOfChilds = 0;
int currentFormNo = 0;
GenericUtility genericUtility = GenericUtility.getInstance();
ConnDriver connDriver = new ConnDriver();
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility e12GenericUtility = new E12GenericUtility();
//ConnDriver connDriver = new ConnDriver();
ITMDBAccessLocal itmDBAccessLocal = null;
//ITMDBAccess itmDBAccess = null;//commented for ejb3
ITMDBAccessEJB itmDBAccess = null; // added for ejb3
itmDBAccess = new ITMDBAccessEJB();
try
{
conn = connDriver.getConnectDB("DriverITM");
//Modified by Yashwant on 09/07/2019[Start]
//conn = connDriver.getConnectDB("DriverITM");
conn=getConnection();
//Modified by Yashwant on 09/07/2019[End]
// Changed by Dhiraj 07/10/10 [AD01SUN008]. start
/*AppConnectParm appConnect = new AppConnectParm();
Properties p = appConnect.getProperty();
......@@ -121,9 +134,9 @@ public String wfValData() throws RemoteException,ITMException
/*connectionObject = itmDBAccessLocal.getConnection(); //added for ejb3
stmt = connectionObject.createStatement();
*/
stmt = conn.createStatement();
//stmt = conn.createStatement();
// Changed by Dhiraj 07/10/10 [AD01SUN008] end
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
userId = e12GenericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
......@@ -132,55 +145,80 @@ public String wfValData() throws RemoteException,ITMException
parentNode = parentList.item(0);
childList = parentNode.getChildNodes();
noOfChilds = childList.getLength();
for(ctr = 0; ctr < noOfChilds; ctr++)
{
childNode = childList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equals("shift_pattern"))
{
if(childNode.getFirstChild() == null)
shiftPattern=e12GenericUtility.getColumnValue("shift_pattern", dom2);
//if(childNode.getFirstChild() == null)
if(shiftPattern==null || shiftPattern.trim().length()==0)
{
//Changed by Dhiraj 07/10/10 [AD01SUN008]
//errString = itmDBAccess.getErrorString("shift_pattern","VTSPCANT",userId,errString,connectionObject);
errString = getErrorString("shift_pattern","VTSPCANT",userId);
//errString = getErrorString("shift_pattern","VTSPCANT",userId);
errString=itmDBAccess.getErrorString("shift_pattern", "VTSPCANT", userId,"", conn);
}
else
{
shiftPattern = childNode.getFirstChild().getNodeValue();
//shiftPattern = childNode.getFirstChild().getNodeValue();
System.out.println("shiftPattern :---------------------"+shiftPattern);
dayslist = GenericUtility.getInstance().getTokenList(shiftPattern, ";");
dayslist = e12GenericUtility.getTokenList(shiftPattern, ";");
System.out.println("--------------------dayslist="+dayslist.size());
for(int ctr1 = 0; ctr1 < dayslist.size()-1; ctr1++)
for(int ctr1 = 0; ctr1 < dayslist.size(); ctr1++)
{
String strDaysList =dayslist.get(ctr1).toString();
int index = strDaysList.indexOf('-');
dayslist2 = strDaysList.substring(index+1,strDaysList.length());
System.out.println(dayslist2);
site_code = getColumnValue("site_code",dom);
//Modified by Yashwant on 09/07/2019[Start]
site_code = checkNull(getColumnValue("site_code",dom));
//Modified by Yashwant on 09/07/2019[End]
System.out.println(site_code);
sql = "select count(*) from workshft "
//Modified by Yashwant on 09/07/2019[Start]
/*sql = "select count(*) from workshft "
+"where shift = '"+dayslist2+"' "
+"And site_code = '"+site_code+"' " ;
+"And site_code = '"+site_code+"' " ;*/
sql="select count(*) from workshft where shift = ? And site_code =? ";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1, dayslist2);
pstmt.setString(2, site_code);
rs=pstmt.executeQuery();
System.out.println("sql :"+sql);
st = conn.createStatement();
rs = st.executeQuery(sql);
//st = conn.createStatement();
//rs = st.executeQuery(sql);
//Modified by Yashwant on 09/07/2019[End]
if(rs.next())
{
count = rs.getInt(1);
}
//Modified by Yashwant to close the PreparedStatements/resultsets in finally block on 09/07/2019[Start]
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
//Modified by Yashwant on 09/07/2019[End]
System.out.println("count :---------------------"+count);
if (count == 0)
{
//Changed by Dhiraj 07/10/10 [AD01SUN008]
//errString = itmDBAccess.getErrorString("shift_pattern","VTWSNOTM",userId,errString,connectionObject);
errString = getErrorString("shift_pattern","VTWSNOTM",userId);
errString=itmDBAccess.getErrorString("shift_pattern", "VTWSNOTM", userId,"", conn);
}
}
}
}
}
......@@ -188,8 +226,9 @@ public String wfValData() throws RemoteException,ITMException
catch(Exception e)
{
System.out.println("Exception :ShiftPatternEJB :wfValData(Document dom):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
errString = e12GenericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
// Modified by Piyush on 08/12/2011 to close the connection in finally block as it was throwing exception (Issue raised by Pinakin) .Start
finally
......@@ -201,26 +240,11 @@ public String wfValData() throws RemoteException,ITMException
rs.close();
rs = null;
}
if (rs2 != null)
{
rs2.close();
rs2 = null;
}
if (st != null)
{
st.close();
st = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (stmt != null)
{
stmt.close();
stmt = null;
}
if (conn != null)
{
conn.close();
......@@ -230,7 +254,7 @@ public String wfValData() throws RemoteException,ITMException
catch(Exception e1)
{
System.out.println("Exception during closing the connections :ShiftPatternEJB :wfValData(Document dom):" + e1.getMessage() + ":");
errString = genericUtility.createErrorString(e1);
errString = e12GenericUtility.createErrorString(e1);
e1.printStackTrace();
}
}
......@@ -250,28 +274,33 @@ public String wfValData() throws RemoteException,ITMException
Document dom2 = null;
String valueXmlString = "";
GenericUtility genericUtility = GenericUtility.getInstance();
//Modified by Yashwant on 09/07/2019[Start]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility e12GenericUtility=new E12GenericUtility();
//Modified by Yashwant on 09/07/2019[End]
try
{
System.out.println("xmlString :"+xmlString+ "\n xmlString1 :"+xmlString1+ " \nxmlString2 :"+xmlString2);
if(xmlString != null && xmlString.trim().length()!=0)
{
dom = genericUtility.parseString(xmlString);
dom = e12GenericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length()!=0)
{
dom1 = genericUtility.parseString(xmlString1);
dom1 = e12GenericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length()!=0)
{
dom2 = genericUtility.parseString(xmlString2);
dom2 = e12GenericUtility.parseString(xmlString2);
}
valueXmlString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams);
}
catch(Exception e)
{
System.out.println("Exception :ShiftPatternItmChngEJB :itemChanged(String,String) :==>\n"+e.getMessage());
valueXmlString = genericUtility.createErrorString(e);
valueXmlString = e12GenericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
return valueXmlString.toString();
}
......@@ -286,7 +315,7 @@ public String wfValData() throws RemoteException,ITMException
String site_code = "";
String sql = "";
Connection conn = null;
Statement stmt = null;
PreparedStatement pstmt=null;
ResultSet rs = null;
// Changed by Dhiraj 07/10/10 [AD01SUN008].start
String loginSite = "";
......@@ -295,11 +324,13 @@ public String wfValData() throws RemoteException,ITMException
// Changed by Dhiraj 07/10/10 [AD01SUN008] .end
StringBuffer valueXmlString = new StringBuffer();
ConnDriver connDriver = new ConnDriver();
GenericUtility genericUtility = GenericUtility.getInstance();
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility e12GenericUtility = new E12GenericUtility();
try
{
conn = connDriver.getConnectDB("DriverITM");
columnValue = genericUtility.getColumnValue(currentColumn,dom);
//conn = connDriver.getConnectDB("DriverITM");
conn=getConnection();
columnValue = e12GenericUtility.getColumnValue(currentColumn,dom);
System.out.println("columnValue :"+columnValue);
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><Header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></Header>");
......@@ -308,13 +339,13 @@ public String wfValData() throws RemoteException,ITMException
if (currentColumn.trim().equals("itm_default"))
{
System.out.println("xtraParamsitemchange:---------------"+xtraParams);
site_code = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"site_code");
site_code = e12GenericUtility.getValueFromXTRA_PARAMS(xtraParams,"site_code");
valueXmlString.append("<site_code>").append(site_code).append("</site_code>\r\n");
//Changed by Dhiraj 07/10/10 [AD01SUN008]. start
//java.sql.Date toDay =new java.sql.Date(System.currentTimeMillis());
java.util.Date toDay = new java.util.Date();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
SimpleDateFormat sdf = new SimpleDateFormat(e12GenericUtility.getApplDateFormat());
String dbDtStr = sdf.format(toDay);
// Changed by Dhiraj 07/10/10 [AD01SUN008]. end
......@@ -327,12 +358,14 @@ public String wfValData() throws RemoteException,ITMException
else if (currentColumn.trim().equals("shift_pattern"))
{
dayslist = GenericUtility.getInstance().getTokenList(columnValue, ";");
dayslist = e12GenericUtility.getTokenList(columnValue, ";");
System.out.println("--------------------dayslist="+dayslist.size());
for(int ctr = 0; ctr < dayslist.size()-1; ctr++)
for(int ctr = 0; ctr < dayslist.size(); ctr++)
{
String strDaysList =dayslist.get(ctr).toString();
System.out.println("strDaysList:"+strDaysList);
int index = strDaysList.indexOf('-');
System.out.println("index:"+index);
dayslist1 = strDaysList.substring(0,index);
System.out.println("dayslist:-------------------------"+dayslist1);
shift_no = Integer.parseInt(dayslist1.toString());
......@@ -346,18 +379,18 @@ public String wfValData() throws RemoteException,ITMException
}
System.out.println("-----------------------------total_days ="+total_days);
valueXmlString.append("<no_of_days>").append(total_days).append("</no_of_days>\r\n");
//GenericUtility.getInstance();
//GenericUtility.getInstance();
}
valueXmlString.append("</Detail1>\r\n");
valueXmlString.append("</Root>\r\n");
}
catch(Exception e)
{
System.out.println("Exception in ShiftPatternItmChngEJB.java occured");
//Modified by Yashwant on 09/07/2019[Start]
e.printStackTrace();
throw new ITMException(e);
//Modified by Yashwant on 09/07/2019[End]
}
finally
{
......@@ -374,10 +407,10 @@ public String wfValData() throws RemoteException,ITMException
rs.close();
rs = null;
}
if (stmt != null)
if (pstmt != null)
{
stmt.close();
stmt = null;
pstmt.close();
pstmt = null;
}
if (conn != null)
{
......@@ -385,10 +418,29 @@ public String wfValData() throws RemoteException,ITMException
conn = null;
}
// Modified by Piyush on 08/12/2011 to close the connection/statements/resultsets in finally block .Start
}catch(Exception se){}
}catch(Exception e)
{
//Modified by Yashwant-throw the Excecption on 09/07/2019[Start]
e.printStackTrace();
//Modified by Yashwant on 09/07/2019[End]
}
}
System.out.println("Return XML" + valueXmlString.toString() );
return valueXmlString.toString();
}
//Modified by Yashwant-checkNull method added on 09/07/2019[Start]
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
else
{
input =input.trim();
}
return input;
}
}
\ No newline at end of file
//Modified by Yashwant on 09/07/2019[End]
}
package ibase.webitm.ejb.adm;import java.rmi.RemoteException;//import javax.ejb.EJBObject; import org.w3c.dom.*; import ibase.webitm.utility.ITMException; import ibase.webitm.ejb.*; import javax.ejb.Remote; // added for ejb3 @Remote // added for ejb3 public interface ShiftPatternRemote extends ValidatorRemote //,EJBObject { public String itemChanged() throws RemoteException,ITMException; public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException; public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException; }
\ No newline at end of file
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 GradeSiteOTICRemote 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;
}
......
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',2,2,0,0,0,'w_dept','Department','Define various departments','HRM.2.2.0.0.0',null,null,null,'M',null,null,null,null,null,null);
Insert into TRANSETUP (TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,UDF_1,UDF_2,UDF_3,UDF_4,UDF_5,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,REPEAT_ADD_DET,LOAD_MODE,AUTO_CONFIRM,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,MAIL_OPTION,CONFIRM_MODE,GARBAGE_OPT,VAL_FLAG_EDI,VERIFY_PASSWORD,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,SALES_PERS_ACC_COL,CUST_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_COL,EMP_ACC_COL,WORKFLOW_OPT,TRAN_ID__FROM,TRAN_ID__TO,MULTITIRE_OPT,REF_SER,VIEW_MODE,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,CHILDDATA_ARGOPT,IGNOREERRLIST_ONLOAD,EDIT_TMPLT,WRKFLW_INIT,FORMAL_ARGS,EDIT_OPT,AUDIT_TRAIL_OPT,EDITTAX,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,TRANSFER_MODE,RATE_COL,QTY_COL,RCP_CACHE_STATUS,PRINT_CONTROL,PROFILE_ID__RES,PERIOD_OPTION,EXEC_TYPE,WRKFLW_PRIORITY,TRAN_COMPL_MSG,EDIT_EXPR_INP,ITEM_SER_ACC_CODE,REPEATADDDET,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,MSG_ONSAVE,CONFIRM_DATE_COL,CONFIRM_BY_COL,WF_STATUS,CMS_PATH,ISGWTINITIATED,RESTART_FORM,BROW_DATA_DEF,VIEW_OPTS,DEF_VIEW,FUNCTION_TYPE,COMPL_ACTION,REPEAT_MODIFY_DET,CANCEL_COL,CANCEL_VAL,IN_WF_COL,IN_WF_VAL,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,DEFAULT_DATA_ROW,ATTACH_COUNT_MIN) values ('w_dept','2','2','M','seq10',null,null,null,null,null,'Y',to_date('2016-01-04','RRRR-MM-DD'),'E28150 ','snitdeepakg ','0',null,null,null,'Y','E','N','N',null,'DEPT_CODE','0','0',null,null,null,'DEPARTMENT',null,null,null,null,null,null,null,null,null,null,null,null,null,'F',null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null,null,null,null,null,null,null,null,null,'M',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'1',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_dept','Department','d_dept_brow','d_dept_edit',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_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 ('dept',22,'O','1','export_excel','Export Excel','Export','Download.gif','1','1','1','U',null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_LINKS (OBJ_NAME,FORM_NO,FIELD_NAME,TARGET_OBJ_NAME,LINK_FORM_NAME,LINK_TITLE,LINK_URI,LINK_TYPE,LINK_ARG,UPDATE_FLAG,LINK_NAME,RIGHTS_CHAR,IMAGE,SHOW_IN_PANEL,SHORTCUT_CHAR,AUTO_INVOKE,SWIPE_POSITION,TITILE,DESCR,SHOW_CONFIRM,DISPLAY_MODE,LINE_NO,LINK_ID,REC_SPECIFIC) values ('dept','1','home_upload','','','Upload Utility','/ibase/webitm/jsp/E12UploadTemplate.jsp?reset=true','3','dept.String:OBJ_NAME,Department.String:OBJ_DESC,fromHomePage.String:FROM_HOMEPAGE',null,null,'U',null,'3',null,null,null,null,'Upload Utility',null,'3','1',null,'1');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('dept','1 ','dept_head_1',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 ('dept','post_validate','1','post_gen_val',null,to_date('2007-12-04','RRRR-MM-DD'),'system ','system','2','0','EJB','GenValidate',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 ('dept','audit_trail','1','project_audit_trail_adm',null,to_date('2018-02-14','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV','2','0',null,null,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 ('dept','post_item_change','1','poic_adm_default_1',null,to_date('2007-12-04','RRRR-MM-DD'),'satya ','USER1','2','0','WSR','nvo_bo_dept',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 ('dept','pre_validate','1','prv_adm_default_1',null,to_date('2007-12-04','RRRR-MM-DD'),'satya ','USER1','2','0','WSR','nvo_bo_dept',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 ('dept','export_excel','1','export_excel_adm',null,to_date('2018-02-03','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV',null,null,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) 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) values ('project_audit_trail_adm','calling audit log jsp','/ibase/webitm/jsp/ITMAuditForms.jsp',null,'doPost',null,null,null,null,to_date('2018-02-14','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 ('export_excel_adm','Calling Export Excel','/ibase/webitm/jsp/E12ExportToExcel.jsp',null,'doPost',null,null,null,null,to_date('2017-06-21','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV');
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 ('post_gen_val',1,'COMPONENT_TYPE','I',null,'C.String',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218','EJB');
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 ('post_gen_val',2,'COMPONENT_NAME','I',null,'C.String',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218','GenValidate');
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 ('post_gen_val',3,'XML_DATA','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',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 ('post_gen_val',4,'XML_DATA_ALL','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',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 ('post_gen_val',5,'XML_DATA_ALL','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',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 ('post_gen_val',6,'OBJ_CONTEXT','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',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 ('post_gen_val',7,'WIN_NAME','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',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 ('post_gen_val',8,'XTRA_PARAMS','I',null,'S',null,to_date('2012-06-01','RRRR-MM-DD'),'Jiten ','Base218',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 POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH) values ('DEPT_HEAD','W_DEPT','Select emp_code, emp_fname, emp_mname, emp_lname from employee ',null,null,0,0,to_date('2018-05-15','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ','0',null,null,null,null,null,'0',null,null,null,'0',null,null,null,null,null,null);
update SYSTEM_EVENTS set Comp_Type='JB',Comp_Name='ibase.webitm.ejb.adm.DeptIC', Service_Code='poic_default_ejb' where Obj_Name='dept'and
Event_Code='post_item_change';
update SYSTEM_EVENTS set Comp_Type='JB',Comp_Name='ibase.webitm.ejb.adm.DeptIC', Service_Code='prv_default_ejb' where Obj_Name='dept'and
Event_Code='pre_validate';
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',2,13,2,0,0,'w_shift_pattern','Shift Pattern',null,'HRM.2.13.2.0.0',null,null,null,'M',null,null,null,null,null,null);
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 ('ADM',2,29,0,0,0,'w_shift_pattern','Shift Pattern',null,'ADM.2.29.0.0.0',null,null,null,'T',null,null,null,null,null,null);
update ITM2MENU set ENT_TYPES='0' where WIN_NAME='w_shift_pattern' and APPLICATION='ADM';
Insert into TRANSETUP (TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,UDF_1,UDF_2,UDF_3,UDF_4,UDF_5,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,REPEAT_ADD_DET,LOAD_MODE,AUTO_CONFIRM,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,MAIL_OPTION,CONFIRM_MODE,GARBAGE_OPT,VAL_FLAG_EDI,VERIFY_PASSWORD,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,SALES_PERS_ACC_COL,CUST_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_COL,EMP_ACC_COL,WORKFLOW_OPT,TRAN_ID__FROM,TRAN_ID__TO,MULTITIRE_OPT,REF_SER,VIEW_MODE,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,CHILDDATA_ARGOPT,IGNOREERRLIST_ONLOAD,EDIT_TMPLT,WRKFLW_INIT,FORMAL_ARGS,EDIT_OPT,AUDIT_TRAIL_OPT,EDITTAX,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,TRANSFER_MODE,RATE_COL,QTY_COL,RCP_CACHE_STATUS,PRINT_CONTROL,PROFILE_ID__RES,PERIOD_OPTION,EXEC_TYPE,WRKFLW_PRIORITY,TRAN_COMPL_MSG,EDIT_EXPR_INP,ITEM_SER_ACC_CODE,REPEATADDDET,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,MSG_ONSAVE,CONFIRM_DATE_COL,CONFIRM_BY_COL,WF_STATUS,CMS_PATH,ISGWTINITIATED,RESTART_FORM,BROW_DATA_DEF,VIEW_OPTS,DEF_VIEW,FUNCTION_TYPE,COMPL_ACTION,REPEAT_MODIFY_DET,CANCEL_COL,CANCEL_VAL,IN_WF_COL,IN_WF_VAL,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,DEFAULT_DATA_ROW,ATTACH_COUNT_MIN) values ('w_shift_pattern','2','2','M',null,null,null,null,null,null,'Y',to_date('2016-01-04','RRRR-MM-DD'),'E28150 ','snitdeepakg ','0',null,null,null,'Y',null,'N','N',null,null,null,null,null,null,null,'SHIFT_PATTERN',null,null,null,null,null,null,null,null,null,null,null,'2',null,'F',null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null,null,null,null,null,null,null,null,null,'M',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null,null);
update TRANSETUP set TRAN_ID_COL='pattern_code'where TRAN_WINDOW='w_shift_pattern';
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_shift_pattern','Shift Pattern','d_shift_pattern_brow','d_shift_pattern_edit',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);
update obj_forms set SCR_FLAG='F' where WIN_NAME='w_shift_pattern';
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 ('shift_pattern',3,'D','a','a','Deleting','Delete','delete.gif','1',null,null,'S',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 ('shift_pattern',1,'A','a','a','Adding New','Add','add.gif','1',null,null,'S',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 ('shift_pattern',2,'E','a','a','Editing Existing Record','Edit','edit.gif','1',null,null,'S',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 ('shift_pattern',21,'Q','1','audit_trail','View Audit Trail','View Audit','menu.bmp','1','1','1','U',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 ('shift_pattern',22,'O','1','export_excel','Export Excel','Export','Download.gif','1','1','1','U',null,null,null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('shift_pattern','1 ','itm_default',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('shift_pattern','1 ','shift_pattern',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 ('shift_pattern','post_item_change','1','poic_shift_pattern',null,to_date('2014-02-25','RRRR-MM-DD'),'venkat ','BASE','2','0','EJB','ShiftPattern',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 ('shift_pattern','pre_validate','1','prv_shift_pattern',null,to_date('2014-02-25','RRRR-MM-DD'),'venkat ','BASE','2','0','EJB','ShiftPattern',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 ('shift_pattern','post_validate','1','post_gen_val',null,to_date('2014-08-12','RRRR-MM-DD'),'BASE ','BASE','2','0','EJB','GenValidate',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 ('shift_pattern','audit_trail','1','project_audit_trail_adm',null,to_date('2018-02-14','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV','2','0',null,null,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 ('shift_pattern','export_excel','1','export_excel_adm',null,to_date('2018-02-03','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV',null,null,null,null,null);
update SYSTEM_EVENTS set COMP_TYPE='JB' where OBJ_NAME='shift_pattern' and Event_CODE='audit_trial';
update SYSTEM_EVENTS set COMP_TYPE='JB' where OBJ_NAME='shift_pattern' and Event_CODE='export_excel';
update SYSTEM_EVENTS set COMP_TYPE='JB' where OBJ_NAME='shift_pattern' and Event_CODE='post_item_change';
update SYSTEM_EVENTS set COMP_TYPE='JB' where OBJ_NAME='shift_pattern' and Event_CODE='post_validate';
update SYSTEM_EVENTS set COMP_TYPE='JB' where OBJ_NAME='shift_pattern' and Event_CODE='pre_validate';
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_shift_pattern','post item change shift pattern','http://192.168.1.90/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL');
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_shift_pattern','validation shift pattern','http://192.168.1.90/axis/services/ValidatorService',null,'wf_val_data',null,'S',null,null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL');
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_shift_pattern',1,'COMPONENT_TYPE','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ','EJB');
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_shift_pattern',2,'COMPONENT_NAME','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ','ShiftPattern');
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_shift_pattern',3,'TAB_XML_DATA','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',4,'TAB_XML_DATA_1','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',5,'TAB_XML_DATA_2','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',6,'OBJ_CONTEXT','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',7,'FOCUSED_COLUMN','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',8,'EDIT_FLAG','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',9,'XTRA_PARAMS','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',1,'component_type','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ','EJB');
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_shift_pattern',2,'component_name','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ','ShiftPattern');
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_shift_pattern',3,'TAB_XML_DATA','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',4,'TAB_XML_DATA_1','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',5,'TAB_XML_DATA_2','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',6,'OBJ_CONTEXT','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',7,'EDIT_FLAG','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',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_shift_pattern',8,'XTRA_PARAMS','I',null,'S',null,to_date('2008-10-18','RRRR-MM-DD'),'VISHAL ','VISHAL ',null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH) values ('PATTERN_CODE','W_SHIFT_PATTERN','SELECT PATTERN_CODE AS Code,TO_CHAR(START_DATE,''DD-MON-YYYY'') AS Start_date,SHIFT_PATTERN AS Pattern FROM SHIFT_PATTERN WHERE SITE_CODE = ''?'' ORDER BY PATTERN_CODE',null,'Pattern Codes',0,0,to_date('2018-05-15','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ','0',null,':site_code',null,null,null,null,null,null,null,'0',null,null,null,null,null,null);
update pophelp set sql_str = 'select shift_pattern from shift_pattern', default_col = '0' where field_name='SHIFT_PATTERN';
......@@ -132,10 +132,6 @@
<updatewhereclause>yes</updatewhereclause>
<name>status</name>
<dbname>department.status</dbname>
<values>
<item display="Active" data="A"/>
<item display="Inactive" data="I"/>
</values>
</table_column>
<table_column>
<type size="5">char</type>
......@@ -144,13 +140,7 @@
<name>item_ser</name>
<dbname>department.item_ser</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>hod_name</name>
<dbname>hod_name</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;department&quot; ) COLUMN(NAME=&quot;department.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;department.dept_head&quot;) COLUMN(NAME=&quot;department.acct_code&quot;) COLUMN(NAME=&quot;department.pay_table&quot;) COLUMN(NAME=&quot;department.cctr_code&quot;) COLUMN(NAME=&quot;department.chg_date&quot;) COLUMN(NAME=&quot;department.chg_user&quot;) COLUMN(NAME=&quot;department.chg_term&quot;) COLUMN(NAME=&quot;department.acct_code__ap&quot;) COLUMN(NAME=&quot;department.cctr_code__ap&quot;) COLUMN(NAME=&quot;department.status&quot;) COLUMN(NAME=&quot;department.item_ser&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(dept_head , &apos;FL&apos;) as hod_name&quot;)) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;department&quot; ) COLUMN(NAME=&quot;department.dept_code&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;department.dept_head&quot;) COLUMN(NAME=&quot;department.acct_code&quot;) COLUMN(NAME=&quot;department.pay_table&quot;) COLUMN(NAME=&quot;department.cctr_code&quot;) COLUMN(NAME=&quot;department.chg_date&quot;) COLUMN(NAME=&quot;department.chg_user&quot;) COLUMN(NAME=&quot;department.chg_term&quot;) COLUMN(NAME=&quot;department.acct_code__ap&quot;) COLUMN(NAME=&quot;department.cctr_code__ap&quot;) COLUMN(NAME=&quot;department.status&quot;) COLUMN(NAME=&quot;department.item_ser&quot;)) </retrieve>
<update>department</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -183,34 +173,6 @@
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Description</text>
<border>6</border>
<color>0</color>
<x>94</x>
<y>3</y>
<height>16</height>
<width>330</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr_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>
......@@ -410,17 +372,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Account Code AP</text>
<text>Description</text>
<border>6</border>
<color>0</color>
<x>989</x>
<x>94</x>
<y>3</y>
<height>16</height>
<width>115</width>
<width>330</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>acct_code__ap_t</name>
<name>descr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -432,23 +394,23 @@
</font>
<background>
<mode>2</mode>
<color>80269524</color>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Cost Centre Code</text>
<text>Account Code AP</text>
<border>6</border>
<color>0</color>
<x>1106</x>
<x>989</x>
<y>3</y>
<height>16</height>
<width>113</width>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cctr_code_ap_t</name>
<name>acct_code__ap_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -466,17 +428,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Status</text>
<text>Cost Centre Code</text>
<border>6</border>
<color>0</color>
<x>1221</x>
<x>1106</x>
<y>3</y>
<height>16</height>
<width>69</width>
<width>113</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_t</name>
<name>cctr_code_ap_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -494,17 +456,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Item Series</text>
<text>Status</text>
<border>6</border>
<color>0</color>
<x>1292</x>
<x>1221</x>
<y>3</y>
<height>16</height>
<width>68</width>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser_t</name>
<name>status_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -522,23 +484,23 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Head</text>
<text>Item Series</text>
<border>6</border>
<color>0</color>
<x>1362</x>
<x>1292</x>
<y>3</y>
<height>16</height>
<width>255</width>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hod_name_t</name>
<name>item_ser_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-11</height>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -962,10 +924,11 @@
</html>
<name>status</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1018,43 +981,6 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>0</color>
<x>1362</x>
<y>1</y>
<height>16</height>
<width>255</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>hod_name</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>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -1860,21 +1860,31 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Cost Centre Code AP :</text>
<border>0</border>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>18</x>
<y>332</y>
<x>153</x>
<y>354</y>
<height>16</height>
<width>131</width>
<width>85</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cctr_code__ap_t</name>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1885,23 +1895,23 @@
</font>
<background>
<mode>2</mode>
<color>80269524</color>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date :</text>
<text>Change User :</text>
<border>0</border>
<color>0</color>
<x>26</x>
<x>302</x>
<y>354</y>
<height>16</height>
<width>123</width>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1916,95 +1926,87 @@
<color>80269524</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Terminal :</text>
<border>0</border>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>26</x>
<y>376</y>
<x>404</x>
<y>354</y>
<height>16</height>
<width>123</width>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>80269524</color>
<color>16777215</color>
</background>
</TextObject>
<ColumnObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Cost Centre Code AP :</text>
<border>0</border>
<color>0</color>
<x>153</x>
<y>376</y>
<x>18</x>
<y>332</y>
<height>16</height>
<width>85</width>
<format>[general]</format>
<width>131</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<name>cctr_code__ap_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>80269524</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Change Date :</text>
<border>0</border>
<color>0</color>
<x>153</x>
<x>26</x>
<y>354</y>
<height>16</height>
<width>85</width>
<format>[shortdate] [time]</format>
<width>123</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<name>chg_date_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -2015,23 +2017,23 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>80269524</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User :</text>
<text>Change Terminal :</text>
<border>0</border>
<color>0</color>
<x>302</x>
<y>354</y>
<x>26</x>
<y>376</y>
<height>16</height>
<width>98</width>
<width>123</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2048,27 +2050,25 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>404</x>
<y>354</y>
<x>153</x>
<y>376</y>
<height>16</height>
<width>85</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>19</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>pattern_code</name>
<dbname>shift_pattern.pattern_code</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>start_date</name>
<dbname>shift_pattern.start_date</dbname>
</table_column>
<table_column>
<type size="100">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>shift_pattern</name>
<dbname>shift_pattern.shift_pattern</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>no_of_days</name>
<dbname>shift_pattern.no_of_days</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>shift_pattern.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>shift_pattern.chg_term</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>shift_pattern.chg_user</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>shift_pattern.site_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>gen_shift_hol</name>
<dbname>shift_pattern.gen_shift_hol</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;shift_pattern&quot; ) COLUMN(NAME=&quot;shift_pattern.pattern_code&quot;) COLUMN(NAME=&quot;shift_pattern.start_date&quot;) COLUMN(NAME=&quot;shift_pattern.shift_pattern&quot;) COLUMN(NAME=&quot;shift_pattern.no_of_days&quot;) COLUMN(NAME=&quot;shift_pattern.chg_date&quot;) COLUMN(NAME=&quot;shift_pattern.chg_term&quot;) COLUMN(NAME=&quot;shift_pattern.chg_user&quot;) COLUMN(NAME=&quot;shift_pattern.site_code&quot;) COLUMN(NAME=&quot;shift_pattern.gen_shift_hol&quot;)WHERE( EXP1 =&quot;SHIFT_PATTERN.SITE_CODE&quot; OP =&quot;=&quot; EXP2 =&quot;:site_code&quot; ) ) ARG(NAME = &quot;site_code&quot; TYPE = string) </retrieve>
<update>shift_pattern</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>site_code</name>
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pattern Code</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Start Date</text>
<border>6</border>
<color>33554432</color>
<x>81</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Shift Pattern</text>
<border>6</border>
<color>33554432</color>
<x>171</x>
<y>2</y>
<height>16</height>
<width>179</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern_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>Header</band>
<alignment>2</alignment>
<text>No Of Days</text>
<border>6</border>
<color>33554432</color>
<x>352</x>
<y>2</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Date</text>
<border>6</border>
<color>33554432</color>
<x>535</x>
<y>2</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Term</text>
<border>6</border>
<color>33554432</color>
<x>611</x>
<y>2</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_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>Header</band>
<alignment>2</alignment>
<text>Chg User</text>
<border>6</border>
<color>33554432</color>
<x>693</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>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>Header</band>
<alignment>2</alignment>
<text>Shift on Holiday</text>
<border>6</border>
<color>33554432</color>
<x>432</x>
<y>2</y>
<height>16</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol_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>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>81</x>
<y>2</y>
<height>16</height>
<width>88</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>171</x>
<y>2</y>
<height>16</height>
<width>179</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>4</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>352</x>
<y>2</y>
<height>16</height>
<width>78</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_days</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>5</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>535</x>
<y>2</y>
<height>16</height>
<width>74</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<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>6</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>611</x>
<y>2</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>7</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>693</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>9</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>432</x>
<y>2</y>
<height>16</height>
<width>101</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol</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>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</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>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>19</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>pattern_code</name>
<dbname>shift_pattern.pattern_code</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>start_date</name>
<dbname>shift_pattern.start_date</dbname>
</table_column>
<table_column>
<type size="100">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>shift_pattern</name>
<dbname>shift_pattern.shift_pattern</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>no_of_days</name>
<dbname>shift_pattern.no_of_days</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>shift_pattern.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>shift_pattern.chg_term</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>shift_pattern.chg_user</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>shift_pattern.site_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>gen_shift_hol</name>
<dbname>shift_pattern.gen_shift_hol</dbname>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;shift_pattern&quot; ) COLUMN(NAME=&quot;shift_pattern.pattern_code&quot;) COLUMN(NAME=&quot;shift_pattern.start_date&quot;) COLUMN(NAME=&quot;shift_pattern.shift_pattern&quot;) COLUMN(NAME=&quot;shift_pattern.no_of_days&quot;) COLUMN(NAME=&quot;shift_pattern.chg_date&quot;) COLUMN(NAME=&quot;shift_pattern.chg_term&quot;) COLUMN(NAME=&quot;shift_pattern.chg_user&quot;) COLUMN(NAME=&quot;shift_pattern.site_code&quot;) COLUMN(NAME=&quot;shift_pattern.gen_shift_hol&quot;)WHERE( EXP1 =&quot;SHIFT_PATTERN.SITE_CODE&quot; OP =&quot;=&quot; EXP2 =&quot;:site_code&quot; ) ) ARG(NAME = &quot;site_code&quot; TYPE = string) </retrieve>
<update>shift_pattern</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>site_code</name>
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pattern Code</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Start Date</text>
<border>6</border>
<color>33554432</color>
<x>81</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Shift Pattern</text>
<border>6</border>
<color>33554432</color>
<x>171</x>
<y>2</y>
<height>16</height>
<width>179</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern_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>Header</band>
<alignment>2</alignment>
<text>No Of Days</text>
<border>6</border>
<color>33554432</color>
<x>352</x>
<y>2</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Date</text>
<border>6</border>
<color>33554432</color>
<x>535</x>
<y>2</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Term</text>
<border>6</border>
<color>33554432</color>
<x>611</x>
<y>2</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_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>Header</band>
<alignment>2</alignment>
<text>Chg User</text>
<border>6</border>
<color>33554432</color>
<x>693</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>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>Header</band>
<alignment>2</alignment>
<text>Shift on Holiday</text>
<border>6</border>
<color>33554432</color>
<x>432</x>
<y>2</y>
<height>16</height>
<width>101</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol_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>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>77</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>81</x>
<y>2</y>
<height>16</height>
<width>88</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>171</x>
<y>2</y>
<height>16</height>
<width>179</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>4</id>
<alignment>1</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>352</x>
<y>2</y>
<height>16</height>
<width>78</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_days</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>5</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>535</x>
<y>2</y>
<height>16</height>
<width>74</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<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>6</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>611</x>
<y>2</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>7</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>693</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>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>9</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>432</x>
<y>2</y>
<height>16</height>
<width>101</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol</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>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</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>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>131</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>pattern_code</name>
<dbname>shift_pattern.pattern_code</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>start_date</name>
<dbname>shift_pattern.start_date</dbname>
</table_column>
<table_column>
<type size="100">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>shift_pattern</name>
<dbname>shift_pattern.shift_pattern</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>no_of_days</name>
<dbname>shift_pattern.no_of_days</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>shift_pattern.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>shift_pattern.chg_term</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>shift_pattern.chg_user</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>shift_pattern.site_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>gen_shift_hol</name>
<dbname>shift_pattern.gen_shift_hol</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;shift_pattern&quot; ) COLUMN(NAME=&quot;shift_pattern.pattern_code&quot;) COLUMN(NAME=&quot;shift_pattern.start_date&quot;) COLUMN(NAME=&quot;shift_pattern.shift_pattern&quot;) COLUMN(NAME=&quot;shift_pattern.no_of_days&quot;) COLUMN(NAME=&quot;shift_pattern.chg_date&quot;) COLUMN(NAME=&quot;shift_pattern.chg_term&quot;) COLUMN(NAME=&quot;shift_pattern.chg_user&quot;) COLUMN(NAME=&quot;shift_pattern.site_code&quot;) COLUMN(NAME=&quot;shift_pattern.gen_shift_hol&quot;)WHERE( EXP1 =&quot;SHIFT_PATTERN.PATTERN_CODE&quot; OP =&quot;=&quot; EXP2 =&quot;:as_pattern_code&quot; ) ) ARG(NAME = &quot;as_pattern_code&quot; TYPE = string) </retrieve>
<update>shift_pattern</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>as_pattern_code</name>
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Start Date:</text>
<border>0</border>
<color>33554432</color>
<x>237</x>
<y>10</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pattern Code:</text>
<border>0</border>
<color>33554432</color>
<x>34</x>
<y>10</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Shift Pattern:</text>
<border>0</border>
<color>33554432</color>
<x>35</x>
<y>32</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>322</x>
<y>10</y>
<height>16</height>
<width>94</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_date</name>
<visible>1</visible>
<EditStyle 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>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>119</x>
<y>32</y>
<height>16</height>
<width>297</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>100</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>4</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>119</x>
<y>55</y>
<height>16</height>
<width>53</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_days</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</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>9</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>350</x>
<y>55</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol</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>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>Generate Shift On Holiday:</text>
<border>0</border>
<color>33554432</color>
<x>182</x>
<y>55</y>
<height>16</height>
<width>163</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol_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>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>920</x>
<y>4</y>
<height>19</height>
<width>66</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>919</x>
<y>26</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>919</x>
<y>52</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>119</x>
<y>10</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_code</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>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>119</x>
<y>77</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</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>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>Number Of Days:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>55</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>77</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Header>
<height>24</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>222</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>pattern_code</name>
<dbname>shift_pattern.pattern_code</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>start_date</name>
<dbname>shift_pattern.start_date</dbname>
</table_column>
<table_column>
<type size="100">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>shift_pattern</name>
<dbname>shift_pattern.shift_pattern</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>no_of_days</name>
<dbname>shift_pattern.no_of_days</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>shift_pattern.chg_date</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>shift_pattern.chg_term</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>shift_pattern.chg_user</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>shift_pattern.site_code</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>gen_shift_hol</name>
<dbname>shift_pattern.gen_shift_hol</dbname>
<initial>N</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;shift_pattern&quot; ) COLUMN(NAME=&quot;shift_pattern.pattern_code&quot;) COLUMN(NAME=&quot;shift_pattern.start_date&quot;) COLUMN(NAME=&quot;shift_pattern.shift_pattern&quot;) COLUMN(NAME=&quot;shift_pattern.no_of_days&quot;) COLUMN(NAME=&quot;shift_pattern.chg_date&quot;) COLUMN(NAME=&quot;shift_pattern.chg_term&quot;) COLUMN(NAME=&quot;shift_pattern.chg_user&quot;) COLUMN(NAME=&quot;shift_pattern.site_code&quot;) COLUMN(NAME=&quot;shift_pattern.gen_shift_hol&quot;)WHERE( EXP1 =&quot;SHIFT_PATTERN.PATTERN_CODE&quot; OP =&quot;=&quot; EXP2 =&quot;:as_pattern_code&quot; ) ) ARG(NAME = &quot;as_pattern_code&quot; TYPE = string) </retrieve>
<update>SHIFT_PATTERN</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>as_pattern_code</name>
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>25</x>
<y>7</y>
<height>141</height>
<width>451</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>Start Date:</text>
<border>0</border>
<color>33554432</color>
<x>273</x>
<y>38</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pattern Code:</text>
<border>0</border>
<color>33554432</color>
<x>70</x>
<y>38</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Shift Pattern:</text>
<border>0</border>
<color>33554432</color>
<x>71</x>
<y>60</y>
<height>16</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>358</x>
<y>38</y>
<height>16</height>
<width>94</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>start_date</name>
<visible>1</visible>
<EditStyle 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>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>155</x>
<y>60</y>
<height>16</height>
<width>297</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>shift_pattern</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>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>155</x>
<y>83</y>
<height>16</height>
<width>53</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_days</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</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>9</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>386</x>
<y>83</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol</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>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>Generate Shift On Holiday:</text>
<border>0</border>
<color>33554432</color>
<x>218</x>
<y>83</y>
<height>16</height>
<width>163</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gen_shift_hol_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>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>956</x>
<y>32</y>
<height>19</height>
<width>66</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>955</x>
<y>54</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>955</x>
<y>80</y>
<height>19</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>155</x>
<y>38</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pattern_code</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>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>155</x>
<y>105</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</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>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>Number Of Days:</text>
<border>0</border>
<color>33554432</color>
<x>51</x>
<y>83</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_of_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>51</x>
<y>105</y>
<height>16</height>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_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>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
$PBExportHeader$d_shift_pattern_brow.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=19 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=22 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=pattern_code dbname="shift_pattern.pattern_code" )
column=(type=datetime update=yes updatewhereclause=yes name=start_date dbname="shift_pattern.start_date" )
column=(type=char(100) update=yes updatewhereclause=yes name=shift_pattern dbname="shift_pattern.shift_pattern" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=no_of_days dbname="shift_pattern.no_of_days" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="shift_pattern.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="shift_pattern.chg_term" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="shift_pattern.chg_user" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="shift_pattern.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=gen_shift_hol dbname="shift_pattern.gen_shift_hol" values="Yes Y/No N/" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"shift_pattern~" ) COLUMN(NAME=~"shift_pattern.pattern_code~") COLUMN(NAME=~"shift_pattern.start_date~") COLUMN(NAME=~"shift_pattern.shift_pattern~") COLUMN(NAME=~"shift_pattern.no_of_days~") COLUMN(NAME=~"shift_pattern.chg_date~") COLUMN(NAME=~"shift_pattern.chg_term~") COLUMN(NAME=~"shift_pattern.chg_user~") COLUMN(NAME=~"shift_pattern.site_code~") COLUMN(NAME=~"shift_pattern.gen_shift_hol~")WHERE( EXP1 =~"SHIFT_PATTERN.SITE_CODE~" OP =~"=~" EXP2 =~":site_code~" ) ) ARG(NAME = ~"site_code~" TYPE = string) " update="shift_pattern" updatewhere=0 updatekeyinplace=no arguments=(("site_code", string)) )
text(band=header alignment="2" text="Pattern Code" border="6" color="33554432" x="2" y="2" height="16" width="77" html.valueishtml="0" name=pattern_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="67108864" )
text(band=header alignment="2" text="Start Date" border="6" color="33554432" x="81" y="2" height="16" width="88" html.valueishtml="0" name=start_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="67108864" )
text(band=header alignment="2" text="Shift Pattern" border="6" color="33554432" x="171" y="2" height="16" width="179" html.valueishtml="0" name=shift_pattern_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=header alignment="2" text="No Of Days" border="6" color="33554432" x="352" y="2" height="16" width="78" html.valueishtml="0" name=no_of_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="67108864" )
text(band=header alignment="2" text="Chg Date" border="6" color="33554432" x="535" y="2" height="16" width="74" html.valueishtml="0" name=chg_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="67108864" )
text(band=header alignment="2" text="Chg Term" border="6" color="33554432" x="611" y="2" height="16" width="80" html.valueishtml="0" name=chg_term_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=header alignment="2" text="Chg User" border="6" color="33554432" x="693" y="2" height="16" width="66" html.valueishtml="0" name=chg_user_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=header alignment="2" text="Shift on Holiday" border="6" color="33554432" x="432" y="2" height="16" width="101" html.valueishtml="0" name=gen_shift_hol_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=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="16" width="77" format="[general]" html.valueishtml="0" name=pattern_code visible="1" edit.limit=10 edit.case=any 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=2 alignment="0" tabsequence=20 border="5" color="33554432" x="81" y="2" height="16" width="88" format="[shortdate] [time]" html.valueishtml="0" name=start_date visible="1" edit.limit=0 edit.case=any 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=3 alignment="0" tabsequence=30 border="5" color="33554432" x="171" y="2" height="16" width="179" format="[general]" html.valueishtml="0" name=shift_pattern visible="1" edit.limit=100 edit.case=any 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=4 alignment="1" tabsequence=40 border="5" color="33554432" x="352" y="2" height="16" width="78" format="[general]" html.valueishtml="0" name=no_of_days visible="1" edit.limit=0 edit.case=any 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=5 alignment="0" tabsequence=60 border="5" color="33554432" x="535" y="2" height="16" width="74" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any 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=6 alignment="0" tabsequence=70 border="5" color="33554432" x="611" y="2" height="16" width="80" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="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=7 alignment="0" tabsequence=80 border="5" color="33554432" x="693" y="2" height="16" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="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=9 alignment="0" tabsequence=50 border="5" color="33554432" x="432" y="2" height="16" width="101" format="[general]" html.valueishtml="0" name=gen_shift_hol 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
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_shift_pattern_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=131 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=pattern_code dbname="shift_pattern.pattern_code" )
column=(type=datetime update=yes updatewhereclause=yes name=start_date dbname="shift_pattern.start_date" )
column=(type=char(100) update=yes updatewhereclause=yes name=shift_pattern dbname="shift_pattern.shift_pattern" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=no_of_days dbname="shift_pattern.no_of_days" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="shift_pattern.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="shift_pattern.chg_term" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="shift_pattern.chg_user" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="shift_pattern.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=gen_shift_hol dbname="shift_pattern.gen_shift_hol" initial="N" values="Yes Y/No N/" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"shift_pattern~" ) COLUMN(NAME=~"shift_pattern.pattern_code~") COLUMN(NAME=~"shift_pattern.start_date~") COLUMN(NAME=~"shift_pattern.shift_pattern~") COLUMN(NAME=~"shift_pattern.no_of_days~") COLUMN(NAME=~"shift_pattern.chg_date~") COLUMN(NAME=~"shift_pattern.chg_term~") COLUMN(NAME=~"shift_pattern.chg_user~") COLUMN(NAME=~"shift_pattern.site_code~") COLUMN(NAME=~"shift_pattern.gen_shift_hol~")WHERE( EXP1 =~"SHIFT_PATTERN.PATTERN_CODE~" OP =~"=~" EXP2 =~":as_pattern_code~" ) ) ARG(NAME = ~"as_pattern_code~" TYPE = string) " update="shift_pattern" updatewhere=0 updatekeyinplace=no arguments=(("as_pattern_code", string)) )
text(band=detail alignment="1" text="Start Date:" border="0" color="33554432" x="237" y="10" height="16" width="80" html.valueishtml="0" name=start_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="1" background.color="536870912" )
text(band=detail alignment="1" text="Pattern Code:" border="0" color="33554432" x="34" y="10" height="16" width="81" html.valueishtml="0" name=pattern_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="1" background.color="536870912" )
text(band=detail alignment="1" text="Shift Pattern:" border="0" color="33554432" x="35" y="32" height="16" width="80" html.valueishtml="0" name=shift_pattern_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="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="322" y="10" height="16" width="94" format="dd/mm/yy" html.valueishtml="0" name=start_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=3 alignment="0" tabsequence=30 border="5" color="33554432" x="119" y="32" height="16" width="297" format="[general]" html.valueishtml="0" name=shift_pattern visible="1" edit.limit=100 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=4 alignment="1" tabsequence=32766 border="5" color="33554432" x="119" y="55" height="16" width="53" format="[general]" html.valueishtml="0" name=no_of_days visible="1" edit.limit=3 edit.case=any 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=9 alignment="0" tabsequence=40 border="5" color="33554432" x="350" y="55" height="16" width="66" format="[general]" html.valueishtml="0" name=gen_shift_hol 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Generate Shift On Holiday:" border="0" color="33554432" x="182" y="55" height="16" width="163" html.valueishtml="0" name=gen_shift_hol_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=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="920" y="4" height="19" width="66" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="919" y="26" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_term visible="0" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="919" y="52" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="0" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="119" y="10" height="16" width="66" format="[general]" html.valueishtml="0" name=pattern_code 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="119" y="77" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Number Of Days:" border="0" color="33554432" x="15" y="55" height="16" width="100" html.valueishtml="0" name=no_of_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="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="15" y="77" height="16" width="100" html.valueishtml="0" name=site_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="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
$PBExportHeader$d_shift_pattern_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=131 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=pattern_code dbname="shift_pattern.pattern_code" )
column=(type=datetime update=yes updatewhereclause=yes name=start_date dbname="shift_pattern.start_date" )
column=(type=char(100) update=yes updatewhereclause=yes name=shift_pattern dbname="shift_pattern.shift_pattern" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=no_of_days dbname="shift_pattern.no_of_days" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="shift_pattern.chg_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="shift_pattern.chg_term" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="shift_pattern.chg_user" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="shift_pattern.site_code" )
column=(type=char(1) update=yes updatewhereclause=yes name=gen_shift_hol dbname="shift_pattern.gen_shift_hol" initial="N" values="Yes Y/No N/" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"shift_pattern~" ) COLUMN(NAME=~"shift_pattern.pattern_code~") COLUMN(NAME=~"shift_pattern.start_date~") COLUMN(NAME=~"shift_pattern.shift_pattern~") COLUMN(NAME=~"shift_pattern.no_of_days~") COLUMN(NAME=~"shift_pattern.chg_date~") COLUMN(NAME=~"shift_pattern.chg_term~") COLUMN(NAME=~"shift_pattern.chg_user~") COLUMN(NAME=~"shift_pattern.site_code~") COLUMN(NAME=~"shift_pattern.gen_shift_hol~")WHERE( EXP1 =~"SHIFT_PATTERN.PATTERN_CODE~" OP =~"=~" EXP2 =~":as_pattern_code~" ) ) ARG(NAME = ~"as_pattern_code~" TYPE = string) " update="shift_pattern" updatewhere=0 updatekeyinplace=no arguments=(("as_pattern_code", string)) )
text(band=detail alignment="1" text="Start Date:" border="0" color="33554432" x="237" y="10" height="16" width="80" html.valueishtml="0" name=start_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="1" background.color="536870912" )
text(band=detail alignment="1" text="Pattern Code:" border="0" color="33554432" x="34" y="10" height="16" width="81" html.valueishtml="0" name=pattern_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="1" background.color="536870912" )
text(band=detail alignment="1" text="Shift Pattern:" border="0" color="33554432" x="35" y="32" height="16" width="80" html.valueishtml="0" name=shift_pattern_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="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="322" y="10" height="16" width="94" format="dd/mm/yy" html.valueishtml="0" name=start_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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=3 alignment="0" tabsequence=30 border="5" color="33554432" x="119" y="32" height="16" width="297" format="[general]" html.valueishtml="0" name=shift_pattern visible="1" edit.limit=100 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=4 alignment="1" tabsequence=32766 border="5" color="33554432" x="119" y="55" height="16" width="53" format="[general]" html.valueishtml="0" name=no_of_days visible="1" edit.limit=3 edit.case=any 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=9 alignment="0" tabsequence=40 border="5" color="33554432" x="350" y="55" height="16" width="66" format="[general]" html.valueishtml="0" name=gen_shift_hol 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Generate Shift On Holiday:" border="0" color="33554432" x="182" y="55" height="16" width="163" html.valueishtml="0" name=gen_shift_hol_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=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="920" y="4" height="19" width="66" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="919" y="26" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_term visible="0" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="919" y="52" height="19" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="0" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="119" y="10" height="16" width="66" format="[general]" html.valueishtml="0" name=pattern_code 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="119" y="77" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Number Of Days:" border="0" color="33554432" x="15" y="55" height="16" width="100" html.valueishtml="0" name=no_of_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="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="15" y="77" height="16" width="100" html.valueishtml="0" name=site_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="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
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