Commit 8d7f08c8 authored by dpingle's avatar dpingle

* Change done for Employee Personal Detail- obj_name: emp_personal_info

EmpPersonalInfo.java
emp_personal_info21.xml
d_emp_personal_info21.srd
w_emp_personal_info.sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205031 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d12e6e1f
...@@ -11,14 +11,11 @@ import java.util.ArrayList; ...@@ -11,14 +11,11 @@ import java.util.ArrayList;
import java.util.Calendar; import java.util.Calendar;
import java.util.Date; import java.util.Date;
//import javax.ejb.Stateless;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.NamedNodeMap; import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.w3c.dom.NodeList; import org.w3c.dom.NodeList;
//import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ] import ibase.utility.E12GenericUtility;//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ]
import ibase.webitm.ejb.ITMDBAccessEJB; import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB; import ibase.webitm.ejb.ValidatorEJB;
...@@ -46,7 +43,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -46,7 +43,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
System.out.println("EmpPersonalInfo xmlString in itemChanged..::["+xmlString+"]"); System.out.println("EmpPersonalInfo xmlString in itemChanged..::["+xmlString+"]");
System.out.println("EmpPersonalInfo xmlString1 in itemChanged..:: ["+xmlString1+"]"); System.out.println("EmpPersonalInfo xmlString1 in itemChanged..:: ["+xmlString1+"]");
System.out.println("EmpPersonalInfo xmlString2 in itemChanged..:: ["+xmlString2+"]"); System.out.println("EmpPersonalInfo xmlString2 in itemChanged..:: ["+xmlString2+"]");
if(xmlString != null && xmlString.length() > 0) if(xmlString != null && xmlString.length() > 0)
{ {
dom = genericUtility.parseString(xmlString); dom = genericUtility.parseString(xmlString);
...@@ -71,7 +68,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -71,7 +68,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
System.out.println("EmpPersonalInfo errString returing at Stage 2[" + errString+"]"); System.out.println("EmpPersonalInfo errString returing at Stage 2[" + errString+"]");
return errString; return errString;
} }
//Start of itemChanged block //Start of itemChanged block
public String itemChanged(Document dom, Document dom1,Document dom2, 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
{ {
...@@ -80,11 +77,11 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -80,11 +77,11 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
String sql = ""; String sql = "";
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
String objNameDefault = ""; String objNameDefault = "";
//Variable defined . Start //Variable defined . Start
String empCode = ""; String empCode = "";
String shortName = ""; String shortName = "";
String contactCode = ""; String contactCode = "";
...@@ -104,35 +101,33 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -104,35 +101,33 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
String stateCode = ""; String stateCode = "";
String drivLicValidUpto = ""; String drivLicValidUpto = "";
String handicapCategory = ""; String handicapCategory = "";
//Modified by Azhar K. [To recalculate retirement age and date on change of birth date][Start]
String retAge = ""; String retAge = "";
String retDate = ""; String retDate = "";
Timestamp birthDateDT = null; Timestamp birthDateDT = null;
Timestamp retirementDate = null; Timestamp retirementDate = null;
Date dateOfBirth = null , retDateDT = null; Date dateOfBirth = null , retDateDT = null;
double retireAge = 0; double retireAge = 0;
//Modified by Azhar K. [To recalculate retirement age and date on change of birth date][End]
//Variable defined . End //Variable defined . End
//Modified by Rohini T on 11/March/2019[Req ID:A17DSUN006 ][START] //Modified by Rohini T on 11/March/2019[Req ID:A17DSUN006 ][START]
String revNo = ""; String revNo = "";
//Modified by Rohini T on 11/March/2019[Req ID: A17DSUN006][End] //Modified by Rohini T on 11/March/2019[Req ID: A17DSUN006][End]
int currentFormNo = 0; int currentFormNo = 0;
//AdmCommon admCommon = new AdmCommon(); //AdmCommon admCommon = new AdmCommon();
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start]
//GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][End] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][End]
StringBuffer valueXmlString = new StringBuffer(); StringBuffer valueXmlString = new StringBuffer();
System.out.println("objContext ..:: ["+objContext+"]"); System.out.println("objContext ..:: ["+objContext+"]");
System.out.println("currentColumn ..:: ["+currentColumn+"]"); System.out.println("currentColumn ..:: ["+currentColumn+"]");
System.out.println("editFlag ..:: ["+editFlag+"]"); System.out.println("editFlag ..:: ["+editFlag+"]");
System.out.println("xtraParams ..:: ["+xtraParams+"]"); System.out.println("xtraParams ..:: ["+xtraParams+"]");
if(objContext != null && objContext.trim().length() > 0) if(objContext != null && objContext.trim().length() > 0)
{ {
...@@ -152,383 +147,379 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -152,383 +147,379 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
objNameDefault = checkNull(getObjName(dom ,"1")); objNameDefault = checkNull(getObjName(dom ,"1"));
System.out.println("objNameDefault ..:: ["+objNameDefault+"]"); System.out.println("objNameDefault ..:: ["+objNameDefault+"]");
switch (currentFormNo) switch (currentFormNo)
{ {
case 1: case 1:
{ {
valueXmlString.append("<Detail1 domID='1' dbID='' objContext='1' objName='"+objNameDefault+"' selected='Y'>\r\n"); valueXmlString.append("<Detail1 domID='1' dbID='' objContext='1' objName='"+objNameDefault+"' selected='Y'>\r\n");
//Added by Dipesh on[19/07/2019][Start] //Added by Dipesh on[19/07/2019][Start]
//empCode = genericUtility.getColumnValue("emp_code",dom2); //empCode = genericUtility.getColumnValue("emp_code",dom2);
//empCode = checkNull(genericUtility.getColumnValue("emp_code",dom2)); //empCode = checkNull(genericUtility.getColumnValue("emp_code",dom2));
//Added by Dipesh on[19/07/2019][End] //Added by Dipesh on[19/07/2019][End]
if(currentColumn.equalsIgnoreCase("itm_defaultedit")) if(currentColumn.equalsIgnoreCase("itm_defaultedit"))
{ {
//Modified by Rohini T on 11/March/2019[Req ID:A17DSUN006 ][START] //Modified by Rohini T on 11/March/2019[Req ID:A17DSUN006 ][START]
//Added by Dipesh on[19/07/2019][Start] //Added by Dipesh on[19/07/2019][Start]
//revNo = genericUtility.getColumnValue("revision_no", dom); //revNo = genericUtility.getColumnValue("revision_no", dom);
revNo = checkNull(genericUtility.getColumnValue("revision_no", dom)); revNo = checkNull(genericUtility.getColumnValue("revision_no", dom));
empCode = checkNull(genericUtility.getColumnValue("emp_code",dom)); empCode = checkNull(genericUtility.getColumnValue("emp_code",dom));
//Added by Dipesh on[19/07/2019][End] //Added by Dipesh on[19/07/2019][End]
if(revNo != null && revNo.trim().length() > 0) if(revNo != null && revNo.trim().length() > 0)
{ {
//revisionNo = Integer.parseInt(revNo); //revisionNo = Integer.parseInt(revNo);
//revisionNo = revisionNo+1; //revisionNo = revisionNo+1;
//Modified by Rohini T on 13/March/2019[Req ID: A17DSUN006][START] //Modified by Rohini T on 13/March/2019[Req ID: A17DSUN006][START]
long revisionNo = 0; long revisionNo = 0;
try try
{ {
revisionNo = (revNo != null && revNo.trim().length() > 0) ? Long.parseLong(revNo):0; revisionNo = (revNo != null && revNo.trim().length() > 0) ? Long.parseLong(revNo):0;
} }
catch (Exception e) catch (Exception e)
{ {
revisionNo = 0; revisionNo = 0;
} }
revisionNo = revisionNo+1; revisionNo = revisionNo+1;
//Modified by Rohini T on 13/March/2019[Req ID: A17DSUN006][END] //Modified by Rohini T on 13/March/2019[Req ID: A17DSUN006][END]
valueXmlString.append("<revision_no><![CDATA[").append(revisionNo).append("]]></revision_no>\r\n"); valueXmlString.append("<revision_no><![CDATA[").append(revisionNo).append("]]></revision_no>\r\n");
} }
//Modified by Rohini T on 11/March/2019[Req ID:A17DSUN006 ][End] //Modified by Rohini T on 11/March/2019[Req ID:A17DSUN006 ][End]
sql = "SELECT SHORT_NAME , CONTACT_CODE , M_STATUS , M_STATUS_DATE , NATIONALITY , CONTACT_PERS , SEX , NAME_PREFIX , CITIZEN , CONTACT_CITY , CONTACT_STATE , PHYSICAL_HANDICAP , DRIV_LIC_NO FROM EMPLOYEE WHERE EMP_CODE = ?"; sql = "SELECT SHORT_NAME , CONTACT_CODE , M_STATUS , M_STATUS_DATE , NATIONALITY , CONTACT_PERS , SEX , NAME_PREFIX , CITIZEN , CONTACT_CITY , CONTACT_STATE , PHYSICAL_HANDICAP , DRIV_LIC_NO FROM EMPLOYEE WHERE EMP_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt = conn.prepareStatement(sql); pstmt.setString(1,empCode);
pstmt.setString(1,empCode); rs = pstmt.executeQuery();
rs = pstmt.executeQuery();
if(rs.next())
if(rs.next()) {
{ shortName = checkNull(rs.getString("SHORT_NAME"));
shortName = checkNull(rs.getString("SHORT_NAME")); contactCode = checkNull(rs.getString("CONTACT_CODE"));
contactCode = checkNull(rs.getString("CONTACT_CODE")); maritalStatus = checkNull(rs.getString("M_STATUS"));
maritalStatus = checkNull(rs.getString("M_STATUS")); maritalStatusDate = checkNull(rs.getString("M_STATUS_DATE"));
maritalStatusDate = checkNull(rs.getString("M_STATUS_DATE")); nationality = checkNull(rs.getString("NATIONALITY"));
nationality = checkNull(rs.getString("NATIONALITY")); contactPerson = checkNull(rs.getString("CONTACT_PERS"));
contactPerson = checkNull(rs.getString("CONTACT_PERS")); sex = checkNull(rs.getString("SEX"));
sex = checkNull(rs.getString("SEX")); namePrefix = checkNull(rs.getString("NAME_PREFIX"));
namePrefix = checkNull(rs.getString("NAME_PREFIX")); citizen = checkNull(rs.getString("CITIZEN"));
citizen = checkNull(rs.getString("CITIZEN")); if (citizen.trim().length() == 0)
if (citizen.trim().length() == 0) {
{ citizen = "Y";
citizen = "Y"; }
} contactCity = checkNull(rs.getString("CONTACT_CITY"));
contactCity = checkNull(rs.getString("CONTACT_CITY")); contactState = checkNull(rs.getString("CONTACT_STATE"));
contactState = checkNull(rs.getString("CONTACT_STATE")); physicalHandicap = checkNull(rs.getString("PHYSICAL_HANDICAP"));
physicalHandicap = checkNull(rs.getString("PHYSICAL_HANDICAP")); drivLicNo = checkNull(rs.getString("DRIV_LIC_NO"));
drivLicNo = checkNull(rs.getString("DRIV_LIC_NO")); }
} if( rs != null )
if( rs != null ) {
{ rs.close();
rs.close(); rs = null;
rs = null; }
} if( pstmt != null )
if( pstmt != null ) {
{ pstmt.close();
pstmt.close(); pstmt = null;
pstmt = null; }
} System.out.println("shortName ..:: ["+shortName+"]");
System.out.println("shortName ..:: ["+shortName+"]"); System.out.println("contactCode ..:: ["+contactCode+"]");
System.out.println("contactCode ..:: ["+contactCode+"]"); System.out.println("maritalStatus ..:: ["+maritalStatus+"]");
System.out.println("maritalStatus ..:: ["+maritalStatus+"]"); System.out.println("maritalStatusDate ..:: ["+maritalStatusDate+"]");
System.out.println("maritalStatusDate ..:: ["+maritalStatusDate+"]"); System.out.println("nationality ..:: ["+nationality+"]");
System.out.println("nationality ..:: ["+nationality+"]"); System.out.println("contactPerson ..:: ["+contactPerson+"]");
System.out.println("contactPerson ..:: ["+contactPerson+"]"); System.out.println("sex ..:: ["+sex+"]");
System.out.println("sex ..:: ["+sex+"]"); System.out.println("namePrefix ..:: ["+namePrefix+"]");
System.out.println("namePrefix ..:: ["+namePrefix+"]"); System.out.println("citizen ..:: ["+citizen+"]");
System.out.println("citizen ..:: ["+citizen+"]"); System.out.println("contactCity ..:: ["+contactCity+"]");
System.out.println("contactCity ..:: ["+contactCity+"]"); System.out.println("contactState ..:: ["+contactState+"]");
System.out.println("contactState ..:: ["+contactState+"]"); System.out.println("physicalHandicap ..:: ["+physicalHandicap+"]");
System.out.println("physicalHandicap ..:: ["+physicalHandicap+"]"); System.out.println("drivLicNo ..:: ["+drivLicNo+"]");
System.out.println("drivLicNo ..:: ["+drivLicNo+"]");
if(shortName == null || shortName.length() == 0)
if(shortName == null || shortName.length() == 0) {
{ if (contactCode != null && contactCode.length() > 0)
if (contactCode != null && contactCode.length() > 0) {
{ sql = "SELECT SH_NAME FROM CONTACT WHERE CONTACT_CODE = ?";
sql = "SELECT SH_NAME FROM CONTACT WHERE CONTACT_CODE = ?"; pstmt = conn.prepareStatement(sql);
pstmt.setString(1,contactCode);
pstmt = conn.prepareStatement(sql); rs = pstmt.executeQuery();
pstmt.setString(1,contactCode);
rs = pstmt.executeQuery(); if(rs.next())
{
if(rs.next()) shName = checkNull(rs.getString("SH_NAME"));
{
shName = checkNull(rs.getString("SH_NAME"));
}
if( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
System.out.println("shName ..:: ["+shName+"]");
valueXmlString.append("<short_name><![CDATA[").append(shName).append("]]></short_name>\r\n");
}
}
// if no value is specified for marital status then system should set �K� in marital status and should allow to change.
// Also system should set empty value for marital status date and should not allow to change marital status date
if(maritalStatus == null || maritalStatus.length() == 0)
{
valueXmlString.append("<m_status protect=\"0\"><![CDATA[").append("K").append("]]></m_status>\r\n");
valueXmlString.append("<m_status_date protect=\"1\"></m_status_date>\r\n");
}
// if value specified for marital status is �K�, then system should allow to change marital status.
// Also system should set empty value for marital status date and should not allow to change marital status date
if(maritalStatus.equalsIgnoreCase("K"))
{
valueXmlString.append("<m_status protect=\"0\"><![CDATA[").append(maritalStatus).append("]]></m_status>\r\n");
valueXmlString.append("<m_status_date protect=\"1\"></m_status_date>\r\n");
}
// if no value is specified for marital status date then system should allow to change marital status
if(maritalStatusDate == null || maritalStatusDate.length() == 0)
{
valueXmlString.append("<m_status protect=\"0\"><![CDATA[").append(maritalStatus).append("]]></m_status>\r\n");
}
// If no value is specified for marital status date and value for marital status is �other then �K� then
//system should allow to change marital status date
if((maritalStatusDate == null || maritalStatusDate.length() == 0) && !(maritalStatus.equalsIgnoreCase("K")))
{
valueXmlString.append("<m_status_date protect=\"0\"><![CDATA[").append(maritalStatusDate).append("]]></m_status_date>\r\n");
}
// If value for nationality is not specified then system should set default nationality defined in payroll parameter �NATIONAL�
if(nationality == null || nationality.length() == 0)
{
String defaultNationality = getEnv( "999999", "NATIONAL", conn);
if (!defaultNationality.equalsIgnoreCase("NULLFOUND"))
{
valueXmlString.append("<nationality><![CDATA[").append(defaultNationality).append("]]></nationality>\r\n");
}
}
// In case of value for contact person is not specified and contact code is specified
// then system should fetch contact person name from contact master for the contact code and set into contact person
if(contactPerson == null || contactPerson.length() == 0)
{
if(contactCode != null && contactCode.length() > 0)
{
sql = "SELECT CONT_PERS FROM CONTACT WHERE CONTACT_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,contactCode);
rs = pstmt.executeQuery();
if(rs.next())
{
contPers = checkNull(rs.getString("CONT_PERS"));
}
if( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
System.out.println("contPers ..:: ["+contPers+"]");
valueXmlString.append("<contact_pers><![CDATA[").append(contPers).append("]]></contact_pers>\r\n");
}
}
// If value for sex is not specified then system should set �M� (i.e. Male) for sex
if(sex == null || sex.length() == 0)
{
valueXmlString.append("<sex><![CDATA[").append("M").append("]]></sex>\r\n");
}
// If value for name prefix is not specified then system should
//1.set �Mr� for name prefix if no value is specified for sex or value specified for sex is �M�
//2.set �Ms� for name prefix if value specified for sex is �F�
if(namePrefix == null || namePrefix.length() == 0)
{
if((sex == null || sex.length() == 0) || sex.equalsIgnoreCase("M"))
{
valueXmlString.append("<name_prefix><![CDATA[").append("Mr").append("]]></name_prefix>\r\n");
}
else if(sex.equalsIgnoreCase("F"))
{
valueXmlString.append("<name_prefix><![CDATA[").append("Ms").append("]]></name_prefix>\r\n");
}
}
// If value for citizen is not specified then system should set �Y� for citizen
if(citizen == null || citizen.length() == 0)
{
valueXmlString.append("<citizen><![CDATA[").append("Y").append("]]></citizen>\r\n");
}
// If value for contact city is not specified then system should allow to change contact state
if(contactCity == null || contactCity.length() == 0)
{
valueXmlString.append("<contact_state protect=\"0\"><![CDATA[").append(contactState).append("]]></contact_state>\r\n");
}
// If value for physical handicap is not specified then system should set �N� for physical handicap
if(physicalHandicap == null || physicalHandicap.length() == 0)
{
valueXmlString.append("<physical_handicap><![CDATA[").append("N").append("]]></physical_handicap>\r\n");
}
// if value for physical handicap is not specified or the value is �N� for physical handicap then
// system should set empty value in physical handicap category and should not allow to enter value for physical handicap category
if((physicalHandicap == null || physicalHandicap.length() == 0) || physicalHandicap.equalsIgnoreCase("N"))
{
valueXmlString.append("<handicap_category protect=\"1\"><![CDATA[").append("").append("]]></handicap_category>\r\n");
}
// If value for driving license is not specified then system set null value in driving license valid uipto and
//should not allow to enter value for driving license valid uipto
if(drivLicNo == null || drivLicNo.length() == 0)
{
valueXmlString.append("<driv_lic_valid_upto protect=\"1\"></driv_lic_valid_upto>\r\n");
}
} }
// If value of sex is �M� then system should set �Mr� for name prefix else system should set �Ms� for name prefix if( rs != null )
else if (currentColumn.equalsIgnoreCase("sex"))
{ {
sex = checkNull(genericUtility.getColumnValue("sex",dom,"1")) ; rs.close();
System.out.println("sex::::::::["+sex+"]"); rs = null;
if(sex.equalsIgnoreCase("M"))
{
valueXmlString.append("<name_prefix><![CDATA[").append("Mr").append("]]></name_prefix>\r\n");
}
else
{
valueXmlString.append("<name_prefix><![CDATA[").append("Ms").append("]]></name_prefix>\r\n");
}
} }
// 1.If no value is specified for contact city, then system should allow to change contact state if( pstmt != null )
// 2.if value is specified for contact city, then system should fetch stats code from station master where description in station master is matches with entered contact city and
//should set fetched stats code in contact state and should not allow to change contact state
else if (currentColumn.equalsIgnoreCase("contact_city"))
{ {
contactCity = checkNull(genericUtility.getColumnValue("contact_city",dom,"1")) ; pstmt.close();
contactState = checkNull(genericUtility.getColumnValue("contact_state",dom,"1")) ; pstmt = null;
System.out.println("contactCity::::::::["+contactCity+"]");
System.out.println("contactState::::::::["+contactState+"]");
if(contactCity == null || contactCity.length() == 0)
{
valueXmlString.append("<contact_state protect=\"0\"><![CDATA[").append(contactState).append("]]></contact_state>\r\n");
}
else
{
sql = "SELECT STATE_CODE FROM STATION WHERE DESCR = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,contactCity);
rs = pstmt.executeQuery();
if(rs.next())
{
stateCode = checkNull(rs.getString("STATE_CODE"));
}
if( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
System.out.println("stateCode ..:: ["+stateCode+"]");
valueXmlString.append("<contact_state protect=\"1\"><![CDATA[").append(stateCode).append("]]></contact_state>\r\n");
}
} }
// If value of marital status is �K� then system should set empty value in marital status date and System.out.println("shName ..:: ["+shName+"]");
// should not allow to change marital status date valueXmlString.append("<short_name><![CDATA[").append(shName).append("]]></short_name>\r\n");
}
}
// if no value is specified for marital status then system should set �K� in marital status and should allow to change.
// Also system should set empty value for marital status date and should not allow to change marital status date
if(maritalStatus == null || maritalStatus.length() == 0)
{
valueXmlString.append("<m_status protect=\"0\"><![CDATA[").append("K").append("]]></m_status>\r\n");
valueXmlString.append("<m_status_date protect=\"1\"></m_status_date>\r\n");
}
// if value specified for marital status is �K�, then system should allow to change marital status.
// Also system should set empty value for marital status date and should not allow to change marital status date
if(maritalStatus.equalsIgnoreCase("K"))
{
valueXmlString.append("<m_status protect=\"0\"><![CDATA[").append(maritalStatus).append("]]></m_status>\r\n");
valueXmlString.append("<m_status_date protect=\"1\"></m_status_date>\r\n");
}
// if no value is specified for marital status date then system should allow to change marital status
if(maritalStatusDate == null || maritalStatusDate.length() == 0)
{
valueXmlString.append("<m_status protect=\"0\"><![CDATA[").append(maritalStatus).append("]]></m_status>\r\n");
}
// If no value is specified for marital status date and value for marital status is �other then �K� then
//system should allow to change marital status date
if((maritalStatusDate == null || maritalStatusDate.length() == 0) && !(maritalStatus.equalsIgnoreCase("K")))
{
valueXmlString.append("<m_status_date protect=\"0\"><![CDATA[").append(maritalStatusDate).append("]]></m_status_date>\r\n");
}
// If value for nationality is not specified then system should set default nationality defined in payroll parameter �NATIONAL�
if(nationality == null || nationality.length() == 0)
{
String defaultNationality = getEnv( "999999", "NATIONAL", conn);
if (!defaultNationality.equalsIgnoreCase("NULLFOUND"))
{
valueXmlString.append("<nationality><![CDATA[").append(defaultNationality).append("]]></nationality>\r\n");
}
else if (currentColumn.equalsIgnoreCase("m_status")) }
// In case of value for contact person is not specified and contact code is specified
// then system should fetch contact person name from contact master for the contact code and set into contact person
if(contactPerson == null || contactPerson.length() == 0)
{
if(contactCode != null && contactCode.length() > 0)
{
sql = "SELECT CONT_PERS FROM CONTACT WHERE CONTACT_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,contactCode);
rs = pstmt.executeQuery();
if(rs.next())
{ {
maritalStatus = checkNull(genericUtility.getColumnValue("m_status",dom,"1")); contPers = checkNull(rs.getString("CONT_PERS"));
System.out.println("maritalStatus::::::::["+maritalStatus+"]");
maritalStatusDate = checkNull(genericUtility.getColumnValue("m_status_date",dom,"1"));
System.out.println("maritalStatusDate::::::::["+maritalStatusDate+"]");
if(maritalStatus.equalsIgnoreCase("K"))
{
valueXmlString.append("<m_status_date protect=\"1\"><![CDATA[").append("").append("]]></m_status_date>\r\n");
}
else
{
valueXmlString.append("<m_status_date protect=\"0\"><![CDATA[").append(maritalStatusDate).append("]]></m_status_date>\r\n");
}
} }
if( rs != null )
// 1.If driving license is specified then system should allow to change driving license upto date
// 2.If driving license is not specified then system should set empty value in driving license upto date and should not allow to change it
else if (currentColumn.equalsIgnoreCase("driv_lic_no"))
{ {
drivLicNo = checkNull(genericUtility.getColumnValue("driv_lic_no",dom,"1")); rs.close();
drivLicValidUpto = checkNull(genericUtility.getColumnValue("driv_lic_valid_upto",dom,"1")); rs = null;
System.out.println("drivLicNo::::::::["+drivLicNo+"]");
System.out.println("drivLicValidUpto::::::::["+drivLicValidUpto+"]");
if(drivLicNo != null && drivLicNo.length() > 0 )
{
valueXmlString.append("<driv_lic_valid_upto protect=\"0\"><![CDATA[").append(drivLicValidUpto).append("]]></driv_lic_valid_upto>\r\n");
}
else
{
valueXmlString.append("<driv_lic_valid_upto protect=\"1\"></driv_lic_valid_upto>\r\n");
}
} }
if( pstmt != null )
// 1.If value is specified as �Y� then system should allow to change handicap category
// 2.If value is specified as �N� then system should set empty value for handicap category and should not allow to change it
else if (currentColumn.equalsIgnoreCase("physical_handicap"))
{ {
physicalHandicap = checkNull(genericUtility.getColumnValue("physical_handicap",dom,"1")); pstmt.close();
handicapCategory = checkNull(genericUtility.getColumnValue("handicap_category",dom,"1")); pstmt = null;
if(physicalHandicap.equalsIgnoreCase("Y"))
{
valueXmlString.append("<handicap_category protect=\"0\"><![CDATA[").append(handicapCategory).append("]]></handicap_category>\r\n");
}
else if(physicalHandicap.equalsIgnoreCase("N"))
{
valueXmlString.append("<handicap_category protect=\"1\"><![CDATA[").append("").append("]]></handicap_category>\r\n");
}
} }
System.out.println("contPers ..:: ["+contPers+"]");
//Modified by Azhar K. [To recalculate retirement age and date on change of birth date][Start] valueXmlString.append("<contact_pers><![CDATA[").append(contPers).append("]]></contact_pers>\r\n");
else if (currentColumn.equalsIgnoreCase("birth_date")) }
{ }
int retirementAge = 0;
// If value for sex is not specified then system should set �M� (i.e. Male) for sex
if(sex == null || sex.length() == 0)
{
valueXmlString.append("<sex><![CDATA[").append("M").append("]]></sex>\r\n");
}
// If value for name prefix is not specified then system should
//1.set �Mr� for name prefix if no value is specified for sex or value specified for sex is �M�
//2.set �Ms� for name prefix if value specified for sex is �F�
if(namePrefix == null || namePrefix.length() == 0)
{
if((sex == null || sex.length() == 0) || sex.equalsIgnoreCase("M"))
{
valueXmlString.append("<name_prefix><![CDATA[").append("Mr").append("]]></name_prefix>\r\n");
}
else if(sex.equalsIgnoreCase("F"))
{
valueXmlString.append("<name_prefix><![CDATA[").append("Ms").append("]]></name_prefix>\r\n");
}
}
// If value for citizen is not specified then system should set �Y� for citizen
if(citizen == null || citizen.length() == 0)
{
valueXmlString.append("<citizen><![CDATA[").append("Y").append("]]></citizen>\r\n");
}
// If value for contact city is not specified then system should allow to change contact state
if(contactCity == null || contactCity.length() == 0)
{
valueXmlString.append("<contact_state protect=\"0\"><![CDATA[").append(contactState).append("]]></contact_state>\r\n");
}
// If value for physical handicap is not specified then system should set �N� for physical handicap
if(physicalHandicap == null || physicalHandicap.length() == 0)
{
valueXmlString.append("<physical_handicap><![CDATA[").append("N").append("]]></physical_handicap>\r\n");
}
// if value for physical handicap is not specified or the value is �N� for physical handicap then
// system should set empty value in physical handicap category and should not allow to enter value for physical handicap category
if((physicalHandicap == null || physicalHandicap.length() == 0) || physicalHandicap.equalsIgnoreCase("N"))
{
valueXmlString.append("<handicap_category protect=\"1\"><![CDATA[").append("").append("]]></handicap_category>\r\n");
}
// If value for driving license is not specified then system set null value in driving license valid uipto and
//should not allow to enter value for driving license valid uipto
if(drivLicNo == null || drivLicNo.length() == 0)
{
valueXmlString.append("<driv_lic_valid_upto protect=\"1\"></driv_lic_valid_upto>\r\n");
}
}
// If value of sex is �M� then system should set �Mr� for name prefix else system should set �Ms� for name prefix
else if (currentColumn.equalsIgnoreCase("sex"))
{
sex = checkNull(genericUtility.getColumnValue("sex",dom,"1")) ;
System.out.println("sex::::::::["+sex+"]");
if(sex.equalsIgnoreCase("M"))
{
valueXmlString.append("<name_prefix><![CDATA[").append("Mr").append("]]></name_prefix>\r\n");
}
else
{
valueXmlString.append("<name_prefix><![CDATA[").append("Ms").append("]]></name_prefix>\r\n");
}
}
// 1.If no value is specified for contact city, then system should allow to change contact state
// 2.if value is specified for contact city, then system should fetch stats code from station master where description in station master is matches with entered contact city and
//should set fetched stats code in contact state and should not allow to change contact state
else if (currentColumn.equalsIgnoreCase("contact_city"))
{
contactCity = checkNull(genericUtility.getColumnValue("contact_city",dom,"1")) ;
contactState = checkNull(genericUtility.getColumnValue("contact_state",dom,"1")) ;
System.out.println("contactCity::::::::["+contactCity+"]");
System.out.println("contactState::::::::["+contactState+"]");
if(contactCity == null || contactCity.length() == 0)
{
valueXmlString.append("<contact_state protect=\"0\"><![CDATA[").append(contactState).append("]]></contact_state>\r\n");
}
else
{
sql = "SELECT STATE_CODE FROM STATION WHERE DESCR = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,contactCity);
rs = pstmt.executeQuery();
if(rs.next())
{
stateCode = checkNull(rs.getString("STATE_CODE"));
}
if( rs != null )
{
rs.close();
rs = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
System.out.println("stateCode ..:: ["+stateCode+"]");
valueXmlString.append("<contact_state protect=\"1\"><![CDATA[").append(stateCode).append("]]></contact_state>\r\n");
}
}
// If value of marital status is �K� then system should set empty value in marital status date and
// should not allow to change marital status date
else if (currentColumn.equalsIgnoreCase("m_status"))
{
maritalStatus = checkNull(genericUtility.getColumnValue("m_status",dom,"1"));
System.out.println("maritalStatus::::::::["+maritalStatus+"]");
maritalStatusDate = checkNull(genericUtility.getColumnValue("m_status_date",dom,"1"));
System.out.println("maritalStatusDate::::::::["+maritalStatusDate+"]");
if(maritalStatus.equalsIgnoreCase("K"))
{
valueXmlString.append("<m_status_date protect=\"1\"><![CDATA[").append("").append("]]></m_status_date>\r\n");
}
else
{
valueXmlString.append("<m_status_date protect=\"0\"><![CDATA[").append(maritalStatusDate).append("]]></m_status_date>\r\n");
}
}
// 1.If driving license is specified then system should allow to change driving license upto date
// 2.If driving license is not specified then system should set empty value in driving license upto date and should not allow to change it
else if (currentColumn.equalsIgnoreCase("driv_lic_no"))
{
drivLicNo = checkNull(genericUtility.getColumnValue("driv_lic_no",dom,"1"));
drivLicValidUpto = checkNull(genericUtility.getColumnValue("driv_lic_valid_upto",dom,"1"));
System.out.println("drivLicNo::::::::["+drivLicNo+"]");
System.out.println("drivLicValidUpto::::::::["+drivLicValidUpto+"]");
if(drivLicNo != null && drivLicNo.length() > 0 )
{
valueXmlString.append("<driv_lic_valid_upto protect=\"0\"><![CDATA[").append(drivLicValidUpto).append("]]></driv_lic_valid_upto>\r\n");
}
else
{
valueXmlString.append("<driv_lic_valid_upto protect=\"1\"></driv_lic_valid_upto>\r\n");
}
}
// 1.If value is specified as �Y� then system should allow to change handicap category
// 2.If value is specified as �N� then system should set empty value for handicap category and should not allow to change it
else if (currentColumn.equalsIgnoreCase("physical_handicap"))
{
physicalHandicap = checkNull(genericUtility.getColumnValue("physical_handicap",dom,"1"));
handicapCategory = checkNull(genericUtility.getColumnValue("handicap_category",dom,"1"));
if(physicalHandicap.equalsIgnoreCase("Y"))
{
valueXmlString.append("<handicap_category protect=\"0\"><![CDATA[").append(handicapCategory).append("]]></handicap_category>\r\n");
}
else if(physicalHandicap.equalsIgnoreCase("N"))
{
valueXmlString.append("<handicap_category protect=\"1\"><![CDATA[").append("").append("]]></handicap_category>\r\n");
}
}
//Modified by Azhar K. [To recalculate retirement age and date on change of birth date][Start]
else if (currentColumn.equalsIgnoreCase("birth_date"))
{
int retirementAge = 0;
//Added by Dipesh on[19/07/2019][Start] //Added by Dipesh on[19/07/2019][Start]
//retAge = checkNull(genericUtility.getColumnValue("retirement_age",dom)); //retAge = checkNull(genericUtility.getColumnValue("retirement_age",dom));
...@@ -539,41 +530,40 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -539,41 +530,40 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
retDate = checkNull(genericUtility.getColumnValue("retirement_date",dom)); retDate = checkNull(genericUtility.getColumnValue("retirement_date",dom));
//Added by Dipesh on[19/07/2019][End] //Added by Dipesh on[19/07/2019][End]
birthDateDT = Timestamp.valueOf(genericUtility.getValidDateString(birthDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0"); birthDateDT = Timestamp.valueOf(genericUtility.getValidDateString(birthDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
try try
{ {
retirementAge = Integer.parseInt(retAge); retirementAge = Integer.parseInt(retAge);
} }
catch(Exception e) catch(Exception e)
{ {
retirementAge = 0; retirementAge = 0;
} }
retireAge = retirementAge * 12; retireAge = retirementAge * 12;
if((birthDate !=null && birthDate.trim().length() > 0) && (retAge != null && retAge.trim().length() > 0)) if((birthDate !=null && birthDate.trim().length() > 0) && (retAge != null && retAge.trim().length() > 0))
{ {
Calendar cal = Calendar.getInstance(); Calendar cal = Calendar.getInstance();
dateOfBirth = new java.util.Date(birthDateDT.getTime()); dateOfBirth = new java.util.Date(birthDateDT.getTime());
cal.setTime(dateOfBirth); cal.setTime(dateOfBirth);
cal.add(Calendar.MONTH, (int) retireAge); cal.add(Calendar.MONTH, (int) retireAge);
retDateDT = cal.getTime(); retDateDT = cal.getTime();
retirementDate = new Timestamp(retDateDT.getTime()); retirementDate = new Timestamp(retDateDT.getTime());
} }
if(retirementDate != null) if(retirementDate != null)
{ {
retDate = genericUtility.getValidDateString(retirementDate.toString(), genericUtility.getDBDateFormat(), genericUtility.getApplDateFormat()); retDate = genericUtility.getValidDateString(retirementDate.toString(), genericUtility.getDBDateFormat(), genericUtility.getApplDateFormat());
} }
valueXmlString.append("<retirement_age>").append("<![CDATA[" + retireAge + "]]>").append("</retirement_age>"); valueXmlString.append("<retirement_age>").append("<![CDATA[" + retireAge + "]]>").append("</retirement_age>");
valueXmlString.append("<retirement_date>").append("<![CDATA[" + retDate + "]]>").append("</retirement_date>"); valueXmlString.append("<retirement_date>").append("<![CDATA[" + retDate + "]]>").append("</retirement_date>");
} }
//Modified by Azhar K. [To recalculate retirement age and date on change of birth date][End] //Modified by Azhar K. [To recalculate retirement age and date on change of birth date][End]
valueXmlString.append("</Detail1>\r\n"); }//End of Case 1
valueXmlString.append("</Detail1>\r\n");
}//End of Case 1 break;
break;
}//END OF SWITCH }//END OF SWITCH
valueXmlString.append("</Root>\r\n");
}//End of try block }//End of try block
catch(Exception e) catch(Exception e)
{ {
e.printStackTrace(); e.printStackTrace();
System.out.println( "Exception :EmpPersonalInfo [itemChanged(String xmlString)] : ==>\n"+e.getMessage()); System.out.println( "Exception :EmpPersonalInfo [itemChanged(String xmlString)] : ==>\n"+e.getMessage());
...@@ -598,7 +588,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -598,7 +588,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
conn.close(); conn.close();
conn = null; conn = null;
} }
} }
catch(Exception e) catch(Exception e)
{ {
...@@ -607,13 +597,10 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -607,13 +597,10 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
throw new ITMException(e); throw new ITMException(e);
} }
}//End of finally block }//End of finally block
valueXmlString.append("</Root>\r\n");
System.out.println("valueXmlString....["+valueXmlString.toString()); System.out.println("valueXmlString....["+valueXmlString.toString());
return valueXmlString.toString(); return valueXmlString.toString();
}//End of itemChanged block }//End of itemChanged block
//Start of wfValData Start //Start of wfValData Start
public String wfValData() throws RemoteException,ITMException public String wfValData() throws RemoteException,ITMException
{ {
...@@ -625,7 +612,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -625,7 +612,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
System.out.println("Came Inside 1 wfValData:::"); System.out.println("Came Inside 1 wfValData:::");
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start]
//GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][End] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][End]
Document dom = null; Document dom = null;
...@@ -669,14 +656,14 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -669,14 +656,14 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
System.out.println("Exception : [EmpPersonalInfo][wfValData(String xmlString)] : ==>\n"+e.getMessage()); System.out.println("Exception : [EmpPersonalInfo][wfValData(String xmlString)] : ==>\n"+e.getMessage());
e.printStackTrace(); e.printStackTrace();
errString = genericUtility.createErrorString(e); errString = genericUtility.createErrorString(e);
} }
return (errString); return (errString);
} }
public String wfValData(Document dom, Document dom1,Document dom2, 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
{ {
Node parentNode = null; Node parentNode = null;
Node childNode = null; Node childNode = null;
ITMDBAccessEJB itmDbAccess = null; ITMDBAccessEJB itmDbAccess = null;
...@@ -689,7 +676,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -689,7 +676,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
int currentFormNo = 0; int currentFormNo = 0;
int childNodeListLength = 0; int childNodeListLength = 0;
String msgType = ""; String msgType = "";
String errCode = ""; String errCode = "";
String errFldName = ""; String errFldName = "";
...@@ -705,7 +692,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -705,7 +692,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
//Varibles used in case 1 Start //Varibles used in case 1 Start
String userId = ""; String userId = "";
String nationality = ""; String nationality = "";
String contactState = ""; String contactState = "";
...@@ -715,12 +702,12 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -715,12 +702,12 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
int ctr = 0; int ctr = 0;
int count = 0; int count = 0;
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start]
//GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][End] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][End]
Connection conn = null; Connection conn = null;
try try
{ {
...@@ -731,51 +718,95 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -731,51 +718,95 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
//Added by Dipesh on[19/07/2019][End] //Added by Dipesh on[19/07/2019][End]
conn=getConnection(); conn=getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
if(objContext != null && objContext.trim().length()>0) if(objContext != null && objContext.trim().length()>0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
} }
switch(currentFormNo) switch(currentFormNo)
{ {
case 1: case 1:
{
parentNodeList = dom.getElementsByTagName("Detail"+currentFormNo);
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++)
{ {
parentNodeList = dom.getElementsByTagName("Detail"+currentFormNo); childNode = childNodeList.item(ctr);
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeListLength; ctr++) System.out.println("childNode"+childNode);
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{ {
childNode = childNodeList.item(ctr); continue;
}
System.out.println("childNode"+childNode);
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
if(childNodeName.equalsIgnoreCase("nationality")) if(childNodeName.equalsIgnoreCase("nationality"))
{ {
//Added by Dipesh on[19/07/2019][Start] //Added by Dipesh on[19/07/2019][Start]
//nationality = genericUtility.getColumnValue("nationality",dom,objContext); //nationality = genericUtility.getColumnValue("nationality",dom,objContext);
nationality = checkNull(genericUtility.getColumnValue("nationality",dom,objContext)); nationality = checkNull(genericUtility.getColumnValue("nationality",dom,objContext));
//Added by Dipesh on[19/07/2019][End] //Added by Dipesh on[19/07/2019][End]
System.out.println("nationality got in the validation ..::["+nationality+"]"); System.out.println("nationality got in the validation ..::["+nationality+"]");
sql = "SELECT COUNT(*) AS COUNTRY_CNT FROM COUNTRY WHERE COUNT_CODE = ?"; sql = "SELECT COUNT(*) AS COUNTRY_CNT FROM COUNTRY WHERE COUNT_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,nationality);
rs = pstmt.executeQuery();
if( rs.next())
{
count = rs.getInt("COUNTRY_CNT");
}
System.out.println("count:::: "+count);
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if(count == 0)
{
System.out.println("Invalid country, not defined in master::::");
errList.add( "VMCONT" );
errFields.add( childNodeName.toLowerCase() );
msgType = errorType( conn , "VMCONT" );
if ( msgType.equalsIgnoreCase("E"))
{
break;
}
}
}
else if(childNodeName.equalsIgnoreCase("contact_state"))
{
//Added by Dipesh on[19/07/2019][Start]
//contactState = genericUtility.getColumnValue("contact_state",dom,objContext);
contactState = checkNull(genericUtility.getColumnValue("contact_state",dom,objContext));
//Added by Dipesh on[19/07/2019][End]
System.out.println("contactState got in the validation ..::["+contactState+"]");
if( contactState != null && contactState.length() > 0 )
{
sql = "SELECT COUNT(*) AS STATE_CNT FROM STATE WHERE STATE_CODE = ?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,nationality); pstmt.setString(1,contactState);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if( rs.next()) if( rs.next())
{ {
count = rs.getInt("COUNTRY_CNT"); count = rs.getInt("STATE_CNT");
} }
System.out.println("count:::: "+count); System.out.println("count:::: "+count);
if ( rs != null ) if ( rs != null )
...@@ -788,160 +819,111 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -788,160 +819,111 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
if(count == 0) if(count == 0)
{ {
System.out.println("Invalid country, not defined in master::::"); System.out.println("Invalid country, not defined in master::::");
errList.add( "VMCONT" ); errList.add( "VESTATCD2" );
errFields.add( childNodeName.toLowerCase() ); errFields.add( childNodeName.toLowerCase() );
msgType = errorType( conn , "VMCONT" ); msgType = errorType( conn , "VESTATCD2" );
if ( msgType.equalsIgnoreCase("E")) if ( msgType.equalsIgnoreCase("E"))
{ {
break; break;
} }
} }
} }
else if(childNodeName.equalsIgnoreCase("contact_state")) }
{ else if(childNodeName.equalsIgnoreCase("handicap_category"))
//Added by Dipesh on[19/07/2019][Start] {
//contactState = genericUtility.getColumnValue("contact_state",dom,objContext); count = 0;
contactState = checkNull(genericUtility.getColumnValue("contact_state",dom,objContext));
//Added by Dipesh on[19/07/2019][End]
System.out.println("contactState got in the validation ..::["+contactState+"]");
if( contactState != null && contactState.length() > 0 )
{
sql = "SELECT COUNT(*) AS STATE_CNT FROM STATE WHERE STATE_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,contactState);
rs = pstmt.executeQuery();
if( rs.next())
{
count = rs.getInt("STATE_CNT");
}
System.out.println("count:::: "+count);
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if(count == 0)
{
System.out.println("Invalid country, not defined in master::::");
errList.add( "VESTATCD2" );
errFields.add( childNodeName.toLowerCase() );
msgType = errorType( conn , "VESTATCD2" );
if ( msgType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
else if(childNodeName.equalsIgnoreCase("handicap_category"))
{
count = 0;
//Added by Dipesh on[19/07/2019][Start] //Added by Dipesh on[19/07/2019][Start]
//handicapcategory = genericUtility.getColumnValue("handicap_category",dom,objContext); //handicapcategory = genericUtility.getColumnValue("handicap_category",dom,objContext);
handicapcategory = checkNull(genericUtility.getColumnValue("handicap_category",dom,objContext)); handicapcategory = checkNull(genericUtility.getColumnValue("handicap_category",dom,objContext));
//Added by Dipesh on[19/07/2019][End] //Added by Dipesh on[19/07/2019][End]
System.out.println("handicapcategory got in the validation ..::["+handicapcategory+"]"); System.out.println("handicapcategory got in the validation ..::["+handicapcategory+"]");
if(handicapcategory != null && handicapcategory.length() > 0) if(handicapcategory != null && handicapcategory.length() > 0)
{
sql = "select count(*) as gen_count from gencodes where fld_name = 'HANDICAP_CATEGORY' and mod_name = 'X' and fld_value = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,handicapcategory);
rs = pstmt.executeQuery();
if( rs.next())
{ {
sql = "select count(*) as gen_count from gencodes where fld_name = 'HANDICAP_CATEGORY' and mod_name = 'X' and fld_value = ?"; count = rs.getInt("gen_count");
}
pstmt = conn.prepareStatement(sql); System.out.println("count:::: "+count);
pstmt.setString(1,handicapcategory); if ( rs != null )
{
rs = pstmt.executeQuery(); rs.close();
rs = null;
if( rs.next()) }
{ if ( pstmt != null )
count = rs.getInt("gen_count"); {
} pstmt.close();
System.out.println("count:::: "+count); pstmt = null;
if ( rs != null ) }
{ if(count == 0)
rs.close(); {
rs = null; System.out.println("Invalid Handicape Category, not defined in gencodes::::");
}
if ( pstmt != null ) errList.add( "VTINVHDCGR" );
{ errFields.add( childNodeName.toLowerCase() );
pstmt.close();
pstmt = null; msgType = errorType( conn , "VTINVHDCGR" );
} if ( msgType.equalsIgnoreCase("E"))
if(count == 0)
{ {
System.out.println("Invalid Handicape Category, not defined in gencodes::::"); break;
errList.add( "VTINVHDCGR" );
errFields.add( childNodeName.toLowerCase() );
msgType = errorType( conn , "VTINVHDCGR" );
if ( msgType.equalsIgnoreCase("E"))
{
break;
}
} }
} }
} }
}
} }
}//End of case }//End of case
break; break;
}//End of Switch }//End of Switch
int errListSize = errList.size(); int errListSize = errList.size();
if ( errList != null && errListSize > 0 ) if ( errList != null && errListSize > 0 )
{
for (cnt = 0; cnt < errListSize; cnt++ )
{ {
for (cnt = 0; cnt < errListSize; cnt++ ) errCode = (String)errList.get(cnt);
{ errFldName = (String)errFields.get(cnt);
errCode = (String)errList.get(cnt); System.out.println("errCode .........."+errCode);
errFldName = (String)errFields.get(cnt);
System.out.println("errCode .........."+errCode);
//Modified by Dipesh on 19/07/2019[Start] //Modified by Dipesh on 19/07/2019[Start]
//errString = getErrorString( errFldName, errCode, userId ); //errString = getErrorString( errFldName, errCode, userId );
errString = itmDbAccess.getErrorString(errFldName, errCode, userId, "", conn); errString = itmDbAccess.getErrorString(errFldName, errCode, userId, "", conn);
//Modified by Dipesh on 19/07/2019[Start] //Modified by Dipesh on 19/07/2019[Start]
System.out.println("errString is : ::::>>>> " + errString); System.out.println("errString is : ::::>>>> " + errString);
msgType = errorType( conn , errCode ); msgType = errorType( conn , errCode );
if ( errString.length() > 0) if ( errString.length() > 0)
{ {
String bifurErrString = errString.substring( errString.indexOf("<Errors>") + 8,errString.indexOf("<trace>")); String bifurErrString = errString.substring( errString.indexOf("<Errors>") + 8,errString.indexOf("<trace>"));
bifurErrString =bifurErrString+errString.substring( errString.indexOf("</trace>") + 8,errString.indexOf("</Errors>")); bifurErrString =bifurErrString+errString.substring( errString.indexOf("</trace>") + 8,errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString); errStringXml.append(bifurErrString);
System.out.println("errStringXml .........."+errStringXml); System.out.println("errStringXml .........."+errStringXml);
errString = ""; errString = "";
} }
if ( msgType.equalsIgnoreCase("E")) if ( msgType.equalsIgnoreCase("E"))
{ {
break; break;
}
} }
errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors></Root>\r\n");
}
else
{
errStringXml = new StringBuffer( "" );
} }
errString = errStringXml.toString(); errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors></Root>\r\n");
}
else
{
errStringXml = new StringBuffer( "" );
}
errString = errStringXml.toString();
} }
catch(Exception e) catch(Exception e)
...@@ -964,7 +946,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -964,7 +946,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
} }
if ( conn != null ) if ( conn != null )
{ {
conn.close(); conn.close();
...@@ -978,7 +960,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -978,7 +960,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
} }
} }
return errString; return errString;
} }
//Start of wfValData End //Start of wfValData End
...@@ -1025,7 +1007,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca ...@@ -1025,7 +1007,7 @@ public class EmpPersonalInfo extends ValidatorEJB implements EmpPersonalInfoLoca
try try
{ {
String sql = " SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ? "; String sql = " SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ? ";
pstmt = conn.prepareStatement( sql ); pstmt = conn.prepareStatement( sql );
pstmt.setString(1, errorCode); pstmt.setString(1, errorCode);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
......
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,1,1,2,0,'w_emp_personal_info','Employee Personal Detail','Employee Personal Detail','HRM.2.1.1.2.0','e12_logo.gif',null,null,'T',to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE ',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,REPEATADDDET,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,CUST_ACC_COL,SALES_PERS_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_CODE,EMP_ACC_COL,ITEM_SER_ACC_COL,WORKFLOW_OPT,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,TRAN_ID__FROM,TRAN_ID__TO,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,MULTITIRE_OPT,REF_SER,VIEW_MODE,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,IGNOREERRLIST_ONLOAD,CHILDDATA_ARGOPT,EDIT_TMPLT,WRKFLW_INIT,EDITTAX,FORMAL_ARGS,AUDIT_TRAIL_OPT,EDIT_OPT,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,RATE_COL,QTY_COL,EDIT_EXPR_INP,RCP_CACHE_STATUS,PRINT_CONTROL,TRANSFER_MODE,PROFILE_ID__RES,TRAN_COMPL_MSG,PERIOD_OPTION,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,CONFIRM_DATE_COL,CONFIRM_BY_COL,MSG_ONSAVE,WF_STATUS,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,DEF_VIEW,VIEW_OPTS,ISGWTINITIATED,DEFAULT_DATA_ROW,IN_WF_VAL,IN_WF_COL,CANCEL_VAL,CANCEL_COL,THUMB_ALT_COL,THUMB_IMAGE_COL,THUMB_OBJ,ATTACH_COUNT_MIN,FUNCTION_TYPE,COMPL_ACTION,DEFAULT_EDITOR,MSG_NO,OBJ_TYPE,STATUS_COL,ENABLE_EDITOR,OFFLINE_OPT,CLOSE_COL,CLOSE_VAL) values ('w_emp_personal_info','2','2','M','seq10',null,null,null,null,null,'N',to_date('26-11-14','DD-MM-RR'),'BASE ','BASE ','0',null,'status','Z',null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,null,null,null,'0','EMPLOYEE','ADM',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'0','3',null,null,' OR STATUS = ''S''',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,null,null,null,null,null,null,null,null,'compact',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 ('emp_personal_info',2,'E','a','a','Editing Existing Record','Edit','edit.gif','1',null,null,'S',null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE ',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 ('emp_personal_info',21,'Q','1','audit_trail','View Audit Trail','View Audit','menu.bmp','1','1','1','U',null,to_date('2018-09-12','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ',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 ('emp_personal_info',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_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_emp_personal_info','Personal Detail','emp_personal_info11','emp_personal_info21',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_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_personal_info','1 ','contact_city','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_personal_info','1 ','driv_lic_no','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_personal_info','1 ','itm_defaultedit','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_personal_info','1 ','m_status','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_personal_info','1 ','physical_handicap','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_personal_info','1 ','sex','Y');
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,RIGHTS_CHAR,IMAGE,LINK_NAME,SHOW_IN_PANEL,SHORTCUT_CHAR,AUTO_INVOKE) values ('emp_complete','1','emp_fname','emp_personal_info','emp_personal_info21 ','Personal Detail',null,'2','emp_code.String','1','1',null,null,null,null,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 ('CONTACT_CITY','W_EMP_PERSONAL_INFO','SELECT RTRIM(DESCR) FROM STATION WHERE DESCR LIKE ''%?%''',null,'City List',0,0,to_date('2018-05-15','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ','0',null,':contact_city',0,null,null,null,null,null,null,'0',null,null,null,null,null,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 ('NATIONALITY','W_EMP_PERSONAL_INFO','SELECT COUNT_CODE AS Country_Code, DESCR AS Country_Name FROM COUNTRY',null,'Country List',0,0,to_date('2018-05-15','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ','0',null,null,0,null,null,null,null,null,null,'0',null,null,null,null,null,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 ('CONTACT_STATE','W_EMP_PERSONAL_INFO','SELECT STATE_CODE AS State_Code, DESCR AS State_Name FROM STATE',null,'State List',0,0,to_date('2018-05-15','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV ','0',null,null,0,null,null,null,null,null,null,'0',null,null,null,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 ('emp_personal_info','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 ('emp_personal_info','post_item_change','1','poic_emp_personal_info',null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE','2','0','EJB','EmpPersonalInfo',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 ('emp_personal_info','post_validate','1','post_gen_val',null,to_date('2014-11-26','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 ('emp_personal_info','pre_validate','1','prv_emp_personal_info',null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE','2','0','EJB','EmpPersonalInfo',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 ('emp_personal_info','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 ('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_emp_personal_info','itemchanged','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','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 ('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 ('prv_emp_personal_info','Validatation','http://localhost:9090/axis/services/ValidatorService',null,'wfValData','String','S',null,null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','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 ('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');
nsert 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_emp_personal_info',1,'COMPONENT_TYPE','l',null,'S',null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE','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_emp_personal_info',2,'COMPONENT_NAME','l',null,'S',null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE','EmpPersonalInfo');
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_emp_personal_info',3,'XML_DATA','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',4,'XML_DATA_1','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',5,'XML_DATA_ALL','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',6,'OBJ_CONTEXT','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',7,'FOCUSED_COLUMN','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',8,'EDIT_FLAG','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',9,'XTRA_PARAMS','l',null,'S',null,to_date('2014-11-26','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 ('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 ('prv_emp_personal_info',1,'COMPONENT_TYPE','l',null,'S',null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE','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_emp_personal_info',2,'COMPONENT_NAME','l',null,'S',null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE','EmpPersonalInfo');
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_emp_personal_info',3,'XML_DATA','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',4,'XML_DATA_1','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',5,'XML_DATA_ALL','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',6,'OBJ_CONTEXT','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',7,'EDIT_FLAG','l',null,'S',null,to_date('2014-11-26','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_emp_personal_info',8,'XTRA_PARAMS','l',null,'S',null,to_date('2014-11-26','RRRR-MM-DD'),'BASE ','BASE',null);
...@@ -128,28 +128,28 @@ ...@@ -128,28 +128,28 @@
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>hobby1</name> <name>hobby1</name>
<dbname>hobby1</dbname> <dbname>employee.hobby1</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>hobby2</name> <name>hobby2</name>
<dbname>hobby2</dbname> <dbname>employee.hobby2</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>hobby3</name> <name>hobby3</name>
<dbname>hobby3</dbname> <dbname>employee.hobby3</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>hobby4</name> <name>hobby4</name>
<dbname>hobby4</dbname> <dbname>employee.hobby4</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="10">char</type> <type size="10">char</type>
...@@ -230,21 +230,21 @@ ...@@ -230,21 +230,21 @@
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>contact_add1</name> <name>contact_add1</name>
<dbname>contact_add1</dbname> <dbname>employee.contact_add1</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="50">char</type> <type size="50">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>contact_add2</name> <name>contact_add2</name>
<dbname>contact_add2</dbname> <dbname>employee.contact_add2</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="50">char</type> <type size="50">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>contact_add3</name> <name>contact_add3</name>
<dbname>contact_add3</dbname> <dbname>employee.contact_add3</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="20">char</type> <type size="20">char</type>
...@@ -397,23 +397,10 @@ ...@@ -397,23 +397,10 @@
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>revision_no</name> <name>revision_no</name>
<dbname>employee.revision_no</dbname> <dbname>employee.revision_no</dbname>
<initial>1</initial>
</table_column> </table_column>
<table_column> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee.short_name&quot;) COLUMN(NAME=&quot;employee.sex&quot;) COLUMN(NAME=&quot;employee.nationality&quot;) COLUMN(NAME=&quot;employee.citizen&quot;) COLUMN(NAME=&quot;employee.m_status&quot;) COLUMN(NAME=&quot;employee.blood_grp&quot;) COLUMN(NAME=&quot;employee.contact_pers&quot;) COLUMN(NAME=&quot;employee.hobby1&quot;) COLUMN(NAME=&quot;employee.hobby2&quot;) COLUMN(NAME=&quot;employee.hobby3&quot;) COLUMN(NAME=&quot;employee.hobby4&quot;) COLUMN(NAME=&quot;employee.emp_code&quot;) COLUMN(NAME=&quot;employee.chg_user&quot;) COLUMN(NAME=&quot;employee.chg_date&quot;) COLUMN(NAME=&quot;employee.birth_date&quot;) COLUMN(NAME=&quot;employee.religion&quot;) COLUMN(NAME=&quot;employee.m_status_date&quot;) COLUMN(NAME=&quot;employee.name_prefix&quot;) COLUMN(NAME=&quot;employee.state_code__domicile&quot;) COLUMN(NAME=&quot;employee.chg_term&quot;) COLUMN(NAME=&quot;employee.contact_add1&quot;) COLUMN(NAME=&quot;employee.contact_add2&quot;) COLUMN(NAME=&quot;employee.contact_add3&quot;) COLUMN(NAME=&quot;employee.contact_city&quot;) COLUMN(NAME=&quot;employee.contact_state&quot;) COLUMN(NAME=&quot;employee.contact_tel&quot;) COLUMN(NAME=&quot;employee.contact_pin&quot;) COLUMN(NAME=&quot;employee.maiden_name&quot;) COLUMN(NAME=&quot;employee.birth_place&quot;) COLUMN(NAME=&quot;employee.resi_permit_no&quot;) COLUMN(NAME=&quot;employee.resi_permit_upto&quot;) COLUMN(NAME=&quot;employee.social_security_no&quot;) COLUMN(NAME=&quot;employee.aadhar_card_no&quot;) COLUMN(NAME=&quot;employee.election_card_no&quot;) COLUMN(NAME=&quot;employee.driv_lic_no&quot;) COLUMN(NAME=&quot;employee.driv_lic_valid_upto&quot;) COLUMN(NAME=&quot;employee.physical_handicap&quot;) COLUMN(NAME=&quot;employee.handicap_category&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee.emp_fname_long&quot;) COLUMN(NAME=&quot;employee.emp_mname_long&quot;) COLUMN(NAME=&quot;employee.emp_lname_long&quot;) COLUMN(NAME=&quot;employee.revision_no&quot;)WHERE( EXP1 =&quot;employee.emp_code&quot; OP =&quot;=&quot; EXP2 =&quot;:memp&quot; ) ) ARG(NAME = &quot;memp&quot; TYPE = string) </retrieve>
<type precision="0">decimal</type> <update>EMPLOYEE</update>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>retirement_age</name>
<dbname>employee.retirement_age</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>retirement_date</name>
<dbname>employee.retirement_date</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;employee.short_name&quot;) COLUMN(NAME=&quot;employee.sex&quot;) COLUMN(NAME=&quot;employee.nationality&quot;) COLUMN(NAME=&quot;employee.citizen&quot;) COLUMN(NAME=&quot;employee.m_status&quot;) COLUMN(NAME=&quot;employee.blood_grp&quot;) COLUMN(NAME=&quot;employee.contact_pers&quot;) COLUMN(NAME=&quot;employee.hobby1&quot;) COLUMN(NAME=&quot;employee.hobby2&quot;) COLUMN(NAME=&quot;employee.hobby3&quot;) COLUMN(NAME=&quot;employee.hobby4&quot;) COLUMN(NAME=&quot;employee.emp_code&quot;) COLUMN(NAME=&quot;employee.chg_user&quot;) COLUMN(NAME=&quot;employee.chg_date&quot;) COLUMN(NAME=&quot;employee.birth_date&quot;) COLUMN(NAME=&quot;employee.religion&quot;) COLUMN(NAME=&quot;employee.m_status_date&quot;) COLUMN(NAME=&quot;employee.name_prefix&quot;) COLUMN(NAME=&quot;employee.state_code__domicile&quot;) COLUMN(NAME=&quot;employee.chg_term&quot;) COLUMN(NAME=&quot;employee.contact_add1&quot;) COLUMN(NAME=&quot;employee.contact_add2&quot;) COLUMN(NAME=&quot;employee.contact_add3&quot;) COLUMN(NAME=&quot;employee.contact_city&quot;) COLUMN(NAME=&quot;employee.contact_state&quot;) COLUMN(NAME=&quot;employee.contact_tel&quot;) COLUMN(NAME=&quot;employee.contact_pin&quot;) COLUMN(NAME=&quot;employee.maiden_name&quot;) COLUMN(NAME=&quot;employee.birth_place&quot;) COLUMN(NAME=&quot;employee.resi_permit_no&quot;) COLUMN(NAME=&quot;employee.resi_permit_upto&quot;) COLUMN(NAME=&quot;employee.social_security_no&quot;) COLUMN(NAME=&quot;employee.aadhar_card_no&quot;) COLUMN(NAME=&quot;employee.election_card_no&quot;) COLUMN(NAME=&quot;employee.driv_lic_no&quot;) COLUMN(NAME=&quot;employee.driv_lic_valid_upto&quot;) COLUMN(NAME=&quot;employee.physical_handicap&quot;) COLUMN(NAME=&quot;employee.handicap_category&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee.emp_fname_long&quot;) COLUMN(NAME=&quot;employee.emp_mname_long&quot;) COLUMN(NAME=&quot;employee.emp_lname_long&quot;) COLUMN(NAME=&quot;employee.revision_no&quot;) COLUMN(NAME=&quot;employee.retirement_age&quot;) COLUMN(NAME=&quot;employee.retirement_date&quot;)WHERE( EXP1 =&quot;employee.emp_code&quot; OP =&quot;=&quot; EXP2 =&quot;:memp&quot; ) ) ARG(NAME = &quot;memp&quot; TYPE = string) </retrieve>
<update>employee</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>yes</updatekeyinplace> <updatekeyinplace>yes</updatekeyinplace>
<argument> <argument>
...@@ -428,7 +415,7 @@ ...@@ -428,7 +415,7 @@
<color>33554432</color> <color>33554432</color>
<x>5</x> <x>5</x>
<y>2</y> <y>2</y>
<height>554</height> <height>543</height>
<width>591</width> <width>591</width>
<name>gb_1</name> <name>gb_1</name>
<visible>1</visible> <visible>1</visible>
...@@ -780,7 +767,7 @@ ...@@ -780,7 +767,7 @@
<x>442</x> <x>442</x>
<y>146</y> <y>146</y>
<height>16</height> <height>16</height>
<width>88</width> <width>146</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -912,7 +899,7 @@ ...@@ -912,7 +899,7 @@
<x>157</x> <x>157</x>
<y>230</y> <y>230</y>
<height>16</height> <height>16</height>
<width>373</width> <width>433</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -978,7 +965,7 @@ ...@@ -978,7 +965,7 @@
<x>157</x> <x>157</x>
<y>251</y> <y>251</y>
<height>16</height> <height>16</height>
<width>373</width> <width>433</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -1044,7 +1031,7 @@ ...@@ -1044,7 +1031,7 @@
<x>473</x> <x>473</x>
<y>293</y> <y>293</y>
<height>16</height> <height>16</height>
<width>57</width> <width>114</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -1166,7 +1153,7 @@ ...@@ -1166,7 +1153,7 @@
<x>418</x> <x>418</x>
<y>314</y> <y>314</y>
<height>16</height> <height>16</height>
<width>112</width> <width>170</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -1282,7 +1269,7 @@ ...@@ -1282,7 +1269,7 @@
<x>157</x> <x>157</x>
<y>272</y> <y>272</y>
<height>16</height> <height>16</height>
<width>373</width> <width>430</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -1498,7 +1485,7 @@ ...@@ -1498,7 +1485,7 @@
<x>458</x> <x>458</x>
<y>356</y> <y>356</y>
<height>16</height> <height>16</height>
<width>72</width> <width>131</width>
<format>dd/mm/yy</format> <format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -1533,7 +1520,7 @@ ...@@ -1533,7 +1520,7 @@
<x>157</x> <x>157</x>
<y>335</y> <y>335</y>
<height>16</height> <height>16</height>
<width>373</width> <width>432</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -1666,7 +1653,7 @@ ...@@ -1666,7 +1653,7 @@
<x>458</x> <x>458</x>
<y>465</y> <y>465</y>
<height>16</height> <height>16</height>
<width>72</width> <width>130</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -1789,8 +1776,8 @@ ...@@ -1789,8 +1776,8 @@
<text>Physically Handicapped :</text> <text>Physically Handicapped :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>7</x> <x>6</x>
<y>486</y> <y>487</y>
<height>16</height> <height>16</height>
<width>145</width> <width>145</width>
<html> <html>
...@@ -1821,7 +1808,7 @@ ...@@ -1821,7 +1808,7 @@
<x>482</x> <x>482</x>
<y>487</y> <y>487</y>
<height>16</height> <height>16</height>
<width>48</width> <width>107</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -2102,7 +2089,7 @@ ...@@ -2102,7 +2089,7 @@
<x>482</x> <x>482</x>
<y>188</y> <y>188</y>
<height>16</height> <height>16</height>
<width>48</width> <width>105</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -2298,7 +2285,7 @@ ...@@ -2298,7 +2285,7 @@
<x>458</x> <x>458</x>
<y>83</y> <y>83</y>
<height>16</height> <height>16</height>
<width>72</width> <width>131</width>
<format>[shortdate] [time]</format> <format>[shortdate] [time]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -2362,7 +2349,7 @@ ...@@ -2362,7 +2349,7 @@
<x>462</x> <x>462</x>
<y>104</y> <y>104</y>
<height>16</height> <height>16</height>
<width>63</width> <width>126</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -2426,7 +2413,7 @@ ...@@ -2426,7 +2413,7 @@
<x>426</x> <x>426</x>
<y>125</y> <y>125</y>
<height>16</height> <height>16</height>
<width>99</width> <width>162</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -2491,7 +2478,7 @@ ...@@ -2491,7 +2478,7 @@
<x>477</x> <x>477</x>
<y>167</y> <y>167</y>
<height>16</height> <height>16</height>
<width>48</width> <width>111</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -2517,6 +2504,43 @@ ...@@ -2517,6 +2504,43 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>39</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>247</x>
<y>510</y>
<height>16</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>40</id> <id>40</id>
...@@ -2524,7 +2548,7 @@ ...@@ -2524,7 +2548,7 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>345</x> <x>344</x>
<y>510</y> <y>510</y>
<height>16</height> <height>16</height>
<width>89</width> <width>89</width>
...@@ -2638,7 +2662,7 @@ ...@@ -2638,7 +2662,7 @@
<x>157</x> <x>157</x>
<y>62</y> <y>62</y>
<height>16</height> <height>16</height>
<width>373</width> <width>431</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -2748,7 +2772,7 @@ ...@@ -2748,7 +2772,7 @@
<x>437</x> <x>437</x>
<y>41</y> <y>41</y>
<height>16</height> <height>16</height>
<width>93</width> <width>151</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -2810,92 +2834,24 @@ ...@@ -2810,92 +2834,24 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band>
<id>39</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>247</x>
<y>510</y>
<height>16</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>46</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>0</color>
<x>246</x>
<y>532</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>retirement_age</name>
<visible>0</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>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>47</id> <alignment>1</alignment>
<alignment>0</alignment> <text>Revision No :</text>
<tabsequence>32766</tabsequence>
<border>0</border> <border>0</border>
<color>0</color> <color>33554432</color>
<x>343</x> <x>35</x>
<y>532</y> <y>507</y>
<height>16</height> <height>17</height>
<width>93</width> <width>117</width>
<format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>retirement_date</name> <name>revision_no_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-12</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
...@@ -2903,9 +2859,9 @@ ...@@ -2903,9 +2859,9 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>67108864</color>
</background> </background>
</ColumnObject> </TextObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -11,10 +11,10 @@ table(column=(type=char(40) update=yes updatewhereclause=yes name=short_name dbn ...@@ -11,10 +11,10 @@ table(column=(type=char(40) update=yes updatewhereclause=yes name=short_name dbn
column=(type=char(1) update=yes updatewhereclause=yes name=m_status dbname="employee.m_status" values="Married M/Unmarried U/Divorced D/Seperated S/Widowed W/Unknown K/" ) column=(type=char(1) update=yes updatewhereclause=yes name=m_status dbname="employee.m_status" values="Married M/Unmarried U/Divorced D/Seperated S/Widowed W/Unknown K/" )
column=(type=char(3) update=yes updatewhereclause=yes name=blood_grp dbname="employee.blood_grp" values="A+ A+/A- A-/B+ B+/B- B-/AB+ AB+/AB- AB-/O+ O+/O- O-/Not Available NA/" ) column=(type=char(3) update=yes updatewhereclause=yes name=blood_grp dbname="employee.blood_grp" values="A+ A+/A- A-/B+ B+/B- B-/AB+ AB+/AB- AB-/O+ O+/O- O-/Not Available NA/" )
column=(type=char(25) update=yes updatewhereclause=yes name=contact_pers dbname="employee.contact_pers" ) column=(type=char(25) update=yes updatewhereclause=yes name=contact_pers dbname="employee.contact_pers" )
column=(type=char(10) update=yes updatewhereclause=yes name=hobby1 dbname="hobby1" ) column=(type=char(10) update=yes updatewhereclause=yes name=hobby1 dbname="employee.hobby1" )
column=(type=char(10) update=yes updatewhereclause=yes name=hobby2 dbname="hobby2" ) column=(type=char(10) update=yes updatewhereclause=yes name=hobby2 dbname="employee.hobby2" )
column=(type=char(10) update=yes updatewhereclause=yes name=hobby3 dbname="hobby3" ) column=(type=char(10) update=yes updatewhereclause=yes name=hobby3 dbname="employee.hobby3" )
column=(type=char(10) update=yes updatewhereclause=yes name=hobby4 dbname="hobby4" ) column=(type=char(10) update=yes updatewhereclause=yes name=hobby4 dbname="employee.hobby4" )
column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_code dbname="employee.emp_code" ) column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_code dbname="employee.emp_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee.chg_user" ) column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="employee.chg_user" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee.chg_date" ) column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="employee.chg_date" )
...@@ -24,9 +24,9 @@ table(column=(type=char(40) update=yes updatewhereclause=yes name=short_name dbn ...@@ -24,9 +24,9 @@ table(column=(type=char(40) update=yes updatewhereclause=yes name=short_name dbn
column=(type=char(6) update=yes updatewhereclause=yes name=name_prefix dbname="employee.name_prefix" initial="Mr" values="Mr Mr/Ms Ms/Dr Dr/Sir Sir/Major Major/Prof Prof/Vaidya Vaidya/" ) column=(type=char(6) update=yes updatewhereclause=yes name=name_prefix dbname="employee.name_prefix" initial="Mr" values="Mr Mr/Ms Ms/Dr Dr/Sir Sir/Major Major/Prof Prof/Vaidya Vaidya/" )
column=(type=char(5) update=yes updatewhereclause=yes name=state_code__domicile dbname="employee.state_code__domicile" ) column=(type=char(5) update=yes updatewhereclause=yes name=state_code__domicile dbname="employee.state_code__domicile" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee.chg_term" ) column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="employee.chg_term" )
column=(type=char(50) update=yes updatewhereclause=yes name=contact_add1 dbname="contact_add1" ) column=(type=char(50) update=yes updatewhereclause=yes name=contact_add1 dbname="employee.contact_add1" )
column=(type=char(50) update=yes updatewhereclause=yes name=contact_add2 dbname="contact_add2" ) column=(type=char(50) update=yes updatewhereclause=yes name=contact_add2 dbname="employee.contact_add2" )
column=(type=char(50) update=yes updatewhereclause=yes name=contact_add3 dbname="contact_add3" ) column=(type=char(50) update=yes updatewhereclause=yes name=contact_add3 dbname="employee.contact_add3" )
column=(type=char(20) update=yes updatewhereclause=yes name=contact_city dbname="employee.contact_city" ) column=(type=char(20) update=yes updatewhereclause=yes name=contact_city dbname="employee.contact_city" )
column=(type=char(5) update=yes updatewhereclause=yes name=contact_state dbname="employee.contact_state" ) column=(type=char(5) update=yes updatewhereclause=yes name=contact_state dbname="employee.contact_state" )
column=(type=char(15) update=yes updatewhereclause=yes name=contact_tel dbname="employee.contact_tel" ) column=(type=char(15) update=yes updatewhereclause=yes name=contact_tel dbname="employee.contact_tel" )
...@@ -48,11 +48,9 @@ table(column=(type=char(40) update=yes updatewhereclause=yes name=short_name dbn ...@@ -48,11 +48,9 @@ table(column=(type=char(40) update=yes updatewhereclause=yes name=short_name dbn
column=(type=char(30) updatewhereclause=yes name=emp_fname_long dbname="employee.emp_fname_long" ) column=(type=char(30) updatewhereclause=yes name=emp_fname_long dbname="employee.emp_fname_long" )
column=(type=char(30) updatewhereclause=yes name=emp_mname_long dbname="employee.emp_mname_long" ) column=(type=char(30) updatewhereclause=yes name=emp_mname_long dbname="employee.emp_mname_long" )
column=(type=char(30) updatewhereclause=yes name=emp_lname_long dbname="employee.emp_lname_long" ) column=(type=char(30) updatewhereclause=yes name=emp_lname_long dbname="employee.emp_lname_long" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=revision_no dbname="employee.revision_no" ) column=(type=decimal(0) update=yes updatewhereclause=yes name=revision_no dbname="employee.revision_no" initial="1" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=retirement_age dbname="employee.retirement_age" ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee.short_name~") COLUMN(NAME=~"employee.sex~") COLUMN(NAME=~"employee.nationality~") COLUMN(NAME=~"employee.citizen~") COLUMN(NAME=~"employee.m_status~") COLUMN(NAME=~"employee.blood_grp~") COLUMN(NAME=~"employee.contact_pers~") COLUMN(NAME=~"employee.hobby1~") COLUMN(NAME=~"employee.hobby2~") COLUMN(NAME=~"employee.hobby3~") COLUMN(NAME=~"employee.hobby4~") COLUMN(NAME=~"employee.emp_code~") COLUMN(NAME=~"employee.chg_user~") COLUMN(NAME=~"employee.chg_date~") COLUMN(NAME=~"employee.birth_date~") COLUMN(NAME=~"employee.religion~") COLUMN(NAME=~"employee.m_status_date~") COLUMN(NAME=~"employee.name_prefix~") COLUMN(NAME=~"employee.state_code__domicile~") COLUMN(NAME=~"employee.chg_term~") COLUMN(NAME=~"employee.contact_add1~") COLUMN(NAME=~"employee.contact_add2~") COLUMN(NAME=~"employee.contact_add3~") COLUMN(NAME=~"employee.contact_city~") COLUMN(NAME=~"employee.contact_state~") COLUMN(NAME=~"employee.contact_tel~") COLUMN(NAME=~"employee.contact_pin~") COLUMN(NAME=~"employee.maiden_name~") COLUMN(NAME=~"employee.birth_place~") COLUMN(NAME=~"employee.resi_permit_no~") COLUMN(NAME=~"employee.resi_permit_upto~") COLUMN(NAME=~"employee.social_security_no~") COLUMN(NAME=~"employee.aadhar_card_no~") COLUMN(NAME=~"employee.election_card_no~") COLUMN(NAME=~"employee.driv_lic_no~") COLUMN(NAME=~"employee.driv_lic_valid_upto~") COLUMN(NAME=~"employee.physical_handicap~") COLUMN(NAME=~"employee.handicap_category~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_mname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee.emp_fname_long~") COLUMN(NAME=~"employee.emp_mname_long~") COLUMN(NAME=~"employee.emp_lname_long~") COLUMN(NAME=~"employee.revision_no~")WHERE( EXP1 =~"employee.emp_code~" OP =~"=~" EXP2 =~":memp~" ) ) ARG(NAME = ~"memp~" TYPE = string) " update="EMPLOYEE" updatewhere=0 updatekeyinplace=yes arguments=(("memp", string)) )
column=(type=datetime update=yes updatewhereclause=yes name=retirement_date dbname="employee.retirement_date" ) groupbox(band=detail text="Personal"border="2" color="33554432" x="5" y="2" height="543" width="591" name=gb_1 visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"employee.short_name~") COLUMN(NAME=~"employee.sex~") COLUMN(NAME=~"employee.nationality~") COLUMN(NAME=~"employee.citizen~") COLUMN(NAME=~"employee.m_status~") COLUMN(NAME=~"employee.blood_grp~") COLUMN(NAME=~"employee.contact_pers~") COLUMN(NAME=~"employee.hobby1~") COLUMN(NAME=~"employee.hobby2~") COLUMN(NAME=~"employee.hobby3~") COLUMN(NAME=~"employee.hobby4~") COLUMN(NAME=~"employee.emp_code~") COLUMN(NAME=~"employee.chg_user~") COLUMN(NAME=~"employee.chg_date~") COLUMN(NAME=~"employee.birth_date~") COLUMN(NAME=~"employee.religion~") COLUMN(NAME=~"employee.m_status_date~") COLUMN(NAME=~"employee.name_prefix~") COLUMN(NAME=~"employee.state_code__domicile~") COLUMN(NAME=~"employee.chg_term~") COLUMN(NAME=~"employee.contact_add1~") COLUMN(NAME=~"employee.contact_add2~") COLUMN(NAME=~"employee.contact_add3~") COLUMN(NAME=~"employee.contact_city~") COLUMN(NAME=~"employee.contact_state~") COLUMN(NAME=~"employee.contact_tel~") COLUMN(NAME=~"employee.contact_pin~") COLUMN(NAME=~"employee.maiden_name~") COLUMN(NAME=~"employee.birth_place~") COLUMN(NAME=~"employee.resi_permit_no~") COLUMN(NAME=~"employee.resi_permit_upto~") COLUMN(NAME=~"employee.social_security_no~") COLUMN(NAME=~"employee.aadhar_card_no~") COLUMN(NAME=~"employee.election_card_no~") COLUMN(NAME=~"employee.driv_lic_no~") COLUMN(NAME=~"employee.driv_lic_valid_upto~") COLUMN(NAME=~"employee.physical_handicap~") COLUMN(NAME=~"employee.handicap_category~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_mname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee.emp_fname_long~") COLUMN(NAME=~"employee.emp_mname_long~") COLUMN(NAME=~"employee.emp_lname_long~") COLUMN(NAME=~"employee.revision_no~") COLUMN(NAME=~"employee.retirement_age~") COLUMN(NAME=~"employee.retirement_date~")WHERE( EXP1 =~"employee.emp_code~" OP =~"=~" EXP2 =~":memp~" ) ) ARG(NAME = ~"memp~" TYPE = string) " update="employee" updatewhere=0 updatekeyinplace=yes arguments=(("memp", string)) )
groupbox(band=detail text="Personal"border="2" color="33554432" x="5" y="2" height="554" width="591" name=gb_1 visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Marital Status :" border="0" color="0" x="43" y="83" height="16" width="109" html.valueishtml="0" name=m_status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Marital Status :" border="0" color="0" x="43" y="83" height="16" width="109" html.valueishtml="0" name=m_status_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Marital Status Date :" border="0" color="0" x="330" y="83" height="16" width="123" html.valueishtml="0" name=m_status_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Marital Status Date :" border="0" color="0" x="330" y="83" height="16" width="123" html.valueishtml="0" name=m_status_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Date of Birth :" border="0" color="0" x="63" y="125" height="16" width="89" html.valueishtml="0" name=birth_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Date of Birth :" border="0" color="0" x="63" y="125" height="16" width="89" html.valueishtml="0" name=birth_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
...@@ -116,6 +114,7 @@ text(band=detail alignment="1" text="Blood Group :" border="0" color="0" x="333" ...@@ -116,6 +114,7 @@ text(band=detail alignment="1" text="Blood Group :" border="0" color="0" x="333"
column(band=detail id=6 alignment="0" tabsequence=70 border="5" color="0" x="426" y="125" height="16" width="99" format="[general]" html.valueishtml="0" name=blood_grp visible="1" ddlb.limit=3 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=6 alignment="0" tabsequence=70 border="5" color="0" x="426" y="125" height="16" width="99" format="[general]" html.valueishtml="0" name=blood_grp visible="1" ddlb.limit=3 ddlb.allowedit=no ddlb.case=any ddlb.vscrollbar=yes ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Citizen :" border="0" color="0" x="420" y="167" height="16" width="52" html.valueishtml="0" name=citizen_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Citizen :" border="0" color="0" x="420" y="167" height="16" width="52" html.valueishtml="0" name=citizen_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=4 alignment="0" tabsequence=130 border="5" color="0" x="477" y="167" height="16" width="48" format="[general]" html.valueishtml="0" name=citizen visible="1" edit.name="Yesno" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=4 alignment="0" tabsequence=130 border="5" color="0" x="477" y="167" height="16" width="48" format="[general]" html.valueishtml="0" name=citizen visible="1" edit.name="Yesno" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=39 alignment="0" tabsequence=32766 border="5" color="255" x="247" y="510" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_fname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=40 alignment="0" tabsequence=32766 border="5" color="255" x="345" y="510" height="16" width="89" format="[general]" html.valueishtml="0" name=emp_mname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=40 alignment="0" tabsequence=32766 border="5" color="255" x="345" y="510" height="16" width="89" format="[general]" html.valueishtml="0" name=emp_mname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=41 alignment="0" tabsequence=32766 border="5" color="255" x="439" y="510" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_lname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=41 alignment="0" tabsequence=32766 border="5" color="255" x="439" y="510" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_lname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="255" x="157" y="41" height="16" width="83" format="[general]" html.valueishtml="0" name=emp_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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="255" x="157" y="41" height="16" width="83" format="[general]" html.valueishtml="0" name=emp_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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
...@@ -124,9 +123,6 @@ column(band=detail id=42 alignment="0" tabsequence=32766 border="5" color="255" ...@@ -124,9 +123,6 @@ column(band=detail id=42 alignment="0" tabsequence=32766 border="5" color="255"
column(band=detail id=43 alignment="0" tabsequence=32766 border="5" color="255" x="341" y="41" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_mname_long visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=43 alignment="0" tabsequence=32766 border="5" color="255" x="341" y="41" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_mname_long visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=44 alignment="0" tabsequence=32766 border="5" color="255" x="437" y="41" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_lname_long visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=44 alignment="0" tabsequence=32766 border="5" color="255" x="437" y="41" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_lname_long visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=45 alignment="0" tabsequence=32766 border="0" color="0" x="156" y="507" height="16" width="59" format="[general]" html.valueishtml="0" name=revision_no visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=45 alignment="0" tabsequence=32766 border="0" color="0" x="156" y="507" height="16" width="59" format="[general]" html.valueishtml="0" name=revision_no visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=39 alignment="0" tabsequence=32766 border="5" color="255" x="247" y="510" height="16" width="93" format="[general]" html.valueishtml="0" name=emp_fname visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=46 alignment="0" tabsequence=32766 border="0" color="0" x="246" y="532" height="16" width="93" html.valueishtml="0" name=retirement_age visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=47 alignment="0" tabsequence=32766 border="0" color="0" x="343" y="532" height="16" width="93" format="dd/mm/yy" html.valueishtml="0" name=retirement_date 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="16777215" )
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 )
......
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