Commit 8cd7a961 authored by pbhosale's avatar pbhosale

Changes made by Poonam B[16-OCT-2019]

emp_separation11.xml
emp_separation21.xml
d_emp_separation_brow.srd
d_emp_separation_edit.srd
EmployeeSepConfirm.java
EmpSeparationCnc.java
EmpSeparationEJB.java
w_emp_separation.sql
EmpSeparationRelieve.java
EmpSeparationRelieveLocal.java
EmpSeparationRelieveRemote.java
separation.png
separationwht.png


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@209723 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d5e99f77
----------------------------------------------------- TRANSETUP
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_separation','2','2','M','seq10',null,null,null,null,null,'N',to_date('22-07-99','DD-MM-RR'),'BASE ','1 ','0','EMPLOYEE.EMP_SITE','status','C',null,null,null,null,'N','N','emp_code,resi_date',null,'0',null,null,null,null,null,null,null,null,null,'0','separation','ADM',null,'resi_date',null,null,null,null,null,null,'T-ESEP','F',null,null,null,null,null,null,null,null,null,null,'2','3',null,null,' or separation.status = ''X''',null,null,null,null,null,null,null,null,'M',null,null,'<html>{emp_fname} {emp_lname} <span class = "optional">({emp_code})</span>
<br> Resigned on : {resi_date}, Relieve_date : {relieve_date}, Status : {status}</html>',null,null,null,null,'CONF_DATE','emp_code__conf',null,null,null,null,'Y','L',null,null,null,null,null,'X','status','emp_fname','emp_code','EmpImages',null,null,null,'compact',null,'C',null,'C',null,null,null);
------------------------------------------------------ ITM2MENU
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,MOB_DEPLY,ENT_TYPES) values ('ADH',3,17,0,0,0,'w_emp_separation','Separation','Separation','ADH.3.17.0.0.0','separation.png','separationwht.png',null,'T',null,null,null,'B',null,null,'B','0 ');
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,MOB_DEPLY,ENT_TYPES) values ('HRM',3,22,1,0,0,'w_emp_separation','Separation',null,'HRM.3.22.1.0.0',null,null,null,null,null,null,null,'B',null,null,'B','0 ');
----------------------------------------------------- OBJ_FORMS
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,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_emp_separation','Separation','d_emp_separation_brow','d_emp_separation_edit',null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,null,'<html>
<span style="white-space: normal !important; word-break: break-word; "> <b>{emp_fname_long} {emp_lname_long} </b> (<b>{emp_code}</b>) <span style="float:right;"> <b> {resi_date} </b> </span> <br/>
Separation Mode : <b>{sepmode_descr}</b> (<b>{separation_mode}</b>)
</span>
</html>',null,null,null,'E',null,null,'A',null,null,null,null,null,null,null,null,'EmpImages','emp_code','emp_fname',null,'DetailForm.png',null,null,null,null);
----------------------------------------------------- OBJ_ACTIONS
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',1,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',3,'ibase/resource/objaction/edit.svg','Editing Existing Record','a','a','E','Edit','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2','000',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',5,'ibase/resource/objaction/confirm.svg','Confirmation','pre_confirm','a','F','Confirm','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',7,'ibase/resource/objaction/cancel.svg','Action Button Cancel','act_cancel','a','R','Cancel','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2','900',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',8,'ibase/resource/objaction/copyTransaction.svg','Adding New','a','a','A','Copy Transaction','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'1',null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',17,' ibase/resource/objaction/Release.svg','Relieve','pre_relieve','a','F','Relieve','1','2',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',39,'ibase/resource/objaction/exprtExl.svg','Export To Excel','a','a','B','Export2XLS','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,1);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',40,'ibase/resource/objaction/Audit-trail.svg','View Audit Trail','audit_trail','1','X','Audit Trail','1','1','1','U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',41,'ibase/resource/objaction/add.svg','Adding New','a','a','A','Add','2',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,'4',null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',42,'ibase/resource/objaction/edit.svg','Editing Existing Record','a','a','E','Edit','2',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'4','000',null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,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,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('emp_separation',43,'ibase/resource/objaction/email.svg','Email Template','a','a','R','Email','2','6',null,'U',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'1',null,null);
----------------------------------------------------- OBJ_LINKS
Insert into OBJ_LINKS (OBJ_NAME,FORM_NO,FIELD_NAME,TARGET_OBJ_NAME,LINK_FORM_NAME,LINK_TITLE,LINK_URI,LINK_TYPE,LINK_ARG,UPDATE_FLAG,LINK_NAME,RIGHTS_CHAR,IMAGE,SHOW_IN_PANEL,SHORTCUT_CHAR,AUTO_INVOKE,SWIPE_POSITION,TITLE,DESCR,SHOW_CONFIRM,DISPLAY_MODE,LINE_NO,LINK_ID,REC_SPECIFIC) values ('emp_separation','1','emp_code','mpreqmnt','mpreqmnt21','Manpower Requirement',null,'4','emp_code.String:emp_code__prev','1',null,'*',null,null,null,null,null,null,null,null,'1',11,null,null);
Insert into OBJ_LINKS (OBJ_NAME,FORM_NO,FIELD_NAME,TARGET_OBJ_NAME,LINK_FORM_NAME,LINK_TITLE,LINK_URI,LINK_TYPE,LINK_ARG,UPDATE_FLAG,LINK_NAME,RIGHTS_CHAR,IMAGE,SHOW_IN_PANEL,SHORTCUT_CHAR,AUTO_INVOKE,SWIPE_POSITION,TITLE,DESCR,SHOW_CONFIRM,DISPLAY_MODE,LINE_NO,LINK_ID,REC_SPECIFIC) values ('emp_separation','1','home_upload',' ',' ','Upload Utility','/ibase/webitm/jsp/E12UploadTemplate.jsp?reset=true','3','emp_separation.String:OBJ_NAME,Separation.String:OBJ_DESC,fromHomePage.String:FROM_HOMEPAGE',null,null,'U',null,'3',null,null,null,null,'Upload Utility',null,'3',12,null,1);
----------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_separation','1','emp_code',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_separation','1','itm_default',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_separation','1','resi_date',null);
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('emp_separation','1','separation_mode',null);
----------------------------------------------------- SYSTEM_EVENTS
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emp_separation','act_cancel','1','acancel_emp_separation',null,'0',to_date('04-12-07','DD-MM-RR'),'HATIM ','BASE91','2','JB','ibase.webitm.ejb.adm.adv.EmpSeparationCnc',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emp_separation','audit_trail','1','project_audit_trail',null,'0',to_date('04-12-07','DD-MM-RR'),'d ','Base45','2',null,null,null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emp_separation','post_item_change','1','poic_default_ejb',null,'0',to_date('04-12-07','DD-MM-RR'),'Rajesh ','user4','2','JB','ibase.webitm.ejb.adm.EmpSeparationEJB',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emp_separation','post_validate','1','post_gen_val',null,'0',to_date('04-12-07','DD-MM-RR'),'system ','system','2','JB','ibase.webitm.ejb.sys.GenValidate',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emp_separation','pre_confirm','1','prcm_default_ejb',null,'0',to_date('04-12-07','DD-MM-RR'),'Base ','Base','2','JB','ibase.webitm.ejb.adm.adv.EmployeeSepConfirm',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emp_separation','pre_relieve','1','prcm_default_ejb1',null,'0',to_date('04-12-07','DD-MM-RR'),'Base ','Base','2','JB','ibase.webitm.ejb.adm.adv.EmpSeparationRelieve',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('emp_separation','pre_validate','1','prv_default_ejb',null,'0',to_date('04-12-07','DD-MM-RR'),'Rajesh ','user4','2','JB','ibase.webitm.ejb.adm.EmpSeparationEJB',null);
---------------------------------------------------- SYSTEM_EVENT_SERVICES
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('acancel_emp_separation','Action For Cancel','http://localhost:9090/axis/services/ActionHandlerService','Base Information','actionHandler','String','S',null,null,to_date('21-03-07','DD-MM-RR'),'HATIM ','BASE91',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('poic_default_ejb','Item Changed','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,to_date('28-08-19','DD-MM-RR'),'BASE ','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('post_gen_val','validation','http://localhost:9090/axis/services/ValidatorService','BASE iformation','wfValData','String','S',null,null,to_date('21-05-16','DD-MM-RR'),'BASE ','VAIBHAV',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prcm_default_ejb','Action To confirm indent requisition','http://localhost:9090/axis/services/ActionHandlerService','Base','confirm','String','S',null,null,to_date('24-01-18','DD-MM-RR'),'base ','base',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prcm_default_ejb1','Action To confirm','http://localhost:9090/axis/services/ActionHandlerService','Base Information','confirm','String','S',null,null,to_date('17-08-16','DD-MM-RR'),'BASE ','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('project_audit_trail','calling audit log jsp','/ibase/webitm/jsp/ITMAuditForms.jsp',null,'doPost',null,null,null,null,to_date('14-02-17','DD-MM-RR'),'BASE ','BASE','http://NvoServiceurl.org','doPostResult','http://NvoServiceurl.org/doPost');
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prv_default_ejb','method for validation','http://localhost:9090/axis/services/ValidatorService','BASE','wfValData','String','S',null,null,to_date('28-08-19','DD-MM-RR'),'BASE ','BASE',null,null,null);
---------------------------------------------------- SYSTEM_SERVICE_ARGS
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 ('acancel_emp_separation',1,'COMPONENT_TYPE','I','Component Type','C.String',null,to_date('04-12-07','DD-MM-RR'),'HATIM ','BASE91','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('acancel_emp_separation',2,'COMPONENT_NAME','I','Component Name','C.String',null,to_date('04-12-07','DD-MM-RR'),'HATIM ','BASE91','ibase.webitm.ejb.adm.adv.EmpSeparationCnc');
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 ('acancel_emp_separation',3,'<emp_code>','I','tranID','B.String',null,to_date('04-12-07','DD-MM-RR'),'HATIM ','BASE91',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('acancel_emp_separation',4,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('04-12-07','DD-MM-RR'),'HATIM ','BASE91',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('acancel_emp_separation',5,'FORCED_FLAG','I','Forced Flag','S',null,to_date('04-12-07','DD-MM-RR'),'HATIM ','BASE91',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('01-06-19','DD-MM-RR'),'HRISHIKESH','HRISHIKESH','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',2,'COMPONENT_NAME ','I',null,'S',null,to_date('01-06-19','DD-MM-RR'),'HRISHIKESH','HRISHIKESH','ibase.webitm.ejb.sys.EnterpriseIC');
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_default_ejb',3,'XML_DATA ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','This ',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_default_ejb',4,'XML_DATA_1 ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',5,'XML_DATA_ALL ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',6,'OBJ_CONTEXT ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',7,'FOCUSED_COLUMN ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',8,'EDIT_FLAG ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',9,'XTRA_PARAMS ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',2,'COMPONENT_NAME','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','ibase.webitm.ejb.sys.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('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',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',9,'ACTION','I',null,'S',null,to_date('19-05-15','DD-MM-RR'),'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 ('prcm_default_ejb',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('01-06-12','DD-MM-RR'),'BASE ','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_default_ejb',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('01-06-12','DD-MM-RR'),'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 ('prcm_default_ejb',3,'<tran_id>','I','tranid','B.String',null,to_date('01-06-12','DD-MM-RR'),'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 ('prcm_default_ejb',4,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('01-06-12','DD-MM-RR'),'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 ('prcm_default_ejb',5,'FORCED_FLAG','I','Forced Flag','S',null,to_date('01-06-12','DD-MM-RR'),'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 ('prcm_default_ejb1',1,'COMPONENT_TYPE','I',null,'S',null,to_date('17-08-16','DD-MM-RR'),'BASE ','BASE','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prcm_default_ejb1',2,'COMPONENT_NAME','I',null,'S',null,to_date('17-08-16','DD-MM-RR'),'BASE ','BASE','ibase.webitm.ejb.dis.adv.PoRcpConf');
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 ('prcm_default_ejb1',3,'<tran_id>','I',null,'S',null,to_date('17-08-16','DD-MM-RR'),'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 ('prcm_default_ejb1',4,'XTRA_PARAMS','I',null,'S',null,to_date('17-08-16','DD-MM-RR'),'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 ('prcm_default_ejb1',5,'FORCED_FLAG','I',null,'S',null,to_date('17-08-16','DD-MM-RR'),'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 ('project_audit_trail',1,'COMPONENT_TYPE','I',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('project_audit_trail',2,'COMPONENT_NAME','I',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA','ibase.webitm.ejb.fin.adv.MiscPayAct');
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 ('project_audit_trail',3,'XML_DATA','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',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 ('project_audit_trail',4,'XML_DATA_1','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',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 ('project_audit_trail',5,'XML_DATA_ALL','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',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 ('project_audit_trail',6,'OBJ_CONTEXT','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',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 ('project_audit_trail',7,'XTRA_PARAMS','l',null,'S',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',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 ('project_audit_trail',8,'DB_CONN','l',null,'S.Connection',null,to_date('22-11-16','DD-MM-RR'),'SFA ','SFA',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_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_default_ejb',2,'COMPONENT_NAME','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar','ibase.webitm.ejb.sys.EnterpriseIC');
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_default_ejb',3,'XML_DATA ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',4,'XML_DATA_1 ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',5,'XML_DATA_ALL ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',6,'OBJ_CONTEXT','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',7,'EDIT_FLAG ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',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_default_ejb',8,'XTRA_PARAMS','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
------------------------------------------------------------- POPHELP
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,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('SEPARATION_MODE','W_EMP_SEPARATION','SELECT FLD_VALUE AS SEP_MODE, DESCR AS DESCRIPTION FROM GENCODES WHERE FLD_NAME = ''SEPARATION_MODE'' AND MOD_NAME IN (''X'' , ''W_EMP_SEPARATION'')',null,'Separation Mode',null,null,to_date('03-06-19','DD-MM-RR'),'PIYUSH ','BASE',null,null,null,1,null,null,null,null,null,null,null,null,null,'SepModeImages','sep_mode','description',null,null,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,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('EMP_CODE','W_EMP_SEPARATION','select trim(a.emp_fname)||'' ''||trim(a.emp_mname)||'' ''||trim(a.emp_lname) as Name, a.emp_code as Code from employee a where a.relieve_date is null and (upper(trim(a.emp_fname)||'' ''||trim(a.emp_mname)||'' ''||trim(a.emp_lname)) like upper(''%?%'') or a.emp_code like upper(''%?%'') ) and length(''?'') >= 3 and case when status is null then '' '' else status end <> ''S'' and relieve_date is null union all select ''Please enter minimum 3 characters of employee name'' as Name, '' '' as Code from dual where ''?'' is null or length(''?'') < 3',null,'Employee Code',0,0,to_date('27-05-00','DD-MM-RR'),'SUN ','CLIENT1 ','0',null,':emp_code,:emp_code,:emp_code,:emp_code,:emp_code',2,null,null,null,null,null,null,'2',null,'3','EmpImages','emp_code','Name','2 ',null,null,null,null,null,null,null);
------------------------------------------------------------- MESSAGES
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('DRMUPDFAIL','employee info updation failed!','Failed to update employee information from sales person !!!','E','Y',null,null,null,null,null,null,null,null);
Insert into MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) values ('VTEMPUID01','Failed to update user id!','Failed to update user id in users table','E','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE ','BASE ',null,null);
......@@ -32,7 +32,7 @@
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>16</height>
<height>19</height>
<color>536870912</color>
</Header>
<Summary>
......@@ -85,18 +85,6 @@
<name>reason</name>
<dbname>separation.reason</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>emp_fname</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>emp_lname</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>yes</updatewhereclause>
......@@ -137,11 +125,23 @@
<dbname>separation.conf_date</dbname>
</table_column>
<table_column>
<type size="2">char</type>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__conf</name>
<dbname>separation.emp_code__conf</dbname>
</table_column>
<table_column>
<type size="30">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname_long</name>
<dbname>employee.emp_fname_long</dbname>
</table_column>
<table_column>
<type size="30">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname_long</name>
<dbname>employee.emp_lname_long</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
......@@ -160,8 +160,8 @@
<name>sepmode_descr</name>
<dbname>sepmode_descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;separation&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;separation.emp_code&quot;) COLUMN(NAME=&quot;separation.resi_date&quot;) COLUMN(NAME=&quot;separation.relieve_date&quot;) COLUMN(NAME=&quot;separation.separation_mode&quot;) COLUMN(NAME=&quot;separation.reason&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code,&apos;F1&apos;) as emp_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code,&apos;L1&apos;) as emp_lname&quot;) COLUMN(NAME=&quot;separation.status&quot;) COLUMN(NAME=&quot;separation.vac_no__created&quot;) COLUMN(NAME=&quot;employee.emp_site&quot;) COLUMN(NAME=&quot;employee.status&quot;) COLUMN(NAME=&quot;separation.conf_date&quot;) COLUMN(NAME=&quot;separation.emp_code__conf&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code__conf,&apos;F1&apos;) emp_code_conf__fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code__conf,&apos;L1&apos;) emp_code_conf__lname&quot;) COMPUTE(NAME=&quot;FN_GET_DESCR_GENCODES(&apos;SEPARATION_MODE&apos; , &apos;W_EMP_SEPARATION&apos; , separation.separation_mode) sepmode_descr&quot;) JOIN (LEFT=&quot;separation.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;( ( separation.resi_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:date_from )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( separation.resi_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:date_to ) )&quot; ) ) ARG(NAME = &quot;date_from&quot; TYPE = datetime) ARG(NAME = &quot;date_to&quot; TYPE = datetime) </retrieve>
<update>separation</update>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;separation&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;separation.emp_code&quot;) COLUMN(NAME=&quot;separation.resi_date&quot;) COLUMN(NAME=&quot;separation.relieve_date&quot;) COLUMN(NAME=&quot;separation.separation_mode&quot;) COLUMN(NAME=&quot;separation.reason&quot;) COLUMN(NAME=&quot;separation.status&quot;) COLUMN(NAME=&quot;separation.vac_no__created&quot;) COLUMN(NAME=&quot;employee.emp_site&quot;) COLUMN(NAME=&quot;employee.status&quot;) COLUMN(NAME=&quot;separation.conf_date&quot;) COLUMN(NAME=&quot;separation.emp_code__conf&quot;) COLUMN(NAME=&quot;employee.emp_fname_long&quot;) COLUMN(NAME=&quot;employee.emp_lname_long&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code__conf,&apos;F&apos;) as emp_code_conf__fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code__conf,&apos;L&apos;) as emp_code_conf__lname&quot;) COMPUTE(NAME=&quot;FN_GET_DESCR_GENCODES(&apos;SEPARATION_MODE&apos; , &apos;W_EMP_SEPARATION&apos; , SEPARATION.SEPARATION_MODE) AS SEPMODE_DESCR&quot;) JOIN (LEFT=&quot;separation.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;separation.resi_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:date_from&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;separation.resi_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:date_to&quot; ) ) ARG(NAME = &quot;date_from&quot; TYPE = datetime) ARG(NAME = &quot;date_to&quot; TYPE = datetime) </retrieve>
<update>SEPARATION</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......@@ -176,13 +176,13 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Employee Code</text>
<text>Emp Code</text>
<border>6</border>
<color>0</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>98</width>
<width>57</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -204,13 +204,13 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Resignation Date</text>
<text>Resi. Date</text>
<border>6</border>
<color>0</color>
<x>102</x>
<x>1196</x>
<y>2</y>
<height>16</height>
<width>137</width>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -229,69 +229,13 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>First Name</text>
<border>6</border>
<color>0</color>
<x>241</x>
<y>2</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Last Name</text>
<border>6</border>
<color>0</color>
<x>363</x>
<y>2</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Status</text>
<border>6</border>
<color>0</color>
<x>485</x>
<x>282</x>
<y>2</y>
<height>16</height>
<width>68</width>
......@@ -319,10 +263,10 @@
<text>Relieve Date</text>
<border>6</border>
<color>0</color>
<x>555</x>
<x>352</x>
<y>2</y>
<height>16</height>
<width>104</width>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -344,13 +288,13 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Mode</text>
<text>Separation Mode</text>
<border>6</border>
<color>0</color>
<x>661</x>
<x>438</x>
<y>2</y>
<height>16</height>
<width>69</width>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -372,17 +316,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Description</text>
<text>Reason</text>
<border>6</border>
<color>0</color>
<x>732</x>
<x>539</x>
<y>2</y>
<height>16</height>
<width>178</width>
<width>73</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sepmode_descr_t</name>
<name>reason_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -393,24 +337,24 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Reason</text>
<text>Vacancy No. Created</text>
<border>6</border>
<color>0</color>
<x>912</x>
<x>614</x>
<y>2</y>
<height>16</height>
<width>177</width>
<width>111</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>reason_t</name>
<name>vac_no__created_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -422,24 +366,24 @@
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Vacancy No. Created</text>
<text>Emp Site</text>
<border>6</border>
<color>0</color>
<x>1091</x>
<x>1266</x>
<y>2</y>
<height>16</height>
<width>122</width>
<width>63</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>vac_no__created_t</name>
<visible>1</visible>
<name>emp_site_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -459,10 +403,10 @@
<text>Confirmation Date</text>
<border>6</border>
<color>33554432</color>
<x>1215</x>
<x>727</x>
<y>2</y>
<height>16</height>
<width>124</width>
<width>100</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -487,10 +431,10 @@
<text>Confirmed By</text>
<border>6</border>
<color>33554432</color>
<x>1341</x>
<x>829</x>
<y>2</y>
<height>16</height>
<width>119</width>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -515,10 +459,10 @@
<text>First Name</text>
<border>6</border>
<color>0</color>
<x>1462</x>
<x>905</x>
<y>2</y>
<height>16</height>
<width>147</width>
<width>140</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -543,10 +487,10 @@
<text>Last Name</text>
<border>6</border>
<color>0</color>
<x>1611</x>
<y>1</y>
<x>1047</x>
<y>2</y>
<height>16</height>
<width>150</width>
<width>147</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -568,17 +512,17 @@
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Employee Site</text>
<text>Status</text>
<border>6</border>
<color>0</color>
<x>1763</x>
<x>1331</x>
<y>2</y>
<height>16</height>
<width>91</width>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site_t</name>
<name>employee_status_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
......@@ -589,30 +533,58 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Employee Status</text>
<text>First Name </text>
<border>6</border>
<color>0</color>
<x>1856</x>
<color>33554432</color>
<x>61</x>
<y>2</y>
<height>16</height>
<width>102</width>
<height>15</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_status_t</name>
<visible>0</visible>
<name>emp_fname_long_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Last Name</text>
<border>6</border>
<color>33554432</color>
<x>173</x>
<y>2</y>
<height>15</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname_long_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -631,7 +603,7 @@
<x>2</x>
<y>2</y>
<height>16</height>
<width>98</width>
<width>57</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -662,28 +634,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>6</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>102</x>
<x>282</x>
<y>2</y>
<height>16</height>
<width>137</width>
<format>[shortdate] [time]</format>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>resi_date</name>
<tag>Date of separation</tag>
<name>status</name>
<visible>1</visible>
<EditStyle style="edit">
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -701,26 +670,28 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<id>3</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>241</x>
<x>352</x>
<y>2</y>
<height>16</height>
<width>120</width>
<format>[general]</format>
<width>84</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<name>relieve_date</name>
<tag>Actual relieve date</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -738,26 +709,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>4</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>363</x>
<x>438</x>
<y>2</y>
<height>16</height>
<width>120</width>
<width>99</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<name>separation_mode</name>
<tag>Type of separation R- resigned,E- retired,T- terminated, I - Inter company transfer</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -775,25 +747,28 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>485</x>
<x>539</x>
<y>2</y>
<height>16</height>
<width>68</width>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<name>reason</name>
<tag>reason for separation</tag>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<EditStyle style="edit">
<limit>40</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -811,25 +786,24 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<id>7</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>555</x>
<x>614</x>
<y>2</y>
<height>16</height>
<width>104</width>
<format>[shortdate] [time]</format>
<width>111</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>relieve_date</name>
<tag>Actual relieve date</tag>
<name>vac_no__created</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
......@@ -850,27 +824,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<id>8</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>661</x>
<x>1266</x>
<y>2</y>
<height>16</height>
<width>69</width>
<width>63</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>separation_mode</name>
<tag>Type of separation R- resigned,E- retired,T- terminated, I - Inter company transfer</tag>
<visible>1</visible>
<name>emp_site</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -888,20 +860,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>732</x>
<x>727</x>
<y>2</y>
<height>16</height>
<width>178</width>
<format>[general]</format>
<width>100</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sepmode_descr</name>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -925,28 +897,26 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>11</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>912</x>
<x>829</x>
<y>2</y>
<height>16</height>
<width>177</width>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>reason</name>
<tag>reason for separation</tag>
<name>emp_code__conf</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>40</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -964,27 +934,26 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>14</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>1091</x>
<x>905</x>
<y>2</y>
<height>16</height>
<width>122</width>
<width>140</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>vac_no__created</name>
<name>emp_code_conf__fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1002,20 +971,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<id>15</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<tabsequence>100</tabsequence>
<border>5</border>
<color>0</color>
<x>1215</x>
<x>1047</x>
<y>2</y>
<height>16</height>
<width>124</width>
<format>[shortdate] [time]</format>
<width>147</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<name>emp_code_conf__lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1039,26 +1008,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1341</x>
<x>1331</x>
<y>2</y>
<height>16</height>
<width>119</width>
<width>98</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__conf</name>
<visible>1</visible>
<EditStyle style="edit">
<name>employee_status</name>
<visible>0</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1076,26 +1044,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<id>12</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1462</x>
<x>61</x>
<y>2</y>
<height>16</height>
<width>147</width>
<width>110</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_conf__fname</name>
<name>emp_fname_long</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1113,26 +1080,25 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<id>13</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>1611</x>
<x>173</x>
<y>2</y>
<height>16</height>
<width>150</width>
<width>107</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_conf__lname</name>
<name>emp_lname_long</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1150,25 +1116,28 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>110</tabsequence>
<border>5</border>
<color>0</color>
<x>1763</x>
<x>1196</x>
<y>2</y>
<height>16</height>
<width>91</width>
<format>[general]</format>
<width>68</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site</name>
<name>resi_date</name>
<tag>Date of separation</tag>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1186,27 +1155,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>120</tabsequence>
<border>5</border>
<color>0</color>
<x>1856</x>
<y>2</y>
<x>1432</x>
<y>1</y>
<height>16</height>
<width>102</width>
<format>[general]</format>
<width>106</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_status</name>
<visible>0</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<name>sepmode_descr</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1220,6 +1182,34 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Sepmode Descr</text>
<border>6</border>
<color>33554432</color>
<x>1431</x>
<y>2</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sepmode_descr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>295</height>
<height>338</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -95,23 +95,23 @@
<dbname>separation.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="300">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>separation.chg_term</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname</name>
<dbname>emp_fname</dbname>
<dbname>employee.emp_fname</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<type size="15">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname</name>
<dbname>emp_lname</dbname>
<dbname>employee.emp_lname</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
......@@ -146,12 +146,24 @@
<dbname>separation.conf_date</dbname>
</table_column>
<table_column>
<type size="2">char</type>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__conf</name>
<dbname>separation.emp_code__conf</dbname>
</table_column>
<table_column>
<type size="30">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_fname_long</name>
<dbname>employee.emp_fname_long</dbname>
</table_column>
<table_column>
<type size="30">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_lname_long</name>
<dbname>employee.emp_lname_long</dbname>
</table_column>
<table_column>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
......@@ -170,10 +182,10 @@
<name>sepmode_descr</name>
<dbname>sepmode_descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;separation&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;separation.emp_code&quot;) COLUMN(NAME=&quot;separation.resi_date&quot;) COLUMN(NAME=&quot;separation.relieve_date&quot;) COLUMN(NAME=&quot;separation.separation_mode&quot;) COLUMN(NAME=&quot;separation.reason&quot;) COLUMN(NAME=&quot;separation.chg_date&quot;) COLUMN(NAME=&quot;separation.chg_user&quot;) COLUMN(NAME=&quot;separation.chg_term&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code,&apos;F1&apos;) emp_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code,&apos;L1&apos;) emp_lname&quot;) COLUMN(NAME=&quot;employee.notice_prd&quot;) COLUMN(NAME=&quot;separation.status&quot;) COLUMN(NAME=&quot;employee.emp_site&quot;) COLUMN(NAME=&quot;separation.conf_date&quot;) COLUMN(NAME=&quot;separation.emp_code__conf&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code__conf,&apos;F1&apos;) emp_code_conf__fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code__conf,&apos;L1&apos;) emp_code_conf__lname&quot;) COMPUTE(NAME=&quot;FN_GET_DESCR_GENCODES(&apos;SEPARATION_MODE&apos; , &apos;W_EMP_SEPARATION&apos; , SEPARATION.SEPARATION_MODE) sepmode_descr&quot;) JOIN (LEFT=&quot;separation.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;( ( separation.emp_code&quot; OP =&quot;=&quot; EXP2 =&quot;:memp )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( separation.resi_date&quot; OP =&quot;=&quot; EXP2 =&quot;:mresidt ) )&quot; ) ) ARG(NAME = &quot;memp&quot; TYPE = string) ARG(NAME = &quot;mresidt&quot; TYPE = datetime) </retrieve>
<update>separation</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>yes</updatekeyinplace>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;separation&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;separation.emp_code&quot;) COLUMN(NAME=&quot;separation.resi_date&quot;) COLUMN(NAME=&quot;separation.relieve_date&quot;) COLUMN(NAME=&quot;separation.separation_mode&quot;) COLUMN(NAME=&quot;separation.reason&quot;) COLUMN(NAME=&quot;separation.chg_date&quot;) COLUMN(NAME=&quot;separation.chg_user&quot;) COLUMN(NAME=&quot;separation.chg_term&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee.notice_prd&quot;) COLUMN(NAME=&quot;separation.status&quot;) COLUMN(NAME=&quot;employee.emp_site&quot;) COLUMN(NAME=&quot;separation.conf_date&quot;) COLUMN(NAME=&quot;separation.emp_code__conf&quot;) COLUMN(NAME=&quot;employee.emp_fname_long&quot;) COLUMN(NAME=&quot;employee.emp_lname_long&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code__conf,&apos;F&apos;) as emp_code_conf__fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME(separation.emp_code__conf,&apos;L&apos;) as emp_code_conf__lname&quot;) COMPUTE(NAME=&quot;FN_GET_DESCR_GENCODES(&apos;SEPARATION_MODE&apos; , &apos;W_EMP_SEPARATION&apos; , SEPARATION.SEPARATION_MODE) as sepmode_descr&quot;) JOIN (LEFT=&quot;separation.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; )WHERE( EXP1 =&quot;separation.emp_code&quot; OP =&quot;=&quot; EXP2 =&quot;:memp&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;separation.resi_date&quot; OP =&quot;=&quot; EXP2 =&quot;:mresidt&quot; ) ) ARG(NAME = &quot;memp&quot; TYPE = string) ARG(NAME = &quot;mresidt&quot; TYPE = datetime) </retrieve>
<update>SEPARATION</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>memp</name>
<type>string</type>
......@@ -185,14 +197,14 @@
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>6</x>
<y>193</y>
<height>92</height>
<width>523</width>
<name>gb_2</name>
<y>3</y>
<height>326</height>
<width>466</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -207,16 +219,20 @@
<color>67108864</color>
</background>
</GroupBox>
<GroupBox>
<TextObject>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<alignment>1</alignment>
<text>Notice Period :</text>
<border>0</border>
<color>0</color>
<x>6</x>
<y>3</y>
<height>184</height>
<width>523</width>
<name>gb_1</name>
<x>249</x>
<y>52</y>
<height>16</height>
<width>135</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>notice_prd_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -227,17 +243,17 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</GroupBox>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmation Date :</text>
<border>0</border>
<color>0</color>
<x>305</x>
<x>253</x>
<y>136</y>
<height>16</height>
<width>111</width>
......@@ -261,29 +277,26 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<id>2</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>138</x>
<y>31</y>
<y>52</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<width>80</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<tag>Unique code of employee who is to be separated</tag>
<name>resi_date</name>
<tag>Date of separation</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
......@@ -300,21 +313,21 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>3</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>138</x>
<y>52</y>
<y>73</y>
<height>16</height>
<width>80</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>resi_date</name>
<tag>Date of separation</tag>
<name>relieve_date</name>
<tag>Actual relieve date</tag>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
......@@ -336,26 +349,64 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<id>14</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>138</x>
<y>73</y>
<color>255</color>
<x>371</x>
<y>136</y>
<height>16</height>
<width>80</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>relieve_date</name>
<tag>Actual relieve date</tag>
<name>conf_date</name>
<visible>1</visible>
<EditStyle name="datetime" style="editmask">
<mask>dd/mm/yy</mask>
<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>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>217</x>
<y>157</y>
<height>16</height>
<width>114</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_conf__fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
......@@ -367,7 +418,44 @@
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>337</x>
<y>159</y>
<height>16</height>
<width>114</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_conf__lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
......@@ -444,6 +532,82 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>172</x>
<y>94</y>
<height>16</height>
<width>279</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sepmode_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>138</x>
<y>115</y>
<height>16</height>
<width>313</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>reason</name>
<tag>reason for separation</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>40</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
......@@ -612,30 +776,21 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>421</x>
<y>136</y>
<alignment>1</alignment>
<text>Confirmed By :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>157</y>
<height>16</height>
<width>80</width>
<format>[shortdate] [time]</format>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<name>emp_code__conf_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -648,30 +803,22 @@
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>217</x>
<y>31</y>
<alignment>1</alignment>
<text>Chg Date:</text>
<border>0</border>
<color>0</color>
<x>13</x>
<y>201</y>
<height>16</height>
<width>139</width>
<format>[general]</format>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<name>chg_date_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -681,33 +828,25 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>362</x>
<y>31</y>
<alignment>1</alignment>
<text>Chg User:</text>
<border>0</border>
<color>0</color>
<x>13</x>
<y>223</y>
<height>16</height>
<width>139</width>
<format>[general]</format>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<name>chg_user_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -717,34 +856,25 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>172</x>
<y>94</y>
<alignment>1</alignment>
<text>Chg Term:</text>
<border>0</border>
<color>0</color>
<x>13</x>
<y>245</y>
<height>16</height>
<width>329</width>
<format>[general]</format>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sepmode_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<name>chg_term_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -754,36 +884,25 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Site Code :</text>
<border>0</border>
<color>0</color>
<x>138</x>
<y>115</y>
<x>13</x>
<y>268</y>
<height>16</height>
<width>363</width>
<format>[general]</format>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>reason</name>
<tag>reason for separation</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>40</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<name>emp_site_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -793,10 +912,10 @@
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
......@@ -834,56 +953,30 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed By :</text>
<border>0</border>
<color>33554432</color>
<x>13</x>
<y>157</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__conf_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>217</x>
<y>157</y>
<color>0</color>
<x>138</x>
<y>201</y>
<height>16</height>
<width>139</width>
<format>[general]</format>
<width>84</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_conf__fname</name>
<visible>1</visible>
<name>chg_date</name>
<tag>Last row modified date, for system purpose</tag>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -896,30 +989,33 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>1</alignment>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>441</x>
<y>52</y>
<color>0</color>
<x>138</x>
<y>223</y>
<height>16</height>
<width>60</width>
<format>#,##,##,###.####</format>
<width>52</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>notice_prd</name>
<visible>1</visible>
<name>chg_user</name>
<tag>Last row modified user, for system purpose</tag>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -932,24 +1028,35 @@
</font>
<background>
<mode>2</mode>
<color>79741120</color>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Notice Period :</text>
<border>0</border>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>301</x>
<y>52</y>
<x>138</x>
<y>245</y>
<height>16</height>
<width>135</width>
<width>71</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>notice_prd_t</name>
<visible>1</visible>
<name>chg_term</name>
<tag>Last row modified terminal, for system purpose</tag>
<visible>0</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -959,32 +1066,31 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>362</x>
<y>159</y>
<x>138</x>
<y>268</y>
<height>16</height>
<width>139</width>
<width>54</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code_conf__lname</name>
<visible>1</visible>
<name>emp_site</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1000,21 +1106,32 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed On :</text>
<border>0</border>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>13</x>
<y>224</y>
<x>138</x>
<y>31</y>
<height>16</height>
<width>120</width>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>emp_code</name>
<tag>Unique code of employee who is to be separated</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1024,25 +1141,33 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed From :</text>
<border>0</border>
<id>16</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>13</x>
<y>248</y>
<height>16</height>
<width>120</width>
<x>218</x>
<y>31</y>
<height>15</height>
<width>114</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>emp_fname_long</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -1052,34 +1177,31 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<id>11</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>138</x>
<y>224</y>
<x>391</x>
<y>52</y>
<height>16</height>
<width>117</width>
<format>[shortdate] [time]</format>
<width>60</width>
<format>#,##,##,###.####</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<tag>Last row modified date, for system purpose</tag>
<name>notice_prd</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1092,33 +1214,30 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>70</tabsequence>
<border>5</border>
<color>255</color>
<x>138</x>
<y>248</y>
<height>16</height>
<width>117</width>
<color>0</color>
<x>339</x>
<y>31</y>
<height>15</height>
<width>114</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<tag>Last row modified terminal, for system purpose</tag>
<name>emp_lname_long</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1131,61 +1250,30 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed By :</text>
<border>0</border>
<color>0</color>
<x>304</x>
<y>224</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>384</x>
<y>224</y>
<x>138</x>
<y>291</y>
<height>16</height>
<width>117</width>
<width>114</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<tag>Last row modified user, for system purpose</tag>
<visible>1</visible>
<name>emp_fname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -1198,26 +1286,26 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>79741120</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>441</x>
<y>248</y>
<x>274</x>
<y>292</y>
<height>16</height>
<width>60</width>
<width>114</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site</name>
<visible>1</visible>
<name>emp_lname</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
......@@ -1234,37 +1322,9 @@
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<color>79741120</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code :</text>
<border>0</border>
<color>0</color>
<x>316</x>
<y>248</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_site_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -5,8 +5,8 @@ header(height=19 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=21 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_code dbname="separation.emp_code" )
column=(type=datetime update=yes updatewhereclause=yes key=yes name=resi_date dbname="separation.resi_date" )
table(column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="separation.emp_code" )
column=(type=datetime update=yes updatewhereclause=yes name=resi_date dbname="separation.resi_date" )
column=(type=datetime update=yes updatewhereclause=yes name=relieve_date dbname="separation.relieve_date" )
column=(type=char(1) update=yes updatewhereclause=yes name=separation_mode dbname="separation.separation_mode" )
column=(type=char(40) update=yes updatewhereclause=yes name=reason dbname="separation.reason" )
......@@ -15,42 +15,45 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_co
column=(type=char(5) updatewhereclause=yes name=emp_site dbname="employee.emp_site" )
column=(type=char(1) updatewhereclause=yes name=employee_status dbname="employee.status" values="Separated S/Active A/" )
column=(type=datetime updatewhereclause=yes name=conf_date dbname="separation.conf_date" )
column=(type=char(2) updatewhereclause=yes name=emp_code__conf dbname="separation.emp_code__conf" )
column=(type=char(4000) updatewhereclause=yes name=emp_code_conf__fname dbname="emp_code_conf__fname" )
column=(type=char(4000) updatewhereclause=yes name=emp_code_conf__lname dbname="emp_code_conf__lname" )
column=(type=char(10) updatewhereclause=yes name=emp_code__conf dbname="separation.emp_code__conf" )
column=(type=char(30) updatewhereclause=yes name=emp_fname_long dbname="employee.emp_fname_long" )
column=(type=char(30) updatewhereclause=yes name=emp_lname_long dbname="employee.emp_lname_long" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"separation~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"separation.emp_code~") COLUMN(NAME=~"separation.resi_date~") COLUMN(NAME=~"separation.relieve_date~") COLUMN(NAME=~"separation.separation_mode~") COLUMN(NAME=~"separation.reason~") COLUMN(NAME=~"separation.status~") COLUMN(NAME=~"separation.vac_no__created~") COLUMN(NAME=~"employee.emp_site~") COLUMN(NAME=~"employee.status~") COLUMN(NAME=~"separation.conf_date~") COLUMN(NAME=~"separation.emp_code__conf~") COMPUTE(NAME=~"FN_GET_EMP_NAME(separation.emp_code__conf,'F') emp_code_conf__fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME(separation.emp_code__conf,'L') emp_code_conf__lname~") COLUMN(NAME=~"employee.emp_fname_long~") COLUMN(NAME=~"employee.emp_lname_long~") JOIN (LEFT=~"separation.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"separation.resi_date~" OP =~">=~" EXP2 =~":date_from~" LOGIC =~"and~" ) WHERE( EXP1 =~"separation.resi_date~" OP =~"<=~" EXP2 =~":date_to~" ) ) ARG(NAME = ~"date_from~" TYPE = datetime) ARG(NAME = ~"date_to~" TYPE = datetime) " update="separation" updatewhere=0 updatekeyinplace=no arguments=(("date_from", datetime),("date_to", datetime)) )
column=(type=char(4000) updatewhereclause=yes name=emp_code_conf__fname dbname="emp_code_conf__fname" )
column=(type=char(4000) updatewhereclause=yes name=emp_code_conf__lname dbname="emp_code_conf__lname" )
column=(type=char(4000) updatewhereclause=yes name=sepmode_descr dbname="sepmode_descr" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"separation~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"separation.emp_code~") COLUMN(NAME=~"separation.resi_date~") COLUMN(NAME=~"separation.relieve_date~") COLUMN(NAME=~"separation.separation_mode~") COLUMN(NAME=~"separation.reason~") COLUMN(NAME=~"separation.status~") COLUMN(NAME=~"separation.vac_no__created~") COLUMN(NAME=~"employee.emp_site~") COLUMN(NAME=~"employee.status~") COLUMN(NAME=~"separation.conf_date~") COLUMN(NAME=~"separation.emp_code__conf~") COLUMN(NAME=~"employee.emp_fname_long~") COLUMN(NAME=~"employee.emp_lname_long~") COMPUTE(NAME=~"FN_GET_EMP_NAME(separation.emp_code__conf,'F') as emp_code_conf__fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME(separation.emp_code__conf,'L') as emp_code_conf__lname~") COMPUTE(NAME=~"FN_GET_DESCR_GENCODES('SEPARATION_MODE' , 'W_EMP_SEPARATION' , SEPARATION.SEPARATION_MODE) AS SEPMODE_DESCR~") JOIN (LEFT=~"separation.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"separation.resi_date~" OP =~">=~" EXP2 =~":date_from~" LOGIC =~"and~" ) WHERE( EXP1 =~"separation.resi_date~" OP =~"<=~" EXP2 =~":date_to~" ) ) ARG(NAME = ~"date_from~" TYPE = datetime) ARG(NAME = ~"date_to~" TYPE = datetime) " arguments=(("date_from", datetime),("date_to", datetime)) )
text(band=header alignment="0" text="Emp Code" border="6" color="0" x="2" y="2" height="16" width="57" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Resi. Date" border="6" color="0" x="1553" y="2" height="16" width="68" html.valueishtml="0" name=resi_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Status" border="6" color="0" x="541" y="2" height="16" width="68" html.valueishtml="0" name=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="1" background.color="536870912" )
text(band=header alignment="2" text="Relieve Date" border="6" color="0" x="611" y="2" height="16" width="84" html.valueishtml="0" name=relieve_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Separation Mode" border="6" color="0" x="697" y="2" height="16" width="99" html.valueishtml="0" name=separation_mode_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Reason" border="6" color="0" x="798" y="2" height="16" width="170" html.valueishtml="0" name=reason_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Vacancy No. Created" border="6" color="0" x="970" y="2" height="16" width="111" html.valueishtml="0" name=vac_no__created_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Emp Site" border="6" color="0" x="1623" y="2" height="16" width="63" html.valueishtml="0" name=emp_site_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="2" text="Confirmation Date" border="6" color="33554432" x="1083" y="2" height="16" width="100" html.valueishtml="0" name=conf_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Confirmed By" border="6" color="33554432" x="1185" y="2" height="16" width="74" html.valueishtml="0" name=emp_code__conf_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="First Name" border="6" color="0" x="1261" y="2" height="16" width="140" html.valueishtml="0" name=emp_code_conf__fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Last Name" border="6" color="0" x="1403" y="2" height="16" width="147" html.valueishtml="0" name=emp_code_conf__lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Status" border="6" color="0" x="1688" y="2" height="16" width="98" html.valueishtml="0" name=employee_status_t 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="67108864" )
text(band=header alignment="0" text="First Name " border="6" color="33554432" x="61" y="2" height="15" width="238" html.valueishtml="0" name=emp_fname_long_t visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Last Name" border="6" color="33554432" x="301" y="2" height="15" width="238" html.valueishtml="0" name=emp_lname_long_t visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Resi. Date" border="6" color="0" x="1196" y="2" height="16" width="68" html.valueishtml="0" name=resi_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Status" border="6" color="0" x="282" y="2" height="16" width="68" html.valueishtml="0" name=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="1" background.color="536870912" )
text(band=header alignment="2" text="Relieve Date" border="6" color="0" x="352" y="2" height="16" width="84" html.valueishtml="0" name=relieve_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Separation Mode" border="6" color="0" x="438" y="2" height="16" width="99" html.valueishtml="0" name=separation_mode_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Reason" border="6" color="0" x="539" y="2" height="16" width="73" html.valueishtml="0" name=reason_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Vacancy No. Created" border="6" color="0" x="614" y="2" height="16" width="111" html.valueishtml="0" name=vac_no__created_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="0" text="Emp Site" border="6" color="0" x="1266" y="2" height="16" width="63" html.valueishtml="0" name=emp_site_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="2" text="Confirmation Date" border="6" color="33554432" x="727" y="2" height="16" width="100" html.valueishtml="0" name=conf_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Confirmed By" border="6" color="33554432" x="829" y="2" height="16" width="74" html.valueishtml="0" name=emp_code__conf_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="First Name" border="6" color="0" x="905" y="2" height="16" width="140" html.valueishtml="0" name=emp_code_conf__fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Last Name" border="6" color="0" x="1047" y="2" height="16" width="147" html.valueishtml="0" name=emp_code_conf__lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Status" border="6" color="0" x="1331" y="2" height="16" width="98" html.valueishtml="0" name=employee_status_t 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="67108864" )
text(band=header alignment="0" text="First Name " border="6" color="33554432" x="61" y="2" height="15" width="110" html.valueishtml="0" name=emp_fname_long_t visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Last Name" border="6" color="33554432" x="173" y="2" height="15" width="107" html.valueishtml="0" name=emp_lname_long_t visible="1" font.face="Liberation Sans" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="2" y="2" height="16" width="57" format="[general]" html.valueishtml="0" name=emp_code tag="Unique code of employee who is to be separated" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=20 border="5" color="0" x="541" y="2" height="16" width="68" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any 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=3 alignment="0" tabsequence=30 border="5" color="0" x="611" y="2" height="16" width="84" format="[shortdate] [time]" html.valueishtml="0" name=relieve_date tag="Actual relieve date" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="697" y="2" height="16" width="99" format="[general]" html.valueishtml="0" name=separation_mode tag="Type of separation R- resigned,E- retired,T- terminated, I - Inter company transfer" 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="16777215" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="798" y="2" height="16" width="170" format="[general]" html.valueishtml="0" name=reason tag="reason for separation" visible="1" edit.limit=40 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=60 border="5" color="0" x="970" y="2" height="16" width="111" format="[general]" html.valueishtml="0" name=vac_no__created visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="0" x="1623" y="2" height="16" width="63" format="[general]" html.valueishtml="0" name=emp_site 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=10 alignment="0" tabsequence=70 border="5" color="0" x="1083" y="2" height="16" width="100" format="[shortdate] [time]" html.valueishtml="0" name=conf_date 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="16777215" )
column(band=detail id=11 alignment="0" tabsequence=80 border="5" color="0" x="1185" y="2" height="16" width="74" format="[general]" html.valueishtml="0" name=emp_code__conf 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="16777215" )
column(band=detail id=12 alignment="0" tabsequence=90 border="5" color="0" x="1261" y="2" height="16" width="140" format="[general]" html.valueishtml="0" name=emp_code_conf__fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=100 border="5" color="0" x="1403" y="2" height="16" width="147" format="[general]" html.valueishtml="0" name=emp_code_conf__lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="0" x="1688" y="2" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_status visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any 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=14 alignment="0" tabsequence=32766 border="5" color="0" x="61" y="2" height="16" width="238" format="[general]" html.valueishtml="0" name=emp_fname_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="16777215" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="0" x="301" y="2" height="16" width="238" 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="16777215" )
column(band=detail id=2 alignment="0" tabsequence=130 border="5" color="0" x="1553" y="2" height="16" width="68" format="[shortdate] [time]" html.valueishtml="0" name=resi_date tag="Date of separation" visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=20 border="5" color="0" x="282" y="2" height="16" width="68" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any 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=3 alignment="0" tabsequence=30 border="5" color="0" x="352" y="2" height="16" width="84" format="[shortdate] [time]" html.valueishtml="0" name=relieve_date tag="Actual relieve date" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="438" y="2" height="16" width="99" format="[general]" html.valueishtml="0" name=separation_mode tag="Type of separation R- resigned,E- retired,T- terminated, I - Inter company transfer" 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="16777215" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="539" y="2" height="16" width="73" format="[general]" html.valueishtml="0" name=reason tag="reason for separation" visible="1" edit.limit=40 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=60 border="5" color="0" x="614" y="2" height="16" width="111" format="[general]" html.valueishtml="0" name=vac_no__created visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="0" x="1266" y="2" height="16" width="63" format="[general]" html.valueishtml="0" name=emp_site 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=10 alignment="0" tabsequence=70 border="5" color="0" x="727" y="2" height="16" width="100" format="[shortdate] [time]" html.valueishtml="0" name=conf_date 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="16777215" )
column(band=detail id=11 alignment="0" tabsequence=80 border="5" color="0" x="829" y="2" height="16" width="74" format="[general]" html.valueishtml="0" name=emp_code__conf 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="16777215" )
column(band=detail id=14 alignment="0" tabsequence=90 border="5" color="0" x="905" y="2" height="16" width="140" format="[general]" html.valueishtml="0" name=emp_code_conf__fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="0" tabsequence=100 border="5" color="0" x="1047" y="2" height="16" width="147" format="[general]" html.valueishtml="0" name=emp_code_conf__lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="0" x="1331" y="2" height="16" width="98" format="[general]" html.valueishtml="0" name=employee_status visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any 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=12 alignment="0" tabsequence=32766 border="5" color="0" x="61" y="2" height="16" width="110" format="[general]" html.valueishtml="0" name=emp_fname_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="16777215" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="0" x="173" y="2" height="16" width="107" 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="16777215" )
column(band=detail id=2 alignment="0" tabsequence=110 border="5" color="0" x="1196" y="2" height="16" width="68" format="[shortdate] [time]" html.valueishtml="0" name=resi_date tag="Date of separation" visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=16 alignment="0" tabsequence=120 border="5" color="0" x="1432" y="1" height="16" width="106" html.valueishtml="0" name=sepmode_descr 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" )
text(band=header alignment="0" text="Sepmode Descr" border="6" color="33554432" x="1431" y="2" height="16" width="107" html.valueishtml="0" name=sepmode_descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
......@@ -11,31 +11,31 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=emp_co
column=(type=char(40) update=yes updatewhereclause=yes name=reason dbname="separation.reason" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="separation.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="separation.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="separation.chg_term" )
column=(type=char(300) update=yes updatewhereclause=yes name=chg_term dbname="separation.chg_term" )
column=(type=char(15) updatewhereclause=yes name=emp_fname dbname="employee.emp_fname" )
column=(type=char(15) updatewhereclause=yes name=emp_lname dbname="employee.emp_lname" )
column=(type=decimal(0) updatewhereclause=yes name=notice_prd dbname="employee.notice_prd" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="separation.status" initial="R" values="Requested R/Confirmed C/Cancelled X/" )
column=(type=char(5) updatewhereclause=yes name=emp_site dbname="employee.emp_site" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="separation.conf_date" )
column=(type=char(2) update=yes updatewhereclause=yes name=emp_code__conf dbname="separation.emp_code__conf" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__conf dbname="separation.emp_code__conf" )
column=(type=char(30) updatewhereclause=yes name=emp_fname_long dbname="employee.emp_fname_long" )
column=(type=char(30) updatewhereclause=yes name=emp_lname_long dbname="employee.emp_lname_long" )
column=(type=char(4000) updatewhereclause=yes name=emp_code_conf__fname dbname="emp_code_conf__fname" )
column=(type=char(4000) updatewhereclause=yes name=emp_code_conf__lname dbname="emp_code_conf__lname" )
column=(type=char(4000) updatewhereclause=yes name=sepmode_descr dbname="sepmode_descr" )
column=(type=char(30) updatewhereclause=yes name=emp_fname_long dbname="employee.emp_fname_long" )
column=(type=char(30) updatewhereclause=yes name=emp_lname_long dbname="employee.emp_lname_long" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"separation~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"separation.emp_code~") COLUMN(NAME=~"separation.resi_date~") COLUMN(NAME=~"separation.relieve_date~") COLUMN(NAME=~"separation.separation_mode~") COLUMN(NAME=~"separation.reason~") COLUMN(NAME=~"separation.chg_date~") COLUMN(NAME=~"separation.chg_user~") COLUMN(NAME=~"separation.chg_term~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee.notice_prd~") COLUMN(NAME=~"separation.status~") COLUMN(NAME=~"employee.emp_site~") COLUMN(NAME=~"separation.conf_date~") COLUMN(NAME=~"separation.emp_code__conf~") COMPUTE(NAME=~"FN_GET_EMP_NAME(separation.emp_code__conf,'F') emp_code_conf__fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME(separation.emp_code__conf,'L') emp_code_conf__lname~") COMPUTE(NAME=~"FN_GET_DESCR_GENCODES('SEPARATION_MODE' , 'W_EMP_SEPARATION' , SEPARATION.SEPARATION_MODE) sepmode_descr~") COLUMN(NAME=~"employee.emp_fname_long~") COLUMN(NAME=~"employee.emp_lname_long~") JOIN (LEFT=~"separation.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"separation.emp_code~" OP =~"=~" EXP2 =~":memp~" LOGIC =~"and~" ) WHERE( EXP1 =~"separation.resi_date~" OP =~"=~" EXP2 =~":mresidt~" ) ) ARG(NAME = ~"memp~" TYPE = string) ARG(NAME = ~"mresidt~" TYPE = datetime) " update="separation" updatewhere=1 updatekeyinplace=yes arguments=(("memp", string),("mresidt", datetime)) )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"separation~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"separation.emp_code~") COLUMN(NAME=~"separation.resi_date~") COLUMN(NAME=~"separation.relieve_date~") COLUMN(NAME=~"separation.separation_mode~") COLUMN(NAME=~"separation.reason~") COLUMN(NAME=~"separation.chg_date~") COLUMN(NAME=~"separation.chg_user~") COLUMN(NAME=~"separation.chg_term~") COLUMN(NAME=~"employee.emp_fname~") COLUMN(NAME=~"employee.emp_lname~") COLUMN(NAME=~"employee.notice_prd~") COLUMN(NAME=~"separation.status~") COLUMN(NAME=~"employee.emp_site~") COLUMN(NAME=~"separation.conf_date~") COLUMN(NAME=~"separation.emp_code__conf~") COLUMN(NAME=~"employee.emp_fname_long~") COLUMN(NAME=~"employee.emp_lname_long~") COMPUTE(NAME=~"FN_GET_EMP_NAME(separation.emp_code__conf,'F') as emp_code_conf__fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME(separation.emp_code__conf,'L') as emp_code_conf__lname~") COMPUTE(NAME=~"FN_GET_DESCR_GENCODES('SEPARATION_MODE' , 'W_EMP_SEPARATION' , SEPARATION.SEPARATION_MODE) as sepmode_descr~") JOIN (LEFT=~"separation.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"separation.emp_code~" OP =~"=~" EXP2 =~":memp~" LOGIC =~"and~" ) WHERE( EXP1 =~"separation.resi_date~" OP =~"=~" EXP2 =~":mresidt~" ) ) ARG(NAME = ~"memp~" TYPE = string) ARG(NAME = ~"mresidt~" TYPE = datetime) " update="SEPARATION" updatewhere=0 updatekeyinplace=no arguments=(("memp", string),("mresidt", datetime)) )
groupbox(band=detail text="Basic"border="2" color="0" x="6" y="3" height="326" width="466" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Notice Period :" border="0" color="0" x="249" y="52" height="16" width="135" html.valueishtml="0" name=notice_prd_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Confirmation Date :" border="0" color="0" x="253" y="136" height="16" width="111" html.valueishtml="0" name=conf_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="0" x="138" y="52" height="16" width="80" format="[shortdate] [time]" html.valueishtml="0" name=resi_date tag="Date of separation" visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=30 border="5" color="0" x="138" y="73" height="16" width="80" format="[shortdate] [time]" html.valueishtml="0" name=relieve_date tag="Actual relieve date" visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="371" y="136" height="16" width="80" format="[shortdate] [time]" html.valueishtml="0" name=conf_date 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=16 alignment="0" tabsequence=32766 border="5" color="255" x="217" y="157" height="16" width="114" format="[general]" html.valueishtml="0" name=emp_code_conf__fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="337" y="159" height="16" width="114" format="[general]" html.valueishtml="0" name=emp_code_conf__lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="217" y="157" height="16" width="114" format="[general]" html.valueishtml="0" name=emp_code_conf__fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="337" y="159" height="16" width="114" format="[general]" html.valueishtml="0" name=emp_code_conf__lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="255" x="138" y="136" height="16" width="85" format="[general]" html.valueishtml="0" name=status visible="1" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any 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="79741120" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="138" y="94" height="16" width="28" format="[general]" html.valueishtml="0" name=separation_mode tag="Type of separation R- resigned,E- retired,T- terminated, I - Inter company transfer" visible="1" edit.limit=1 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="172" y="94" height="16" width="279" format="[general]" html.valueishtml="0" name=sepmode_descr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=20 alignment="0" tabsequence=32766 border="5" color="255" x="172" y="94" height="16" width="279" format="[general]" html.valueishtml="0" name=sepmode_descr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="138" y="115" height="16" width="313" format="[general]" html.valueishtml="0" name=reason tag="reason for separation" visible="1" edit.limit=40 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Employee :" border="0" color="0" x="13" y="31" height="16" width="120" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Resignation Date :" border="0" color="0" x="13" y="52" height="16" width="120" html.valueishtml="0" name=resi_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
......@@ -54,11 +54,11 @@ column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="0" x="
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="0" x="138" y="245" height="16" width="71" format="[general]" html.valueishtml="0" name=chg_term tag="Last row modified terminal, for system purpose" visible="0" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="138" y="268" height="16" width="54" format="[general]" html.valueishtml="0" name=emp_site 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="67108864" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="138" y="31" height="16" width="73" format="[general]" html.valueishtml="0" name=emp_code tag="Unique code of employee who is to be separated" visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="0" tabsequence=60 border="5" color="0" x="218" y="31" height="15" width="114" format="[general]" html.valueishtml="0" name=emp_fname_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="16777215" )
column(band=detail id=16 alignment="0" tabsequence=60 border="5" color="0" x="218" y="31" height="15" width="114" format="[general]" html.valueishtml="0" name=emp_fname_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="16777215" )
column(band=detail id=11 alignment="1" tabsequence=32766 border="5" color="255" x="391" y="52" height="16" width="60" format="#,##,##,###.####" html.valueishtml="0" name=notice_prd 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="79741120" )
column(band=detail id=20 alignment="0" tabsequence=70 border="5" color="0" x="337" y="31" height="15" width="114" 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="16777215" )
column(band=detail id=17 alignment="0" tabsequence=70 border="5" color="0" x="339" y="31" height="15" width="114" 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="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="138" y="291" height="16" width="114" format="[general]" html.valueishtml="0" name=emp_fname 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="79741120" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="273" y="291" height="16" width="114" format="[general]" html.valueishtml="0" name=emp_lname 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="79741120" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="274" y="292" height="16" width="114" format="[general]" html.valueishtml="0" name=emp_lname 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="79741120" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
......@@ -4,28 +4,28 @@
// DATE : 25/11/2015
package ibase.webitm.ejb.adm;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.ejb.fin.FinCommon;
import java.sql.*;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import javax.ejb.Stateless;
import org.w3c.dom.Document;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
/**
* Session Bean implementation class EmpSeperationEJB
*/
@Stateless
//@Stateless
public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRemote, EmpSeparationEJBLocal
{
......@@ -38,7 +38,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
return "";
}
E12GenericUtility genericUtility = new E12GenericUtility();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document dom = null;
......@@ -46,7 +46,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
Document dom2 = null;
String errString = "";
GenericUtility genericUtility = GenericUtility.getInstance();
//GenericUtility genericUtility = GenericUtility.getInstance();
try
{
System.out.println("EmpSeparationEJB:wfValData value of xmlString ["+xmlString+"]");
......@@ -76,7 +76,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
{
System.out.println ("Exception: EmpSeparationEJB: wfValData(String xmlString): " +e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
errString = checkNull(genericUtility.createErrorString(e));
e.printStackTrace();
System.out.println ("Returning from EmpSeparationEJB wfValData");
......@@ -91,21 +91,21 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
int ctr=0,currentFormNo =0,childNodeListLength =0,cnt =0;
int ctr=0,currentFormNo =0,childNodeListLength =0/*,cnt =0*/;
String childNodeName = null,childNodeValue = null;
String errString = "";
String errCode = "",errorCode="";
String userId = "";
String stanCode="";
String loginSite = "" , addTerm = "" , chgUser = "";
String /*editFlg = "" */keyFlag = "" , tranDateStr = "";
//String stanCode="";
String loginSite = "" /*, addTerm = "" , chgUser = ""*/;
String /*editFlg = "" keyFlag = "" ,*/ tranDateStr = "";
StringBuffer errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
java.util.Date joinDate = null;
//java.util.Date joinDate = null;
Connection conn = null;
PreparedStatement pstmt=null;
ResultSet rs=null;
String objNameDefault = "";
//String objNameDefault = "";
String msgType = "";
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
......@@ -130,9 +130,9 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginSite = getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
GenericUtility genericUtility = GenericUtility.getInstance();
//GenericUtility genericUtility = GenericUtility.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
SimpleDateFormat dbsdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
//SimpleDateFormat dbsdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
System.out.println("Value of edit Flag in wfvalData is :" + editFlag);
......@@ -155,7 +155,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
{
childNode = childNodeList.item(ctr);
System.out.println("childNode"+childNode);
System.out.println("childNode :::"+childNode);
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
......@@ -169,13 +169,13 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
if(childNodeName.equalsIgnoreCase("tran_date"))
{
tranDateStr = genericUtility.getColumnValue ("tran_date",dom);
tranDateStr = checkNull(genericUtility.getColumnValue ("tran_date",dom));
System.out.println("tran date is : " + tranDateStr);
if(tranDateStr != null && tranDateStr.trim().length() > 0)
{
tranDate = sdf.parse(tranDateStr);
}
empCode = genericUtility.getColumnValue ("emp_code",dom);
empCode = checkNull(genericUtility.getColumnValue ("emp_code",dom));
sql = "SELECT WORK_SITE FROM EMPLOYEE WHERE EMP_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
......@@ -188,7 +188,8 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
close(pstmt, rs);
//changes by sarita on 16APR2018 [start]- added conn parameter in nfCheckPeriod method
//errorCode = nfCheckPeriod("ADM",tranDate,wrkSite);
errorCode = nfCheckPeriod("ADM",tranDate,wrkSite,conn);
//errorCode = nfCheckPeriod("ADM",tranDate,wrkSite,conn);
//errorCode = nfCheckPeriod("ADM",tranDate,wrkSite);//Modified by Ahmed - no connection parameter in the method
//changes by sarita on 16APR2018 [end]- added conn parameter in nfCheckPeriod method
if(errorCode != null && errorCode.trim().length() > 0)
{
......@@ -206,7 +207,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
else if(childNodeName.equalsIgnoreCase("emp_code"))
{
System.out.println(" Validation for field "+childNodeName);
empCode = genericUtility.getColumnValue ("emp_code",dom);
empCode = checkNull(genericUtility.getColumnValue ("emp_code",dom));
errorCode = "";
if (empCode == null || empCode.trim().length() == 0)
......@@ -325,8 +326,8 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
{
errorCode = "";
System.out.println(" Validation for field "+childNodeName);
resigDateStr = genericUtility.getColumnValue ("resi_date",dom);
relieveDateStr = genericUtility.getColumnValue("relieve_date", dom);
resigDateStr = checkNull(genericUtility.getColumnValue ("resi_date",dom));
relieveDateStr = checkNull(genericUtility.getColumnValue("relieve_date", dom));
if (resigDateStr == null || resigDateStr.trim().length() == 0)
{
......@@ -410,7 +411,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
else if(childNodeName.equalsIgnoreCase("relieve_date"))
{
System.out.println(" Validation for field "+childNodeName);
relieveDateStr = genericUtility.getColumnValue("relieve_date", dom);
relieveDateStr = checkNull(genericUtility.getColumnValue("relieve_date", dom));
if(relieveDateStr == null || relieveDateStr.trim().length() == 0)
{
errList.add ("VMDATENULL");
......@@ -431,7 +432,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
}
catch(Exception e)
{
errorCode = "VMINVDATE ";
errorCode = "VMINVDATE";
errList.add(errorCode);
errFields.add( childNodeName.toLowerCase() );
msgType = errorType( conn , errorCode );
......@@ -446,7 +447,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
else if(childNodeName.equalsIgnoreCase("separation_mode"))
{
System.out.println(" Validation for field "+childNodeName);
String sepMode = genericUtility.getColumnValue ("separation_mode",dom);
String sepMode = checkNull(genericUtility.getColumnValue ("separation_mode",dom));
if(sepMode == null || sepMode.trim().length() == 0)
{
......@@ -483,7 +484,6 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
}
}
}break;
}
if ( errList != null && errList.size() > 0 )
......@@ -569,7 +569,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
Document dom1 = null;
Document dom2 = null;
String errString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
//GenericUtility genericUtility = GenericUtility.getInstance();
try
{
System.out.println("EmpSeparationEJB:itemChanged value of xmlString ["+xmlString+"]");
......@@ -605,8 +605,6 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
int currentFormNo = 0;
StringBuffer valueXmlString = null;
//NodeList parentNodeList = null;
......@@ -616,7 +614,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
// String columnValue = "";
//String childNodeName = null,childNodeValue = null;
//int ctr=0,childNodeListLength =0,cnt =0;
String sql = "",editFlg="",loginSite="" , objNameDefault = "" , errString = null;
String sql = ""/*,editFlg="",loginSite="" */, objNameDefault = "" /*, errString = null*/;
String sepMode = "" ,sepModeDescr = "";
String empCode = "";
String fname = "" , lname = "";
......@@ -628,16 +626,13 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
ResultSet rs = null;
PreparedStatement pstmt = null;
Connection conn = null;
ConnDriver connDriver = null;
//ConnDriver connDriver = null;
int noticePrd = 0 , noticeDays = 0 ;
String resigDateStr = "" , relieveDateStr = "" , noticePrdStr = "" , currDateStr = "";
//java.util.Date chgDate = null;
String chgDateStr="";
String addTerm = "" , chgUser = "";
System.out.println("Value of edit Flag in itemchanged is :" + editFlag);
try
......@@ -651,7 +646,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
conn = connDriver.getConnectDB("DriverITM");*/
conn = getConnection();
//changes by sarita on 16APR2018 for getting connection [end]
GenericUtility genericUtility = GenericUtility.getInstance();
//GenericUtility genericUtility = GenericUtility.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
//SimpleDateFormat dbsdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
......@@ -659,9 +654,9 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
currDateStr = sdf.format(currDate);
chgUser = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "logincode");
addTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"termId");
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
//loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
chgDateStr = sdf.format(currDate);
System.out.println("currDateStr :::" +currDateStr+ "chgDateStr :::" +chgDateStr);
//java.util.Date resigDate = null;
//java.util.Date relieveDate = null;
......@@ -695,7 +690,6 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
while(rs.next())
{
sepModeDescr = checkNull(rs.getString("SEPMODE_DESCR"));
}
close(pstmt,rs);
......@@ -705,8 +699,8 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
else if(currentColumn.equalsIgnoreCase("emp_code"))
{
System.out.println("ItemChange of:::::"+currentColumn);
empCode = genericUtility.getColumnValue ("emp_code",dom);
resigDateStr = genericUtility.getColumnValue ("resi_date",dom);
empCode = checkNull(genericUtility.getColumnValue ("emp_code",dom));
resigDateStr = checkNull(genericUtility.getColumnValue ("resi_date",dom));
//Modified by Anjali R. on[25/07/2018][Start]
//sql = "SELECT EMP_LNAME, EMP_FNAME , NOTICE_PRD FROM EMPLOYEE WHERE EMP_CODE = ?";
......@@ -771,7 +765,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
{
try
{
noticePrd=Integer.parseInt(noticePrdStr);
noticePrd = Integer.parseInt(noticePrdStr);
}
catch (Exception e3)
{
......@@ -803,6 +797,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
{
System.out.println("ItemChange of:::::"+currentColumn);
sepMode = checkNull(genericUtility.getColumnValue ("separation_mode",dom));
System.out.println("sepMode::::::::" +sepMode);
valueXmlString.append("<separation_mode>").append("<![CDATA[" + sepMode + "]]>").append("</separation_mode>");
sql = "SELECT FN_GET_DESCR_GENCODES('SEPARATION_MODE' , 'W_EMP_SEPARATION' , ?) AS SEPMODE_DESCR FROM DUAL";
pstmt = conn.prepareStatement(sql);
......@@ -959,7 +954,7 @@ public class EmpSeparationEJB extends ValidatorEJB implements EmpSeparationEJBRe
String relieveDateStr = "";
try
{
GenericUtility genericUtility = GenericUtility.getInstance();
//GenericUtility genericUtility = GenericUtility.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
// SimpleDateFormat dbsdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
System.out.println("called getRelativeDateStr method");
......
......@@ -9,15 +9,17 @@
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.*;
import javax.ejb.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.system.config.*;
import javax.ejb.Stateless; // added for ejb3
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.utility.ITMException;
@Stateless // added for ejb3
public class EmpSeparationCnc extends ActionHandlerEJB implements EmpSeparationCncLocal,EmpSeparationCncRemote //SessionBean
......@@ -38,6 +40,8 @@ public class EmpSeparationCnc extends ActionHandlerEJB implements EmpSeparationC
{
}
*/
E12GenericUtility genericUtility = new E12GenericUtility(); // Added By Poonam B[26-SEP-2019]
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();// Added By Poonam B[26-SEP-2019]
public String actionHandler() throws RemoteException,ITMException
{
return "";
......@@ -47,7 +51,7 @@ public class EmpSeparationCnc extends ActionHandlerEJB implements EmpSeparationC
{
String retString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
//GenericUtility genericUtility = GenericUtility.getInstance(); //Commented By Poonam B[26-SEP-2019]
try
{
retString = actionCancel(tranId, xtraParams, forcedFlag);
......@@ -68,19 +72,19 @@ public class EmpSeparationCnc extends ActionHandlerEJB implements EmpSeparationC
String errCode = "", errString = "";
String empCode = "";
String resiDateStr = "";
java.sql.Date resiDate = null;
/*java.sql.Date resiDate = null;
String loginCode = "";
Connection conn = null;
*/Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
ConnDriver connDriver = new ConnDriver();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
GenericUtility genericUtility = GenericUtility.getInstance();
//ConnDriver connDriver = new ConnDriver();//Commented By Poonam B[26-SEP-2019]
//ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();//Commented By Poonam B[26-SEP-2019]
//GenericUtility genericUtility = GenericUtility.getInstance();//Commented By Poonam B[26-SEP-2019]
int cnt = 0;
try
{
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM"); //Commented By Poonam B[26-SEP-2019]
conn = getConnection(); //Added By Poonam B[26-SEP-2019]
System.out.println("########### Inside EmpSeparationCncEJB[actionCancel] ###########");
System.out.println("Tran ID : "+ tranId);
......@@ -109,7 +113,10 @@ public class EmpSeparationCnc extends ActionHandlerEJB implements EmpSeparationC
pstmt.clearParameters();
if (rs.next())
{
status = rs.getString(1);
//Modified By Poonam B[26-SEP-2019][START]
//status = rs.getString(1);
status = E12GenericUtility.checkNull(rs.getString(1));
//Modified By Poonam B[26-SEP-2019][END]
}
System.out.println("Status :"+status);
......@@ -137,7 +144,8 @@ public class EmpSeparationCnc extends ActionHandlerEJB implements EmpSeparationC
catch (Exception e)
{
System.out.println("The Exception occure in EmpSeparationCncEJB :"+e);
throw e;
//throw e;
throw new ITMException(e); //Added By Poonam B[26-SEP-2019]
}
finally
{
......@@ -153,6 +161,7 @@ public class EmpSeparationCnc extends ActionHandlerEJB implements EmpSeparationC
catch (Exception e)
{
System.out.println("Exception in finally: " + e);
throw new ITMException(e); //Added By Poonam B[26-SEP-2019]
}
}
return errString;
......
//AUTHOR : Poonam B
// COMPONENET : nvo_business_object_adm_empstat_relieve
// DATE : 23/09/2019
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
public class EmpSeparationRelieve extends ActionHandlerEJB implements EmpSeparationRelieveLocal ,EmpSeparationRelieveRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
UtilMethods utilMethod = new UtilMethods();
String userId = "",loginEmpCode = "",runMode = "",chgTerm = "";
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
String retString = null;
Connection conn = null;
try
{
conn = getConnection();
System.out.println("Conn==>[" + conn + "]");
retString = gbfPostLogic(tranId, tranId,xtraParams,forcedFlag,conn);
System.out.println("returning String from EmpSeparationRelieve :gbfPostLogic():==>[" + retString + "]");
if(retString == null || retString.trim().length() == 0)
{
conn.commit();
}
else
{
conn.rollback();
}
}
catch(Exception e)
{
System.out.println("Exception :EmpSeparationRelieve :gbfPostLogic() :" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(conn != null)
{
conn.close();
conn = null;
}
}
catch (Exception e)
{
e.printStackTrace();
}
}
return retString;
}
public String gbfPostLogic(String asTranidFr, String asTranidTo, String xtraParams, String forcedFlag,
Connection conn) throws ITMException
{
String lsEmpCode = "" ,lsKeyVal = "",errString = "", sql = "";
String lsDate = "";
String status = "" , code = "";
Timestamp relieveDate = null;
Timestamp ldResiDate = null ;
int liCnt = 0 , cnt = 0;
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
System.out.println("Inside Post Logic Method..!!!!");
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
chgTerm = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId"));
loginEmpCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode"));
runMode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "runMode"));
System.out.println("userId==>" + userId);
System.out.println("loginEmpCode==>" + loginEmpCode + " runMode==>" + runMode);
if(asTranidFr.equalsIgnoreCase(asTranidTo))
{
lsKeyVal = asTranidFr;
System.out.println("Initial lsKeyVal==>::[" + lsKeyVal + "]");
String[] tempArr = lsKeyVal.split(":");
if(tempArr != null && tempArr.length > 0 )
{
lsEmpCode = tempArr[0];
lsDate = tempArr[1];
}
System.out.println("lsKeyVal==>" + lsKeyVal + " lsEmpCode==>" + lsEmpCode + " lsDate==>" + lsDate);
ldResiDate = Timestamp.valueOf(genericUtility.getValidDateString(lsDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("ldResiDate==>" + ldResiDate);
do
{
sql = "select relieve_date, status from separation where emp_code = ? and resi_date = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
pstmt.setTimestamp(2, ldResiDate);
rs = pstmt.executeQuery();
if(rs.next())
{
relieveDate = rs.getTimestamp("relieve_date");
status = checkNull(rs.getString("status"));
System.out.println("relieve_date::: " + relieveDate + " status::: " + status );
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
//if("C".equalsIgnoreCase(status) == false)
if(!"C".equalsIgnoreCase(status))
{
errString = itmDBAccessEJB.getErrorString("", "VTCONF3", userId, "", conn);// not confirmed
return errString;//Added by Jaffar
}
sql = "select status from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
rs = pstmt.executeQuery();
if(rs.next())
{
status = checkNull(rs.getString("status"));
System.out.println(" status::: " +status );
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
//if("S".equalsIgnoreCase(status) == true)
if("S".equalsIgnoreCase(status))
{
errString = itmDBAccessEJB.getErrorString("", "VMEMP5", userId, "", conn);
//break;
return errString;
}
sql = "select code as ls_relieve_prd from period where fr_date <= ? and to_date >= ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, relieveDate);
pstmt.setTimestamp(2, relieveDate);
rs = pstmt.executeQuery();
if(rs.next())
{
code = checkNull(rs.getString("ls_relieve_prd"));
System.out.println(" code::: " +code );
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select count(*) as li_count from payroll where prd_code > ? and emp_code = ? " +
" and paid_days > 0 and prd_code not in (select prd_code from arrears" +
" where prd_code > ? and emp_code = ? )";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, code);
pstmt.setString(2, lsEmpCode);
pstmt.setString(3, code);
pstmt.setString(4, lsEmpCode);
rs = pstmt.executeQuery();
if(rs.next())
{
liCnt = rs.getInt("li_count");
System.out.println(" liCnt::: " +liCnt );
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(liCnt > 0)
{
errString = itmDBAccessEJB.getErrorString("", "VTEMPREL", userId, "", conn);
//break;
return errString;
}
sql = "update employee set relieve_date = ?, status = 'S' where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, relieveDate);
pstmt.setString(2, lsEmpCode);
cnt = pstmt.executeUpdate();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt != 1)
{
errString = itmDBAccessEJB.getErrorString("", "VRLDTUPDT", userId, "", conn);
//break;
return errString;
}
System.out.println("cnt of employee table::: " +cnt );
cnt = 0;
sql = "update users set status = 'C' where emp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
cnt = pstmt.executeUpdate();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt != 1)
{
errString = itmDBAccessEJB.getErrorString("", "VTEMPUID01", userId, "", conn);
//break;
return errString;
}
System.out.println(" cnt of users table ::: " +cnt );
sql = "update sales_pers set active = 'N' where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
cnt = pstmt.executeUpdate();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt != 1)
{
errString = itmDBAccessEJB.getErrorString("", "DRMUPDFAIL", userId, "", conn);
//break;
return errString;
}
System.out.println(" cnt of sales_pers table::: " +cnt );
break;
}while(true);
}
if(errString.trim().length() > 0)
{
conn.rollback();
}
else
{
conn.commit();
errString = itmDBAccessEJB.getErrorString("", "VTSUCC", userId, "", conn);
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e1)
{
e1.printStackTrace();
}
}
return errString;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
else
{
input = input.trim();
}
return input;
}
}
\ No newline at end of file
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import ibase.webitm.utility.ITMException;
public interface EmpSeparationRelieveLocal
{
public String confirm(String tranId, String xtraParams, String forcedFlag)throws RemoteException,ITMException;
public String gbfPostLogic(String asTranidFr,String asTranidTo, String xtraParams,String forcedFlag,Connection conn) throws ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import ibase.webitm.utility.ITMException;
public interface EmpSeparationRelieveRemote
{
public String confirm(String tranId, String xtraParams, String forcedFlag)throws RemoteException,ITMException;
public String gbfPostLogic(String asTranidFr,String asTranidTo, String xtraParams,String forcedFlag,Connection conn) throws ITMException;
}
......@@ -36,25 +36,22 @@ public class EmployeeSepConfirm extends ActionHandlerEJB implements EmployeeSepC
try
{
conn = getConnection();
System.out.println("Conn==>[" + conn + "]");
//Modified By Azhar K. on [24-Sep-2019][Start]
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
//Modified By Azhar K. on [24-Sep-2019][End]
System.out.println("Conn ==>[" + conn + "]");
retString = gbfPostLogic(tranId, tranId,xtraParams,forcedFlag,conn);
System.out.println("returning String from EmployeeSepConfirm :confirm():==>[" + retString + "]");
if(retString == null || retString.trim().length() == 0)
{
conn.commit();
//Modified By Azhar K. on [24-Sep-2019][To flash msg on successful confirmation][Start]
retString = itmDBAccessEJB.getErrorString("", "VTRSTCNF3", userId, "", conn);
return retString;
//Modified By Azhar K. on [24-Sep-2019][To flash msg on successful confirmation][End]
//Added By Poonam B [04-OCT-2019][START]
retString = itmDBAccessEJB.getErrorString("", "VTCONFIRM", userId, "", conn);
//Added By Poonam B [04-OCT-2019][END]
}
else
{
conn.rollback();
}
System.out.println("retString:::::" +retString);
}
catch(Exception e)
{
......@@ -501,9 +498,8 @@ public class EmployeeSepConfirm extends ActionHandlerEJB implements EmployeeSepC
ResultSet rs = null;
int cntRows = 0,cntInsert = 0;
double totalAmt = 0.00,itAmt = 0.00,amount = 0.00;
//Modified by Azhar K. on[24-Sep-2019][Start]
String siteCode = "",grade = "",cadre = "";
//Modified by Azhar K. on[24-Sep-2019][End]
try
{
......@@ -658,12 +654,9 @@ public class EmployeeSepConfirm extends ActionHandlerEJB implements EmployeeSepC
pstmtTranId.close();
pstmtTranId = null;
}
//Modified by Azhar K. on[24-Sep-2019][Start]
/*sql = "select c.curr_code from employee e,site s,currency c,finent f where emp_code = ? and e.emp_site = s.site_code and f.fin_entity = s.fin_entity " +
" and f.curr_code = c.curr_code ";*/
sql = "select c.curr_code,e.pay_site,e.grade,e.cadre from employee e,site s,currency c,finent f where emp_code = ? and e.emp_site = s.site_code and f.fin_entity = s.fin_entity " +
sql = "select c.curr_code from employee e,site s,currency c,finent f where emp_code = ? and e.emp_site = s.site_code and f.fin_entity = s.fin_entity " +
" and f.curr_code = c.curr_code ";
//Modified by Azhar K. on[24-Sep-2019][End]
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, asEmpCode);
rs = pstmt.executeQuery();
......@@ -672,11 +665,6 @@ public class EmployeeSepConfirm extends ActionHandlerEJB implements EmployeeSepC
{
currCode = checkNull(rs.getString("curr_code"));
System.out.println("currency Code==> " + currCode);
//Modified by Azhar K. on[24-Sep-2019][Start]
siteCode = checkNull(rs.getString("pay_site"));
grade = checkNull(rs.getString("grade"));
cadre = checkNull(rs.getString("cadre"));
//Modified by Azhar K. on[24-Sep-2019][End]
}
if(rs != null)
......@@ -690,10 +678,8 @@ public class EmployeeSepConfirm extends ActionHandlerEJB implements EmployeeSepC
pstmt.close();
pstmt = null;
}
//Modified by Azhar K. on[24-Sep-2019][Start]
//varValue = checkNull(admCommon.getSiteEnv("99999", "ADM", "X", "ZZZZZ", "GEN_FFSHDR_ONSEPCONF", ldToday, conn));
varValue = checkNull(admCommon.getAdmEnv(siteCode, cadre, grade, "GEN_FFSHDR_ONSEPCONF", ldToday, conn));
//Modified by Azhar K. on[24-Sep-2019][End]
varValue = checkNull(admCommon.getSiteEnv("99999", "ADM", "X", "ZZZZZ", "GEN_FFSHDR_ONSEPCONF", ldToday, conn));
System.out.println("varValue::==>[" + varValue + "]");
if(varValue == null || varValue.trim().length() == 0 || "NULLFOUND".equalsIgnoreCase(varValue))
......
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