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; ...@@ -5,7 +5,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import javax.ejb.Stateless; //import javax.ejb.Stateless;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;
...@@ -13,55 +13,69 @@ import org.w3c.dom.NodeList; ...@@ -13,55 +13,69 @@ import org.w3c.dom.NodeList;
import ibase.utility.CommonConstants; import ibase.utility.CommonConstants;
import ibase.utility.E12GenericUtility; import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.sys.UtilMethods; import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
@Stateless //@Stateless
public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal
{
public String itemChanged() throws RemoteException, ITMException { public String itemChanged() throws RemoteException, ITMException
{
return ""; return "";
} }
public String itemChanged(String xmlString, String xmlString1, public String itemChanged(String xmlString, String xmlString1,
String xmlString2, String objContext, String currentColumn, String xmlString2, String objContext, String currentColumn,
String editFlag, String xtraParams) throws RemoteException, String editFlag, String xtraParams) throws RemoteException,ITMException
ITMException { {
Document dom1 = null; Document dom1 = null;
Document dom = null; Document dom = null;
Document dom2 = null; Document dom2 = null;
String valueXmlString = ""; String valueXmlString = "";
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
try { try
if (xmlString != null && xmlString.trim().length() != 0) { {
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString); dom = genericUtility.parseString(xmlString);
} }
if (xmlString1 != null && xmlString1.trim().length() != 0) { if (xmlString1 != null && xmlString1.trim().length() != 0)
{
dom1 = genericUtility.parseString(xmlString1); dom1 = genericUtility.parseString(xmlString1);
} }
if (xmlString2 != null && xmlString2.trim().length() != 0) { if (xmlString2 != null && xmlString2.trim().length() != 0)
{
dom2 = genericUtility.parseString(xmlString2); dom2 = genericUtility.parseString(xmlString2);
} }
valueXmlString = itemChanged(dom, dom1, dom2, objContext, valueXmlString = itemChanged(dom, dom1, dom2, objContext,
currentColumn, editFlag, xtraParams); currentColumn, editFlag, xtraParams);
} catch (Exception e) { }
catch (Exception e)
{
System.out.println("Exception :DeptIC :itemChanged(String,String):"+ e.getMessage() + ":"); System.out.println("Exception :DeptIC :itemChanged(String,String):"+ e.getMessage() + ":");
valueXmlString = genericUtility.createErrorString(e); valueXmlString = genericUtility.createErrorString(e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e);
} }
System.out.println("returning from DeptIC itemChanged"); System.out.println("returning from DeptIC itemChanged");
return (valueXmlString); return valueXmlString;
} }
public String itemChanged(Document dom, Document dom1, Document dom2, public String itemChanged(Document dom, Document dom1, Document dom2,
String objContext, String currentColumn, String editFlag, String objContext, String currentColumn, String editFlag,
String xtraParams) throws RemoteException, ITMException { String xtraParams) throws RemoteException, ITMException
String colName = " ", mcode = " ", mdescr = " ", mdescr1 = " ", err = " "; {
String deptCodeParent = " ", deptCode = " "; //String mcode = " ";
colName = currentColumn; //String mdescr = " ";
//String mdescr1 = " ";
//String err = " ";
String deptCodeParent = " ";
String deptCode = " ";
//String colName = " ";
//colName = currentColumn;
Connection connectionObject = null; Connection connectionObject = null;
int currentFormNo = 0; int currentFormNo = 0;
StringBuffer valueXmlString = null; StringBuffer valueXmlString = null;
...@@ -69,12 +83,33 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -69,12 +83,33 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
String sql = " "; 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(); E12GenericUtility genericUtility = new E12GenericUtility();
try { try
{
System.out.println("currentFormNo...." + currentFormNo); System.out.println("currentFormNo...." + currentFormNo);
connectionObject = getConnection(); connectionObject = getConnection();
if (objContext != null && objContext.trim().length() > 0) { if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
} }
...@@ -82,23 +117,32 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -82,23 +117,32 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
valueXmlString.append(editFlag).append("</editFlag>\r\n</Header>\r\n"); valueXmlString.append(editFlag).append("</editFlag>\r\n</Header>\r\n");
System.out.println("current form no: " + currentFormNo); System.out.println("current form no: " + currentFormNo);
switch (currentFormNo) { switch (currentFormNo)
{
case 1: case 1:
System.out.println("Case1"); System.out.println("Case1");
valueXmlString.append("<Detail1>\r\n"); valueXmlString.append("<Detail1>\r\n");
if (currentColumn.trim().equals("dept_head")) if (currentColumn.trim().equals("dept_head"))
{ {
mcode = genericUtility.getColumnValue("dept_head", dom); // Modified by Yashwant on 24/06/2019.Start
if(mcode !=null && mcode.length()>0) 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 = ?"; sql = "Select emp_fname, emp_lname from employee where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) if (resultSet.next())
{ {
mdescr = resultSet.getString("emp_fname"); // Modified by Yashwant on 24/06/2019.Start
mdescr1 = resultSet.getString("emp_lname"); //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) if (resultSet != null)
{ {
...@@ -111,22 +155,30 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -111,22 +155,30 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null; pstmt = null;
} }
} }
valueXmlString.append("<emp_fname>").append(mdescr).append("</emp_fname>\r\n"); valueXmlString.append("<emp_fname>").append(empFname).append("</emp_fname>\r\n");
valueXmlString.append("<emp_lname>").append(mdescr1).append("</emp_lname>\r\n"); valueXmlString.append("<emp_lname>").append(empLname).append("</emp_lname>\r\n");
} }
else if (currentColumn.trim().equals("dept_head_1")) else if (currentColumn.trim().equals("dept_head_1"))
{ {
mcode = genericUtility.getColumnValue("dept_head_1", dom); // Modified by Yashwant on 24/06/2019.Start
if(mcode != null && mcode.length()>0) 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 = ?"; sql = "Select emp_fname, emp_lname from employee where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) if (resultSet.next())
{ {
mdescr = resultSet.getString("emp_fname"); // Modified by Yashwant on 24/06/2019.Start
mdescr1 = resultSet.getString("emp_lname"); //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) if (resultSet != null)
{ {
...@@ -139,21 +191,28 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -139,21 +191,28 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null; pstmt = null;
} }
} }
valueXmlString.append("<emp_fname_1>").append(mdescr).append("</emp_fname_1>\r\n"); valueXmlString.append("<emp_fname_1>").append(empFname).append("</emp_fname_1>\r\n");
valueXmlString.append("<emp_lname_1>").append(mdescr1).append("</emp_lname_1>\r\n"); valueXmlString.append("<emp_lname_1>").append(empLname).append("</emp_lname_1>\r\n");
} }
else if (currentColumn.trim().equals("acct_code")) else if (currentColumn.trim().equals("acct_code"))
{ {
mcode = genericUtility.getColumnValue("acct_code", dom); // Modified by Yashwant on 24/06/2019.Start
if(mcode != null && mcode.length()>0) 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 = ?"; sql = "select descr from accounts where acct_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) if (resultSet != null)
{ {
...@@ -166,22 +225,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -166,22 +225,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null; 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")) else if (currentColumn.trim().equals("cctr_code"))
{ {
mcode = genericUtility.getColumnValue("cctr_code", dom); // Modified by Yashwant on 24/06/2019.Start
if(mcode != null && mcode.length()>0 ) 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 = ?"; sql = "select descr from costctr where cctr_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) if (resultSet != null)
{ {
...@@ -194,22 +260,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -194,22 +260,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null; 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")) else if (currentColumn.trim().equals("acct_code__ap"))
{ {
mcode = genericUtility.getColumnValue("acct_code__ap", dom); // Modified by Yashwant on 24/06/2019.Start
if(mcode !=null && mcode.length()>0) 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 = ?"; sql = "select descr from accounts where acct_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) if (resultSet != null)
{ {
...@@ -222,21 +295,28 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -222,21 +295,28 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null; 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")) else if (currentColumn.trim().equals("cctr_code__ap"))
{ {
mcode = genericUtility.getColumnValue("cctr_code__ap", dom); // Modified by Yashwant on 24/06/2019.Start
if(mcode!=null && mcode.length()>0) 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 = ?"; sql = "select descr from costctr where cctr_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) if (resultSet != null)
{ {
...@@ -249,14 +329,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -249,14 +329,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null; 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")) else if (currentColumn.trim().equals("dept_code"))
{ {
System.out.println("dept_code>>>"); System.out.println("dept_code>>>");
deptCode = genericUtility.getColumnValue("dept_code", dom); // Modified by Yashwant on 24/06/2019.Start
deptCodeParent = genericUtility.getColumnValue("dept_code__parent", dom); 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)) 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"); 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 { ...@@ -269,36 +351,46 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if (currentColumn.trim().equals("descr")) else if (currentColumn.trim().equals("descr"))
{ {
deptCode = genericUtility.getColumnValue("dept_code", dom); // Modified by Yashwant on 24/06/2019.Start
deptCodeParent = genericUtility.getColumnValue("dept_code__parent", dom); deptCode = checkNull(genericUtility.getColumnValue("dept_code", dom));
mdescr = genericUtility.getColumnValue("descr", 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()))) 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{ 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")) else if (currentColumn.trim().equals("dept_code__parent"))
{ {
deptCodeParent = genericUtility.getColumnValue("dept_code__parent", dom); // Modified by Yashwant on 24/06/2019.Start
mdescr = ""; deptCodeParent = checkNull(genericUtility.getColumnValue("dept_code__parent", dom));
if (deptCodeParent != null && deptCodeParent.trim().length() > 0) 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())) if (!deptCodeParent.trim().equalsIgnoreCase(deptCode.trim()))
{ {
sql = "select FN_GET_DEPT_DESCR(?) from dual"; sql = "select FN_GET_DEPT_DESCR(?) from dual";
pstmt = connectionObject.prepareStatement(sql); pstmt = connectionObject.prepareStatement(sql);
// Modified by Yashwant on 24/06/2019.Start
pstmt.setString(1, deptCodeParent); pstmt.setString(1, deptCodeParent);
// Modified by Yashwant on 24/06/2019.End
resultSet = pstmt.executeQuery(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) if (resultSet != null)
{ {
...@@ -314,27 +406,35 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -314,27 +406,35 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
else 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")) else if (currentColumn.trim().equals("bu_code"))
{ {
mcode = genericUtility.getColumnValue("bu_code", dom); // Modified by Yashwant on 24/06/2019.Start
mdescr = ""; buCode = checkNull(genericUtility.getColumnValue("bu_code", dom));
System.out.println("mcode bu_code==="+mcode); System.out.println("mcode bu_code==="+buCode);
if (mcode != null && mcode.trim().length() > 0) if (buCode != null && buCode.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{ {
sql = "select FN_GET_BUCODE_DESCR(?) from dual"; sql = "select FN_GET_BUCODE_DESCR(?) from dual";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) if (resultSet != null)
{ {
...@@ -348,23 +448,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -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")) else if (currentColumn.trim().equals("func_code"))
{ {
mcode = genericUtility.getColumnValue("func_code", dom); // Modified by Yashwant on 24/06/2019.Start
mdescr = ""; funcCode = checkNull(genericUtility.getColumnValue("func_code", dom));
System.out.println("mcode func_code"+mcode); System.out.println("mcode func_code"+funcCode);
if (mcode != null && mcode.trim().length() > 0) // Modified by Yashwant on 24/06/2019.End
if (funcCode != null && funcCode.trim().length() > 0)
{ {
sql = "select FN_GET_BUFUNC_DESCR(?) from dual"; sql = "select FN_GET_BUFUNC_DESCR(?) from dual";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) { if (resultSet != null) {
resultSet.close(); resultSet.close();
...@@ -375,23 +481,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -375,23 +481,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null; 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")) else if (currentColumn.trim().equals("emp_code__funchead"))
{ {
mcode = genericUtility.getColumnValue("emp_code__funchead",dom); // Modified by Yashwant on 24/06/2019.Start
mdescr = ""; empCodeFunchead = checkNull(genericUtility.getColumnValue("emp_code__funchead",dom));
System.out.println("mcode emp_code__funchead"+mcode); System.out.println("mcode emp_code__funchead"+empCodeFunchead);
if (mcode != null && mcode.trim().length() > 0) if (empCodeFunchead != null && empCodeFunchead.trim().length() > 0)
// Modified by Yashwant on 24/06/2019.End
{ {
sql = "select FN_GET_EMP_NAME(?,'X') from dual"; sql = "select FN_GET_EMP_NAME(?,'X') from dual";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) if (resultSet != null)
{ {
...@@ -405,24 +517,29 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -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")) else if (currentColumn.trim().equals("item_ser"))
{ {
// Modified by Yashwant on 24/06/2019.Start
mcode = genericUtility.getColumnValue("item_ser", dom); itemSer = checkNull(genericUtility.getColumnValue("item_ser", dom));
mdescr = ""; System.out.println("mcode item_ser"+itemSer);
System.out.println("mcode item_ser"+mcode); if (itemSer != null && itemSer.trim().length() > 0)
if (mcode != null && mcode.trim().length() > 0) // Modified by Yashwant on 24/06/2019.End
{ {
sql = "select descr from itemser where item_ser = ?"; sql = "select descr from itemser where item_ser = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) 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) if (resultSet != null)
{ {
...@@ -435,7 +552,7 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -435,7 +552,7 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
pstmt = null; 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"); valueXmlString.append("</Detail1>\r\n");
break; break;
...@@ -446,26 +563,36 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -446,26 +563,36 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
valueXmlString.delete(0, valueXmlString.length()); valueXmlString.delete(0, valueXmlString.length());
valueXmlString = valueXmlString.append(genericUtility.createErrorString(e)); valueXmlString = valueXmlString.append(genericUtility.createErrorString(e));
e.printStackTrace(); e.printStackTrace();
} finally { throw new ITMException(e);
try {
if (connectionObject != null) { }
if (pstmt != null) finally
{ {
pstmt.close(); // Modified by Yashwant on 24/06/2019.Start
pstmt = null; try
} {
if (resultSet != null) if (resultSet != null)
{ {
resultSet.close(); resultSet.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (connectionObject != null)
{
connectionObject.close(); connectionObject.close();
connectionObject = null; connectionObject = null;
} }
} catch (Exception e) }
catch (Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e);
} }
// Modified by Yashwant on 24/06/2019.End
} }
System.out.println("\n****ValueXmlString :" + valueXmlString + ":********"); System.out.println("\n****ValueXmlString :" + valueXmlString + ":********");
return valueXmlString.toString(); return valueXmlString.toString();
...@@ -479,7 +606,8 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -479,7 +606,8 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
public String wfValData(String xmlString, String xmlString1, public String wfValData(String xmlString, String xmlString1,
String xmlString2, String objContext, String editFlag, String xmlString2, String objContext, String editFlag,
String xtraParams) throws RemoteException, String xtraParams) throws RemoteException,
ITMException { ITMException
{
System.out.println(xmlString); System.out.println(xmlString);
Document dom = null; Document dom = null;
...@@ -488,26 +616,31 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -488,26 +616,31 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
String errString = null; String errString = null;
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
try { try
if (xmlString != null && xmlString.trim().length() != 0) { {
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString); dom = genericUtility.parseString(xmlString);
System.out.println("Print dom>>>> "+dom); System.out.println("Print dom>>>> "+dom);
} }
if (xmlString1 != null && xmlString1.trim().length() != 0) { if (xmlString1 != null && xmlString1.trim().length() != 0)
{
dom1 = genericUtility.parseString(xmlString1); dom1 = genericUtility.parseString(xmlString1);
} }
if (xmlString2 != null && xmlString2.trim().length() != 0) { if (xmlString2 != null && xmlString2.trim().length() != 0)
{
dom2 = genericUtility.parseString(xmlString2); dom2 = genericUtility.parseString(xmlString2);
} }
errString = wfValData(dom, dom1, dom2, objContext, editFlag, errString = wfValData(dom, dom1, dom2, objContext, editFlag,
xtraParams); xtraParams);
System.out.println("ErrString :" + errString); System.out.println("ErrString :" + errString);
} catch (Exception e) { }
System.out catch (Exception e)
.println("Exception :DeptIC :wfValData(String xmlString):" {
+ e.getMessage() + ":"); System.out.println("Exception :DeptIC :wfValData(String xmlString):"+ e.getMessage() + ":");
errString = genericUtility.createErrorString(e); errString = genericUtility.createErrorString(e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e);
} }
System.out.println("returning from DeptIC wfvaldata"); System.out.println("returning from DeptIC wfvaldata");
return errString; return errString;
...@@ -516,10 +649,11 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -516,10 +649,11 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
public String wfValData(Document dom, Document dom1, Document dom2, public String wfValData(Document dom, Document dom1, Document dom2,
String objContext, String editFlag, String xtraParams) String objContext, String editFlag, String xtraParams)
throws RemoteException, ITMException { throws RemoteException, ITMException
boolean checkNextCol = true; {
/*boolean checkNextCol = true;
String columnName = ""; String columnName = "";
String columnValue = ""; String columnValue = "";*/
String userId = ""; String userId = "";
String sql = ""; String sql = "";
String errString = ""; String errString = "";
...@@ -535,54 +669,84 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -535,54 +669,84 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
int noOfChilds = 0; int noOfChilds = 0;
int currentFormNo = 0; int currentFormNo = 0;
int cnt = 0; int cnt = 0;
String mVal = ""; //String mVal="";
String mVal1 = ""; //String mVal1 = "";
String mVal2 = ""; //String mVal2 = "";
String status="";
java.sql.Timestamp mdate1 = null; java.sql.Timestamp mdate1 = null;
java.sql.Timestamp mdate2 = null; //java.sql.Timestamp mdate2 = null;
String deptCodeParent = ""; String deptCodeParent = "";
String deptCode = ""; 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(); E12GenericUtility genericUtility = new E12GenericUtility();
UtilMethods utilmethod = new UtilMethods(); UtilMethods utilmethod = new UtilMethods();
try { try
{
connectionObject = getConnection(); 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"); System.out.println("Line no--468");
if(objContext != null && objContext.trim().length() > 0) { if(objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
} }
parentList = dom.getElementsByTagName("Detail" + currentFormNo); parentList = dom.getElementsByTagName("Detail" + currentFormNo);
parentNode = parentList.item(0); parentNode = parentList.item(0);
childList = parentNode.getChildNodes(); childList = parentNode.getChildNodes();
noOfChilds = childList.getLength(); noOfChilds = childList.getLength();
System.out.println("noOfChilds--->>>"+noOfChilds); 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); childNode = childList.item(counter);
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
System.out.println("childNodeName>>>>>"+childNodeName); System.out.println("childNodeName>>>>>"+childNodeName);
System.out.println("childNode>>>>>>"+childNode); System.out.println("childNode>>>>>>"+childNode);
System.out.println("counter>>>"+counter); System.out.println("counter>>>"+counter);
switch (currentFormNo) { switch (currentFormNo)
{
case 1: case 1:
if(childNodeName.equals("dept_code")) 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); System.out.println("EditFlag--------"+editFlag);
if("A".equalsIgnoreCase(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 else
{ {
sql = "select count(*) as cnt from department where dept_code = ?"; sql = "select count(*) as cnt from department where dept_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if(resultSet.next()) if(resultSet.next())
{ {
...@@ -590,13 +754,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -590,13 +754,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt > 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
...@@ -606,21 +774,27 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -606,21 +774,27 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("descr")) else if(childNodeName.equalsIgnoreCase("descr"))
{ {
System.out.println("line --509"); System.out.println("line --509");
mVal = genericUtility.getColumnValue("descr", dom); // Modified by Yashwant on 25/06/2019.Start
if(mVal == null || mVal.length() == 0) 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")) else if(childNodeName.equalsIgnoreCase("dept_head"))
{ {
System.out.println("line--515"); System.out.println("line--515");
mVal = genericUtility.getColumnValue("dept_head", dom); // Modified by Yashwant on 25/06/2019.Start
if(mVal != null && mVal.trim().length() != 0) 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 = ?"; sql = "select count(*) as cnt from employee where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if(resultSet.next()) if(resultSet.next())
{ {
...@@ -628,13 +802,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -628,13 +802,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
...@@ -643,12 +821,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -643,12 +821,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("dept_head_1")) else if(childNodeName.equalsIgnoreCase("dept_head_1"))
{ {
System.out.println("line--530"); System.out.println("line--530");
mVal = genericUtility.getColumnValue("dept_head_1", dom); // Modified by Yashwant on 25/06/2019.Start
if(mVal != null && mVal.trim().length() != 0) 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 =?"; sql = "select count(*) as cnt from employee where emp_code =?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if(resultSet.next()) if(resultSet.next())
{ {
...@@ -656,13 +838,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -656,13 +838,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
...@@ -671,12 +857,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -671,12 +857,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("acct_code")) else if(childNodeName.equalsIgnoreCase("acct_code"))
{ {
System.out.println("line --545"); System.out.println("line --545");
mVal = genericUtility.getColumnValue("acct_code", dom); // Modified by Yashwant on 25/06/2019.Start
//if(mVal != null && mVal.trim().length()>0) 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 = ?"; sql = "select count(*) as cnt from accounts where acct_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if(resultSet.next()) if(resultSet.next())
{ {
...@@ -684,27 +874,35 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -684,27 +874,35 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
//} }
} }
else if(childNodeName.equalsIgnoreCase("cctr_code")) else if(childNodeName.equalsIgnoreCase("cctr_code"))
{ {
System.out.println("line --558"); System.out.println("line --558");
mVal = genericUtility.getColumnValue("cctr_code", dom); // Modified by Yashwant on 25/06/2019.Start
if(mVal !=null && mVal.trim().length() != 0) 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 = ?"; sql = "select count(*) as cnt from costctr where cctr_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) if (resultSet.next())
{ {
...@@ -712,13 +910,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -712,13 +910,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if (cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
...@@ -727,12 +929,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -727,12 +929,16 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("pay_table")) else if(childNodeName.equalsIgnoreCase("pay_table"))
{ {
System.out.println("573"); System.out.println("573");
mVal = genericUtility.getColumnValue("pay_table", dom); // Modified by Yashwant on 25/06/2019.Start
if(mVal !=null && mVal.trim().length() != 0) 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 = ?"; sql = "select count(*) as cnt from paytable where pay_table = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if(resultSet.next()) if(resultSet.next())
{ {
...@@ -740,13 +946,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -740,13 +946,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
...@@ -755,29 +965,40 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -755,29 +965,40 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("dept_code__parent")) else if(childNodeName.equalsIgnoreCase("dept_code__parent"))
{ {
System.out.println("line 589"); 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; cnt = 0;
if(deptCodeParent != null && deptCodeParent.trim().length() > 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)) if(!deptCodeParent.trim().equalsIgnoreCase(deptCode))
{ {
sql = "select count(1) as cnt from department where dept_code = ?"; sql = "select count(1) as cnt from department where dept_code = ?";
pstmt = connectionObject.prepareStatement(sql); pstmt = connectionObject.prepareStatement(sql);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, deptCodeParent); pstmt.setString(1, deptCodeParent);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery(); resultSet = pstmt.executeQuery();
if(resultSet.next()){ if(resultSet.next())
{
cnt = resultSet.getInt("cnt"); cnt = resultSet.getInt("cnt");
} }
if(cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
...@@ -788,13 +1009,14 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -788,13 +1009,14 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
cnt = 0; cnt = 0;
if(CommonConstants.DB_NAME.equalsIgnoreCase("ORACLE")) if(CommonConstants.DB_NAME.equalsIgnoreCase("ORACLE"))
{ {
sql = "select count(1) as cnt from DUAL where ? in " sql = "select count(1) as cnt from DUAL where ? in "
+ " (select dept_code from department where dept_code <> dept_code__parent " + " (select dept_code from department where dept_code <> dept_code__parent "
+ " start with dept_code =? connect by prior dept_code = dept_code__parent) "; + " start with dept_code =? connect by prior dept_code = dept_code__parent) ";
pstmt = connectionObject.prepareStatement(sql); pstmt = connectionObject.prepareStatement(sql);
// Modified by Yashwant on 25/06/2019.Start
pstmt.setString(1, deptCodeParent); pstmt.setString(1, deptCodeParent);
pstmt.setString(2, mVal); pstmt.setString(2, deptCode);
// Modified by Yashwant on 25/06/2019.End
resultSet = pstmt.executeQuery(); resultSet = pstmt.executeQuery();
if(resultSet.next()) if(resultSet.next())
{ {
...@@ -802,35 +1024,44 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -802,35 +1024,44 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt > 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
} }
} }
} }
else 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")) else if(childNodeName.equalsIgnoreCase("bu_code"))
{ {
System.out.println("line--639"); 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; 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 = ?"; sql = "select count(1) as cnt from business_units where bu_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) if (resultSet.next())
{ {
...@@ -838,13 +1069,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -838,13 +1069,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if (cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
...@@ -853,13 +1088,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -853,13 +1088,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("func_code")) else if(childNodeName.equalsIgnoreCase("func_code"))
{ {
System.out.println("line --662"); 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; 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 = ?"; sql = "select count(1) as cnt from BUSI_FUNCTIONS where func_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) if (resultSet.next())
{ {
...@@ -867,13 +1106,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -867,13 +1106,17 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
...@@ -882,16 +1125,21 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -882,16 +1125,21 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
else if(childNodeName.equalsIgnoreCase("emp_code__funchead")) else if(childNodeName.equalsIgnoreCase("emp_code__funchead"))
{ {
System.out.println("line--679"); 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; cnt = 0;
mVal1 = ""; status = "";
mdate1 = null; mdate1 = null;
// Modified by Yashwant on 25/06/2019.Start
if(mVal != null && mVal.length() > 0) 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 = ?"; sql = "select count(1) as cnt from EMPLOYEE where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if(resultSet.next()) if(resultSet.next())
{ {
...@@ -899,58 +1147,85 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -899,58 +1147,85 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt == 0) 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 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 = ?"; sql = "select status, relieve_date from EMPLOYEE where emp_code = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if(resultSet.next()) 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"); 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()))) 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); System.out.println("relieve_date line 835>>>>"+mdate1);
} }
if (resultSet != null) { if (resultSet != null)
{
resultSet.close(); resultSet.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
} }
if (resultSet != null) { if (resultSet != null)
{
resultSet.close(); resultSet.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
} }
} }
else if(childNodeName.equalsIgnoreCase("item_ser")) else if(childNodeName.equalsIgnoreCase("item_ser"))
{ {
System.out.println("line--723"); System.out.println("line--723");
mVal = genericUtility.getColumnValue("item_ser", dom); // Modified by Yashwant on 25/06/2019.Start
if(mVal != null && mVal.length()>0) itemSer = checkNull(genericUtility.getColumnValue("item_ser", dom));
if(itemSer != null && itemSer.trim().length()>0)
// Modified by Yashwant on 25/06/2019.End
{ {
cnt = 0; cnt = 0;
sql = "select count(1) as cnt from itemser where item_ser = ?"; sql = "select count(1) as cnt from itemser where item_ser = ?";
pstmt = connectionObject.prepareStatement(sql); 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(); resultSet = pstmt.executeQuery();
if (resultSet.next()) if (resultSet.next())
{ {
...@@ -958,52 +1233,71 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal { ...@@ -958,52 +1233,71 @@ public class DeptIC extends ValidatorEJB implements DeptICRemote, DeptICLocal {
} }
if(cnt == 0) 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.close();
resultSet = null; resultSet = null;
} }
if (pstmt != null) { if (pstmt != null)
{
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
} }
} }
} }
} }
} catch (Exception e) }
catch (Exception e)
{ {
System.out.println("Exception :DeptIC :wfValData(Document,String):"+ e.getMessage() + ":"); System.out.println("Exception :DeptIC :wfValData(Document,String):"+ e.getMessage() + ":");
e.printStackTrace(); e.printStackTrace();
}finally throw new ITMException(e);
}
finally
{ {
// Modified by Yashwant on 25/06/2019.Start
try try
{ {
if (connectionObject != null) if (resultSet != null)
{ {
if (resultSet != null) { resultSet.close();
resultSet.close(); resultSet = null;
resultSet = null; }
} if (pstmt != null)
{
if (pstmt != null) pstmt.close();
{ pstmt = null;
pstmt.close(); }
pstmt = null; if (connectionObject != null)
} {
connectionObject.close(); connectionObject.close();
connectionObject = null; connectionObject = null;
} }
// Modified by Yashwant on 25/06/2019.End
} }
catch (Exception e) catch (Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e);
} }
} }
return errString; 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; package ibase.webitm.ejb.adm;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.util.*; import java.sql.Connection;
import org.w3c.dom.*; import java.sql.PreparedStatement;
import javax.ejb.*; import java.sql.ResultSet;
import javax.naming.InitialContext; import java.sql.Statement;
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.*;
// Changed by Dhiraj 07/10/10 [AD01SUN008] // Changed by Dhiraj 07/10/10 [AD01SUN008]
import java.text.SimpleDateFormat; 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 public class ShiftPattern extends ValidatorEJB implements ShiftPatternLocal,ShiftPatternRemote //SessionBean
{ {
...@@ -35,20 +40,23 @@ public String wfValData() throws RemoteException,ITMException ...@@ -35,20 +40,23 @@ public String wfValData() throws RemoteException,ITMException
System.out.println("xmlString : " + xmlString); System.out.println("xmlString : " + xmlString);
System.out.println("xmlString1 : " + xmlString1); System.out.println("xmlString1 : " + xmlString1);
System.out.println("xmlString2 : " + xmlString2); 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 try
{ {
if(xmlString != null && xmlString.trim().length()!=0) if(xmlString != null && xmlString.trim().length()!=0)
{ {
dom = genericUtility.parseString(xmlString); dom = e12GenericUtility.parseString(xmlString);
} }
if(xmlString1 != null && xmlString1.trim().length()!=0) if(xmlString1 != null && xmlString1.trim().length()!=0)
{ {
dom1 = genericUtility.parseString(xmlString1); dom1 = e12GenericUtility.parseString(xmlString1);
} }
if(xmlString2 != null && xmlString2.trim().length()!=0) if(xmlString2 != null && xmlString2.trim().length()!=0)
{ {
dom2 = genericUtility.parseString(xmlString2); dom2 = e12GenericUtility.parseString(xmlString2);
} }
errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams); errString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
System.out.println("ErrString :" + errString); System.out.println("ErrString :" + errString);
...@@ -56,8 +64,9 @@ public String wfValData() throws RemoteException,ITMException ...@@ -56,8 +64,9 @@ public String wfValData() throws RemoteException,ITMException
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception :ShiftPatternEJB :wfValData(String xmlString):" + e.getMessage() + ":"); System.out.println("Exception :ShiftPatternEJB :wfValData(String xmlString):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e); errString = e12GenericUtility.createErrorString(e);
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e);
} }
System.out.println("returning from ShiftPatternEJB wfValData"); System.out.println("returning from ShiftPatternEJB wfValData");
return (errString); return (errString);
...@@ -73,13 +82,9 @@ public String wfValData() throws RemoteException,ITMException ...@@ -73,13 +82,9 @@ public String wfValData() throws RemoteException,ITMException
String columnValue1 = ""; String columnValue1 = "";
String userId = ""; String userId = "";
String sql = ""; String sql = "";
String sql2 = "";
String errString = ""; String errString = "";
Connection connectionObject = null; PreparedStatement pstmt = null;
Statement stmt = null;
Statement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
ResultSet rs2 = null;
String returnValue = ""; String returnValue = "";
String returnValue2 = ""; String returnValue2 = "";
java.util.Date returnDate = null; java.util.Date returnDate = null;
...@@ -100,14 +105,22 @@ public String wfValData() throws RemoteException,ITMException ...@@ -100,14 +105,22 @@ public String wfValData() throws RemoteException,ITMException
int count = 0; int count = 0;
int noOfChilds = 0; int noOfChilds = 0;
int currentFormNo = 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; ITMDBAccessLocal itmDBAccessLocal = null;
//ITMDBAccess itmDBAccess = null;//commented for ejb3 //ITMDBAccess itmDBAccess = null;//commented for ejb3
ITMDBAccessEJB itmDBAccess = null; // added for ejb3 ITMDBAccessEJB itmDBAccess = null; // added for ejb3
itmDBAccess = new ITMDBAccessEJB();
try 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 // Changed by Dhiraj 07/10/10 [AD01SUN008]. start
/*AppConnectParm appConnect = new AppConnectParm(); /*AppConnectParm appConnect = new AppConnectParm();
Properties p = appConnect.getProperty(); Properties p = appConnect.getProperty();
...@@ -121,9 +134,9 @@ public String wfValData() throws RemoteException,ITMException ...@@ -121,9 +134,9 @@ public String wfValData() throws RemoteException,ITMException
/*connectionObject = itmDBAccessLocal.getConnection(); //added for ejb3 /*connectionObject = itmDBAccessLocal.getConnection(); //added for ejb3
stmt = connectionObject.createStatement(); stmt = connectionObject.createStatement();
*/ */
stmt = conn.createStatement(); //stmt = conn.createStatement();
// Changed by Dhiraj 07/10/10 [AD01SUN008] end // 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) if(objContext != null && objContext.trim().length()>0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
...@@ -132,55 +145,80 @@ public String wfValData() throws RemoteException,ITMException ...@@ -132,55 +145,80 @@ public String wfValData() throws RemoteException,ITMException
parentNode = parentList.item(0); parentNode = parentList.item(0);
childList = parentNode.getChildNodes(); childList = parentNode.getChildNodes();
noOfChilds = childList.getLength(); noOfChilds = childList.getLength();
for(ctr = 0; ctr < noOfChilds; ctr++) for(ctr = 0; ctr < noOfChilds; ctr++)
{ {
childNode = childList.item(ctr); childNode = childList.item(ctr);
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
if (childNodeName.equals("shift_pattern")) 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] //Changed by Dhiraj 07/10/10 [AD01SUN008]
//errString = itmDBAccess.getErrorString("shift_pattern","VTSPCANT",userId,errString,connectionObject); //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 else
{ {
shiftPattern = childNode.getFirstChild().getNodeValue(); //shiftPattern = childNode.getFirstChild().getNodeValue();
System.out.println("shiftPattern :---------------------"+shiftPattern); System.out.println("shiftPattern :---------------------"+shiftPattern);
dayslist = GenericUtility.getInstance().getTokenList(shiftPattern, ";"); dayslist = e12GenericUtility.getTokenList(shiftPattern, ";");
System.out.println("--------------------dayslist="+dayslist.size()); 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(); String strDaysList =dayslist.get(ctr1).toString();
int index = strDaysList.indexOf('-'); int index = strDaysList.indexOf('-');
dayslist2 = strDaysList.substring(index+1,strDaysList.length()); dayslist2 = strDaysList.substring(index+1,strDaysList.length());
System.out.println(dayslist2); 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); 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+"' " +"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); System.out.println("sql :"+sql);
st = conn.createStatement(); //st = conn.createStatement();
rs = st.executeQuery(sql); //rs = st.executeQuery(sql);
//Modified by Yashwant on 09/07/2019[End]
if(rs.next()) if(rs.next())
{ {
count = rs.getInt(1); 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); System.out.println("count :---------------------"+count);
if (count == 0) if (count == 0)
{ {
//Changed by Dhiraj 07/10/10 [AD01SUN008] //Changed by Dhiraj 07/10/10 [AD01SUN008]
//errString = itmDBAccess.getErrorString("shift_pattern","VTWSNOTM",userId,errString,connectionObject); //errString = itmDBAccess.getErrorString("shift_pattern","VTWSNOTM",userId,errString,connectionObject);
errString = getErrorString("shift_pattern","VTWSNOTM",userId); errString = getErrorString("shift_pattern","VTWSNOTM",userId);
errString=itmDBAccess.getErrorString("shift_pattern", "VTWSNOTM", userId,"", conn);
} }
} }
} }
} }
} }
...@@ -188,8 +226,9 @@ public String wfValData() throws RemoteException,ITMException ...@@ -188,8 +226,9 @@ public String wfValData() throws RemoteException,ITMException
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception :ShiftPatternEJB :wfValData(Document dom):" + e.getMessage() + ":"); System.out.println("Exception :ShiftPatternEJB :wfValData(Document dom):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e); errString = e12GenericUtility.createErrorString(e);
e.printStackTrace(); 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 // 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 finally
...@@ -201,26 +240,11 @@ public String wfValData() throws RemoteException,ITMException ...@@ -201,26 +240,11 @@ public String wfValData() throws RemoteException,ITMException
rs.close(); rs.close();
rs = null; rs = null;
} }
if (rs2 != null)
{
rs2.close();
rs2 = null;
}
if (st != null)
{
st.close();
st = null;
}
if (pstmt != null) if (pstmt != null)
{ {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
if (stmt != null)
{
stmt.close();
stmt = null;
}
if (conn != null) if (conn != null)
{ {
conn.close(); conn.close();
...@@ -230,7 +254,7 @@ public String wfValData() throws RemoteException,ITMException ...@@ -230,7 +254,7 @@ public String wfValData() throws RemoteException,ITMException
catch(Exception e1) catch(Exception e1)
{ {
System.out.println("Exception during closing the connections :ShiftPatternEJB :wfValData(Document dom):" + e1.getMessage() + ":"); System.out.println("Exception during closing the connections :ShiftPatternEJB :wfValData(Document dom):" + e1.getMessage() + ":");
errString = genericUtility.createErrorString(e1); errString = e12GenericUtility.createErrorString(e1);
e1.printStackTrace(); e1.printStackTrace();
} }
} }
...@@ -250,28 +274,33 @@ public String wfValData() throws RemoteException,ITMException ...@@ -250,28 +274,33 @@ public String wfValData() throws RemoteException,ITMException
Document dom2 = null; Document dom2 = null;
String valueXmlString = ""; 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 try
{ {
System.out.println("xmlString :"+xmlString+ "\n xmlString1 :"+xmlString1+ " \nxmlString2 :"+xmlString2); System.out.println("xmlString :"+xmlString+ "\n xmlString1 :"+xmlString1+ " \nxmlString2 :"+xmlString2);
if(xmlString != null && xmlString.trim().length()!=0) if(xmlString != null && xmlString.trim().length()!=0)
{ {
dom = genericUtility.parseString(xmlString); dom = e12GenericUtility.parseString(xmlString);
} }
if (xmlString1 != null && xmlString1.trim().length()!=0) if (xmlString1 != null && xmlString1.trim().length()!=0)
{ {
dom1 = genericUtility.parseString(xmlString1); dom1 = e12GenericUtility.parseString(xmlString1);
} }
if (xmlString2 != null && xmlString2.trim().length()!=0) if (xmlString2 != null && xmlString2.trim().length()!=0)
{ {
dom2 = genericUtility.parseString(xmlString2); dom2 = e12GenericUtility.parseString(xmlString2);
} }
valueXmlString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams); valueXmlString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams);
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception :ShiftPatternItmChngEJB :itemChanged(String,String) :==>\n"+e.getMessage()); 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(); return valueXmlString.toString();
} }
...@@ -286,7 +315,7 @@ public String wfValData() throws RemoteException,ITMException ...@@ -286,7 +315,7 @@ public String wfValData() throws RemoteException,ITMException
String site_code = ""; String site_code = "";
String sql = ""; String sql = "";
Connection conn = null; Connection conn = null;
Statement stmt = null; PreparedStatement pstmt=null;
ResultSet rs = null; ResultSet rs = null;
// Changed by Dhiraj 07/10/10 [AD01SUN008].start // Changed by Dhiraj 07/10/10 [AD01SUN008].start
String loginSite = ""; String loginSite = "";
...@@ -295,11 +324,13 @@ public String wfValData() throws RemoteException,ITMException ...@@ -295,11 +324,13 @@ public String wfValData() throws RemoteException,ITMException
// Changed by Dhiraj 07/10/10 [AD01SUN008] .end // Changed by Dhiraj 07/10/10 [AD01SUN008] .end
StringBuffer valueXmlString = new StringBuffer(); StringBuffer valueXmlString = new StringBuffer();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility e12GenericUtility = new E12GenericUtility();
try try
{ {
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
columnValue = genericUtility.getColumnValue(currentColumn,dom); conn=getConnection();
columnValue = e12GenericUtility.getColumnValue(currentColumn,dom);
System.out.println("columnValue :"+columnValue); System.out.println("columnValue :"+columnValue);
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><Header><editFlag>"); valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><Header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></Header>"); valueXmlString.append(editFlag).append("</editFlag></Header>");
...@@ -308,13 +339,13 @@ public String wfValData() throws RemoteException,ITMException ...@@ -308,13 +339,13 @@ public String wfValData() throws RemoteException,ITMException
if (currentColumn.trim().equals("itm_default")) if (currentColumn.trim().equals("itm_default"))
{ {
System.out.println("xtraParamsitemchange:---------------"+xtraParams); 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"); valueXmlString.append("<site_code>").append(site_code).append("</site_code>\r\n");
//Changed by Dhiraj 07/10/10 [AD01SUN008]. start //Changed by Dhiraj 07/10/10 [AD01SUN008]. start
//java.sql.Date toDay =new java.sql.Date(System.currentTimeMillis()); //java.sql.Date toDay =new java.sql.Date(System.currentTimeMillis());
java.util.Date toDay = new java.util.Date(); 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); String dbDtStr = sdf.format(toDay);
// Changed by Dhiraj 07/10/10 [AD01SUN008]. end // Changed by Dhiraj 07/10/10 [AD01SUN008]. end
...@@ -327,12 +358,14 @@ public String wfValData() throws RemoteException,ITMException ...@@ -327,12 +358,14 @@ public String wfValData() throws RemoteException,ITMException
else if (currentColumn.trim().equals("shift_pattern")) else if (currentColumn.trim().equals("shift_pattern"))
{ {
dayslist = GenericUtility.getInstance().getTokenList(columnValue, ";"); dayslist = e12GenericUtility.getTokenList(columnValue, ";");
System.out.println("--------------------dayslist="+dayslist.size()); 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(); String strDaysList =dayslist.get(ctr).toString();
System.out.println("strDaysList:"+strDaysList);
int index = strDaysList.indexOf('-'); int index = strDaysList.indexOf('-');
System.out.println("index:"+index);
dayslist1 = strDaysList.substring(0,index); dayslist1 = strDaysList.substring(0,index);
System.out.println("dayslist:-------------------------"+dayslist1); System.out.println("dayslist:-------------------------"+dayslist1);
shift_no = Integer.parseInt(dayslist1.toString()); shift_no = Integer.parseInt(dayslist1.toString());
...@@ -346,18 +379,18 @@ public String wfValData() throws RemoteException,ITMException ...@@ -346,18 +379,18 @@ public String wfValData() throws RemoteException,ITMException
} }
System.out.println("-----------------------------total_days ="+total_days); System.out.println("-----------------------------total_days ="+total_days);
valueXmlString.append("<no_of_days>").append(total_days).append("</no_of_days>\r\n"); 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("</Detail1>\r\n");
valueXmlString.append("</Root>\r\n"); valueXmlString.append("</Root>\r\n");
} }
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception in ShiftPatternItmChngEJB.java occured"); 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 finally
{ {
...@@ -374,10 +407,10 @@ public String wfValData() throws RemoteException,ITMException ...@@ -374,10 +407,10 @@ public String wfValData() throws RemoteException,ITMException
rs.close(); rs.close();
rs = null; rs = null;
} }
if (stmt != null) if (pstmt != null)
{ {
stmt.close(); pstmt.close();
stmt = null; pstmt = null;
} }
if (conn != null) if (conn != null)
{ {
...@@ -385,10 +418,29 @@ public String wfValData() throws RemoteException,ITMException ...@@ -385,10 +418,29 @@ public String wfValData() throws RemoteException,ITMException
conn = null; conn = null;
} }
// Modified by Piyush on 08/12/2011 to close the connection/statements/resultsets in finally block .Start // 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() ); System.out.println("Return XML" + valueXmlString.toString() );
return 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;
} }
} //Modified by Yashwant on 09/07/2019[End]
\ No newline at end of file }
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; } package ibase.webitm.ejb.adm;
\ No newline at end of file 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 @@ ...@@ -132,10 +132,6 @@
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>status</name> <name>status</name>
<dbname>department.status</dbname> <dbname>department.status</dbname>
<values>
<item display="Active" data="A"/>
<item display="Inactive" data="I"/>
</values>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
...@@ -144,13 +140,7 @@ ...@@ -144,13 +140,7 @@
<name>item_ser</name> <name>item_ser</name>
<dbname>department.item_ser</dbname> <dbname>department.item_ser</dbname>
</table_column> </table_column>
<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;)) </retrieve>
<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>
<update>department</update> <update>department</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -183,34 +173,6 @@ ...@@ -183,34 +173,6 @@
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </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> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
...@@ -410,17 +372,17 @@ ...@@ -410,17 +372,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Account Code AP</text> <text>Description</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>989</x> <x>94</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>115</width> <width>330</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>acct_code__ap_t</name> <name>descr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -432,23 +394,23 @@ ...@@ -432,23 +394,23 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>80269524</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Cost Centre Code</text> <text>Account Code AP</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1106</x> <x>989</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>113</width> <width>115</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cctr_code_ap_t</name> <name>acct_code__ap_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -466,17 +428,17 @@ ...@@ -466,17 +428,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Status</text> <text>Cost Centre Code</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1221</x> <x>1106</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>69</width> <width>113</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>status_t</name> <name>cctr_code_ap_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -494,17 +456,17 @@ ...@@ -494,17 +456,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Item Series</text> <text>Status</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1292</x> <x>1221</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>68</width> <width>69</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>item_ser_t</name> <name>status_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -522,23 +484,23 @@ ...@@ -522,23 +484,23 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Head</text> <text>Item Series</text>
<border>6</border> <border>6</border>
<color>0</color> <color>0</color>
<x>1362</x> <x>1292</x>
<y>3</y> <y>3</y>
<height>16</height> <height>16</height>
<width>255</width> <width>68</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>hod_name_t</name> <name>item_ser_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Arial</face> <face>Times New Roman</face>
<height>-11</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
...@@ -962,10 +924,11 @@ ...@@ -962,10 +924,11 @@
</html> </html>
<name>status</name> <name>status</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb"> <EditStyle style="edit">
<limit>1</limit> <limit>0</limit>
<allowedit>no</allowedit> <case>any</case>
<case>upper</case> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -1018,43 +981,6 @@ ...@@ -1018,43 +981,6 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </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> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -1860,21 +1860,31 @@ ...@@ -1860,21 +1860,31 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>3</id>
<text>Cost Centre Code AP :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color> <color>0</color>
<x>18</x> <x>153</x>
<y>332</y> <y>354</y>
<height>16</height> <height>16</height>
<width>131</width> <width>85</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cctr_code__ap_t</name> <name>chg_date</name>
<visible>1</visible> <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> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1885,23 +1895,23 @@ ...@@ -1885,23 +1895,23 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>80269524</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change Date :</text> <text>Change User :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>26</x> <x>302</x>
<y>354</y> <y>354</y>
<height>16</height> <height>16</height>
<width>123</width> <width>98</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>chg_user_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1916,95 +1926,87 @@ ...@@ -1916,95 +1926,87 @@
<color>80269524</color> <color>80269524</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>4</id>
<text>Change Terminal :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color> <color>0</color>
<x>26</x> <x>404</x>
<y>376</y> <y>354</y>
<height>16</height> <height>16</height>
<width>123</width> <width>85</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>chg_user</name>
<visible>1</visible> <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> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>80269524</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Cost Centre Code AP :</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border>
<color>0</color> <color>0</color>
<x>153</x> <x>18</x>
<y>376</y> <y>332</y>
<height>16</height> <height>16</height>
<width>85</width> <width>131</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>cctr_code__ap_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>80269524</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Change Date :</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border>
<color>0</color> <color>0</color>
<x>153</x> <x>26</x>
<y>354</y> <y>354</y>
<height>16</height> <height>16</height>
<width>85</width> <width>123</width>
<format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>chg_date_t</name>
<visible>1</visible> <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> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -2015,23 +2017,23 @@ ...@@ -2015,23 +2017,23 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>80269524</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Change User :</text> <text>Change Terminal :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>302</x> <x>26</x>
<y>354</y> <y>376</y>
<height>16</height> <height>16</height>
<width>98</width> <width>123</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>chg_term_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -2048,27 +2050,25 @@ ...@@ -2048,27 +2050,25 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>7</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>404</x> <x>153</x>
<y>354</y> <y>376</y>
<height>16</height> <height>16</height>
<width>85</width> <width>85</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>chg_term</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>67108864</color> <color>67108864</color>
<processing>1</processing> <processing>1</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
<grid.lines>0</grid.lines> <grid.lines>0</grid.lines>
</BaseDefinition> </BaseDefinition>
<Header> <Header>
<height>19</height> <height>19</height>
<color>536870912</color> <color>536870912</color>
</Header> </Header>
<Summary> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Summary>
<Footer> <Footer>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Footer>
<Detail> <Detail>
<height>22</height> <height>22</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Detail>
<TableDefinition> <TableDefinition>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key> <key>yes</key>
<name>pattern_code</name> <name>pattern_code</name>
<dbname>shift_pattern.pattern_code</dbname> <dbname>shift_pattern.pattern_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>start_date</name> <name>start_date</name>
<dbname>shift_pattern.start_date</dbname> <dbname>shift_pattern.start_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="100">char</type> <type size="100">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>shift_pattern</name> <name>shift_pattern</name>
<dbname>shift_pattern.shift_pattern</dbname> <dbname>shift_pattern.shift_pattern</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type precision="0">decimal</type> <type precision="0">decimal</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>no_of_days</name> <name>no_of_days</name>
<dbname>shift_pattern.no_of_days</dbname> <dbname>shift_pattern.no_of_days</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type>datetime</type> <type>datetime</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_date</name> <name>chg_date</name>
<dbname>shift_pattern.chg_date</dbname> <dbname>shift_pattern.chg_date</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="15">char</type> <type size="15">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_term</name> <name>chg_term</name>
<dbname>shift_pattern.chg_term</dbname> <dbname>shift_pattern.chg_term</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>chg_user</name> <name>chg_user</name>
<dbname>shift_pattern.chg_user</dbname> <dbname>shift_pattern.chg_user</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="5">char</type> <type size="5">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>site_code</name> <name>site_code</name>
<dbname>shift_pattern.site_code</dbname> <dbname>shift_pattern.site_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="1">char</type> <type size="1">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>gen_shift_hol</name> <name>gen_shift_hol</name>
<dbname>shift_pattern.gen_shift_hol</dbname> <dbname>shift_pattern.gen_shift_hol</dbname>
<values> <values>
<item display="Yes" data="Y"/> <item display="Yes" data="Y"/>
<item display="No" data="N"/> <item display="No" data="N"/>
</values> </values>
</table_column> </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> <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> <update>shift_pattern</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>site_code</name> <name>site_code</name>
<type>string</type> <type>string</type>
</argument> </argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Pattern Code</text> <text>Pattern Code</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>2</x> <x>2</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>77</width> <width>77</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>pattern_code_t</name> <name>pattern_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Start Date</text> <text>Start Date</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>81</x> <x>81</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>88</width> <width>88</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>start_date_t</name> <name>start_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Shift Pattern</text> <text>Shift Pattern</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>171</x> <x>171</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>179</width> <width>179</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>shift_pattern_t</name> <name>shift_pattern_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>No Of Days</text> <text>No Of Days</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>352</x> <x>352</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>78</width> <width>78</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>no_of_days_t</name> <name>no_of_days_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Chg Date</text> <text>Chg Date</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>535</x> <x>535</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>74</width> <width>74</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>chg_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Chg Term</text> <text>Chg Term</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>611</x> <x>611</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>80</width> <width>80</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>chg_term_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Chg User</text> <text>Chg User</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>693</x> <x>693</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>chg_user_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>2</alignment> <alignment>2</alignment>
<text>Shift on Holiday</text> <text>Shift on Holiday</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>432</x> <x>432</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>101</width> <width>101</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>gen_shift_hol_t</name> <name>gen_shift_hol_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>10</tabsequence> <tabsequence>10</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>2</x> <x>2</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>77</width> <width>77</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>pattern_code</name> <name>pattern_code</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>2</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>20</tabsequence> <tabsequence>20</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>81</x> <x>81</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>88</width> <width>88</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>start_date</name> <name>start_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>30</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>171</x> <x>171</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>179</width> <width>179</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>shift_pattern</name> <name>shift_pattern</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>100</limit> <limit>100</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>4</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>40</tabsequence> <tabsequence>40</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>352</x> <x>352</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>78</width> <width>78</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>no_of_days</name> <name>no_of_days</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>5</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>60</tabsequence> <tabsequence>60</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>535</x> <x>535</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>74</width> <width>74</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>chg_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>6</id> <id>6</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>70</tabsequence> <tabsequence>70</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>611</x> <x>611</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>80</width> <width>80</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term</name> <name>chg_term</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>15</limit> <limit>15</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>7</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>80</tabsequence> <tabsequence>80</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>693</x> <x>693</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>66</width> <width>66</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>chg_user</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>50</tabsequence> <tabsequence>50</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>432</x> <x>432</x>
<y>2</y> <y>2</y>
<height>16</height> <height>16</height>
<width>101</width> <width>101</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>gen_shift_hol</name> <name>gen_shift_hol</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="ddlb"> <EditStyle style="ddlb">
<limit>1</limit> <limit>1</limit>
<allowedit>no</allowedit> <allowedit>no</allowedit>
<case>upper</case> <case>upper</case>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>2</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
<HtmlGen> <HtmlGen>
<clientevents>1</clientevents> <clientevents>1</clientevents>
<clientvalidation>1</clientvalidation> <clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields> <clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting> <clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable> <clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript> <generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs> <encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers> <netscapelayers>0</netscapelayers>
</HtmlGen> </HtmlGen>
<Export.XML> <Export.XML>
<headgroups>1</headgroups> <headgroups>1</headgroups>
<includewhitespace>0</includewhitespace> <includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype> <metadatatype>0</metadatatype>
<savemetadata>0</savemetadata> <savemetadata>0</savemetadata>
</Export.XML> </Export.XML>
<Import.XML> <Import.XML>
</Import.XML> </Import.XML>
<Export.PDF> <Export.PDF>
<method>0</method> <method>0</method>
<distill.custompostscript>0</distill.custompostscript> <distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print> <xslfop.print>0</xslfop.print>
</Export.PDF> </Export.PDF>
</Sybase_eDataWindow> </Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow> <!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow> <Sybase_eDataWindow>
<Release>9</Release> <Release>9</Release>
<BaseDefinition> <BaseDefinition>
<units>1</units> <units>1</units>
<timer_interval>0</timer_interval> <timer_interval>0</timer_interval>
<color>67108864</color> <color>67108864</color>
<processing>0</processing> <processing>0</processing>
<HTMLDW>no</HTMLDW> <HTMLDW>no</HTMLDW>
<print> <print>
<documentname></documentname> <documentname></documentname>
<printername></printername> <printername></printername>
<orientation>0</orientation> <orientation>0</orientation>
<margin> <margin>
<left>24</left> <left>24</left>
<right>24</right> <right>24</right>
<top>24</top> <top>24</top>
<bottom>24</bottom> <bottom>24</bottom>
</margin> </margin>
<paper> <paper>
<source>0</source> <source>0</source>
<size>0</size> <size>0</size>
</paper> </paper>
<prompt>no</prompt> <prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter> <canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons> <buttons>no</buttons>
<preview.buttons>no</preview.buttons> <preview.buttons>no</preview.buttons>
<cliptext>no</cliptext> <cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob> <overrideprintjob>no</overrideprintjob>
</print> </print>
</BaseDefinition> </BaseDefinition>
<Summary> <Header>
<height>0</height> <height>24</height>
<color>536870912</color> <color>536870912</color>
</Summary> </Header>
<Footer> <Summary>
<height>0</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Footer> </Summary>
<Detail> <Footer>
<height>131</height> <height>0</height>
<color>536870912</color> <color>536870912</color>
</Detail> </Footer>
<TableDefinition> <Detail>
<table_column> <height>222</height>
<type size="10">char</type> <color>536870912</color>
<update>yes</update> </Detail>
<updatewhereclause>yes</updatewhereclause> <TableDefinition>
<key>yes</key> <table_column>
<name>pattern_code</name> <type size="10">char</type>
<dbname>shift_pattern.pattern_code</dbname> <update>yes</update>
</table_column> <updatewhereclause>yes</updatewhereclause>
<table_column> <key>yes</key>
<type>datetime</type> <name>pattern_code</name>
<update>yes</update> <dbname>shift_pattern.pattern_code</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>start_date</name> <table_column>
<dbname>shift_pattern.start_date</dbname> <type>datetime</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="100">char</type> <name>start_date</name>
<update>yes</update> <dbname>shift_pattern.start_date</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>shift_pattern</name> <table_column>
<dbname>shift_pattern.shift_pattern</dbname> <type size="100">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type precision="0">decimal</type> <name>shift_pattern</name>
<update>yes</update> <dbname>shift_pattern.shift_pattern</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>no_of_days</name> <table_column>
<dbname>shift_pattern.no_of_days</dbname> <type precision="0">decimal</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type>datetime</type> <name>no_of_days</name>
<update>yes</update> <dbname>shift_pattern.no_of_days</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>chg_date</name> <table_column>
<dbname>shift_pattern.chg_date</dbname> <type>datetime</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="15">char</type> <name>chg_date</name>
<update>yes</update> <dbname>shift_pattern.chg_date</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>chg_term</name> <table_column>
<dbname>shift_pattern.chg_term</dbname> <type size="15">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="10">char</type> <name>chg_term</name>
<update>yes</update> <dbname>shift_pattern.chg_term</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>chg_user</name> <table_column>
<dbname>shift_pattern.chg_user</dbname> <type size="10">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="5">char</type> <name>chg_user</name>
<update>yes</update> <dbname>shift_pattern.chg_user</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>site_code</name> <table_column>
<dbname>shift_pattern.site_code</dbname> <type size="5">char</type>
</table_column> <update>yes</update>
<table_column> <updatewhereclause>yes</updatewhereclause>
<type size="1">char</type> <name>site_code</name>
<update>yes</update> <dbname>shift_pattern.site_code</dbname>
<updatewhereclause>yes</updatewhereclause> </table_column>
<name>gen_shift_hol</name> <table_column>
<dbname>shift_pattern.gen_shift_hol</dbname> <type size="1">char</type>
<initial>N</initial> <update>yes</update>
<values> <updatewhereclause>yes</updatewhereclause>
<item display="Yes" data="Y"/> <name>gen_shift_hol</name>
<item display="No" data="N"/> <dbname>shift_pattern.gen_shift_hol</dbname>
</values> <initial>N</initial>
</table_column> <values>
<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> <item display="Yes" data="Y"/>
<update>shift_pattern</update> <item display="No" data="N"/>
<updatewhere>0</updatewhere> </values>
<updatekeyinplace>no</updatekeyinplace> </table_column>
<argument> <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>
<name>as_pattern_code</name> <update>SHIFT_PATTERN</update>
<type>string</type> <updatewhere>0</updatewhere>
</argument> <updatekeyinplace>no</updatekeyinplace>
</TableDefinition> <argument>
<TextObject> <name>as_pattern_code</name>
<band>Detail</band> <type>string</type>
<alignment>1</alignment> </argument>
<text>Start Date:</text> </TableDefinition>
<border>0</border> <GroupBox>
<color>33554432</color> <band>Detail</band>
<x>237</x> <text>Basic</text>
<y>10</y> <border>2</border>
<height>16</height> <color>33554432</color>
<width>80</width> <x>25</x>
<html> <y>7</y>
<valueishtml>0</valueishtml> <height>141</height>
</html> <width>451</width>
<name>start_date_t</name> <name>gb_1</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</TextObject> </GroupBox>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Pattern Code:</text> <text>Start Date:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>34</x> <x>273</x>
<y>10</y> <y>38</y>
<height>16</height> <height>16</height>
<width>81</width> <width>80</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>pattern_code_t</name> <name>start_date_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Shift Pattern:</text> <text>Pattern Code:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>35</x> <x>70</x>
<y>32</y> <y>38</y>
<height>16</height> <height>16</height>
<width>80</width> <width>81</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>shift_pattern_t</name> <name>pattern_code_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Shift Pattern:</text>
<tabsequence>20</tabsequence> <border>0</border>
<border>5</border> <color>33554432</color>
<color>33554432</color> <x>71</x>
<x>322</x> <y>60</y>
<y>10</y> <height>16</height>
<height>16</height> <width>80</width>
<width>94</width> <html>
<format>dd/mm/yy</format> <valueishtml>0</valueishtml>
<html> </html>
<valueishtml>0</valueishtml> <name>shift_pattern_t</name>
</html> <visible>1</visible>
<name>start_date</name> <font>
<visible>1</visible> <face>Times New Roman</face>
<EditStyle style="editmask"> <height>-10</height>
<mask>dd/mm/yy</mask> <weight>400</weight>
<imemode>0</imemode> <family>1</family>
<focusrectangle>no</focusrectangle> <pitch>2</pitch>
</EditStyle> <charset>0</charset>
<font> </font>
<face>Times New Roman</face> <background>
<height>-10</height> <mode>1</mode>
<weight>400</weight> <color>536870912</color>
<family>2</family> </background>
<pitch>2</pitch> </TextObject>
<charset>0</charset> <ColumnObject>
</font> <band>Detail</band>
<background> <id>2</id>
<mode>2</mode> <alignment>0</alignment>
<color>16777215</color> <tabsequence>20</tabsequence>
</background> <border>5</border>
</ColumnObject> <color>33554432</color>
<ColumnObject> <x>358</x>
<band>Detail</band> <y>38</y>
<id>3</id> <height>16</height>
<alignment>0</alignment> <width>94</width>
<tabsequence>30</tabsequence> <format>dd/mm/yy</format>
<border>5</border> <html>
<color>33554432</color> <valueishtml>0</valueishtml>
<x>119</x> </html>
<y>32</y> <name>start_date</name>
<height>16</height> <visible>1</visible>
<width>297</width> <EditStyle style="editmask">
<format>[general]</format> <mask>dd/mm/yy</mask>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> <focusrectangle>no</focusrectangle>
</html> </EditStyle>
<name>shift_pattern</name> <font>
<visible>1</visible> <face>Times New Roman</face>
<EditStyle style="edit"> <height>-10</height>
<limit>100</limit> <weight>400</weight>
<case>upper</case> <family>2</family>
<focusrectangle>no</focusrectangle> <pitch>2</pitch>
<autoselect>yes</autoselect> <charset>0</charset>
<autohscroll>yes</autohscroll> </font>
<imemode>0</imemode> <background>
</EditStyle> <mode>2</mode>
<font> <color>16777215</color>
<face>Times New Roman</face> </background>
<height>-10</height> </ColumnObject>
<weight>400</weight> <ColumnObject>
<family>2</family> <band>Detail</band>
<pitch>2</pitch> <id>3</id>
<charset>0</charset> <alignment>0</alignment>
</font> <tabsequence>30</tabsequence>
<background> <border>5</border>
<mode>2</mode> <color>33554432</color>
<color>16777215</color> <x>155</x>
</background> <y>60</y>
</ColumnObject> <height>16</height>
<ColumnObject> <width>297</width>
<band>Detail</band> <format>[general]</format>
<id>4</id> <html>
<alignment>1</alignment> <valueishtml>0</valueishtml>
<tabsequence>32766</tabsequence> </html>
<border>5</border> <name>shift_pattern</name>
<color>33554432</color> <visible>1</visible>
<x>119</x> <EditStyle style="edit">
<y>55</y> <limit>0</limit>
<height>16</height> <case>any</case>
<width>53</width> <focusrectangle>no</focusrectangle>
<format>[general]</format> <autoselect>no</autoselect>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> </EditStyle>
</html> <font>
<name>no_of_days</name> <face>Times New Roman</face>
<visible>1</visible> <height>-10</height>
<EditStyle style="edit"> <weight>400</weight>
<limit>3</limit> <family>2</family>
<case>any</case> <pitch>2</pitch>
<focusrectangle>no</focusrectangle> <charset>0</charset>
<autoselect>yes</autoselect> </font>
<autohscroll>yes</autohscroll> <background>
<imemode>0</imemode> <mode>2</mode>
</EditStyle> <color>16777215</color>
<font> </background>
<face>Times New Roman</face> </ColumnObject>
<height>-10</height> <ColumnObject>
<weight>400</weight> <band>Detail</band>
<family>2</family> <id>4</id>
<pitch>2</pitch> <alignment>1</alignment>
<charset>0</charset> <tabsequence>32766</tabsequence>
</font> <border>5</border>
<background> <color>33554432</color>
<mode>2</mode> <x>155</x>
<color>16777215</color> <y>83</y>
</background> <height>16</height>
</ColumnObject> <width>53</width>
<ColumnObject> <format>[general]</format>
<band>Detail</band> <html>
<id>9</id> <valueishtml>0</valueishtml>
<alignment>0</alignment> </html>
<tabsequence>40</tabsequence> <name>no_of_days</name>
<border>5</border> <visible>1</visible>
<color>33554432</color> <EditStyle style="edit">
<x>350</x> <limit>3</limit>
<y>55</y> <case>any</case>
<height>16</height> <focusrectangle>no</focusrectangle>
<width>66</width> <autoselect>yes</autoselect>
<format>[general]</format> <autohscroll>yes</autohscroll>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> </EditStyle>
</html> <font>
<name>gen_shift_hol</name> <face>Times New Roman</face>
<visible>1</visible> <height>-10</height>
<EditStyle style="ddlb"> <weight>400</weight>
<limit>1</limit> <family>2</family>
<allowedit>no</allowedit> <pitch>2</pitch>
<case>upper</case> <charset>0</charset>
<imemode>0</imemode> </font>
</EditStyle> <background>
<font> <mode>2</mode>
<face>Times New Roman</face> <color>16777215</color>
<height>-10</height> </background>
<weight>400</weight> </ColumnObject>
<family>2</family> <ColumnObject>
<pitch>2</pitch> <band>Detail</band>
<charset>0</charset> <id>9</id>
</font> <alignment>0</alignment>
<background> <tabsequence>40</tabsequence>
<mode>2</mode> <border>5</border>
<color>16777215</color> <color>33554432</color>
</background> <x>386</x>
</ColumnObject> <y>83</y>
<TextObject> <height>16</height>
<band>Detail</band> <width>66</width>
<alignment>1</alignment> <format>[general]</format>
<text>Generate Shift On Holiday:</text> <html>
<border>0</border> <valueishtml>0</valueishtml>
<color>33554432</color> </html>
<x>182</x> <name>gen_shift_hol</name>
<y>55</y> <visible>1</visible>
<height>16</height> <EditStyle style="ddlb">
<width>163</width> <limit>1</limit>
<html> <allowedit>no</allowedit>
<valueishtml>0</valueishtml> <case>upper</case>
</html> <imemode>0</imemode>
<name>gen_shift_hol_t</name> </EditStyle>
<visible>1</visible> <font>
<font> <face>Times New Roman</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>2</mode>
<mode>2</mode> <color>16777215</color>
<color>67108864</color> </background>
</background> </ColumnObject>
</TextObject> <TextObject>
<ColumnObject> <band>Detail</band>
<band>Detail</band> <alignment>1</alignment>
<id>5</id> <text>Generate Shift On Holiday:</text>
<alignment>0</alignment> <border>0</border>
<tabsequence>32766</tabsequence> <color>33554432</color>
<border>5</border> <x>218</x>
<color>33554432</color> <y>83</y>
<x>920</x> <height>16</height>
<y>4</y> <width>163</width>
<height>19</height> <html>
<width>66</width> <valueishtml>0</valueishtml>
<format>[shortdate] [time]</format> </html>
<html> <name>gen_shift_hol_t</name>
<valueishtml>0</valueishtml> <visible>1</visible>
</html> <font>
<name>chg_date</name> <face>Times New Roman</face>
<visible>0</visible> <height>-10</height>
<EditStyle style="edit"> <weight>400</weight>
<limit>0</limit> <family>1</family>
<case>any</case> <pitch>2</pitch>
<focusrectangle>no</focusrectangle> <charset>0</charset>
<autoselect>yes</autoselect> </font>
<autohscroll>yes</autohscroll> <background>
<imemode>0</imemode> <mode>2</mode>
</EditStyle> <color>67108864</color>
<font> </background>
<face>Arial</face> </TextObject>
<height>-10</height> <ColumnObject>
<weight>400</weight> <band>Detail</band>
<family>2</family> <id>5</id>
<pitch>2</pitch> <alignment>0</alignment>
<charset>0</charset> <tabsequence>32766</tabsequence>
</font> <border>5</border>
<background> <color>33554432</color>
<mode>2</mode> <x>956</x>
<color>16777215</color> <y>32</y>
</background> <height>19</height>
</ColumnObject> <width>66</width>
<ColumnObject> <format>[shortdate] [time]</format>
<band>Detail</band> <html>
<id>6</id> <valueishtml>0</valueishtml>
<alignment>0</alignment> </html>
<tabsequence>32766</tabsequence> <name>chg_date</name>
<border>5</border> <visible>0</visible>
<color>33554432</color> <EditStyle style="edit">
<x>919</x> <limit>0</limit>
<y>26</y> <case>any</case>
<height>19</height> <focusrectangle>no</focusrectangle>
<width>66</width> <autoselect>yes</autoselect>
<format>[general]</format> <autohscroll>yes</autohscroll>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> </EditStyle>
</html> <font>
<name>chg_term</name> <face>Arial</face>
<visible>0</visible> <height>-10</height>
<EditStyle style="edit"> <weight>400</weight>
<limit>15</limit> <family>2</family>
<case>any</case> <pitch>2</pitch>
<focusrectangle>no</focusrectangle> <charset>0</charset>
<autoselect>yes</autoselect> </font>
<autohscroll>yes</autohscroll> <background>
<imemode>0</imemode> <mode>2</mode>
</EditStyle> <color>16777215</color>
<font> </background>
<face>Arial</face> </ColumnObject>
<height>-10</height> <ColumnObject>
<weight>400</weight> <band>Detail</band>
<family>2</family> <id>6</id>
<pitch>2</pitch> <alignment>0</alignment>
<charset>0</charset> <tabsequence>32766</tabsequence>
</font> <border>5</border>
<background> <color>33554432</color>
<mode>2</mode> <x>955</x>
<color>16777215</color> <y>54</y>
</background> <height>19</height>
</ColumnObject> <width>66</width>
<ColumnObject> <format>[general]</format>
<band>Detail</band> <html>
<id>7</id> <valueishtml>0</valueishtml>
<alignment>0</alignment> </html>
<tabsequence>32766</tabsequence> <name>chg_term</name>
<border>5</border> <visible>0</visible>
<color>33554432</color> <EditStyle style="edit">
<x>919</x> <limit>15</limit>
<y>52</y> <case>any</case>
<height>19</height> <focusrectangle>no</focusrectangle>
<width>66</width> <autoselect>yes</autoselect>
<format>[general]</format> <autohscroll>yes</autohscroll>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> </EditStyle>
</html> <font>
<name>chg_user</name> <face>Arial</face>
<visible>0</visible> <height>-10</height>
<EditStyle style="edit"> <weight>400</weight>
<limit>10</limit> <family>2</family>
<case>any</case> <pitch>2</pitch>
<focusrectangle>no</focusrectangle> <charset>0</charset>
<autoselect>yes</autoselect> </font>
<autohscroll>yes</autohscroll> <background>
<imemode>0</imemode> <mode>2</mode>
</EditStyle> <color>16777215</color>
<font> </background>
<face>Arial</face> </ColumnObject>
<height>-10</height> <ColumnObject>
<weight>400</weight> <band>Detail</band>
<family>2</family> <id>7</id>
<pitch>2</pitch> <alignment>0</alignment>
<charset>0</charset> <tabsequence>32766</tabsequence>
</font> <border>5</border>
<background> <color>33554432</color>
<mode>2</mode> <x>955</x>
<color>16777215</color> <y>80</y>
</background> <height>19</height>
</ColumnObject> <width>66</width>
<ColumnObject> <format>[general]</format>
<band>Detail</band> <html>
<id>1</id> <valueishtml>0</valueishtml>
<alignment>0</alignment> </html>
<tabsequence>10</tabsequence> <name>chg_user</name>
<border>5</border> <visible>0</visible>
<color>33554432</color> <EditStyle style="edit">
<x>119</x> <limit>10</limit>
<y>10</y> <case>any</case>
<height>16</height> <focusrectangle>no</focusrectangle>
<width>66</width> <autoselect>yes</autoselect>
<format>[general]</format> <autohscroll>yes</autohscroll>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> </EditStyle>
</html> <font>
<name>pattern_code</name> <face>Arial</face>
<visible>1</visible> <height>-10</height>
<EditStyle style="edit"> <weight>400</weight>
<limit>10</limit> <family>2</family>
<case>upper</case> <pitch>2</pitch>
<focusrectangle>no</focusrectangle> <charset>0</charset>
<autoselect>yes</autoselect> </font>
<autohscroll>yes</autohscroll> <background>
<imemode>0</imemode> <mode>2</mode>
</EditStyle> <color>16777215</color>
<font> </background>
<face>Times New Roman</face> </ColumnObject>
<height>-10</height> <ColumnObject>
<weight>400</weight> <band>Detail</band>
<family>2</family> <id>1</id>
<pitch>2</pitch> <alignment>0</alignment>
<charset>0</charset> <tabsequence>10</tabsequence>
</font> <border>5</border>
<background> <color>33554432</color>
<mode>2</mode> <x>155</x>
<color>16777215</color> <y>38</y>
</background> <height>16</height>
</ColumnObject> <width>66</width>
<ColumnObject> <format>[general]</format>
<band>Detail</band> <html>
<id>8</id> <valueishtml>0</valueishtml>
<alignment>0</alignment> </html>
<tabsequence>32766</tabsequence> <name>pattern_code</name>
<border>5</border> <visible>1</visible>
<color>33554432</color> <EditStyle style="edit">
<x>119</x> <limit>10</limit>
<y>77</y> <case>upper</case>
<height>16</height> <focusrectangle>no</focusrectangle>
<width>66</width> <autoselect>yes</autoselect>
<format>[general]</format> <autohscroll>yes</autohscroll>
<html> <imemode>0</imemode>
<valueishtml>0</valueishtml> </EditStyle>
</html> <font>
<name>site_code</name> <face>Times New Roman</face>
<visible>1</visible> <height>-10</height>
<EditStyle style="edit"> <weight>400</weight>
<limit>0</limit> <family>2</family>
<case>any</case> <pitch>2</pitch>
<focusrectangle>no</focusrectangle> <charset>0</charset>
<autoselect>no</autoselect> </font>
<imemode>0</imemode> <background>
</EditStyle> <mode>2</mode>
<font> <color>16777215</color>
<face>Times New Roman</face> </background>
<height>-10</height> </ColumnObject>
<weight>400</weight> <ColumnObject>
<family>2</family> <band>Detail</band>
<pitch>2</pitch> <id>8</id>
<charset>0</charset> <alignment>0</alignment>
</font> <tabsequence>32766</tabsequence>
<background> <border>5</border>
<mode>2</mode> <color>33554432</color>
<color>16777215</color> <x>155</x>
</background> <y>105</y>
</ColumnObject> <height>16</height>
<TextObject> <width>66</width>
<band>Detail</band> <format>[general]</format>
<alignment>1</alignment> <html>
<text>Number Of Days:</text> <valueishtml>0</valueishtml>
<border>0</border> </html>
<color>33554432</color> <name>site_code</name>
<x>15</x> <visible>1</visible>
<y>55</y> <EditStyle style="edit">
<height>16</height> <limit>0</limit>
<width>100</width> <case>any</case>
<html> <focusrectangle>no</focusrectangle>
<valueishtml>0</valueishtml> <autoselect>no</autoselect>
</html> <imemode>0</imemode>
<name>no_of_days_t</name> </EditStyle>
<visible>1</visible> <font>
<font> <face>Times New Roman</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>2</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>2</mode>
<mode>1</mode> <color>16777215</color>
<color>536870912</color> </background>
</background> </ColumnObject>
</TextObject> <TextObject>
<TextObject> <band>Detail</band>
<band>Detail</band> <alignment>1</alignment>
<alignment>1</alignment> <text>Number Of Days:</text>
<text>Site Code:</text> <border>0</border>
<border>0</border> <color>33554432</color>
<color>33554432</color> <x>51</x>
<x>15</x> <y>83</y>
<y>77</y> <height>16</height>
<height>16</height> <width>100</width>
<width>100</width> <html>
<html> <valueishtml>0</valueishtml>
<valueishtml>0</valueishtml> </html>
</html> <name>no_of_days_t</name>
<name>site_code_t</name> <visible>1</visible>
<visible>1</visible> <font>
<font> <face>Times New Roman</face>
<face>Times New Roman</face> <height>-10</height>
<height>-10</height> <weight>400</weight>
<weight>400</weight> <family>1</family>
<family>1</family> <pitch>2</pitch>
<pitch>2</pitch> <charset>0</charset>
<charset>0</charset> </font>
</font> <background>
<background> <mode>1</mode>
<mode>1</mode> <color>536870912</color>
<color>536870912</color> </background>
</background> </TextObject>
</TextObject> <TextObject>
<HtmlTable> <band>Detail</band>
<border>1</border> <alignment>1</alignment>
</HtmlTable> <text>Site Code:</text>
<HtmlGen> <border>0</border>
<clientevents>1</clientevents> <color>33554432</color>
<clientvalidation>1</clientvalidation> <x>51</x>
<clientcomputedfields>1</clientcomputedfields> <y>105</y>
<clientformatting>0</clientformatting> <height>16</height>
<clientscriptable>0</clientscriptable> <width>100</width>
<generatejavascript>1</generatejavascript> <html>
<encodeselflinkargs>1</encodeselflinkargs> <valueishtml>0</valueishtml>
<netscapelayers>0</netscapelayers> </html>
</HtmlGen> <name>site_code_t</name>
<Export.XML> <visible>1</visible>
<headgroups>1</headgroups> <font>
<includewhitespace>0</includewhitespace> <face>Times New Roman</face>
<metadatatype>0</metadatatype> <height>-10</height>
<savemetadata>0</savemetadata> <weight>400</weight>
</Export.XML> <family>1</family>
<Import.XML> <pitch>2</pitch>
</Import.XML> <charset>0</charset>
<Export.PDF> </font>
<method>0</method> <background>
<distill.custompostscript>0</distill.custompostscript> <mode>1</mode>
<xslfop.print>0</xslfop.print> <color>536870912</color>
</Export.PDF> </background>
</Sybase_eDataWindow> </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 $PBExportHeader$d_shift_pattern_edit.srd
release 9; 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 ) 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" ) summary(height=0 color="536870912" )
footer(height=0 color="536870912" ) footer(height=0 color="536870912" )
detail(height=131 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" ) 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=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=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=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=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(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(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(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/" ) 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)) ) 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="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="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" ) 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=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=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=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" ) 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" ) 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=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=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=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=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" ) 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="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" ) 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" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) 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 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml() import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" ) 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