Commit 45c70653 authored by ysawant's avatar ysawant

* Added new migrated component of Arrears On Encashment menu

empleave_ench_arr11.xml
empleave_ench_arr21.xml
LveEncArrCanc.java
w_empleave_ench_arr.sql
d_empleave_ench_arr_brow.srd
d_empleave_ench_arr_edit.srd
LveEncArrApprove.java
LveEncArrApproveLocal.java
LveEncArrApproveRemote.java
EmpLeaveEnchArrIC.java
EmpLeaveEnchArrICLocal.java
EmpLeaveEnchArrICRemote.java
ArrearsOnEncashment.png
ArrearsOnEncashmentwht.png



git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@208610 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1c31ff13
----------------------------------------------------- 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_empleave_ench_arr','2','2','A','_spwork_site,AE,_pptran_date,seq04',null,null,null,null,null,'Y',to_date('12-08-09','DD-MM-RR'),'VISHAL ','VISHAL ','0','work_site','status','A','N',null,null,'N','N',null,'tran_id','0','0',null,null,null,null,null,null,null,null,null,'0','EMPLEAVE_ENCH_ARR','ADM',null,'tran_date',null,null,null,null,null,null,'LVECAR','F',null,null,null,null,null,null,null,null,null,null,'0','3',null,null,'or empleave_ench_arr.status = ''C''',null,null,null,null,null,null,null,null,'W',null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,'X','status',null,null,null,null,null,null,'compact',null,'C',null,'C',null,null,null);
Insert into TRANSETUP (TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,UDF_1,UDF_2,UDF_3,UDF_4,UDF_5,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,REPEAT_ADD_DET,REPEATADDDET,LOAD_MODE,AUTO_CONFIRM,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,MAIL_OPTION,CONFIRM_MODE,GARBAGE_OPT,VAL_FLAG_EDI,VERIFY_PASSWORD,CUST_ACC_COL,SALES_PERS_ACC_COL,SUPP_ACC_COL,ITEM_SER_ACC_CODE,EMP_ACC_COL,ITEM_SER_ACC_COL,WORKFLOW_OPT,TABLE_NAME,APPLICATION,TABLE_DESC,TRAN_DATE_COL,TRAN_ID__FROM,TRAN_ID__TO,TABLE_NAME_DET1,TABLE_NAME_DET2,TABLE_NAME_DET3,MULTITIRE_OPT,REF_SER,VIEW_MODE,TAX_FORMS,SIGN_STATUS,USER_TRAN_WINDOW,CUSTOM_PREVIEW_OBJ,IGNOREERRLIST_ONLOAD,CHILDDATA_ARGOPT,EDIT_TMPLT,WRKFLW_INIT,EDITTAX,FORMAL_ARGS,AUDIT_TRAIL_OPT,EDIT_OPT,CACHE_OPT,OPTIMIZE_MODE,EDIT_EXPR,RATE_COL,QTY_COL,EDIT_EXPR_INP,RCP_CACHE_STATUS,PRINT_CONTROL,TRANSFER_MODE,PROFILE_ID__RES,TRAN_COMPL_MSG,PERIOD_OPTION,WRKFLW_PRIORITY,EXEC_TYPE,DISP_META_DATA,ALLOW_ATTACH,START_FORM,ISATTACHMENT,HEADER_FORM_NO,CONFIRM_DATE_COL,CONFIRM_BY_COL,MSG_ONSAVE,WF_STATUS,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,DEF_VIEW,VIEW_OPTS,ISGWTINITIATED,DEFAULT_DATA_ROW,IN_WF_VAL,IN_WF_COL,CANCEL_VAL,CANCEL_COL,THUMB_ALT_COL,THUMB_IMAGE_COL,THUMB_OBJ,ATTACH_COUNT_MIN,FUNCTION_TYPE,COMPL_ACTION,DEFAULT_EDITOR,MSG_NO,OBJ_TYPE,STATUS_COL,ENABLE_EDITOR,OFFLINE_OPT,CLOSE_COL,CLOSE_VAL) values ('w_misc_voucher','2','2','A','seq09','Y',null,null,null,null,'Y',to_date('01-09-03','DD-MM-RR'),'NILESH ','NILESH ','0','SITE_CODE','confirmed','Y',null,null,'P',null,'N','N','tran_id','0','0',null,null,null,null,null,null,null,null,null,'0','MISC_VOUCHER',null,null,'TRAN_DATE',null,null,null,null,null,null,'M-VOUC','F','2,3',null,null,null,null,'2',null,'MISCVOUCHERWRKFLW',null,null,'2','3',null,null,null,'amount','dummy',null,null,null,null,null,null,'W',null,null,'''Expense voucher generated for '' || DDF_GET_SUNDRY_NAME(sundry_code,sundry_type) || '' with Bill No '' || bill_no || '' dated '' || bill_date || '' with amount of '' || net_amt || '' . Remarks(if any) '' || remarks||''<br>''','0',null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,null,null,'sundry_name','sundry_code','SundryImages',null,null,null,'compact',null,'C',null,'C',null,null,null);
update TRANSETUP set KEY_STRING='seq09' where TRAN_WINDOW='w_misc_voucher';
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_payr_voucher','2','2','A','_spsite_code,H,_pptran_date,seq05',null,null,null,null,null,'N',to_date('30-04-13','DD-MM-RR'),'VISHAL ','VISHAL ','0','employee.pay_site','confirmed','Y',null,null,null,'N','N','N','tran_id','0','0',null,null,null,null,null,null,null,null,null,'0','PAYR_VOUCHER','ADM',null,null,null,null,null,null,null,null,'P-VOUC','F',null,null,null,null,null,null,null,null,null,null,'0','3',null,null,null,null,null,null,null,null,null,null,null,'M',null,null,null,null,null,null,null,null,null,null,null,null,null,'Y','L',null,null,null,null,null,'X','confirmed','emp_fname','emp_code','EmpImages',null,null,null,'compact',null,'C',null,'C',null,null,null);
----------------------------------------------------- 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_empleave_ench_arr','Encashment Arrears','d_empleave_ench_arr_brow','d_empleave_ench_arr_edit',null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
update OBJ_FORMS set disp_metadata='
<html>
<span style="white-space: normal !important; word-break: break-word; ">
Tran ID :<b>{tran_id}</b> , Tran Date :<b>{tran_date}</b>
<br/> Status :<b>{status}</b> , Tran Id Lve :<b> {tran_id__lve}</b> , Mode :<b>{pay_mode}</b>
</html>' where WIN_NAME='w_empleave_ench_arr';
------------------------------------------------------ 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 ('ADP',4,12,10,0,0,'w_empleave_ench_arr','Arrears On Encashment','Arrears On Encashment','ADH.4.12.10.0.0','ArrearsOnEncashment.png','ArrearsOnEncashmentwht.png',null,'T',null,null,null,'B',null,null,'B','0 ');
----------------------------------------------------- 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 ('empleave_ench_arr',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 ('empleave_ench_arr',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 ('empleave_ench_arr',7,'ibase/resource/objaction/cancel.svg','Cancellation','pre_cancel','a','X','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 ('empleave_ench_arr',16,'ibase/resource/objaction/confirm.svg','Approve','pre_confirm','a','C','Approve','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 ('empleave_ench_arr',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 ('empleave_ench_arr',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);
----------------------------------------------------- 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 ('empleave_ench_arr','1','home_upload',' ',' ','Upload Utility','/ibase/webitm/jsp/E12UploadTemplate.jsp?reset=true','3','empleave_ench_arr.String:OBJ_NAME,Arrears On Encashment.String:OBJ_DESC,fromHomePage.String:FROM_HOMEPAGE',null,null,'U',null,'3',null,null,null,null,'Upload Utility',null,'3',1,null,1);
----------------------------------------------------- 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 ('empleave_ench_arr','audit_trail','1','project_audit_trail',null,'0',to_date('23-09-14','DD-MM-RR'),'BASE ','BASE','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 ('empleave_ench_arr','export_excel','1','export_excel',null,null,to_date('26-03-15','DD-MM-RR'),'danish ','Base143',null,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 ('empleave_ench_arr','post_item_change','1','poic_default_1',null,'0',to_date('25-01-13','DD-MM-RR'),'BASE ','BASE','2','WSR','nvo_bo_empleave_ench_arr',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 ('empleave_ench_arr','post_validate','1','post_gen_val',null,'0',to_date('25-01-13','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 ('empleave_ench_arr','pre_cancel','1','prcm_empleave_ench_arr',null,'0',to_date('23-09-14','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.adm.adv.LveEncArrCanc',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 ('empleave_ench_arr','pre_confirm','1','prcm_default_1',null,'0',to_date('01-01-13','DD-MM-RR'),'BASE ','BASE','2','WSR','nvo_business_object_lveenc_arr_approve',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 ('empleave_ench_arr','pre_validate','1','prv_default_1',null,'0',to_date('25-01-13','DD-MM-RR'),'BASE ','BASE','2','WSR','nvo_bo_empleave_ench_arr',null);
update queries-------------
update SYSTEM_EVENTS set Comp_Type='JB',Comp_Name='ibase.webitm.ejb.adm.EmpLeaveEnchArrIC', Service_Code='poic_default_ejb' where Obj_Name='empleave_ench_arr'and
Event_Code='post_item_change';
update SYSTEM_EVENTS set Comp_Type='JB',Comp_Name='ibase.webitm.ejb.adm.EmpLeaveEnchArrIC', Service_Code='prv_default_ejb' where Obj_Name='empleave_ench_arr'and
Event_Code='pre_validate';
update SYSTEM_EVENTS set Comp_Type='JB',Comp_Name='ibase.webitm.ejb.adm.adv.LveEncArrApprove', Service_Code='prcm_default_ejb' where Obj_Name='empleave_ench_arr'and
Event_Code='pre_confirm';
---------------------------------------------------- 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 ('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 ('export_excel','Calling Export To Excel','/ibase/jsp/E12ExportToExcel.jsp',null,'doPost',null,null,null,null,to_date('12-08-14','DD-MM-RR'),'DANISH ','Base143',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',null,'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_empleave_ench_arr','actionHandler','http://localhost:9090/axis/services/ActionHandlerService',null,'actionHandler','String','S',null,null,to_date('06-08-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_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 ('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 ('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 ('poic_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,null,null,null,'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,null,null,null,'ibase.webitm.ejb.adm.AttendanceWorkBal');
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,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',4,'XML_DATA_1','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',5,'XML_DATA_ALL','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',6,'OBJ_CONTEXT','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',7,'FOCUSED_COLUMN','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',8,'EDIT_FLAG','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',9,'XTRA_PARAMS','I',null,'S',null,null,null,null,null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('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 ('prv_default_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('01-06-12','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('01-06-12','DD-MM-RR'),'Manohar ','Manohar','ibase.webitm.ejb.adm.AttendanceWorkBal');
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('01-06-12','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('01-06-12','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('01-06-12','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('01-06-12','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('01-06-12','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('01-06-12','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 ('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_empleave_ench_arr',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('06-08-18','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_empleave_ench_arr',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('06-08-18','DD-MM-RR'),'BASE ','BASE','ibase.webitm.ejb.adm.adv.LveEncArrCanc');
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_empleave_ench_arr',3,'TRAN_ID','I','Tran ID','S',null,to_date('06-08-18','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_empleave_ench_arr',4,'XML_DATA_ALL','I','xtraParams','S',null,to_date('06-08-18','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_empleave_ench_arr',5,'FORCED_FLAG','I','forcedFlag','S',null,to_date('06-08-18','DD-MM-RR'),'BASE ','BASE',null);
----------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('empleave_ench_arr','1','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('empleave_ench_arr','1','tran_id__lve','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('empleave_ench_arr','1','itm_defaultedit','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('empleave_ench_arr','1','pay_mode','Y');
------------------------------------------------------ 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) values ('PRD_CODE__PAYROLL','W_EMPLEAVE_ENCH_ARR','select a.code as_sal_period, a.descr description from period a where a.code between to_char(add_months(sysdate,-1),''yyyymm'') and to_char(add_months(sysdate,1),''yyyymm'') order by a.code',null,'Period Master',0,0,to_date('2018-09-04','RRRR-MM-DD'),'E32746 ','sunitvaibhavk ','0',null,null,null,null,null,null,null,null,0,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 ('DS000 ','Database Exception','Database Error','E','Y',0,null,null,to_date('23-03-06','DD-MM-RR'),'SEJAL ','SEJAL ',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 ('UNCONTRAN ','Unconfirmed Transaction','This transaction is unconfirmed','E','Y',null,null,null,to_date('13-09-01','DD-MM-RR'),'ADMIN ','97NILESH12 ',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 ('VELVE3 ','Leave not encashable','This type of leave is not encashable','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE ','99PIYUSH ',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 ('VMSITE10 ','Invalid employee','Login site does not match respective site for this employee','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('VMTRNID1 ','Invalid leave tran id','Enter proper tran id of leave entry','E','Y',0,null,null,to_date('28-12-09','DD-MM-RR'),'VISHAL ','VISHAL ',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 ('VSENVAR1 ','Environment var. not defined','All the environment variables have not been defined for this period. Please ensure that all the required environment variables are defined.','E','Y',null,'alarm.wav',null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('VSENVVAL1 ','Invalid Variable Value','value defined in variable is null or not correct','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE ','99PIYUSH ',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 ('VTDATE1 ','Invalid Actual End Date!','Actual End date of Project should be greater than or equal to Plan Start Date of Project .','E','Y',null,null,null,to_date('22-10-00','DD-MM-RR'),'SUN ','HDP ',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 ('VTLVEENC01','Encashment Mode!','Please select encashment mode for leave encashment','E','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE ','BASE ',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 ('VTLVEENC1 ','Leave encashment error','Base amount for leave encashment is null/zero','E','Y',null,null,null,to_date('31-03-03','DD-MM-RR'),'BASE ','99PIYUSH ',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 ('VTLVENAR01','Invalid Mode!','Please select encashment mode for leave encashment arrears','W','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE ','BASE ',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 ('VTLVENAR02','Encashment Period!','Please specify period code for encashment arrears through payroll ','E','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE ','BASE ',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 ('VTLVENAR03','Encashment Period!','Please specify valid period code for encashment arrears through payroll','E','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE ','BASE ',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 ('VTLVENAR06','Difference Amount is Zero!','Encashment arrears can not be generated for 0 difference amount, if required do payroll projection and then do transaction','E','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE ','BASE ',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 ('VTLVENCH ','Invalid encashment amount','For encashed leave encashement amount must be greater than zero','E','Y',null,null,null,to_date('20-02-01','DD-MM-RR'),'SUN ','NILESH12 ',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 ('VTLVEENC05','Transaction Already exist!','Unapproved transaction existing for same leave tran id','E','Y',null,null,null,to_date('17-08-15','DD-MM-RR'),'BASE','BASE',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 ('VTADMLVE05','Arrears already cancelled','Leave Encashment Arrears is already cancelled.','E','Y',null,null,null,to_date('2018-10-09','RRRR-MM-DD'),'VAIBHAV ','VAIBHAV',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 ('VMPAYSITE ','Invalid site','The pay site code entered does not exist in the site master. First you have to define it in the master','E','Y',null,null,null,to_date('2000-05-20','RRRR-MM-DD'),'ADMIN ','BHAVIN_NT ',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 ('VTSEQ ','Invalid auto gen. logic','The logic for the autogeneration of transaction numbers for this option is not defined','E','Y',null,null,null,to_date('1999-10-22','RRRR-MM-DD'),'SUN ','RITESH ',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 ('VTTRANID ','Invalid Tranid !','Unable to generate tran id','E',null,null,null,null,to_date('2000-07-06','RRRR-MM-DD'),'BASE ','SUN_ITM ',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 ('VTEMPLEVTR','No Data Found','No Data found for this tran_id in employee leave table ','E','Y',null,null,null,to_date('2004-04-21','RRRR-MM-DD'),'BASE ','04BASE24 ',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 ('VTLVEENC02','Encashment Period!','Please specify period code for encashment through payroll ','E','Y',null,null,null,to_date('2014-11-14','RRRR-MM-DD'),'BASE ','BASE ',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 ('VTLVEENC03','Encashment Period!','Please specify valid period code for encashment through payroll','E','Y',null,null,null,to_date('2014-11-14','RRRR-MM-DD'),'BASE ','BASE ',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 ('VTINVCONF1','Transaction Already Confirmed','Transaction Already Confirmed','E','Y',null,null,null,to_date('27-04-06','DD-MM-RR'),'BASE ','BASE ',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 ('VTSTATUS ','Invalid Confirmation!','Transactoined is Cancelled, cannot be Confirmed.','E','Y',null,null,null,to_date('2000-11-15','RRRR-MM-DD'),'SUN ','NILESH12 ',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 ('VTPRD1 ','Period not defined','The period for which you are doing the transaction is not defined in the period master.','E','Y',null,null,null,to_date('1999-10-22','RRRR-MM-DD'),'SUN ','RITESH ',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 ('VMLVECD1 ','Leave Not Found...','This leave does not exsist in the master.Please first define it.','E','Y',null,null,null,to_date('1999-10-22','RRRR-MM-DD'),'SUN ','RITESH ',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 ('VTENCADN1 ','Invalid ad code!','First define ad code for encashment in master','E','Y',null,null,null,to_date('2003-03-31','RRRR-MM-DD'),'BASE ','99PIYUSH ',null,null);
------------------------------------------------------ PAYRPARM
Insert into PAYRPARM (PRD_CODE,VAR_NAME,VAR_TYPE,VAR_VALUE,DESCR,VAR_SUBS,CHG_DATE,CHG_USER,CHG_TERM) values ('999999','LVEENCPAYORVOU ','S',null,'P',null,to_date('01-01-17','DD-MM-RR'),'SYSADM ','SYSADM ');
......@@ -258,70 +258,70 @@
<dbname>empleave_ench_arr.chg_term</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
<dbname>employee_emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_mname</name>
<dbname>employee.emp_mname</dbname>
<dbname>employee_emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
<dbname>employee_emp_lname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
<name>auth_emp_fname</name>
<dbname>auth_emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
<name>auth_emp_lname</name>
<dbname>auth_emp_lname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
<name>auth_emp_alternate_fname</name>
<dbname>auth_emp_alternate_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_mname</name>
<dbname>employee.emp_mname</dbname>
<name>auth_emp_alternate_mname</name>
<dbname>auth_emp_alternate_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
<name>auth_emp_alternate_lname</name>
<dbname>auth_emp_alternate_lname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
<name>aprv_emp_fname</name>
<dbname>aprv_emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_mname</name>
<dbname>employee.emp_mname</dbname>
<name>aprv_emp_mname</name>
<dbname>aprv_emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
<name>aprv_emp_lname</name>
<dbname>aprv_emp_lname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
......@@ -353,8 +353,8 @@
<name>prd_code__payroll</name>
<dbname>empleave_ench_arr.prd_code__payroll</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;empleave_ench_arr&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_a&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_b&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_c&quot; ) TABLE(NAME=&quot;employee&quot; ALIAS=&quot;employee_d&quot; ) COLUMN(NAME=&quot;empleave_ench_arr.tran_id&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_id__lve&quot;) COLUMN(NAME=&quot;empleave_ench_arr.appl_date__lve&quot;) COLUMN(NAME=&quot;empleave_ench_arr.emp_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_date_fr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_date_to&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_type&quot;) COLUMN(NAME=&quot;empleave_ench_arr.no_days&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__prev&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__new&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__diff&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__prev&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__new&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__diff&quot;) COLUMN(NAME=&quot;empleave_ench_arr.status&quot;) COLUMN(NAME=&quot;empleave_ench_arr.status_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_id__payr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.aprv_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.auth_emp&quot;) COLUMN(NAME=&quot;empleave_ench_arr.auth_emp_alternate&quot;) COLUMN(NAME=&quot;empleave_ench_arr.emp_code__aprv&quot;) COLUMN(NAME=&quot;empleave_ench_arr.prd_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.remarks&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ref_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_user&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_term&quot;) COLUMN(NAME=&quot;employee_a.emp_fname&quot;) COLUMN(NAME=&quot;employee_a.emp_mname&quot;) COLUMN(NAME=&quot;employee_a.emp_lname&quot;) COLUMN(NAME=&quot;employee_b.emp_fname&quot;) COLUMN(NAME=&quot;employee_b.emp_lname&quot;) COLUMN(NAME=&quot;employee_c.emp_fname&quot;) COLUMN(NAME=&quot;employee_c.emp_mname&quot;) COLUMN(NAME=&quot;employee_c.emp_lname&quot;) COLUMN(NAME=&quot;employee_d.emp_fname&quot;) COLUMN(NAME=&quot;employee_d.emp_mname&quot;) COLUMN(NAME=&quot;employee_d.emp_lname&quot;) COLUMN(NAME=&quot;employee_b.emp_mname&quot;) COLUMN(NAME=&quot;employee_a.work_site&quot;) COLUMN(NAME=&quot;empleave_ench_arr.pay_mode&quot;) COLUMN(NAME=&quot;empleave_ench_arr.prd_code__payroll&quot;) JOIN (LEFT=&quot;empleave_ench_arr.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee_a.emp_code&quot; OUTER1 =&quot;empleave_ench_arr.emp_code&quot; ) JOIN (LEFT=&quot;empleave_ench_arr.auth_emp&quot; OP =&quot;=&quot;RIGHT=&quot;employee_b.emp_code&quot; OUTER1 =&quot;empleave_ench_arr.auth_emp&quot; ) JOIN (LEFT=&quot;empleave_ench_arr.auth_emp_alternate&quot; OP =&quot;=&quot;RIGHT=&quot;employee_c.emp_code&quot; OUTER1 =&quot;empleave_ench_arr.auth_emp_alternate&quot; ) JOIN (LEFT=&quot;empleave_ench_arr.emp_code__aprv&quot; OP =&quot;=&quot;RIGHT=&quot;employee_d.emp_code&quot; OUTER1 =&quot;empleave_ench_arr.emp_code__aprv&quot; )WHERE( EXP1 =&quot;empleave_ench_arr.tran_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;empleave_ench_arr.tran_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;from_date&quot; TYPE = datetime) ARG(NAME = &quot;to_date&quot; TYPE = datetime) </retrieve>
<update>empleave_ench_arr</update>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;empleave_ench_arr&quot; ) TABLE(NAME=&quot;employee&quot; ) COLUMN(NAME=&quot;empleave_ench_arr.tran_id&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_id__lve&quot;) COLUMN(NAME=&quot;empleave_ench_arr.appl_date__lve&quot;) COLUMN(NAME=&quot;empleave_ench_arr.emp_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_date_fr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_date_to&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_type&quot;) COLUMN(NAME=&quot;empleave_ench_arr.no_days&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__prev&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__new&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__diff&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__prev&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__new&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__diff&quot;) COLUMN(NAME=&quot;empleave_ench_arr.status&quot;) COLUMN(NAME=&quot;empleave_ench_arr.status_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_id__payr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.aprv_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.auth_emp&quot;) COLUMN(NAME=&quot;empleave_ench_arr.auth_emp_alternate&quot;) COLUMN(NAME=&quot;empleave_ench_arr.emp_code__aprv&quot;) COLUMN(NAME=&quot;empleave_ench_arr.prd_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.remarks&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ref_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_user&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_term&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE~&quot;, &apos;F1&apos;) as employee_emp_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE~&quot;, &apos;M1&apos;) as employee_emp_mname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE~&quot;, &apos;L1&apos;) as employee_emp_lname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;F1&apos;) as auth_emp_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;L1&apos;) as auth_emp_lname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;F1&apos;) as auth_emp_alternate_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;M1&apos;) as auth_emp_alternate_mname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;L1&apos;) as auth_emp_alternate_lname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;F1&apos;) as aprv_emp_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;M1&apos;) as aprv_emp_mname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;L1&apos;) as aprv_emp_lname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;M1&apos;) as auth_emp_mname&quot;) COLUMN(NAME=&quot;employee.work_site&quot;) COLUMN(NAME=&quot;empleave_ench_arr.pay_mode&quot;) COLUMN(NAME=&quot;empleave_ench_arr.prd_code__payroll&quot;) JOIN (LEFT=&quot;empleave_ench_arr.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; OUTER1 =&quot;empleave_ench_arr.emp_code&quot; )WHERE( EXP1 =&quot;empleave_ench_arr.tran_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;empleave_ench_arr.tran_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;from_date&quot; TYPE = datetime) ARG(NAME = &quot;to_date&quot; TYPE = datetime) </retrieve>
<update>EMPLEAVE_ENCH_ARR</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......@@ -988,7 +988,7 @@
<text>Prd Code</text>
<border>6</border>
<color>33554432</color>
<x>3893</x>
<x>3892</x>
<y>2</y>
<height>16</height>
<width>54</width>
......@@ -1016,7 +1016,7 @@
<text>Remarks</text>
<border>6</border>
<color>33554432</color>
<x>3167</x>
<x>3166</x>
<y>2</y>
<height>16</height>
<width>366</width>
......@@ -1044,7 +1044,7 @@
<text>Ref Date</text>
<border>6</border>
<color>33554432</color>
<x>3535</x>
<x>3534</x>
<y>2</y>
<height>16</height>
<width>82</width>
......@@ -1072,7 +1072,7 @@
<text>Chg Date</text>
<border>6</border>
<color>33554432</color>
<x>3619</x>
<x>3618</x>
<y>2</y>
<height>16</height>
<width>106</width>
......@@ -1100,7 +1100,7 @@
<text>Chg User</text>
<border>6</border>
<color>33554432</color>
<x>3727</x>
<x>3726</x>
<y>2</y>
<height>16</height>
<width>66</width>
......@@ -1219,7 +1219,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_3_t</name>
<name>aprv_emp_lname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1247,7 +1247,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_1_t</name>
<name>auth_emp_fname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1275,7 +1275,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_1_t</name>
<name>auth_emp_mname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1303,7 +1303,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_1_t</name>
<name>auth_emp_lname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1331,7 +1331,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_2_t</name>
<name>auth_emp_alternate_fname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1359,7 +1359,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_2_t</name>
<name>auth_emp_alternate_lname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1387,7 +1387,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_3_t</name>
<name>aprv_emp_fname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1415,7 +1415,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_2_t</name>
<name>auth_emp_alternate_mname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1443,7 +1443,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_3_t</name>
<name>aprv_emp_mname_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1492,7 +1492,7 @@
<text>Chg Term</text>
<border>6</border>
<color>33554432</color>
<x>3795</x>
<x>3794</x>
<y>2</y>
<height>16</height>
<width>96</width>
......@@ -1542,6 +1542,62 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Ench Amt Diff</text>
<border>6</border>
<color>33554432</color>
<x>1646</x>
<y>2</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ench_amt__diff_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>Mode</text>
<border>6</border>
<color>33554432</color>
<x>1732</x>
<y>2</y>
<height>16</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_mode_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>1</id>
......@@ -2190,7 +2246,7 @@
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>230</tabsequence>
<tabsequence>240</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1923</x>
......@@ -2228,7 +2284,7 @@
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>240</tabsequence>
<tabsequence>250</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1999</x>
......@@ -2266,7 +2322,7 @@
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>250</tabsequence>
<tabsequence>260</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2111</x>
......@@ -2304,7 +2360,7 @@
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>290</tabsequence>
<tabsequence>300</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2404</x>
......@@ -2342,7 +2398,7 @@
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>330</tabsequence>
<tabsequence>340</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2745</x>
......@@ -2383,7 +2439,7 @@
<tabsequence>440</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3893</x>
<x>3892</x>
<y>2</y>
<height>17</height>
<width>54</width>
......@@ -2421,7 +2477,7 @@
<tabsequence>390</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3167</x>
<x>3166</x>
<y>2</y>
<height>17</height>
<width>366</width>
......@@ -2459,7 +2515,7 @@
<tabsequence>400</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3535</x>
<x>3534</x>
<y>2</y>
<height>17</height>
<width>82</width>
......@@ -2497,7 +2553,7 @@
<tabsequence>410</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3619</x>
<x>3618</x>
<y>2</y>
<height>17</height>
<width>106</width>
......@@ -2535,7 +2591,7 @@
<tabsequence>420</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3727</x>
<x>3726</x>
<y>2</y>
<height>17</height>
<width>66</width>
......@@ -2681,7 +2737,7 @@
<band>Detail</band>
<id>33</id>
<alignment>0</alignment>
<tabsequence>260</tabsequence>
<tabsequence>270</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2179</x>
......@@ -2692,7 +2748,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_1</name>
<name>auth_emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2718,7 +2774,7 @@
<band>Detail</band>
<id>36</id>
<alignment>0</alignment>
<tabsequence>270</tabsequence>
<tabsequence>280</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2254</x>
......@@ -2729,7 +2785,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_1</name>
<name>auth_emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2755,7 +2811,7 @@
<band>Detail</band>
<id>34</id>
<alignment>0</alignment>
<tabsequence>280</tabsequence>
<tabsequence>290</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2329</x>
......@@ -2766,7 +2822,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_1</name>
<name>auth_emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2792,7 +2848,7 @@
<band>Detail</band>
<id>35</id>
<alignment>0</alignment>
<tabsequence>300</tabsequence>
<tabsequence>310</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2520</x>
......@@ -2803,7 +2859,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_2</name>
<name>auth_emp_alternate_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2829,7 +2885,7 @@
<band>Detail</band>
<id>37</id>
<alignment>0</alignment>
<tabsequence>320</tabsequence>
<tabsequence>330</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2670</x>
......@@ -2840,7 +2896,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_2</name>
<name>auth_emp_alternate_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2866,7 +2922,7 @@
<band>Detail</band>
<id>38</id>
<alignment>0</alignment>
<tabsequence>340</tabsequence>
<tabsequence>350</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2841</x>
......@@ -2877,7 +2933,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_3</name>
<name>aprv_emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2903,7 +2959,7 @@
<band>Detail</band>
<id>39</id>
<alignment>0</alignment>
<tabsequence>310</tabsequence>
<tabsequence>320</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2595</x>
......@@ -2914,7 +2970,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_2</name>
<name>auth_emp_alternate_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2940,7 +2996,7 @@
<band>Detail</band>
<id>40</id>
<alignment>0</alignment>
<tabsequence>360</tabsequence>
<tabsequence>370</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2991</x>
......@@ -2951,7 +3007,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_3</name>
<name>aprv_emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2977,7 +3033,7 @@
<band>Detail</band>
<id>41</id>
<alignment>0</alignment>
<tabsequence>350</tabsequence>
<tabsequence>360</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2916</x>
......@@ -2988,7 +3044,7 @@
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_3</name>
<name>aprv_emp_mname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -3014,7 +3070,7 @@
<band>Detail</band>
<id>42</id>
<alignment>0</alignment>
<tabsequence>370</tabsequence>
<tabsequence>380</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3066</x>
......@@ -3054,7 +3110,7 @@
<tabsequence>430</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3795</x>
<x>3794</x>
<y>2</y>
<height>17</height>
<width>96</width>
......@@ -3089,7 +3145,7 @@
<band>Detail</band>
<id>44</id>
<alignment>0</alignment>
<tabsequence>220</tabsequence>
<tabsequence>230</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1836</x>
......@@ -3164,13 +3220,14 @@
<band>Detail</band>
<id>43</id>
<alignment>0</alignment>
<tabsequence>450</tabsequence>
<tabsequence>220</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1733</x>
<x>1732</x>
<y>2</y>
<height>17</height>
<width>102</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -3196,62 +3253,6 @@
<color>1073741824</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Ench Amt Diff</text>
<border>6</border>
<color>33554432</color>
<x>1646</x>
<y>2</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ench_amt__diff_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>Mode</text>
<border>6</border>
<color>33554432</color>
<x>1732</x>
<y>2</y>
<height>16</height>
<width>103</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_mode_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>
......
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>384</height>
<height>663</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -253,22 +253,22 @@
<dbname>empleave_ench_arr.chg_term</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_fname</name>
<dbname>employee.emp_fname</dbname>
<dbname>employee_emp_fname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_mname</name>
<dbname>employee.emp_mname</dbname>
<dbname>employee_emp_mname</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<type size="4000">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>employee_emp_lname</name>
<dbname>employee.emp_lname</dbname>
<dbname>employee_emp_lname</dbname>
</table_column>
<table_column>
<type size="25">char</type>
......@@ -378,7 +378,7 @@
<name>employee_emp_lname_2</name>
<dbname>employee_emp_lname_2</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;empleave_ench_arr&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;leaves&quot; ) COLUMN(NAME=&quot;empleave_ench_arr.tran_id&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_id__lve&quot;) COLUMN(NAME=&quot;empleave_ench_arr.appl_date__lve&quot;) COLUMN(NAME=&quot;empleave_ench_arr.emp_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_date_fr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_date_to&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_type&quot;) COLUMN(NAME=&quot;empleave_ench_arr.no_days&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__prev&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__new&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__diff&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__prev&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__new&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__diff&quot;) COLUMN(NAME=&quot;empleave_ench_arr.status&quot;) COLUMN(NAME=&quot;empleave_ench_arr.status_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_id__payr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.aprv_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.auth_emp&quot;) COLUMN(NAME=&quot;empleave_ench_arr.auth_emp_alternate&quot;) COLUMN(NAME=&quot;empleave_ench_arr.emp_code__aprv&quot;) COLUMN(NAME=&quot;empleave_ench_arr.prd_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.remarks&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ref_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_user&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_term&quot;) COLUMN(NAME=&quot;employee.emp_fname&quot;) COLUMN(NAME=&quot;employee.emp_mname&quot;) COLUMN(NAME=&quot;employee.emp_lname&quot;) COLUMN(NAME=&quot;employee.designation&quot;) COLUMN(NAME=&quot;employee.dept_code&quot;) COLUMN(NAME=&quot;employee.date_join&quot;) COLUMN(NAME=&quot;employee.work_site&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;leaves.descr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.pay_mode&quot;) COLUMN(NAME=&quot;empleave_ench_arr.prd_code__payroll&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;F&apos;) as employee_emp_fname_3&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;F&apos;) as employee_emp_fname_1&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;F&apos;) as employee_emp_fname_2&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;M&apos;) as employee_emp_mname_3&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;L&apos;) as employee_emp_lname_3&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;M&apos;) as employee_emp_mname_1&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;L&apos;) as employee_emp_lname_1&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;M&apos;) as employee_emp_mname_2&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;L&apos;) as employee_emp_lname_2&quot;) JOIN (LEFT=&quot;employee.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;department.dept_code&quot; OUTER1 =&quot;employee.dept_code&quot; ) JOIN (LEFT=&quot;empleave_ench_arr.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; ) JOIN (LEFT=&quot;empleave_ench_arr.lve_code&quot; OP =&quot;=&quot;RIGHT=&quot;leaves.lve_code&quot; )WHERE( EXP1 =&quot;empleave_ench_arr.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;empleave_ench_arr&quot; ) TABLE(NAME=&quot;employee&quot; ) TABLE(NAME=&quot;department&quot; ) TABLE(NAME=&quot;leaves&quot; ) COLUMN(NAME=&quot;empleave_ench_arr.tran_id&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_id__lve&quot;) COLUMN(NAME=&quot;empleave_ench_arr.appl_date__lve&quot;) COLUMN(NAME=&quot;empleave_ench_arr.emp_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_date_fr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_date_to&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.lve_type&quot;) COLUMN(NAME=&quot;empleave_ench_arr.no_days&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__prev&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__new&quot;) COLUMN(NAME=&quot;empleave_ench_arr.base_amt__diff&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__prev&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__new&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ench_amt__diff&quot;) COLUMN(NAME=&quot;empleave_ench_arr.status&quot;) COLUMN(NAME=&quot;empleave_ench_arr.status_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.tran_id__payr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.aprv_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.auth_emp&quot;) COLUMN(NAME=&quot;empleave_ench_arr.auth_emp_alternate&quot;) COLUMN(NAME=&quot;empleave_ench_arr.emp_code__aprv&quot;) COLUMN(NAME=&quot;empleave_ench_arr.prd_code&quot;) COLUMN(NAME=&quot;empleave_ench_arr.remarks&quot;) COLUMN(NAME=&quot;empleave_ench_arr.ref_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_date&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_user&quot;) COLUMN(NAME=&quot;empleave_ench_arr.chg_term&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE~&quot;, &apos;F1&apos;) as employee_emp_fname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE~&quot;, &apos;M1&apos;) as employee_emp_mname&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;L1&apos;) as employee_emp_lname&quot;) COLUMN(NAME=&quot;employee.designation&quot;) COLUMN(NAME=&quot;employee.dept_code&quot;) COLUMN(NAME=&quot;employee.date_join&quot;) COLUMN(NAME=&quot;employee.work_site&quot;) COLUMN(NAME=&quot;department.descr&quot;) COLUMN(NAME=&quot;leaves.descr&quot;) COLUMN(NAME=&quot;empleave_ench_arr.pay_mode&quot;) COLUMN(NAME=&quot;empleave_ench_arr.prd_code__payroll&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;F1&apos;) as employee_emp_fname_3&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;F1&apos;) as employee_emp_fname_1&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;F1&apos;) as employee_emp_fname_2&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;M1&apos;) as employee_emp_mname_3&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;EMP_CODE__APRV~&quot;, &apos;L1&apos;) as employee_emp_lname_3&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;M1&apos;) as employee_emp_mname_1&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP~&quot;, &apos;L1&apos;) as employee_emp_lname_1&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;M1&apos;) as employee_emp_mname_2&quot;) COMPUTE(NAME=&quot;FN_GET_EMP_NAME (~&quot;EMPLEAVE_ENCH_ARR~&quot;.~&quot;AUTH_EMP_ALTERNATE~&quot;, &apos;L1&apos;) as employee_emp_lname_2&quot;) JOIN (LEFT=&quot;employee.dept_code&quot; OP =&quot;=&quot;RIGHT=&quot;department.dept_code&quot; OUTER1 =&quot;employee.dept_code&quot; ) JOIN (LEFT=&quot;empleave_ench_arr.emp_code&quot; OP =&quot;=&quot;RIGHT=&quot;employee.emp_code&quot; ) JOIN (LEFT=&quot;empleave_ench_arr.lve_code&quot; OP =&quot;=&quot;RIGHT=&quot;leaves.lve_code&quot; )WHERE( EXP1 =&quot;empleave_ench_arr.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>EMPLEAVE_ENCH_ARR</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -387,14 +387,86 @@
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Others</text>
<border>2</border>
<color>0</color>
<x>6</x>
<y>422</y>
<height>103</height>
<width>583</width>
<name>gb_3</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Status</text>
<border>2</border>
<color>0</color>
<x>6</x>
<y>292</y>
<height>123</height>
<width>583</width>
<name>gb_2</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>6</x>
<y>4</y>
<height>282</height>
<width>583</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Designation :</text>
<border>0</border>
<color>33554432</color>
<x>237</x>
<y>77</y>
<x>244</x>
<y>92</y>
<height>17</height>
<width>76</width>
<html>
......@@ -422,8 +494,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>100</y>
<x>137</x>
<y>115</y>
<height>17</height>
<width>66</width>
<format>[general]</format>
......@@ -459,8 +531,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>201</x>
<y>100</y>
<x>208</x>
<y>115</y>
<height>17</height>
<width>201</width>
<format>[general]</format>
......@@ -496,8 +568,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>123</y>
<x>137</x>
<y>138</y>
<height>17</height>
<width>48</width>
<format>[general]</format>
......@@ -534,8 +606,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>183</x>
<y>123</y>
<x>190</x>
<y>138</y>
<height>17</height>
<width>142</width>
<format>[general]</format>
......@@ -571,8 +643,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>146</y>
<x>137</x>
<y>161</y>
<height>17</height>
<width>87</width>
<format>dd/mm/yy</format>
......@@ -599,107 +671,6 @@
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>264</y>
<height>17</height>
<width>82</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>356</y>
<height>17</height>
<width>87</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Aprv Date :</text>
<border>0</border>
<color>33554432</color>
<x>400</x>
<y>264</y>
<height>17</height>
<width>67</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
......@@ -707,8 +678,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>7</y>
<x>137</x>
<y>22</y>
<height>17</height>
<width>104</width>
<format>[general]</format>
......@@ -745,8 +716,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>193</y>
<x>137</x>
<y>208</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -783,8 +754,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>170</y>
<x>137</x>
<y>185</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -821,8 +792,8 @@
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>30</y>
<x>137</x>
<y>45</y>
<height>17</height>
<width>118</width>
<format>[general]</format>
......@@ -852,42 +823,14 @@
<color>1073741824</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text></text>
<border>0</border>
<color>33554432</color>
<x>632</x>
<y>64</y>
<height>16</height>
<width>13</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_2</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Id :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>7</y>
<x>15</x>
<y>22</y>
<height>17</height>
<width>118</width>
<html>
......@@ -914,8 +857,8 @@
<text>Tran Id Lve :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>30</y>
<x>15</x>
<y>45</y>
<height>16</height>
<width>118</width>
<html>
......@@ -942,8 +885,8 @@
<text>Emp Code :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>53</y>
<x>15</x>
<y>68</y>
<height>17</height>
<width>118</width>
<html>
......@@ -970,8 +913,8 @@
<text>Join Date :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>77</y>
<x>15</x>
<y>92</y>
<height>17</height>
<width>118</width>
<html>
......@@ -998,8 +941,8 @@
<text>Dept Code :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>100</y>
<x>15</x>
<y>115</y>
<height>17</height>
<width>118</width>
<html>
......@@ -1026,8 +969,8 @@
<text>Lve Code :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>123</y>
<x>15</x>
<y>138</y>
<height>17</height>
<width>118</width>
<html>
......@@ -1054,8 +997,8 @@
<text>Date From :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>146</y>
<x>15</x>
<y>161</y>
<height>17</height>
<width>118</width>
<html>
......@@ -1082,8 +1025,8 @@
<text>Base Amt Prev :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>170</y>
<x>15</x>
<y>185</y>
<height>16</height>
<width>118</width>
<html>
......@@ -1110,8 +1053,8 @@
<text>Remarks :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>240</y>
<x>15</x>
<y>255</y>
<height>17</height>
<width>118</width>
<html>
......@@ -1135,17 +1078,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Status :</text>
<text>Ench Amt Prev :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>264</y>
<height>17</height>
<x>15</x>
<y>208</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_t</name>
<name>ench_amt__prev_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1163,17 +1106,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Emp Code Aprv :</text>
<text>Mode :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>287</y>
<x>15</x>
<y>232</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv_t</name>
<name>pay_mode_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1188,308 +1131,102 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Auth Emp :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>310</y>
<id>35</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>137</x>
<y>92</y>
<height>17</height>
<width>118</width>
<width>66</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>auth_emp_t</name>
<name>date_join</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Auth Emp Alternate :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>333</y>
<id>33</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>326</x>
<y>92</y>
<height>17</height>
<width>118</width>
<width>240</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>auth_emp_alternate_t</name>
<name>designation</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>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Date :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>356</y>
<id>36</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>500</x>
<y>115</y>
<height>17</height>
<width>118</width>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<name>work_site</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Ench Amt Prev :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>193</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ench_amt__prev_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Mode :</text>
<border>0</border>
<color>33554432</color>
<x>8</x>
<y>217</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_mode_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Payroll Period Code :</text>
<border>0</border>
<color>33554432</color>
<x>608</x>
<y>218</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>731</x>
<y>220</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>35</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>77</y>
<height>17</height>
<width>66</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>date_join</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>33</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>319</x>
<y>77</y>
<height>17</height>
<width>240</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>designation</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>36</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>493</x>
<y>100</y>
<height>17</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>work_site</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<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>
......@@ -1510,8 +1247,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>535</x>
<y>123</y>
<x>542</x>
<y>138</y>
<height>17</height>
<width>24</width>
<format>[general]</format>
......@@ -1548,8 +1285,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>487</x>
<y>146</y>
<x>494</x>
<y>161</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -1586,8 +1323,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>487</x>
<y>170</y>
<x>494</x>
<y>185</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -1624,8 +1361,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>487</x>
<y>193</y>
<x>494</x>
<y>208</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -1661,8 +1398,8 @@
<text>Work Site :</text>
<border>0</border>
<color>33554432</color>
<x>418</x>
<y>100</y>
<x>425</x>
<y>115</y>
<height>17</height>
<width>70</width>
<html>
......@@ -1689,8 +1426,8 @@
<text>Type :</text>
<border>0</border>
<color>33554432</color>
<x>486</x>
<y>123</y>
<x>493</x>
<y>138</y>
<height>17</height>
<width>44</width>
<html>
......@@ -1718,8 +1455,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>311</x>
<y>146</y>
<x>318</x>
<y>161</y>
<height>17</height>
<width>87</width>
<format>dd/mm/yy</format>
......@@ -1753,8 +1490,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>311</x>
<y>170</y>
<x>318</x>
<y>185</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -1791,8 +1528,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>311</x>
<y>193</y>
<x>318</x>
<y>208</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -1828,8 +1565,8 @@
<text>Leave upto :</text>
<border>0</border>
<color>33554432</color>
<x>232</x>
<y>146</y>
<x>239</x>
<y>161</y>
<height>17</height>
<width>74</width>
<html>
......@@ -1857,8 +1594,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>400</x>
<y>123</y>
<x>407</x>
<y>138</y>
<height>17</height>
<width>74</width>
<format>dd/mm/yy</format>
......@@ -1891,8 +1628,8 @@
<text>Ref Date :</text>
<border>0</border>
<color>33554432</color>
<x>334</x>
<y>123</y>
<x>341</x>
<y>139</y>
<height>17</height>
<width>62</width>
<html>
......@@ -1919,8 +1656,8 @@
<text>Base Amt New :</text>
<border>0</border>
<color>33554432</color>
<x>213</x>
<y>170</y>
<x>220</x>
<y>185</y>
<height>16</height>
<width>93</width>
<html>
......@@ -1947,8 +1684,8 @@
<text>Ench Amt New :</text>
<border>0</border>
<color>33554432</color>
<x>213</x>
<y>193</y>
<x>220</x>
<y>208</y>
<height>16</height>
<width>93</width>
<html>
......@@ -1975,8 +1712,8 @@
<text>No Days :</text>
<border>0</border>
<color>33554432</color>
<x>423</x>
<y>146</y>
<x>430</x>
<y>161</y>
<height>17</height>
<width>59</width>
<html>
......@@ -2003,8 +1740,8 @@
<text>Base Amt Diff :</text>
<border>0</border>
<color>33554432</color>
<x>396</x>
<y>170</y>
<x>403</x>
<y>185</y>
<height>16</height>
<width>86</width>
<html>
......@@ -2031,8 +1768,8 @@
<text>Ench Amt Diff :</text>
<border>0</border>
<color>33554432</color>
<x>396</x>
<y>193</y>
<x>403</x>
<y>208</y>
<height>16</height>
<width>86</width>
<html>
......@@ -2059,8 +1796,8 @@
<text>Voucher No :</text>
<border>0</border>
<color>33554432</color>
<x>401</x>
<y>217</y>
<x>408</x>
<y>232</y>
<height>16</height>
<width>81</width>
<html>
......@@ -2088,8 +1825,8 @@
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>217</y>
<x>137</x>
<y>232</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -2124,8 +1861,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>487</x>
<y>217</y>
<x>494</x>
<y>232</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
......@@ -2162,8 +1899,8 @@
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>130</x>
<y>240</y>
<x>137</x>
<y>255</y>
<height>17</height>
<width>429</width>
<format>[general]</format>
......@@ -2193,64 +1930,56 @@
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>472</x>
<y>264</y>
<height>17</height>
<width>87</width>
<format>dd/mm/yy</format>
<alignment>1</alignment>
<text>Payroll Period :</text>
<border>0</border>
<color>33554432</color>
<x>225</x>
<y>232</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_date</name>
<name>prd_code__payroll_t</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>29</id>
<id>40</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<tabsequence>40</tabsequence>
<border>5</border>
<color>255</color>
<x>463</x>
<y>356</y>
<height>17</height>
<width>96</width>
<color>33554432</color>
<x>318</x>
<y>232</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<name>prd_code__payroll</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<limit>6</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2261,25 +1990,95 @@
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>488</x>
<y>45</y>
<height>17</height>
<width>78</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>appl_date__lve</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>488</x>
<y>22</y>
<height>17</height>
<width>78</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term :</text>
<text>Appl Date Lve :</text>
<border>0</border>
<color>33554432</color>
<x>394</x>
<y>356</y>
<height>17</height>
<width>64</width>
<x>365</x>
<y>45</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<name>appl_date__lve_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2297,17 +2096,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg User :</text>
<text>Tran Date :</text>
<border>0</border>
<color>33554432</color>
<x>227</x>
<y>356</y>
<x>365</x>
<y>22</y>
<height>17</height>
<width>64</width>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<name>tran_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2324,27 +2123,26 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<id>30</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>295</x>
<y>356</y>
<x>208</x>
<y>68</y>
<height>17</height>
<width>88</width>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<name>employee_emp_fname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2360,84 +2158,103 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Payroll Period :</text>
<border>0</border>
<color>33554432</color>
<x>218</x>
<y>217</y>
<height>16</height>
<width>88</width>
<id>31</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>329</x>
<y>68</y>
<height>17</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</name>
<name>employee_emp_mname</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>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Status Date :</text>
<border>0</border>
<color>33554432</color>
<x>218</x>
<y>264</y>
<id>32</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>450</x>
<y>68</y>
<height>17</height>
<width>88</width>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date_t</name>
<name>employee_emp_lname</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>40</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>311</x>
<y>217</y>
<height>16</height>
<width>72</width>
<color>255</color>
<x>137</x>
<y>68</y>
<height>17</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__payroll</name>
<name>emp_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>upper</case>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2450,30 +2267,31 @@
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>311</x>
<y>264</y>
<x>137</x>
<y>315</y>
<height>17</height>
<width>72</width>
<format>dd/mm/yy</format>
<width>82</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date</name>
<name>status</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
......@@ -2488,90 +2306,76 @@
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>481</x>
<y>30</y>
<alignment>1</alignment>
<text>Aprv Date :</text>
<border>0</border>
<color>33554432</color>
<x>407</x>
<y>315</y>
<height>17</height>
<width>78</width>
<format>dd/mm/yy</format>
<width>67</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>appl_date__lve</name>
<name>aprv_date_t</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<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>2</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Status :</text>
<border>0</border>
<color>33554432</color>
<x>481</x>
<y>7</y>
<x>15</x>
<y>315</y>
<height>17</height>
<width>78</width>
<format>dd/mm/yy</format>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date</name>
<name>status_t</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Appl Date Lve :</text>
<text>Emp Code Aprv :</text>
<border>0</border>
<color>33554432</color>
<x>358</x>
<y>30</y>
<x>15</x>
<y>338</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>appl_date__lve_t</name>
<name>emp_code__aprv_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2589,17 +2393,45 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Tran Date :</text>
<text>Auth Emp :</text>
<border>0</border>
<color>33554432</color>
<x>358</x>
<y>7</y>
<x>15</x>
<y>361</y>
<height>17</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_date_t</name>
<name>auth_emp_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Auth Emp Alternate :</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>384</y>
<height>17</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>auth_emp_alternate_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2616,26 +2448,125 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>30</id>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>201</x>
<y>53</y>
<x>479</x>
<y>315</y>
<height>17</height>
<width>116</width>
<width>87</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>aprv_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Status Date :</text>
<border>0</border>
<color>33554432</color>
<x>225</x>
<y>315</y>
<height>17</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>318</x>
<y>315</y>
<height>17</height>
<width>72</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>status_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>137</x>
<y>361</y>
<height>17</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname</name>
<name>auth_emp</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2653,26 +2584,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>31</id>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>322</x>
<y>53</y>
<x>137</x>
<y>384</y>
<height>17</height>
<width>116</width>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname</name>
<name>auth_emp_alternate</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2690,26 +2622,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>32</id>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>443</x>
<y>53</y>
<x>137</x>
<y>338</y>
<height>17</height>
<width>116</width>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname</name>
<name>emp_code__aprv</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2727,27 +2660,26 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>41</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>53</y>
<height>17</height>
<width>66</width>
<x>208</x>
<y>338</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code</name>
<name>employee_emp_fname_3</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2765,27 +2697,26 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<id>44</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>310</y>
<height>17</height>
<width>66</width>
<x>329</x>
<y>338</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>auth_emp</name>
<name>employee_emp_mname_3</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2803,27 +2734,26 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<id>45</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>333</y>
<height>17</height>
<width>66</width>
<x>450</x>
<y>338</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>auth_emp_alternate</name>
<name>employee_emp_lname_3</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2841,27 +2771,26 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<id>42</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>130</x>
<y>287</y>
<height>17</height>
<width>66</width>
<x>208</x>
<y>361</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__aprv</name>
<name>employee_emp_fname_1</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -2879,20 +2808,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>41</id>
<id>46</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>201</x>
<y>287</y>
<x>329</x>
<y>361</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_3</name>
<name>employee_emp_mname_1</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2916,20 +2845,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>44</id>
<id>47</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>322</x>
<y>287</y>
<x>450</x>
<y>361</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_3</name>
<name>employee_emp_lname_1</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2953,20 +2882,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>45</id>
<id>43</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>443</x>
<y>287</y>
<x>208</x>
<y>384</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_3</name>
<name>employee_emp_fname_2</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -2990,20 +2919,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>42</id>
<id>48</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>201</x>
<y>310</y>
<x>329</x>
<y>384</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_1</name>
<name>employee_emp_mname_2</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -3027,20 +2956,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>46</id>
<id>49</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>322</x>
<y>310</y>
<x>450</x>
<y>384</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_1</name>
<name>employee_emp_lname_2</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -3064,26 +2993,27 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>47</id>
<id>29</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>443</x>
<y>310</y>
<height>16</height>
<width>116</width>
<x>470</x>
<y>454</y>
<height>17</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_1</name>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -3099,28 +3029,85 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Term :</text>
<border>0</border>
<color>33554432</color>
<x>401</x>
<y>454</y>
<height>17</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg User :</text>
<border>0</border>
<color>33554432</color>
<x>234</x>
<y>454</y>
<height>17</height>
<width>64</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>43</id>
<id>28</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>201</x>
<y>333</y>
<height>16</height>
<width>116</width>
<x>302</x>
<y>454</y>
<height>17</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_fname_2</name>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......@@ -3138,20 +3125,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>48</id>
<id>27</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>322</x>
<y>333</y>
<height>16</height>
<width>116</width>
<format>[general]</format>
<x>137</x>
<y>454</y>
<height>17</height>
<width>87</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_mname_2</name>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -3173,28 +3160,85 @@
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Date :</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>454</y>
<height>17</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Payroll Period Code :</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>484</y>
<height>16</height>
<width>118</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code_t</name>
<visible>0</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>49</id>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>443</x>
<y>333</y>
<height>16</height>
<width>116</width>
<x>137</x>
<y>484</y>
<height>17</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>employee_emp_lname_2</name>
<visible>1</visible>
<name>prd_code</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
......
$PBExportHeader$d_empleave_ench_arr_brow.srd
$PBExportComments$Personal information form page 2
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=19 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="empleave_ench_arr.tran_id" )
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="empleave_ench_arr.tran_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=tran_id__lve dbname="empleave_ench_arr.tran_id__lve" )
column=(type=datetime update=yes updatewhereclause=yes name=appl_date__lve dbname="empleave_ench_arr.appl_date__lve" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="empleave_ench_arr.emp_code" )
column=(type=datetime update=yes updatewhereclause=yes name=lve_date_fr dbname="empleave_ench_arr.lve_date_fr" )
column=(type=datetime update=yes updatewhereclause=yes name=lve_date_to dbname="empleave_ench_arr.lve_date_to" )
column=(type=char(5) update=yes updatewhereclause=yes name=lve_code dbname="empleave_ench_arr.lve_code" )
column=(type=char(3) update=yes updatewhereclause=yes name=lve_type dbname="empleave_ench_arr.lve_type" )
column=(type=decimal(1) update=yes updatewhereclause=yes name=no_days dbname="empleave_ench_arr.no_days" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=base_amt__prev dbname="empleave_ench_arr.base_amt__prev" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=base_amt__new dbname="empleave_ench_arr.base_amt__new" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=base_amt__diff dbname="empleave_ench_arr.base_amt__diff" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=ench_amt__prev dbname="empleave_ench_arr.ench_amt__prev" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=ench_amt__new dbname="empleave_ench_arr.ench_amt__new" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=ench_amt__diff dbname="empleave_ench_arr.ench_amt__diff" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="empleave_ench_arr.status" values="Unapproved U/Approved A/Cancelled X/" )
column=(type=datetime update=yes updatewhereclause=yes name=status_date dbname="empleave_ench_arr.status_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__payr dbname="empleave_ench_arr.tran_id__payr" )
column=(type=datetime update=yes updatewhereclause=yes name=aprv_date dbname="empleave_ench_arr.aprv_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=auth_emp dbname="empleave_ench_arr.auth_emp" )
column=(type=char(10) update=yes updatewhereclause=yes name=auth_emp_alternate dbname="empleave_ench_arr.auth_emp_alternate" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="empleave_ench_arr.emp_code__aprv" )
column=(type=char(6) update=yes updatewhereclause=yes name=prd_code dbname="empleave_ench_arr.prd_code" )
column=(type=char(60) update=yes updatewhereclause=yes name=remarks dbname="empleave_ench_arr.remarks" )
column=(type=datetime update=yes updatewhereclause=yes name=ref_date dbname="empleave_ench_arr.ref_date" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="empleave_ench_arr.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="empleave_ench_arr.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="empleave_ench_arr.chg_term" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_fname dbname="employee_emp_fname" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_mname dbname="employee_emp_mname" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_lname dbname="employee_emp_lname" )
column=(type=char(4000) updatewhereclause=yes name=auth_emp_fname dbname="auth_emp_fname" )
column=(type=char(4000) updatewhereclause=yes name=auth_emp_lname dbname="auth_emp_lname" )
column=(type=char(4000) updatewhereclause=yes name=auth_emp_alternate_fname dbname="auth_emp_alternate_fname" )
column=(type=char(4000) updatewhereclause=yes name=auth_emp_alternate_mname dbname="auth_emp_alternate_mname" )
column=(type=char(4000) updatewhereclause=yes name=auth_emp_alternate_lname dbname="auth_emp_alternate_lname" )
column=(type=char(4000) updatewhereclause=yes name=aprv_emp_fname dbname="aprv_emp_fname" )
column=(type=char(4000) updatewhereclause=yes name=aprv_emp_mname dbname="aprv_emp_mname" )
column=(type=char(4000) updatewhereclause=yes name=aprv_emp_lname dbname="aprv_emp_lname" )
column=(type=char(15) updatewhereclause=yes name=employee_emp_mname dbname="employee.emp_mname" )
column=(type=char(5) updatewhereclause=yes name=work_site dbname="employee.work_site" )
column=(type=char(1) update=yes updatewhereclause=yes name=pay_mode dbname="empleave_ench_arr.pay_mode" values="Payroll P/Voucher V/" )
column=(type=char(6) update=yes updatewhereclause=yes name=prd_code__payroll dbname="empleave_ench_arr.prd_code__payroll" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"empleave_ench_arr~" ) TABLE(NAME=~"employee~" ) COLUMN(NAME=~"empleave_ench_arr.tran_id~") COLUMN(NAME=~"empleave_ench_arr.tran_date~") COLUMN(NAME=~"empleave_ench_arr.tran_id__lve~") COLUMN(NAME=~"empleave_ench_arr.appl_date__lve~") COLUMN(NAME=~"empleave_ench_arr.emp_code~") COLUMN(NAME=~"empleave_ench_arr.lve_date_fr~") COLUMN(NAME=~"empleave_ench_arr.lve_date_to~") COLUMN(NAME=~"empleave_ench_arr.lve_code~") COLUMN(NAME=~"empleave_ench_arr.lve_type~") COLUMN(NAME=~"empleave_ench_arr.no_days~") COLUMN(NAME=~"empleave_ench_arr.base_amt__prev~") COLUMN(NAME=~"empleave_ench_arr.base_amt__new~") COLUMN(NAME=~"empleave_ench_arr.base_amt__diff~") COLUMN(NAME=~"empleave_ench_arr.ench_amt__prev~") COLUMN(NAME=~"empleave_ench_arr.ench_amt__new~") COLUMN(NAME=~"empleave_ench_arr.ench_amt__diff~") COLUMN(NAME=~"empleave_ench_arr.status~") COLUMN(NAME=~"empleave_ench_arr.status_date~") COLUMN(NAME=~"empleave_ench_arr.tran_id__payr~") COLUMN(NAME=~"empleave_ench_arr.aprv_date~") COLUMN(NAME=~"empleave_ench_arr.auth_emp~") COLUMN(NAME=~"empleave_ench_arr.auth_emp_alternate~") COLUMN(NAME=~"empleave_ench_arr.emp_code__aprv~") COLUMN(NAME=~"empleave_ench_arr.prd_code~") COLUMN(NAME=~"empleave_ench_arr.remarks~") COLUMN(NAME=~"empleave_ench_arr.ref_date~") COLUMN(NAME=~"empleave_ench_arr.chg_date~") COLUMN(NAME=~"empleave_ench_arr.chg_user~") COLUMN(NAME=~"empleave_ench_arr.chg_term~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE~~~", 'F1') as employee_emp_fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE~~~", 'M1') as employee_emp_mname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE~~~", 'L1') as employee_emp_lname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP~~~", 'F1') as auth_emp_fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP~~~", 'L1') as auth_emp_lname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP_ALTERNATE~~~", 'F1') as auth_emp_alternate_fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP_ALTERNATE~~~", 'M1') as auth_emp_alternate_mname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP_ALTERNATE~~~", 'L1') as auth_emp_alternate_lname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE__APRV~~~", 'F1') as aprv_emp_fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE__APRV~~~", 'M1') as aprv_emp_mname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE__APRV~~~", 'L1') as aprv_emp_lname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP~~~", 'M1') as auth_emp_mname~") COLUMN(NAME=~"employee.work_site~") COLUMN(NAME=~"empleave_ench_arr.pay_mode~") COLUMN(NAME=~"empleave_ench_arr.prd_code__payroll~") JOIN (LEFT=~"empleave_ench_arr.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" OUTER1 =~"empleave_ench_arr.emp_code~" )WHERE( EXP1 =~"empleave_ench_arr.tran_date~" OP =~">=~" EXP2 =~":from_date~" LOGIC =~"And~" ) WHERE( EXP1 =~"empleave_ench_arr.tran_date~" OP =~"<=~" EXP2 =~":to_date~" ) ) ARG(NAME = ~"from_date~" TYPE = datetime) ARG(NAME = ~"to_date~" TYPE = datetime) " update="EMPLEAVE_ENCH_ARR" updatewhere=0 updatekeyinplace=no arguments=(("from_date", datetime),("to_date", datetime)) )
text(band=header alignment="2" text="Tran Id" border="6" color="33554432" x="2" y="2" height="16" width="80" html.valueishtml="0" name=tran_id_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="Tran Date" border="6" color="33554432" x="84" y="2" height="16" width="91" html.valueishtml="0" name=tran_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="2" text="Tran Id Leave" border="6" color="33554432" x="349" y="2" height="16" width="96" html.valueishtml="0" name=tran_id__lve_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="Leave Appl Date" border="6" color="33554432" x="447" y="2" height="16" width="98" html.valueishtml="0" name=appl_date__lve_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="Emp Code" border="6" color="33554432" x="547" y="2" height="16" width="66" 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="2" text="Lve Date Fr" border="6" color="33554432" x="840" y="2" height="16" width="79" html.valueishtml="0" name=lve_date_fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lve Date To" border="6" color="33554432" x="921" y="2" height="16" width="83" html.valueishtml="0" name=lve_date_to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lve Code" border="6" color="33554432" x="1006" y="2" height="16" width="53" html.valueishtml="0" name=lve_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lve Type" border="6" color="33554432" x="1061" y="2" height="16" width="51" html.valueishtml="0" name=lve_type_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="No Days" border="6" color="33554432" x="1114" y="2" height="16" width="72" html.valueishtml="0" name=no_days_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Base Amt Prev" border="6" color="33554432" x="1188" y="2" height="16" width="91" html.valueishtml="0" name=base_amt__prev_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="Base Amt New" border="6" color="33554432" x="1281" y="2" height="16" width="91" html.valueishtml="0" name=base_amt__new_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="Base Amt Diff" border="6" color="33554432" x="1374" y="2" height="16" width="84" html.valueishtml="0" name=base_amt__diff_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="Ench Amt Prev" border="6" color="33554432" x="1460" y="2" height="16" width="91" html.valueishtml="0" name=ench_amt__prev_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="Ench Amt New" border="6" color="33554432" x="1553" y="2" height="16" width="91" html.valueishtml="0" name=ench_amt__new_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="Status" border="6" color="33554432" x="177" y="2" height="16" width="72" 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="Status Date" border="6" color="33554432" x="251" y="2" height="16" width="96" html.valueishtml="0" name=status_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Tran Id Payr" border="6" color="33554432" x="1923" y="2" height="16" width="74" html.valueishtml="0" name=tran_id__payr_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="Aprv Date" border="6" color="33554432" x="1999" y="2" height="16" width="110" html.valueishtml="0" name=aprv_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="2" text="Auth Emp" border="6" color="33554432" x="2111" y="2" height="16" width="66" html.valueishtml="0" name=auth_emp_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="Auth Emp Alternate" border="6" color="33554432" x="2404" y="2" height="16" width="114" html.valueishtml="0" name=auth_emp_alternate_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="Emp Code Aprv" border="6" color="33554432" x="2745" y="2" height="16" width="94" html.valueishtml="0" name=emp_code__aprv_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="Prd Code" border="6" color="33554432" x="3892" y="2" height="16" width="54" html.valueishtml="0" name=prd_code_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="536870912" )
text(band=header alignment="2" text="Remarks" border="6" color="33554432" x="3166" y="2" height="16" width="366" html.valueishtml="0" name=remarks_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="Ref Date" border="6" color="33554432" x="3534" y="2" height="16" width="82" html.valueishtml="0" name=ref_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="2" text="Chg Date" border="6" color="33554432" x="3618" y="2" height="16" width="106" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg User" border="6" color="33554432" x="3726" y="2" height="16" width="66" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="First Name" border="6" color="33554432" x="615" y="2" height="16" width="73" html.valueishtml="0" name=employee_emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Middle Name" border="6" color="33554432" x="690" y="2" height="16" width="73" html.valueishtml="0" name=employee_emp_mname_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="33554432" x="765" y="2" height="16" width="73" html.valueishtml="0" name=employee_emp_lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Last Name" border="6" color="33554432" x="2991" y="2" height="16" width="73" html.valueishtml="0" name=aprv_emp_lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="First Name" border="6" color="33554432" x="2179" y="2" height="16" width="73" html.valueishtml="0" name=auth_emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Middle Name" border="6" color="33554432" x="2254" y="2" height="16" width="73" html.valueishtml="0" name=auth_emp_mname_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="33554432" x="2329" y="2" height="16" width="73" html.valueishtml="0" name=auth_emp_lname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="First Name" border="6" color="33554432" x="2520" y="2" height="16" width="73" html.valueishtml="0" name=auth_emp_alternate_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="33554432" x="2670" y="2" height="16" width="73" html.valueishtml="0" name=auth_emp_alternate_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="2" text="First Name" border="6" color="33554432" x="2841" y="2" height="16" width="73" html.valueishtml="0" name=aprv_emp_fname_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Middle Name" border="6" color="33554432" x="2595" y="2" height="16" width="73" html.valueishtml="0" name=auth_emp_alternate_mname_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="Middle Name" border="6" color="33554432" x="2916" y="2" height="16" width="73" html.valueishtml="0" name=aprv_emp_mname_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="Work Site" border="6" color="33554432" x="3066" y="2" height="16" width="98" html.valueishtml="0" name=work_site_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Chg Term" border="6" color="33554432" x="3794" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Payroll Period" border="6" color="33554432" x="1836" y="2" height="16" width="85" html.valueishtml="0" name=prd_code__payroll_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="Ench Amt Diff" border="6" color="33554432" x="1646" y="2" height="16" width="84" html.valueishtml="0" name=ench_amt__diff_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="Mode" border="6" color="33554432" x="1732" y="2" height="16" width="102" html.valueishtml="0" name=pay_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" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="2" y="2" height="17" width="80" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="33554432" x="84" y="2" height="17" width="91" format="[shortdate] [time]" html.valueishtml="0" name=tran_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=3 alignment="0" tabsequence=50 border="5" color="33554432" x="349" y="2" height="17" width="96" format="[general]" html.valueishtml="0" name=tran_id__lve visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=4 alignment="0" tabsequence=60 border="5" color="33554432" x="447" y="2" height="17" width="98" format="[shortdate] [time]" html.valueishtml="0" name=appl_date__lve visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=5 alignment="0" tabsequence=70 border="5" color="33554432" x="547" y="2" height="17" width="66" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=6 alignment="0" tabsequence=110 border="5" color="33554432" x="840" y="2" height="17" width="79" format="dd/mm/yy" html.valueishtml="0" name=lve_date_fr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=7 alignment="0" tabsequence=120 border="5" color="33554432" x="921" y="2" height="17" width="83" format="dd/mm/yy" html.valueishtml="0" name=lve_date_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=8 alignment="0" tabsequence=130 border="5" color="33554432" x="1006" y="2" height="17" width="53" format="[general]" html.valueishtml="0" name=lve_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=9 alignment="0" tabsequence=140 border="5" color="33554432" x="1061" y="2" height="17" width="51" format="[general]" html.valueishtml="0" name=lve_type visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=10 alignment="1" tabsequence=150 border="5" color="33554432" x="1114" y="2" height="17" width="72" format="[general]" html.valueishtml="0" name=no_days visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=11 alignment="1" tabsequence=160 border="5" color="33554432" x="1188" y="2" height="17" width="91" format="[general]" html.valueishtml="0" name=base_amt__prev visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=12 alignment="1" tabsequence=170 border="5" color="33554432" x="1281" y="2" height="17" width="91" format="[general]" html.valueishtml="0" name=base_amt__new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=13 alignment="1" tabsequence=180 border="5" color="33554432" x="1374" y="2" height="17" width="84" format="[general]" html.valueishtml="0" name=base_amt__diff visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=14 alignment="1" tabsequence=190 border="5" color="33554432" x="1460" y="2" height="17" width="91" format="[general]" html.valueishtml="0" name=ench_amt__prev visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=15 alignment="1" tabsequence=200 border="5" color="33554432" x="1553" y="2" height="17" width="91" format="[general]" html.valueishtml="0" name=ench_amt__new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=17 alignment="0" tabsequence=30 border="5" color="33554432" x="177" y="2" height="17" width="72" 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=18 alignment="0" tabsequence=40 border="5" color="33554432" x="251" y="2" height="17" width="96" format="[shortdate] [time]" html.valueishtml="0" name=status_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=19 alignment="0" tabsequence=240 border="5" color="33554432" x="1923" y="2" height="17" width="74" format="[general]" html.valueishtml="0" name=tran_id__payr visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=20 alignment="0" tabsequence=250 border="5" color="33554432" x="1999" y="2" height="17" width="110" format="[shortdate] [time]" html.valueishtml="0" name=aprv_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=21 alignment="0" tabsequence=260 border="5" color="33554432" x="2111" y="2" height="17" width="66" format="[general]" html.valueishtml="0" name=auth_emp visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=22 alignment="0" tabsequence=300 border="5" color="33554432" x="2404" y="2" height="17" width="114" format="[general]" html.valueishtml="0" name=auth_emp_alternate visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=23 alignment="0" tabsequence=340 border="5" color="33554432" x="2745" y="2" height="17" width="94" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=24 alignment="0" tabsequence=440 border="5" color="33554432" x="3892" y="2" height="17" width="54" format="[general]" html.valueishtml="0" name=prd_code visible="0" edit.limit=6 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=25 alignment="0" tabsequence=390 border="5" color="33554432" x="3166" y="2" height="17" width="366" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=60 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=26 alignment="0" tabsequence=400 border="5" color="33554432" x="3534" y="2" height="17" width="82" format="dd/mm/yy" html.valueishtml="0" name=ref_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=27 alignment="0" tabsequence=410 border="5" color="33554432" x="3618" y="2" height="17" width="106" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=28 alignment="0" tabsequence=420 border="5" color="33554432" x="3726" y="2" height="17" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=30 alignment="0" tabsequence=80 border="5" color="33554432" x="615" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=employee_emp_fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=31 alignment="0" tabsequence=90 border="5" color="33554432" x="690" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=employee_emp_mname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=32 alignment="0" tabsequence=100 border="5" color="33554432" x="765" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=employee_emp_lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=33 alignment="0" tabsequence=270 border="5" color="33554432" x="2179" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=auth_emp_fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=36 alignment="0" tabsequence=280 border="5" color="33554432" x="2254" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=auth_emp_mname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=34 alignment="0" tabsequence=290 border="5" color="33554432" x="2329" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=auth_emp_lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=35 alignment="0" tabsequence=310 border="5" color="33554432" x="2520" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=auth_emp_alternate_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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=37 alignment="0" tabsequence=330 border="5" color="33554432" x="2670" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=auth_emp_alternate_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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=38 alignment="0" tabsequence=350 border="5" color="33554432" x="2841" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=aprv_emp_fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=39 alignment="0" tabsequence=320 border="5" color="33554432" x="2595" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=auth_emp_alternate_mname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=40 alignment="0" tabsequence=370 border="5" color="33554432" x="2991" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=aprv_emp_lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=41 alignment="0" tabsequence=360 border="5" color="33554432" x="2916" y="2" height="17" width="73" format="[general]" html.valueishtml="0" name=aprv_emp_mname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=42 alignment="0" tabsequence=380 border="5" color="33554432" x="3066" y="2" height="17" width="98" format="[general]" html.valueishtml="0" name=work_site visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=29 alignment="0" tabsequence=430 border="5" color="33554432" x="3794" y="2" height="17" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=44 alignment="0" tabsequence=230 border="5" color="33554432" x="1836" y="2" height="17" width="85" format="[general]" html.valueishtml="0" name=prd_code__payroll 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="1073741824" )
column(band=detail id=16 alignment="1" tabsequence=210 border="5" color="33554432" x="1646" y="2" height="17" width="84" format="[general]" html.valueishtml="0" name=ench_amt__diff visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=43 alignment="0" tabsequence=220 border="5" color="33554432" x="1732" y="2" height="17" width="102" format="[general]" html.valueishtml="0" name=pay_mode 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="1073741824" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_empleave_ench_arr_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=663 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="empleave_ench_arr.tran_id" )
column=(type=datetime update=yes updatewhereclause=yes name=tran_date dbname="empleave_ench_arr.tran_date" )
column=(type=char(15) update=yes updatewhereclause=yes name=tran_id__lve dbname="empleave_ench_arr.tran_id__lve" )
column=(type=datetime update=yes updatewhereclause=yes name=appl_date__lve dbname="empleave_ench_arr.appl_date__lve" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code dbname="empleave_ench_arr.emp_code" )
column=(type=datetime update=yes updatewhereclause=yes name=lve_date_fr dbname="empleave_ench_arr.lve_date_fr" )
column=(type=datetime update=yes updatewhereclause=yes name=lve_date_to dbname="empleave_ench_arr.lve_date_to" )
column=(type=char(5) update=yes updatewhereclause=yes name=lve_code dbname="empleave_ench_arr.lve_code" )
column=(type=char(3) update=yes updatewhereclause=yes name=lve_type dbname="empleave_ench_arr.lve_type" )
column=(type=decimal(1) update=yes updatewhereclause=yes name=no_days dbname="empleave_ench_arr.no_days" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=base_amt__prev dbname="empleave_ench_arr.base_amt__prev" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=base_amt__new dbname="empleave_ench_arr.base_amt__new" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=base_amt__diff dbname="empleave_ench_arr.base_amt__diff" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=ench_amt__prev dbname="empleave_ench_arr.ench_amt__prev" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=ench_amt__new dbname="empleave_ench_arr.ench_amt__new" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=ench_amt__diff dbname="empleave_ench_arr.ench_amt__diff" )
column=(type=char(1) update=yes updatewhereclause=yes name=status dbname="empleave_ench_arr.status" values="Unapproved U/Approved A/Cancelled X/" )
column=(type=datetime update=yes updatewhereclause=yes name=status_date dbname="empleave_ench_arr.status_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=tran_id__payr dbname="empleave_ench_arr.tran_id__payr" )
column=(type=datetime update=yes updatewhereclause=yes name=aprv_date dbname="empleave_ench_arr.aprv_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=auth_emp dbname="empleave_ench_arr.auth_emp" )
column=(type=char(10) update=yes updatewhereclause=yes name=auth_emp_alternate dbname="empleave_ench_arr.auth_emp_alternate" )
column=(type=char(10) update=yes updatewhereclause=yes name=emp_code__aprv dbname="empleave_ench_arr.emp_code__aprv" )
column=(type=char(6) update=yes updatewhereclause=yes name=prd_code dbname="empleave_ench_arr.prd_code" )
column=(type=char(60) update=yes updatewhereclause=yes name=remarks dbname="empleave_ench_arr.remarks" )
column=(type=datetime update=yes updatewhereclause=yes name=ref_date dbname="empleave_ench_arr.ref_date" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="empleave_ench_arr.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="empleave_ench_arr.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="empleave_ench_arr.chg_term" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_fname dbname="employee_emp_fname" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_mname dbname="employee_emp_mname" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_lname dbname="employee_emp_lname" )
column=(type=char(25) updatewhereclause=yes name=designation dbname="employee.designation" )
column=(type=char(5) updatewhereclause=yes name=dept_code dbname="employee.dept_code" )
column=(type=datetime updatewhereclause=yes name=date_join dbname="employee.date_join" )
column=(type=char(5) updatewhereclause=yes name=work_site dbname="employee.work_site" )
column=(type=char(40) updatewhereclause=yes name=department_descr dbname="department.descr" )
column=(type=char(20) updatewhereclause=yes name=leaves_descr dbname="leaves.descr" )
column=(type=char(1) update=yes updatewhereclause=yes name=pay_mode dbname="empleave_ench_arr.pay_mode" values="Payroll P/Voucher V/" )
column=(type=char(6) update=yes updatewhereclause=yes name=prd_code__payroll dbname="empleave_ench_arr.prd_code__payroll" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_fname_3 dbname="employee_emp_fname_3" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_fname_1 dbname="employee_emp_fname_1" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_fname_2 dbname="employee_emp_fname_2" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_mname_3 dbname="employee_emp_mname_3" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_lname_3 dbname="employee_emp_lname_3" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_mname_1 dbname="employee_emp_mname_1" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_lname_1 dbname="employee_emp_lname_1" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_mname_2 dbname="employee_emp_mname_2" )
column=(type=char(4000) updatewhereclause=yes name=employee_emp_lname_2 dbname="employee_emp_lname_2" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"empleave_ench_arr~" ) TABLE(NAME=~"employee~" ) TABLE(NAME=~"department~" ) TABLE(NAME=~"leaves~" ) COLUMN(NAME=~"empleave_ench_arr.tran_id~") COLUMN(NAME=~"empleave_ench_arr.tran_date~") COLUMN(NAME=~"empleave_ench_arr.tran_id__lve~") COLUMN(NAME=~"empleave_ench_arr.appl_date__lve~") COLUMN(NAME=~"empleave_ench_arr.emp_code~") COLUMN(NAME=~"empleave_ench_arr.lve_date_fr~") COLUMN(NAME=~"empleave_ench_arr.lve_date_to~") COLUMN(NAME=~"empleave_ench_arr.lve_code~") COLUMN(NAME=~"empleave_ench_arr.lve_type~") COLUMN(NAME=~"empleave_ench_arr.no_days~") COLUMN(NAME=~"empleave_ench_arr.base_amt__prev~") COLUMN(NAME=~"empleave_ench_arr.base_amt__new~") COLUMN(NAME=~"empleave_ench_arr.base_amt__diff~") COLUMN(NAME=~"empleave_ench_arr.ench_amt__prev~") COLUMN(NAME=~"empleave_ench_arr.ench_amt__new~") COLUMN(NAME=~"empleave_ench_arr.ench_amt__diff~") COLUMN(NAME=~"empleave_ench_arr.status~") COLUMN(NAME=~"empleave_ench_arr.status_date~") COLUMN(NAME=~"empleave_ench_arr.tran_id__payr~") COLUMN(NAME=~"empleave_ench_arr.aprv_date~") COLUMN(NAME=~"empleave_ench_arr.auth_emp~") COLUMN(NAME=~"empleave_ench_arr.auth_emp_alternate~") COLUMN(NAME=~"empleave_ench_arr.emp_code__aprv~") COLUMN(NAME=~"empleave_ench_arr.prd_code~") COLUMN(NAME=~"empleave_ench_arr.remarks~") COLUMN(NAME=~"empleave_ench_arr.ref_date~") COLUMN(NAME=~"empleave_ench_arr.chg_date~") COLUMN(NAME=~"empleave_ench_arr.chg_user~") COLUMN(NAME=~"empleave_ench_arr.chg_term~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE~~~", 'F1') as employee_emp_fname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE~~~", 'M1') as employee_emp_mname~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP~~~", 'L1') as employee_emp_lname~") COLUMN(NAME=~"employee.designation~") COLUMN(NAME=~"employee.dept_code~") COLUMN(NAME=~"employee.date_join~") COLUMN(NAME=~"employee.work_site~") COLUMN(NAME=~"department.descr~") COLUMN(NAME=~"leaves.descr~") COLUMN(NAME=~"empleave_ench_arr.pay_mode~") COLUMN(NAME=~"empleave_ench_arr.prd_code__payroll~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE__APRV~~~", 'F1') as employee_emp_fname_3~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP~~~", 'F1') as employee_emp_fname_1~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP_ALTERNATE~~~", 'F1') as employee_emp_fname_2~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE__APRV~~~", 'M1') as employee_emp_mname_3~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"EMP_CODE__APRV~~~", 'L1') as employee_emp_lname_3~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP~~~", 'M1') as employee_emp_mname_1~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP~~~", 'L1') as employee_emp_lname_1~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP_ALTERNATE~~~", 'M1') as employee_emp_mname_2~") COMPUTE(NAME=~"FN_GET_EMP_NAME (~~~"EMPLEAVE_ENCH_ARR~~~".~~~"AUTH_EMP_ALTERNATE~~~", 'L1') as employee_emp_lname_2~") JOIN (LEFT=~"employee.dept_code~" OP =~"=~"RIGHT=~"department.dept_code~" OUTER1 =~"employee.dept_code~" ) JOIN (LEFT=~"empleave_ench_arr.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" ) JOIN (LEFT=~"empleave_ench_arr.lve_code~" OP =~"=~"RIGHT=~"leaves.lve_code~" )WHERE( EXP1 =~"empleave_ench_arr.tran_id~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="EMPLEAVE_ENCH_ARR" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
groupbox(band=detail text="Others"border="2" color="0" x="6" y="422" height="103" width="583" name=gb_3 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" )
groupbox(band=detail text="Status"border="2" color="0" x="6" y="292" height="123" width="583" name=gb_2 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" )
groupbox(band=detail text="Basic"border="2" color="0" x="6" y="4" height="282" width="583" name=gb_1 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=detail alignment="1" text="Designation :" border="0" color="33554432" x="244" y="92" height="17" width="76" html.valueishtml="0" name=designation_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=34 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="115" height="17" width="66" format="[general]" html.valueishtml="0" name=dept_code visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=37 alignment="0" tabsequence=32766 border="5" color="255" x="208" y="115" height="17" width="201" format="[general]" html.valueishtml="0" name=department_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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="138" height="17" width="48" format="[general]" html.valueishtml="0" name=lve_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=38 alignment="0" tabsequence=32766 border="5" color="255" x="190" y="138" height="17" width="142" format="[general]" html.valueishtml="0" name=leaves_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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="161" height="17" width="87" format="dd/mm/yy" html.valueishtml="0" name=lve_date_fr visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="137" y="22" height="17" width="104" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=14 alignment="1" tabsequence=32766 border="5" color="255" x="137" y="208" height="17" width="72" format="[general]" html.valueishtml="0" name=ench_amt__prev visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=11 alignment="1" tabsequence=32766 border="5" color="255" x="137" y="185" height="17" width="72" format="[general]" html.valueishtml="0" name=base_amt__prev visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=20 border="5" color="33554432" x="137" y="45" height="17" width="118" format="[general]" html.valueishtml="0" name=tran_id__lve visible="1" edit.limit=15 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Tran Id :" border="0" color="33554432" x="15" y="22" height="17" width="118" html.valueishtml="0" name=tran_id_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="Tran Id Lve :" border="0" color="33554432" x="15" y="45" height="16" width="118" html.valueishtml="0" name=tran_id__lve_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="Emp Code :" border="0" color="33554432" x="15" y="68" height="17" width="118" 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="Join Date :" border="0" color="33554432" x="15" y="92" height="17" width="118" html.valueishtml="0" name=date_join_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="Dept Code :" border="0" color="33554432" x="15" y="115" height="17" width="118" html.valueishtml="0" name=dept_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="Lve Code :" border="0" color="33554432" x="15" y="138" height="17" width="118" html.valueishtml="0" name=lve_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Date From :" border="0" color="33554432" x="15" y="161" height="17" width="118" html.valueishtml="0" name=lve_date_fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Base Amt Prev :" border="0" color="33554432" x="15" y="185" height="16" width="118" html.valueishtml="0" name=base_amt__prev_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="Remarks :" border="0" color="33554432" x="15" y="255" height="17" width="118" html.valueishtml="0" name=remarks_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="Ench Amt Prev :" border="0" color="33554432" x="15" y="208" height="16" width="118" html.valueishtml="0" name=ench_amt__prev_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="Mode :" border="0" color="33554432" x="15" y="232" height="16" width="118" html.valueishtml="0" name=pay_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" )
column(band=detail id=35 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="92" height="17" width="66" format="dd/mm/yy" html.valueishtml="0" name=date_join visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=33 alignment="0" tabsequence=32766 border="5" color="255" x="326" y="92" height="17" width="240" format="[general]" html.valueishtml="0" name=designation visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=36 alignment="0" tabsequence=32766 border="5" color="255" x="500" y="115" height="17" width="66" format="[general]" html.valueishtml="0" name=work_site visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="542" y="138" height="17" width="24" format="[general]" html.valueishtml="0" name=lve_type visible="1" edit.limit=3 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=10 alignment="1" tabsequence=32766 border="5" color="255" x="494" y="161" height="17" width="72" format="[general]" html.valueishtml="0" name=no_days visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=13 alignment="1" tabsequence=32766 border="5" color="255" x="494" y="185" height="17" width="72" format="[general]" html.valueishtml="0" name=base_amt__diff visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=16 alignment="1" tabsequence=32766 border="5" color="255" x="494" y="208" height="17" width="72" format="[general]" html.valueishtml="0" name=ench_amt__diff visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Work Site :" border="0" color="33554432" x="425" y="115" height="17" width="70" html.valueishtml="0" name=work_site_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="Type :" border="0" color="33554432" x="493" y="138" height="17" width="44" html.valueishtml="0" name=lve_type_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=7 alignment="0" tabsequence=32766 border="5" color="255" x="318" y="161" height="17" width="87" format="dd/mm/yy" html.valueishtml="0" name=lve_date_to visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=12 alignment="1" tabsequence=32766 border="5" color="255" x="318" y="185" height="17" width="72" format="[general]" html.valueishtml="0" name=base_amt__new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=15 alignment="1" tabsequence=32766 border="5" color="255" x="318" y="208" height="17" width="72" format="[general]" html.valueishtml="0" name=ench_amt__new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Leave upto :" border="0" color="33554432" x="239" y="161" height="17" width="74" html.valueishtml="0" name=lve_date_to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=26 alignment="0" tabsequence=32766 border="5" color="255" x="407" y="138" height="17" width="74" format="dd/mm/yy" html.valueishtml="0" name=ref_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Ref Date :" border="0" color="33554432" x="341" y="139" height="17" width="62" html.valueishtml="0" name=ref_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Base Amt New :" border="0" color="33554432" x="220" y="185" height="16" width="93" html.valueishtml="0" name=base_amt__new_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="Ench Amt New :" border="0" color="33554432" x="220" y="208" height="16" width="93" html.valueishtml="0" name=ench_amt__new_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="No Days :" border="0" color="33554432" x="430" y="161" height="17" width="59" html.valueishtml="0" name=no_days_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Base Amt Diff :" border="0" color="33554432" x="403" y="185" height="16" width="86" html.valueishtml="0" name=base_amt__diff_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="Ench Amt Diff :" border="0" color="33554432" x="403" y="208" height="16" width="86" html.valueishtml="0" name=ench_amt__diff_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="Voucher No :" border="0" color="33554432" x="408" y="232" height="16" width="81" html.valueishtml="0" name=tran_id__payr_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=39 alignment="0" tabsequence=30 border="5" color="33554432" x="137" y="232" height="17" width="72" format="[general]" html.valueishtml="0" name=pay_mode visible="1" ddlb.limit=1 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="494" y="232" height="17" width="72" format="[general]" html.valueishtml="0" name=tran_id__payr visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=25 alignment="0" tabsequence=50 border="5" color="33554432" x="137" y="255" height="17" width="429" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=60 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Payroll Period :" border="0" color="33554432" x="225" y="232" height="16" width="88" html.valueishtml="0" name=prd_code__payroll_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=40 alignment="0" tabsequence=40 border="5" color="33554432" x="318" y="232" height="16" width="72" format="[general]" html.valueishtml="0" name=prd_code__payroll visible="1" edit.limit=6 edit.case=upper edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="255" x="488" y="45" height="17" width="78" format="dd/mm/yy" html.valueishtml="0" name=appl_date__lve visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=10 border="5" color="33554432" x="488" y="22" height="17" width="78" format="dd/mm/yy" html.valueishtml="0" name=tran_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=detail alignment="1" text="Appl Date Lve :" border="0" color="33554432" x="365" y="45" height="16" width="118" html.valueishtml="0" name=appl_date__lve_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="Tran Date :" border="0" color="33554432" x="365" y="22" height="17" width="118" html.valueishtml="0" name=tran_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=30 alignment="0" tabsequence=32766 border="5" color="255" x="208" y="68" height="17" width="116" format="[general]" html.valueishtml="0" name=employee_emp_fname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=31 alignment="0" tabsequence=32766 border="5" color="255" x="329" y="68" height="17" width="116" format="[general]" html.valueishtml="0" name=employee_emp_mname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=32 alignment="0" tabsequence=32766 border="5" color="255" x="450" y="68" height="17" width="116" format="[general]" html.valueishtml="0" name=employee_emp_lname visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="68" height="17" width="66" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="315" height="17" width="82" 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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Aprv Date :" border="0" color="33554432" x="407" y="315" height="17" width="67" html.valueishtml="0" name=aprv_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Status :" border="0" color="33554432" x="15" y="315" height="17" width="118" 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=detail alignment="1" text="Emp Code Aprv :" border="0" color="33554432" x="15" y="338" height="16" width="118" html.valueishtml="0" name=emp_code__aprv_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="Auth Emp :" border="0" color="33554432" x="15" y="361" height="17" width="118" html.valueishtml="0" name=auth_emp_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="Auth Emp Alternate :" border="0" color="33554432" x="15" y="384" height="17" width="118" html.valueishtml="0" name=auth_emp_alternate_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=20 alignment="0" tabsequence=32766 border="5" color="255" x="479" y="315" height="17" width="87" format="dd/mm/yy" html.valueishtml="0" name=aprv_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Status Date :" border="0" color="33554432" x="225" y="315" height="17" width="88" html.valueishtml="0" name=status_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="318" y="315" height="17" width="72" format="dd/mm/yy" html.valueishtml="0" name=status_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=21 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="361" height="17" width="66" format="[general]" html.valueishtml="0" name=auth_emp visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=22 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="384" height="17" width="66" format="[general]" html.valueishtml="0" name=auth_emp_alternate visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=23 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="338" height="17" width="66" format="[general]" html.valueishtml="0" name=emp_code__aprv visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=41 alignment="0" tabsequence=32766 border="5" color="255" x="208" y="338" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_fname_3 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=44 alignment="0" tabsequence=32766 border="5" color="255" x="329" y="338" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_mname_3 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=45 alignment="0" tabsequence=32766 border="5" color="255" x="450" y="338" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_lname_3 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=42 alignment="0" tabsequence=32766 border="5" color="255" x="208" y="361" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_fname_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=46 alignment="0" tabsequence=32766 border="5" color="255" x="329" y="361" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_mname_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=47 alignment="0" tabsequence=32766 border="5" color="255" x="450" y="361" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_lname_1 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=43 alignment="0" tabsequence=32766 border="5" color="255" x="208" y="384" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_fname_2 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=48 alignment="0" tabsequence=32766 border="5" color="255" x="329" y="384" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_mname_2 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=49 alignment="0" tabsequence=32766 border="5" color="255" x="450" y="384" height="16" width="116" format="[general]" html.valueishtml="0" name=employee_emp_lname_2 visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=29 alignment="0" tabsequence=32766 border="5" color="255" x="470" y="454" height="17" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg Term :" border="0" color="33554432" x="401" y="454" height="17" width="64" html.valueishtml="0" name=chg_term_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Chg User :" border="0" color="33554432" x="234" y="454" height="17" width="64" html.valueishtml="0" name=chg_user_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=28 alignment="0" tabsequence=32766 border="5" color="255" x="302" y="454" height="17" width="88" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=27 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="454" height="17" width="87" format="[shortdate] [time]" html.valueishtml="0" name=chg_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="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Chg Date :" border="0" color="33554432" x="15" y="454" height="17" width="118" html.valueishtml="0" name=chg_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Payroll Period Code :" border="0" color="33554432" x="15" y="484" height="16" width="118" html.valueishtml="0" name=prd_code_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="536870912" )
column(band=detail id=24 alignment="0" tabsequence=32766 border="5" color="255" x="137" y="484" height="17" width="72" format="[general]" html.valueishtml="0" name=prd_code visible="0" edit.limit=6 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
public class EmpLeaveEnchArrIC extends ValidatorEJB implements EmpLeaveEnchArrICLocal,EmpLeaveEnchArrICRemote
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext,
String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document dom1 = null;
Document dom = null;
Document dom2 = null;
String valueXmlString = "";
E12GenericUtility genericUtility = null;
try
{
genericUtility = new E12GenericUtility();
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString);
}
if (xmlString1 != null && xmlString1.trim().length() != 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length() != 0)
{
dom2 = genericUtility.parseString(xmlString2);
}
valueXmlString = itemChanged(dom, dom1, dom2, objContext, currentColumn, editFlag, xtraParams);
}
catch (Exception e)
{
System.out.println("Exception :EmpLeaveEnchArrIC :itemChanged(String,String):" + e.getMessage() + ":");
valueXmlString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from EmpLeaveEnchArrIC itemChanged");
return valueXmlString;
}
public String itemChanged(Document dom , Document dom1, Document dom2, String objContext, String currentColumn,
String editFlag, String xtraParams) throws RemoteException, ITMException
{
AdmCommon admCommon = new AdmCommon();
PreparedStatement pstmt = null;
ResultSet rs = null;
Connection conn = null;
StringBuffer valueXmlString = null;
int currentFormNo = 0;
E12GenericUtility genericUtility = null;
String sql = "";
String userId="";
String loginSite="";
String lsEncModeParm = "A";
String todayDateStr = "";
String lsWorkSite = "";
String lsCadre = "";
String lsGrade = "";
String mcode = "";
Timestamp ldApplDate = null;
Timestamp ldLveDateFr = null;
Timestamp ldLveDateTo = null;
Timestamp ldRefDate = null;
double lcDays = 0.0;
double lcBaseAmt = 0.0;
double lcEnchAmt = 0.0;
double lcBaseDiff = 0.0;
double lcEnchDiff = 0.0;
double lcBaseAmt2 = 0.0;
double lcAmount = 0.0;
double lcDiff = 0.0;
int mLevl = 0;
String lsEmpCode = "";
String lsLveCode = "";
String lsLveType = "";
String lsTranIdPayr = "";
String lsPrdCode = "";
String lsEmpFname = "";
String lsEmpMname = "";
String lsEmpLname = "";
String lsReportTo = "";
String lsDeptCode = "";
String lsDesignation = "";
String lsEmpFnameLong = "";
String lsEmpMnameLong = "";
String lsEmpLnameLong = "";
String lsDeptDescr = "";
String lsLveDescr = "";
String lsPayMode = "";
String lsPrdCodePayroll = "";
String applDateStr = "";
String ldLveDateFrStr = "";
String ldLveDateToStr = "";
String ldRefDateStr = "";
String ldDateJoinStr = "";
String lsErrcode = "";
Timestamp ldDateJoin = null;
Timestamp todayDate = null;
try
{
genericUtility = new E12GenericUtility();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
todayDateStr=sdf.format(new java.util.Date());
todayDate = Timestamp.valueOf(genericUtility.getValidDateString(todayDateStr, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("currentFormNo...." + currentFormNo);
conn = getConnection();
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</Header>\r\n");
System.out.println("current form no: " + currentFormNo);
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginSite=genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
System.out.println("::::::User Id = "+userId);
System.out.println("::::::Login Site = "+loginSite);
valueXmlString.append("<Detail1>\r\n");
System.out.println("ldProcDate value = "+todayDateStr);
valueXmlString.append("<status_date><![CDATA[").append(todayDateStr).append("]]></status_date>\r\n");
switch (currentFormNo)
{
case 1:
{
if ("itm_default".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside itm_default:::::::::::::::");
lsPayMode = checkNull(genericUtility.getColumnValue("pay_mode", dom));
lsPrdCodePayroll = checkNull(genericUtility.getColumnValue("prd_code__payroll", dom));
System.out.println("lsPayMode dom ==> "+lsPayMode+" \nlsPrdCodePayroll dom == > "+lsPrdCodePayroll);
valueXmlString.append("<tran_date><![CDATA[").append(todayDateStr).append("]]></tran_date>\r\n");
valueXmlString.append("<status><![CDATA[").append("U").append("]]></status>\r\n");
valueXmlString.append("<pay_mode><![CDATA[").append("").append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll><![CDATA[").append("").append("]]></prd_code__payroll>\r\n");
valueXmlString.append("<pay_mode protect=\"1\"><![CDATA[").append(lsPayMode).append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll protect=\"1\"><![CDATA[").append(lsPrdCodePayroll).append("]]></prd_code__payroll>\r\n");
}
if ("itm_defaultedit".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside itm_defaultedit:::::::::::::::");
lsPayMode = checkNull(genericUtility.getColumnValue("pay_mode", dom));
lsPrdCodePayroll = checkNull(genericUtility.getColumnValue("prd_code__payroll", dom));
lsEmpCode = checkNull(genericUtility.getColumnValue("emp_code", dom));
sql = "select work_site, cadre, grade from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsWorkSite = checkNull(rs.getString("work_site"));
lsCadre = checkNull(rs.getString("cadre"));
lsGrade = checkNull(rs.getString("grade"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsEncModeParm = admCommon.getAdmEnv(lsWorkSite,lsCadre,lsGrade ,"LVEENCPAYORVOU", todayDate, conn);
if("NULLFOUND".equalsIgnoreCase(lsEncModeParm))
{
lsEncModeParm = admCommon.getEnv("999999", "LVEENCPAYORVOU", conn);
if("NULLFOUND".equalsIgnoreCase(lsEncModeParm))
{
lsEncModeParm = "A";
}
}
System.out.println("lsPayMode ----->"+lsPayMode);
System.out.println("lsPrdCodePayroll ----->"+lsPrdCodePayroll);
System.out.println("lsEncModeParm ----->"+lsEncModeParm);
if("P".equalsIgnoreCase(lsEncModeParm))
{
valueXmlString.append("<pay_mode><![CDATA[").append("P").append("]]></pay_mode>\r\n");
valueXmlString.append("<pay_mode protect=\"1\"><![CDATA[").append(lsPayMode).append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll protect=\"0\"><![CDATA[").append(lsPrdCodePayroll).append("]]></prd_code__payroll>\r\n");
}
else if("V".equalsIgnoreCase(lsEncModeParm))
{
valueXmlString.append("<pay_mode><![CDATA[").append("V").append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll><![CDATA[").append("").append("]]></prd_code__payroll>\r\n");
valueXmlString.append("<pay_mode protect=\"1\"><![CDATA[").append(lsPayMode).append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll protect=\"1\"><![CDATA[").append(lsPrdCodePayroll).append("]]></prd_code__payroll>\r\n");
}
else
{
valueXmlString.append("<pay_mode protect=\"0\"><![CDATA[").append(lsPayMode).append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll protect=\"1\"><![CDATA[").append(lsPrdCodePayroll).append("]]></prd_code__payroll>\r\n");
}
}
if ("tran_id__lve".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside tran_id__lve:::::::::::::::");
mcode = checkNull(genericUtility.getColumnValue("tran_id__lve", dom));
System.out.println("mcode=====["+ mcode+"]");
sql = "select appl_date, emp_code, lve_code, lve_type, no_days, lve_date_fr, lve_date_to,"+
" base_amt, ench_amt, ref_date, tran_id__payr , prd_code"+
" from empleave where empleave.tran_id = ? and use_flag = 'E' and status = 'A' ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mcode);
rs = pstmt.executeQuery();
if (rs.next())
{
ldApplDate = rs.getTimestamp("appl_date");
lsEmpCode = checkNull(rs.getString("emp_code"));
lsLveCode = checkNull(rs.getString("lve_code"));
lsLveType = checkNull(rs.getString("lve_type"));
lcDays = rs.getDouble("no_days");
ldLveDateFr = rs.getTimestamp("lve_date_fr");
ldLveDateTo = rs.getTimestamp("lve_date_to");
lcBaseAmt = rs.getDouble("base_amt");
lcEnchAmt = rs.getDouble("ench_amt");
ldRefDate = rs.getTimestamp("ref_date");
lsTranIdPayr = checkNull(rs.getString("tran_id__payr"));
lsPrdCode = checkNull(rs.getString("prd_code"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql="select work_site from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsWorkSite = checkNull(rs.getString("work_site"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql="select usr_lev from users where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, userId);
rs = pstmt.executeQuery();
if (rs.next())
{
mLevl = rs.getInt("usr_lev");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("mLevl::::::::"+mLevl);
//ls_temp = "Pravin mlevl"+ string(mlevl)
//lsTemp ="mlevl"+String.valueOf(mLevl);
//System.out.println("lsTemp::::::::"+lsTemp);
//select :ls_temp into :ls_temp from dual;
/*sql= "select ? as ls_temp from dual";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsTemp);
rs = pstmt.executeQuery();
if (rs.next())
{
lsTemp = checkNull(rs.getString("ls_temp"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}*/
if((mLevl <= 1) || (mLevl > 1) && lsWorkSite.equalsIgnoreCase(loginSite))
{
System.out.println("=======If mlevel < 0=======");
sql ="select sum(base_amt__diff) as lc_base_diff ,sum(ench_amt__diff) as lc_ench_diff"+
" from empleave_ench_arr where tran_id__lve = ? and status = 'A'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mcode);
rs = pstmt.executeQuery();
if (rs.next())
{
lcBaseDiff = rs.getDouble("lc_base_diff");
lcEnchDiff = rs.getDouble("lc_ench_diff");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(String.valueOf(lcBaseDiff) == null)
{
lcBaseDiff = 0;
}
if(String.valueOf(lcEnchDiff) == null)
{
lcEnchDiff = 0;
}
System.out.println("lcBaseDiff before Add::::::"+lcBaseDiff);
System.out.println("lcEnchDiff before Add::::::"+lcEnchDiff);
lcBaseAmt = lcBaseAmt + lcBaseDiff;
System.out.println("lcBaseAmt::::::"+lcBaseAmt);
lcEnchAmt = lcEnchAmt + lcEnchDiff;
System.out.println("lcEnchAmt::::::"+lcEnchAmt);
System.out.println("ldApplDate:::::"+ldApplDate);
System.out.println("ldLveDateFr:::::"+ldLveDateFr);
System.out.println("ldLveDateTo:::::"+ldLveDateTo);
System.out.println("ldRefDate:::::"+ldRefDate);
if(ldApplDate != null)
{
applDateStr = genericUtility.getValidDateString(ldApplDate, genericUtility.getApplDateFormat());
}
if(ldLveDateFr != null)
{
ldLveDateFrStr = genericUtility.getValidDateString(ldLveDateFr, genericUtility.getApplDateFormat());
}
if(ldLveDateTo != null)
{
ldLveDateToStr = genericUtility.getValidDateString(ldLveDateTo, genericUtility.getApplDateFormat());
}
if(ldRefDate != null)
{
ldRefDateStr = genericUtility.getValidDateString(ldRefDate, genericUtility.getApplDateFormat());
}
valueXmlString.append("<appl_date__lve><![CDATA[").append(applDateStr).append("]]></appl_date__lve>\r\n");
valueXmlString.append("<emp_code><![CDATA[").append(lsEmpCode).append("]]></emp_code>\r\n");
valueXmlString.append("<lve_code><![CDATA[").append(lsLveCode).append("]]></lve_code>\r\n");
valueXmlString.append("<lve_type><![CDATA[").append(lsLveType).append("]]></lve_type>\r\n");
valueXmlString.append("<no_days><![CDATA[").append(lcDays).append("]]></no_days>\r\n");
valueXmlString.append("<lve_date_fr><![CDATA[").append(ldLveDateFrStr).append("]]></lve_date_fr>\r\n");
valueXmlString.append("<lve_date_to><![CDATA[").append(ldLveDateToStr).append("]]></lve_date_to>\r\n");
valueXmlString.append("<base_amt__prev><![CDATA[").append(lcBaseAmt).append("]]></base_amt__prev>\r\n");
valueXmlString.append("<ench_amt__prev><![CDATA[").append(lcEnchAmt).append("]]></ench_amt__prev>\r\n");
valueXmlString.append("<ref_date><![CDATA[").append(ldRefDateStr).append("]]></ref_date>\r\n");
valueXmlString.append("<tran_id__payr><![CDATA[").append(lsTranIdPayr).append("]]></tran_id__payr>\r\n");
valueXmlString.append("<prd_code><![CDATA[").append(lsPrdCode).append("]]></prd_code>\r\n");
sql="select emp_fname, emp_mname, emp_lname, report_to , date_join , dept_code , designation, work_site,"+
" emp_fname_long, emp_mname_long, emp_lname_long"+
" from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEmpFname = checkNull(rs.getString("emp_fname"));
lsEmpMname = checkNull(rs.getString("emp_mname"));
lsEmpLname = checkNull(rs.getString("emp_lname"));
lsReportTo = checkNull(rs.getString("report_to"));
ldDateJoin = rs.getTimestamp("date_join");
lsDeptCode = checkNull(rs.getString("dept_code"));
lsDesignation = checkNull(rs.getString("designation"));
lsWorkSite = checkNull(rs.getString("work_site"));
lsEmpFnameLong = checkNull(rs.getString("emp_fname_long"));
lsEmpMnameLong = checkNull(rs.getString("emp_mname_long"));
lsEmpLnameLong = checkNull(rs.getString("emp_lname_long"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(lsEmpFnameLong != null && lsEmpFnameLong.trim().length() > 0)
{
lsEmpFname = lsEmpFnameLong;
lsEmpMname = lsEmpMnameLong;
lsEmpLname = lsEmpLnameLong;
}
System.out.println("ldDateJoin:::::"+ldDateJoin);
if(ldDateJoin != null)
{
ldDateJoinStr = genericUtility.getValidDateString(ldDateJoin, genericUtility.getApplDateFormat());
}
valueXmlString.append("<employee_emp_fname><![CDATA[").append(lsEmpFname).append("]]></employee_emp_fname>\r\n");
valueXmlString.append("<employee_emp_mname><![CDATA[").append(lsEmpMname).append("]]></employee_emp_mname>\r\n");
valueXmlString.append("<employee_emp_lname><![CDATA[").append(lsEmpLname).append("]]></employee_emp_lname>\r\n");
valueXmlString.append("<date_join><![CDATA[").append(ldDateJoinStr).append("]]></date_join>\r\n");
valueXmlString.append("<designation><![CDATA[").append(lsDesignation).append("]]></designation>\r\n");
valueXmlString.append("<dept_code><![CDATA[").append(lsDeptCode).append("]]></dept_code>\r\n");
valueXmlString.append("<work_site><![CDATA[").append(lsWorkSite).append("]]></work_site>\r\n");
sql ="select descr from department where dept_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsDeptCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsDeptDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<department_descr><![CDATA[").append(lsDeptDescr).append("]]></department_descr>\r\n");
valueXmlString.append("<auth_emp><![CDATA[").append(lsReportTo).append("]]></auth_emp>\r\n");
mcode = lsReportTo;
lsEmpFname = null;
lsEmpMname = null;
lsEmpLname = null;
sql = "select emp_fname, emp_mname, emp_lname, report_to, emp_fname_long, emp_mname_long, emp_lname_long"+
" from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mcode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEmpFname = checkNull(rs.getString("emp_fname"));
lsEmpMname = checkNull(rs.getString("emp_mname"));
lsEmpLname = checkNull(rs.getString("emp_lname"));
lsReportTo = checkNull(rs.getString("report_to"));
lsEmpFnameLong = checkNull(rs.getString("emp_fname_long"));
lsEmpMnameLong = checkNull(rs.getString("emp_mname_long"));
lsEmpLnameLong = checkNull(rs.getString("emp_lname_long"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(lsEmpFnameLong != null && lsEmpFnameLong.trim().length() > 0)
{
lsEmpFname = lsEmpFnameLong;
lsEmpMname = lsEmpMnameLong;
lsEmpLname = lsEmpLnameLong;
}
valueXmlString.append("<employee_emp_fname_1><![CDATA[").append(lsEmpFname).append("]]></employee_emp_fname_1>\r\n");
valueXmlString.append("<employee_emp_mname_1><![CDATA[").append(lsEmpMname).append("]]></employee_emp_mname_1>\r\n");
valueXmlString.append("<employee_emp_lname_1><![CDATA[").append(lsEmpLname).append("]]></employee_emp_lname_1>\r\n");
valueXmlString.append("<auth_emp_alternate><![CDATA[").append(lsReportTo).append("]]></auth_emp_alternate>\r\n");
mcode = lsReportTo;
lsEmpFname = null;
lsEmpMname = null;
lsEmpLname = null;
sql = "select emp_fname, emp_mname, emp_lname, report_to,"+
" emp_fname_long, emp_mname_long, emp_lname_long"+
" from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mcode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEmpFname = checkNull(rs.getString("emp_fname"));
lsEmpMname = checkNull(rs.getString("emp_mname"));
lsEmpLname = checkNull(rs.getString("emp_lname"));
lsReportTo = checkNull(rs.getString("report_to"));
lsEmpFnameLong = checkNull(rs.getString("emp_fname_long"));
lsEmpMnameLong = checkNull(rs.getString("emp_mname_long"));
lsEmpLnameLong = checkNull(rs.getString("emp_lname_long"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(lsEmpFnameLong != null && lsEmpFnameLong.trim().length() > 0)
{
lsEmpFname = lsEmpFnameLong;
lsEmpMname = lsEmpMnameLong;
lsEmpLname = lsEmpLnameLong;
}
valueXmlString.append("<employee_emp_fname_2><![CDATA[").append(lsEmpFname).append("]]></employee_emp_fname_2>\r\n");
valueXmlString.append("<employee_emp_mname_2><![CDATA[").append(lsEmpMname).append("]]></employee_emp_mname_2>\r\n");
valueXmlString.append("<employee_emp_lname_2><![CDATA[").append(lsEmpLname).append("]]></employee_emp_lname_2>\r\n");
sql = "select descr from leaves where lve_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsLveCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsLveDescr = checkNull(rs.getString("descr"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<leaves_descr><![CDATA[").append(lsLveDescr).append("]]></leaves_descr>\r\n");
lcBaseAmt2 = 0.00;
lcAmount = 0.00;
lsErrcode = gbfCalcEnchamt(lsEmpCode, lsPrdCode, lsLveCode, lcDays, lcAmount, xtraParams, conn);
if(String.valueOf(lcBaseAmt2) == null || lcBaseAmt2 == 0)
{
lcBaseAmt2 = lcBaseAmt;
}
System.out.println("lcBaseAmt2 ======="+lcBaseAmt2);
if(String.valueOf(lcAmount) == null || lcAmount == 0)
{
lcAmount = lcEnchAmt;
}
System.out.println("lcAmount ======="+lcAmount);
valueXmlString.append("<ench_amt__new><![CDATA[").append(lcAmount).append("]]></ench_amt__new>\r\n");
valueXmlString.append("<base_amt__new><![CDATA[").append(lcBaseAmt2).append("]]></base_amt__new>\r\n");
lcDiff = 0;
lcDiff = lcBaseAmt2 - lcBaseAmt;
System.out.println("lcDiff:::::::::"+lcDiff);
valueXmlString.append("<base_amt__diff><![CDATA[").append(lcDiff).append("]]></base_amt__diff>\r\n");
lcDiff = 0;
lcDiff = lcAmount - lcEnchAmt;
System.out.println("lcDiff2:::::::::"+lcDiff);
valueXmlString.append("<ench_amt__diff><![CDATA[").append(lcDiff).append("]]></ench_amt__diff>\r\n");
}
else if(mLevl > 1)
{
System.out.println("========If Mlevel > 1=========");
if(lsWorkSite !=null && lsWorkSite.trim().length() > 0 && lsWorkSite != loginSite)
{
ldApplDate = null;
ldLveDateFr = null;
ldLveDateTo = null;
ldRefDate = null;
ldDateJoin = null;
valueXmlString.append("<appl_date__lve><![CDATA[").append(ldApplDate).append("]]></appl_date__lve>\r\n");
valueXmlString.append("<emp_code><![CDATA[").append("").append("]]></emp_code>\r\n");
valueXmlString.append("<lve_code><![CDATA[").append("").append("]]></lve_code>\r\n");
valueXmlString.append("<lve_type><![CDATA[").append("").append("]]></lve_type>\r\n");
valueXmlString.append("<no_days><![CDATA[").append(0).append("]]></no_days>\r\n");
valueXmlString.append("<lve_date_fr><![CDATA[").append(ldLveDateFr).append("]]></lve_date_fr>\r\n");
valueXmlString.append("<lve_date_to><![CDATA[").append(ldLveDateTo).append("]]></lve_date_to>\r\n");
valueXmlString.append("<base_amt__prev><![CDATA[").append(0.00).append("]]></base_amt__prev>\r\n");
valueXmlString.append("<ench_amt__prev><![CDATA[").append(0.00).append("]]></ench_amt__prev>\r\n");
valueXmlString.append("<ref_date><![CDATA[").append(ldRefDate).append("]]></ref_date>\r\n");
valueXmlString.append("<tran_id__payr><![CDATA[").append("").append("]]></tran_id__payr>\r\n");
valueXmlString.append("<prd_code><![CDATA[").append("").append("]]></prd_code>\r\n");
valueXmlString.append("<employee_emp_fname><![CDATA[").append("").append("]]></employee_emp_fname>\r\n");
valueXmlString.append("<employee_emp_mname><![CDATA[").append("").append("]]></employee_emp_mname>\r\n");
valueXmlString.append("<employee_emp_lname><![CDATA[").append("").append("]]></employee_emp_lname>\r\n");
valueXmlString.append("<date_join><![CDATA[").append(ldDateJoin).append("]]></date_join>\r\n");
valueXmlString.append("<designation><![CDATA[").append("").append("]]></designation>\r\n");
valueXmlString.append("<dept_code><![CDATA[").append("").append("]]></dept_code>\r\n");
valueXmlString.append("<work_site><![CDATA[").append("").append("]]></work_site>\r\n");
valueXmlString.append("<department_descr><![CDATA[").append("").append("]]></department_descr>\r\n");
valueXmlString.append("<auth_emp><![CDATA[").append("").append("]]></auth_emp>\r\n");
valueXmlString.append("<employee_emp_fname_1><![CDATA[").append("").append("]]></employee_emp_fname_1>\r\n");
valueXmlString.append("<employee_emp_mname_1><![CDATA[").append("").append("]]></employee_emp_mname_1>\r\n");
valueXmlString.append("<employee_emp_lname_1><![CDATA[").append("").append("]]></employee_emp_lname_1>\r\n");
valueXmlString.append("<auth_emp_alternate><![CDATA[").append("").append("]]></auth_emp_alternate>\r\n");
valueXmlString.append("<employee_emp_fname_2><![CDATA[").append("").append("]]></employee_emp_fname_2>\r\n");
valueXmlString.append("<employee_emp_mname_2><![CDATA[").append("").append("]]></employee_emp_mname_2>\r\n");
valueXmlString.append("<employee_emp_lname_2><![CDATA[").append("").append("]]></employee_emp_lname_2>\r\n");
valueXmlString.append("<leaves_descr><![CDATA[").append("").append("]]></leaves_descr>\r\n");
valueXmlString.append("<ench_amt__new><![CDATA[").append(0.00).append("]]></ench_amt__new>\r\n");
valueXmlString.append("<base_amt__new><![CDATA[").append(0.00).append("]]></base_amt__new>\r\n");
valueXmlString.append("<base_amt__diff><![CDATA[").append(0.00).append("]]></base_amt__diff>\r\n");
valueXmlString.append("<ench_amt__diff><![CDATA[").append(0.00).append("]]></ench_amt__diff>\r\n");
}
}
System.out.println("::After Condition:::");
sql = "select work_site, cadre, grade from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsWorkSite = checkNull(rs.getString("work_site"));
lsCadre = checkNull(rs.getString("cadre"));
lsGrade = checkNull(rs.getString("grade"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsEncModeParm = admCommon.getAdmEnv(lsWorkSite,lsCadre,lsGrade ,"LVEENCPAYORVOU", todayDate, conn);
if("NULLFOUND".equalsIgnoreCase(lsEncModeParm))
{
lsEncModeParm = admCommon.getEnv("999999", "LVEENCPAYORVOU", conn);
if("NULLFOUND".equalsIgnoreCase(lsEncModeParm))
{
lsEncModeParm = "A";
}
}
if("P".equalsIgnoreCase(lsEncModeParm))
{
System.out.println("::If lsEncModeParm => P::");
valueXmlString.append("<pay_mode protect=\"1\"><![CDATA[").append("P").append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll protect=\"0\"><![CDATA[").append(lsPrdCodePayroll).append("]]></prd_code__payroll>\r\n");
}
else if("V".equalsIgnoreCase(lsEncModeParm))
{
System.out.println("::If lsEncModeParm => V::");
valueXmlString.append("<pay_mode protect=\"1\"><![CDATA[").append("V").append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll protect=\"1\"><![CDATA[").append("").append("]]></prd_code__payroll>\r\n");
}
else
{
valueXmlString.append("<pay_mode protect=\"0\"><![CDATA[").append("").append("]]></pay_mode>\r\n");
valueXmlString.append("<prd_code__payroll protect=\"1\"><![CDATA[").append(lsPrdCodePayroll).append("]]></prd_code__payroll>\r\n");
}
}
if ("pay_mode".equalsIgnoreCase(currentColumn))
{
System.out.println(":::::::::::Inside pay_mode:::::::::::::::");
lsPayMode = checkNull(genericUtility.getColumnValue("pay_mode", dom));
if("P".equalsIgnoreCase(lsPayMode))
{
valueXmlString.append("<prd_code__payroll protect=\"0\"><![CDATA[").append(lsPrdCodePayroll).append("]]></prd_code__payroll>\r\n");
}
else
{
valueXmlString.append("<prd_code__payroll protect=\"1\"><![CDATA[").append("").append("]]></prd_code__payroll>\r\n");
}
}
}
valueXmlString.append("</Detail1>");
break;
}
valueXmlString.append("</Root>");
}
catch (Exception e)
{
e.printStackTrace();
System.out.println("Exception :EmpLeaveEnchArrIC [itemChanged(String xmlString)] : ==>\n" + e.getMessage());
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
conn.close();
conn = null;
}
}
catch (Exception e)
{
System.out.println("Exception ::" + e);
e.printStackTrace();
throw new ITMException(e);
}
}
return valueXmlString.toString();
}
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag,
String xtraParams) throws RemoteException, ITMException
{
System.out.println("xmlString::::::::::::"+xmlString);
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errString = "";
E12GenericUtility genericUtility = null;
try
{
genericUtility = new E12GenericUtility();
if (xmlString != null && xmlString.trim().length() != 0)
{
dom = genericUtility.parseString(xmlString);
System.out.println("Print dom>>>> " + dom);
}
if (xmlString1 != null && xmlString1.trim().length() != 0)
{
dom1 = genericUtility.parseString(xmlString1);
}
if (xmlString2 != null && xmlString2.trim().length() != 0)
{
dom2 = genericUtility.parseString(xmlString2);
}
errString = wfValData(dom, dom1, dom2, objContext, editFlag, xtraParams);
System.out.println("ErrString :" + errString);
}
catch (Exception e)
{
System.out.println("Exception :EmpLeaveEnchArrIC :wfValData(String xmlString):" + e.getMessage() + ":");
errString = genericUtility.createErrorString(e);
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("returning from EmpLeaveEnchArrIC wfvaldata");
return errString;
}
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)
throws RemoteException, ITMException
{
PreparedStatement pstmt = null;
ResultSet rs = null;
String childNodeName = null;
StringBuffer errStringXml = null;
ITMDBAccessEJB itmDbAcess = null;
Connection conn = null;
int currentFormNo = 0;
NodeList parentList = null;
NodeList childList = null;
Node parentNode = null;
Node childNode = null;
int noOfChilds = 0;
String errString = "";
String userId = "";
String loginSite = "";
String sql = "";
String mVal = "";
String lsStatus = "";
String lsUseFlag = "";
String lsEmpCode = "";
String lsWorkSite = "";
String tranDateStr = "";
String applDateLve = "";
String lsTranId = "";
String lsTranIdLve = "";
int mlevl = 0;
int cnt = 0;
double lcDiffAmt = 0.00;
String lcDiffAmtStr = "";
String encashMode = "";
String payMode = "";
String prdCodePayroll = "";
java.util.Date mdate1 = null, mdate2 = null;
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
String errorType="";
errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
E12GenericUtility genericUtility = null;
try
{
genericUtility = new E12GenericUtility();
itmDbAcess = new ITMDBAccessEJB();
SimpleDateFormat sdf = new SimpleDateFormat( genericUtility.getApplDateFormat() );
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginSite=genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
System.out.println("::::::::::Inside Validation:::::::::::::");
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
parentList = dom.getElementsByTagName("Detail" + currentFormNo);
parentNode = parentList.item(0);
childList = parentNode.getChildNodes();
noOfChilds = childList.getLength();
System.out.println("noOfChilds--->>>" + noOfChilds);
switch (currentFormNo)
{
case 1:
NodeList parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
NodeList childNodeList = parentNode.getChildNodes();
int childNodeListLength = childNodeList.getLength();
System.out.println("child Node List Length::::::" + childNodeListLength);
sql = "select usr_lev from users where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,userId);
rs = pstmt.executeQuery();
if (rs.next())
{
mlevl = rs.getInt("usr_lev");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
for (int ctr = 0; ctr < childNodeListLength; ctr++)
{
childNode = childNodeList.item(ctr);
System.out.println("childNode" + childNode);
if (childNode.getNodeType() != Node.ELEMENT_NODE)
{
continue;
}
childNodeName = childNode.getNodeName();
System.out.println("childNodeName.editFlag." + childNodeName + "" + editFlag);
System.out.println("@V@ Edit flag :- [" + editFlag + "");
if("tran_id__lve".equalsIgnoreCase(childNodeName))
{
System.out.println("::::::Validation tran_id__lve ::::::::");
mVal = genericUtility.getColumnValue("tran_id__lve", dom);
System.out.println("tran_id:::::::::"+mVal);
sql ="select status , use_flag, emp_code from empleave where empleave.tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,mVal);
rs = pstmt.executeQuery();
if (rs.next())
{
lsStatus = checkNull(rs.getString("status"));
lsUseFlag = checkNull(rs.getString("use_flag"));
lsEmpCode = checkNull(rs.getString("emp_code"));
}
else
{
errList.add("VTLVEENC1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTLVEENC1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(lsUseFlag == null || !"E".equalsIgnoreCase(lsUseFlag))
{
errList.add("VMTRNID1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMTRNID1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
if(lsStatus == null || !"A".equalsIgnoreCase(lsStatus))
{
errList.add("UNCONTRAN");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "UNCONTRAN");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
if(mlevl > 1)
{
sql = "select work_site from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsWorkSite = checkNull(rs.getString("work_site"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(lsWorkSite != null && lsWorkSite.trim().length() > 0 && !lsWorkSite.equalsIgnoreCase(loginSite))
{
errList.add("VMSITE10");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMSITE10");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
if("tran_date".equalsIgnoreCase(childNodeName))
{
System.out.println("::::::Validation tran_date ::::::::");
tranDateStr = checkNull( genericUtility.getColumnValue("tran_date", dom) );
mdate1 = sdf.parse( tranDateStr );
System.out.println("Tran Date::::::::::"+mdate1);
applDateLve = checkNull( genericUtility.getColumnValue("appl_date__lve", dom) );
System.out.println("Appl Date::::::::::"+applDateLve);
if(applDateLve != null && applDateLve.trim().length() > 0)
{
mdate2 = sdf.parse( applDateLve );
}
if(mdate1 != null && mdate2 != null && mdate1.before(mdate2))
{
System.out.println("Inside Condition::::");
errList.add("VTDATE1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTDATE1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
if("emp_code".equalsIgnoreCase(childNodeName))
{
System.out.println("::::::Validation emp_code ::::::::");
lsTranId = checkNull( genericUtility.getColumnValue("tran_id", dom) );
lsTranIdLve = checkNull( genericUtility.getColumnValue("tran_id__lve", dom) );
mVal = checkNull( genericUtility.getColumnValue("emp_code", dom) );
lsStatus = null;
sql = "select status from employee where emp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,mVal);
rs = pstmt.executeQuery();
if (rs.next())
{
lsStatus = checkNull(rs.getString("status"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(lsStatus != null && lsStatus.trim().length() > 0 && ("R".equalsIgnoreCase(lsStatus) || "S".equalsIgnoreCase(lsStatus)))
{
errList.add("VMEMPRL1");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VMEMPRL1");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
else
{
if(lsTranId == null || lsTranId.trim().length() == 0)
{
lsTranId = "*";
}
cnt = 0;
sql = "select count(*) as cnt from empleave_ench_arr"+
" where tran_id <> ? and emp_code = ? and tran_id__lve = ? and status = 'U'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranId);
pstmt.setString(2,mVal);
pstmt.setString(3,lsTranIdLve);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt > 0)
{
System.out.println("Inside empCode VTLVEENC05 ");
errList.add("VTLVEENC05");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTLVEENC05");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
if("ench_amt__diff".equalsIgnoreCase(childNodeName))
{
System.out.println("::::::Validation ench_amt__diff ::::::::");
lcDiffAmtStr = checkNull( genericUtility.getColumnValue("ench_amt__diff", dom) );
System.out.println("ench_amt__diff ===== "+lcDiffAmt);
lcDiffAmt = Double.parseDouble(lcDiffAmtStr);
if(String.valueOf(lcDiffAmt) == null || lcDiffAmt == 0)
{
errList.add("VTLVENAR06");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTLVENAR06");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
if("encash_mode".equalsIgnoreCase(childNodeName))
{
System.out.println("::::::Validation encash_mode ::::::::");
encashMode = checkNull( genericUtility.getColumnValue("encash_mode", dom) );
if(encashMode == null || encashMode.trim().length() == 0)
{
errList.add("VTLVEENC01");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTLVEENC01");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
if("pay_mode".equalsIgnoreCase(childNodeName))
{
System.out.println("::::::Validation pay_mode ::::::::");
payMode = checkNull( genericUtility.getColumnValue("pay_mode", dom) );
if(payMode == null || payMode.trim().length() == 0)
{
errList.add("VTLVENAR01");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTLVENAR01");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
if("prd_code__payroll".equalsIgnoreCase(childNodeName))
{
System.out.println("::::::Validation prd_code__payroll ::::::::");
payMode = checkNull( genericUtility.getColumnValue("pay_mode", dom) );
if("P".equalsIgnoreCase(payMode))
{
prdCodePayroll = checkNull( genericUtility.getColumnValue("prd_code__payroll", dom) );
if(payMode == null || payMode.trim().length() == 0)
{
errList.add("VTLVENAR02");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTLVENAR02");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
else
{
cnt = 0;
sql = "select count(1) as cnt from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,prdCodePayroll);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errList.add("VTLVENAR03");
errFields.add(childNodeName.toLowerCase());
errorType = errorType(conn, "VTLVENAR03");
if(errorType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
}
}
if (errList != null && errList.size() > 0)
{
System.out.println("errList==[" + errList + "]");
int errListSize = errList.size();
System.out.println("errListSize:::::::[" + errListSize + "]");
System.out.println("in error::::::::::");
for (int i = 0; i < errListSize; i++)
{
System.out.println("in error For:::::::::::::::");
String errCode = (String) errList.get(i);
String errFldName = (String) errFields.get(i);
System.out.println("errCode .........." + errCode);
errString = itmDbAcess.getErrorString(errFldName, errCode, userId, "", conn);
System.out.println("errString is : ::::>>>> " + errString);
String msgType = errorType(conn, errCode);
if (errString.length() > 0)
{
String bifurErrString = errString.substring(errString.indexOf("<Errors>") + 8,errString.indexOf("<trace>"));
bifurErrString = bifurErrString + errString.substring(errString.indexOf("</trace>") + 8,errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
System.out.println("errStringXml .........." + errStringXml);
errString = "";
}
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
errList.clear();
errFields.clear();
errStringXml.append("</Errors></Root>\r\n");
}
else
{
errStringXml = new StringBuffer("");
}
System.out.println("errStringXml.toString()---2= "+errStringXml.toString());
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (conn != null)
{
conn.close();
conn = null;
}
}
catch (Exception e)
{
System.out.println("Exception ::" + e);
e.printStackTrace();
throw new ITMException(e);
}
}
errString = errStringXml.toString();
return errString;
}
public String gbfCalcEnchamt(String asEmpCode , String asPrdCode, String asLvecode, double acNodays , double acEnchAmt , String xtraParams, Connection conn)
throws RemoteException, ITMException
{
System.out.println(":::::Inside gbfCalcEnchamt method :::::::");
E12GenericUtility genericUtility = null;
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = "";
String userId = "";
String errString = "";
String lsAdCode = "";
String lsAdCode1 = "";
String lsSite = "";
String lsGrade = "";
String lsCadre = "";
String lsLveTblno = "";
String lsEncashable = "";
String lsPropDays = "";
String lsRndOff = "";
int cnt = 0;
int liPropDays = 0;
double lcBaseAmt = 0.0;
double lcBAmt = 0.0;
double lcRndTo = 0.0;
int intPropDays = 0;
Timestamp ldDate = null;
try
{
genericUtility = new E12GenericUtility();
UtilMethods utilMethod = new UtilMethods();
AdmCommon admCommon = new AdmCommon();
ITMDBAccessEJB itmDbAccess = new ITMDBAccessEJB();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
conn = getConnection();
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
acEnchAmt = 0.00 ;
cnt = 0 ;
liPropDays = 0;
ldDate = utilMethod.dateTime(utilMethod.today());
sql = "select work_site, grade, cadre from employee where emp_code = ? " ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,asEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsSite = checkNull(rs.getString("work_site"));
lsGrade = checkNull(rs.getString("grade"));
lsCadre = checkNull(rs.getString("cadre"));
}
else if(!(rs.next()))
{
System.out.println("Line No:---------1334 DS000 ");
errString=checkNull(itmDbAccess.getErrorString("", "DS000", userId, "", conn));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select lve_tblno from grade_site_lvetbl where site_code = ? and grade_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsSite);
pstmt.setString(2,lsGrade);
rs = pstmt.executeQuery();
if (rs.next())
{
lsLveTblno = checkNull(rs.getString("lve_tblno"));
}
else if(!(rs.next())|| lsLveTblno == null || lsLveTblno.trim().length() == 0)
{
sql = "select lve_tblno from cadre_site_lvetbl where site_code = ? and cadre_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsSite);
pstmt.setString(2,lsCadre);
rs = pstmt.executeQuery();
if (rs.next())
{
lsLveTblno = checkNull(rs.getString("lve_tblno"));
}
else if(!(rs.next())|| lsLveTblno == null || lsLveTblno.trim().length() == 0)
{
System.out.println("Line No:---------1371 DS000 ");
errString=checkNull(itmDbAccess.getErrorString("", "DS000", userId, "", conn));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select encashable from lvetable where lve_tblno = ? and lve_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsLveTblno);
pstmt.setString(2,asLvecode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEncashable = checkNull(rs.getString("encashable"));
}
else if(!(rs.next()))
{
System.out.println("Line No:---------1411 DS000 ");
errString=checkNull(itmDbAccess.getErrorString("", "DS000", userId, "", conn));
return errString;
}
else if(!("Y".equalsIgnoreCase(lsEncashable)))
{
errString=checkNull(itmDbAccess.getErrorString("", "VELVE3", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsAdCode = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, asLvecode+"_ENCON", ldDate, conn);
if(utilMethod.pos(lsAdCode, "ERR") > 0 || utilMethod.pos(lsAdCode, "NULL") > 0 || lsAdCode.trim().length() == 0)
{
lsAdCode = admCommon.getEnv("999999", asLvecode+"_ENCON", conn);
if(lsAdCode == "NULLFOUND")
{
lsAdCode = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, "PL_ENCON", ldDate, conn);
if(utilMethod.pos(lsAdCode, "ERR") > 0 || utilMethod.pos(lsAdCode, "NULL") > 0 || lsAdCode == null || lsAdCode.trim().length() == 0)
{
lsAdCode = admCommon.getEnv("999999","PL_ENCON", conn);
}
}
}
if(lsAdCode == "NULLFOUND")
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVAR1", userId, "", conn));
return errString;
}
else if(lsAdCode == null || lsAdCode.trim().length() == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
sql = "select count(*) as cnt from allwdedn where ad_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsAdCode);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if(cnt == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsAdCode1 = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, asLvecode+"_ENC", ldDate, conn);
if(utilMethod.pos(lsAdCode1, "ERR") > 0 || utilMethod.pos(lsAdCode1, "NULL") > 0 || lsAdCode1 == null || lsAdCode1.trim().length() == 0)
{
lsAdCode1 = admCommon.getEnv("999999", asLvecode+"_ENC", conn);
if(lsAdCode1 == "NULLFOUND")
{
lsAdCode1 = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, "PL_ENC", ldDate, conn);
if(utilMethod.pos(lsAdCode1, "ERR") > 0 || utilMethod.pos(lsAdCode1, "NULL") > 0 || lsAdCode1 == null || lsAdCode1.trim().length() == 0)
{
lsAdCode1 = admCommon.getEnv("999999","PL_ENC", conn);
}
}
}
if(lsAdCode1 == "NULLFOUND")
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVAR1", userId, "", conn));
return errString;
}
else if(lsAdCode1 == null || lsAdCode1.trim().length() == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
sql = "select count(*) as cnt from allwdedn where ad_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsAdCode1);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if(cnt == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsPropDays = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, asLvecode+"_PROP", ldDate, conn);
if(utilMethod.pos(lsPropDays, "ERR") > 0 || utilMethod.pos(lsPropDays, "NULL") > 0 || lsPropDays == null || lsPropDays.trim().length() == 0)
{
lsPropDays = admCommon.getEnv("999999", asLvecode+"_PROP", conn);
if(lsPropDays == "NULLFOUND")
{
lsPropDays = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, asLvecode + "PL_PROP", ldDate, conn);
if(utilMethod.pos(lsPropDays, "ERR") > 0 || utilMethod.pos(lsPropDays, "NULL") > 0 || lsPropDays == null || lsPropDays.trim().length() == 0)
{
lsPropDays = admCommon.getEnv("999999",asLvecode + "PL_PROP", conn);
}
}
}
if(lsPropDays == "NULLFOUND")
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVAR1", userId, "", conn));
return errString;
}
else if(lsPropDays == null || lsPropDays.trim().length() == 0 || intPropDays == 0)
{
lsPropDays = admCommon.getEnv("999999", "PL_PROP/"+ asLvecode + "_PROP", conn);
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
intPropDays = Integer.parseInt(lsPropDays);
sql = "select amount ,base_amt from Payroll_projdet"+
" where prd_code = ? and emp_code = ? and ad_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,asPrdCode);
pstmt.setString(2,asEmpCode);
pstmt.setString(3,lsAdCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lcBaseAmt = rs.getDouble("amount");
lcBAmt = rs.getDouble("base_amt");
}
else if(!(rs.next()))
{
System.out.println("Line No:---------1575 DS000 ");
errString=checkNull(itmDbAccess.getErrorString("", "DS000", userId, "", conn));
return errString;
}
else if(String.valueOf(lcBaseAmt) == null || lcBaseAmt <= 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VTLVENCH", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
acEnchAmt = (lcBaseAmt * acNodays) / liPropDays;
sql = "select rnd_off , rnd_to from allwdedn where ad_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsAdCode1);
rs = pstmt.executeQuery();
if (rs.next())
{
lsRndOff = checkNull(rs.getString("rnd_off"));
lcRndTo = rs.getDouble("rnd_to");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
acEnchAmt = admCommon.gfGetRndAmt(acEnchAmt, lsRndOff, lcRndTo);
}
catch (Exception e)
{
e.printStackTrace();
System.out.println("Exception :EmpLeaveEnchArrIC [itemChanged(String xmlString)] : ==>\n" + e.getMessage());
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
conn.close();
conn = null;
}
}
catch (Exception e)
{
System.out.println("Exception ::" + e);
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
private String errorType(Connection conn, String errorCode) throws ITMException
{
String msgType = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
if (conn == null)
{
System.out.println("Connection is null");
} else
{
System.out.println("Connection is not null");
}
String sql = " SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
if (rs.next())
{
msgType = rs.getString("MSG_TYPE");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return msgType;
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
}
return input;
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
public interface EmpLeaveEnchArrICLocal extends ValidatorLocal
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException,ITMException ;
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
public interface EmpLeaveEnchArrICRemote extends ValidatorRemote
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlString, String xmlString1,String xmlString2, String objContext, String editFlag,String xtraParams) throws RemoteException,ITMException ;
public String wfValData(Document dom, Document dom1, Document dom2,String objContext, String editFlag, String xtraParams)throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import ibase.utility.CommonConstants;
import ibase.utility.E12GenericUtility;
import ibase.webitm.bean.adm.FuncReturnBean;
import ibase.webitm.ejb.ActionHandlerEJB;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.adm.AdmCommon;
import ibase.webitm.ejb.adm.HRLogWriter;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
import ibase.webitm.utility.TransIDGenerator;
public class LveEncArrApprove extends ActionHandlerEJB implements LveEncArrApproveLocal,LveEncArrApproveRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
AdmCommon admCommon = new AdmCommon();
FinCommon finCommon = new FinCommon();
UtilMethods utilMethod = new UtilMethods();
HRLogWriter logWriter = new HRLogWriter();
String userId = "";
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
String retString = null;
String retErrString = "";
Connection conn = null;
try
{
conn = getConnection();
System.out.println("Conn==>[" + conn + "]");
retErrString = gbfPostLogic(tranId, tranId, xtraParams, conn);
System.out.println("returning String from LveencArrApprove :confirm():==>[" + retErrString + "]");
if(retErrString == null || retErrString.trim().length() == 0)
{
conn.commit();
retString = itmDBAccess.getErrorString("", "VTAPPROVE", userId, "", conn);
}
else
{
conn.rollback();
retString = retErrString;
return retString;
}
}
catch(Exception e)
{
System.out.println("Exception :LveEncArrApprove :confirm() :" + 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 HashMap gbfPayrVouch(HashMap asVouchdata,String xtraParams,Connection conn) throws ITMException
{
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = null;
String userId = "";
String termId = "";
String errString = "";
Timestamp ldtToday = null ,mtrandate = null,mchgdate = null;
Timestamp meffdate = null ,mrefdate = null;
String mtrantype = "",mempcode = "", mrefno = "",mbankcode = "";
String mautopay = "",msitecode = "", mfinentity = "",manalcode = "";
String mconfirmed = "",mpaid = "",macctcodePay = "",mcctrcodePay = "";
String macctcode = "",mcctrcode = "" ,madcode = "",mlineno = "";
String mpaymode = "",lsBatchno = "";
double mtotamt = 0.00;
String lsCadre = "",lsGrade = "",lsEmpSite = "", lsWorkSite = "",lsPaySite = "";
String lsAutopost = "",lsSiteac = "";
String lsSuppCodeCon = "";
String lsAcctCodeAp = "";
String lsCctrCodeAp = "";
String lsCrTerm = "";
String lsKeytype = "";
String lsTranWindow = "";
String mkeystr = "";
String xmlValues = "";
String mtranid = "";
String lsCurr = "";
String lsRndOff = "";
String tranDtaeStr = "";
long llRndTo = 0;
double lcExch = 0.0;
double mtotamtBc = 0.0;
int cnt = 0;
HashMap lstrFuncReturnMap = null;
try
{
System.out.println("***********Inside gbfPayrVouch Method**************");
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
termId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"termId"));
PayrollVoucherConf PayrollVoucherConf = new PayrollVoucherConf();
//ldtToday = utilMethod.dateTime(utilMethod.today(), utilMethod.stringToTime("00:00"));
ldtToday = utilMethod.dateTime(utilMethod.today(), utilMethod.now());
mtrandate = utilMethod.dateTime(utilMethod.today());
System.out.println("ldtToday = "+ldtToday+" \nmtrandate = "+mtrandate);
lstrFuncReturnMap = new HashMap();
mtrantype = "LEN";
meffdate = null;
mempcode = " ";
mrefno = " ";
mrefdate = null;
mbankcode = " ";
mautopay = "Y";
msitecode = " ";
mfinentity = " ";
mtotamt = 0.00;
manalcode = null;
mconfirmed = "N";
mpaid = "N";
macctcodePay = " ";
mcctrcodePay = " ";
mlineno = " 1";
macctcode = " ";
mcctrcode = " ";
madcode = " ";
mchgdate = utilMethod.dateTime(utilMethod.today());
mtrandate = (Timestamp)asVouchdata.get("dvar2");
mtrantype = (String) asVouchdata.get("svar2");
meffdate = (Timestamp) asVouchdata.get("dvar6");
mempcode = (String)asVouchdata.get("svar3");
mrefno = (String)asVouchdata.get("svar4");
mrefdate = (Timestamp)asVouchdata.get("dvar2");
mbankcode = (String)asVouchdata.get("svar5");
mautopay = "Y";
msitecode = (String)asVouchdata.get("svar6");
mfinentity = (String)asVouchdata.get("svar7");
mtotamt = (double)asVouchdata.get("nvar1");
mconfirmed = "N";
mpaid = "N";
macctcodePay = (String)asVouchdata.get("svar9");
mcctrcodePay = (String)asVouchdata.get("svar10");
mlineno = " 1";
macctcode = (String)asVouchdata.get("svar11");
mcctrcode = (String)asVouchdata.get("svar12");
madcode = (String)asVouchdata.get("svar13");
mpaymode = (String)asVouchdata.get("svar14");
lsBatchno = " ";
do
{
sql= "select cadre, grade, emp_site, work_site, pay_site from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,mempcode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsCadre =checkNull(rs.getString("cadre"));
lsGrade = checkNull(rs.getString("grade"));
lsEmpSite = checkNull(rs.getString("emp_site"));
lsWorkSite = checkNull(rs.getString("work_site"));
lsPaySite = checkNull(rs.getString("pay_site"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsAutopost = admCommon.getAdmEnv(msitecode, lsCadre, lsGrade, "AUTO_POST", mtrandate, conn);
System.out.println("lsAutopost -----["+lsAutopost);
if("ERR~t<NULLFOUND>".equalsIgnoreCase(lsAutopost))
{
lsAutopost = admCommon.getEnv("999999", "AUTO_POST", conn);
System.out.println("lsAutopost::::::::::"+lsAutopost);
if ("NULLFOUND".equalsIgnoreCase(lsAutopost))
{
System.out.println("lsAutopost=========>"+lsAutopost);
errString=checkNull(itmDBAccess.getErrorString("", "VSENVAR1", userId, "", conn));
lstrFuncReturnMap.put("Error", errString);
return lstrFuncReturnMap;
}
}
else if("ERR~t".equalsIgnoreCase(utilMethod.left(lsAutopost, 4)));
{
System.out.println("lsAutopost--------->"+lsAutopost);
errString = utilMethod.mid(lsAutopost, 5)+"Could not fetch environment <AUTO_POST> from site_env table";
System.out.println("errString---->"+errString);
}
sql = "select site_code__acct from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,msitecode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsSiteac =checkNull(rs.getString("site_code__acct"));
}
else
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
errString=checkNull(itmDBAccess.getErrorString("", "VMPAYSITE", userId, "", conn));
lstrFuncReturnMap.put("Error", errString);
return lstrFuncReturnMap;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select supp_code__con from employee where emp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,mempcode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsSuppCodeCon =checkNull(rs.getString("supp_code__con"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(lsSuppCodeCon != null && lsSuppCodeCon.trim().length() > 0)
{
lsKeytype = "M-VOUC";
lsTranWindow = "W_MISC_VOUCHER";
}
else
{
lsKeytype = "P-VOUC";
lsTranWindow = "W_PAYR_VOUCHER";
}
sql = "select key_string from transetup where upper(tran_window) = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranWindow);
rs = pstmt.executeQuery();
if (rs.next())
{
mkeystr =checkNull(rs.getString("key_string"));
}
else
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
errString=checkNull(itmDBAccess.getErrorString("", "VTSEQ", userId, "", conn));
lstrFuncReturnMap.put("Error", errString);
return lstrFuncReturnMap;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
tranDtaeStr = genericUtility.getValidDateString(mtrandate, genericUtility.getApplDateFormat());
xmlValues = "<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
xmlValues = xmlValues + "<Header></Header>";
xmlValues = xmlValues + "<Detail1>";
xmlValues = xmlValues + "<tran_id></tran_id>";
xmlValues = xmlValues + "<tran_date>" + tranDtaeStr + "</tran_date>";
xmlValues = xmlValues + "<site_code>" + lsSiteac + "</site_code>";
xmlValues = xmlValues + "<emp_site>" + lsEmpSite + "</emp_site>";
xmlValues = xmlValues + "<pay_site>" + lsPaySite + "</pay_site>";
xmlValues = xmlValues + "<work_site>" + lsWorkSite + "</work_site>";
xmlValues = xmlValues + "</Detail1></Root>";
System.out.println("xmlValues :[" + xmlValues + "]");
TransIDGenerator tg = new TransIDGenerator(xmlValues, "BASE", CommonConstants.DB_NAME);
mtranid = tg.generateTranSeqID(lsKeytype, "tran_id", mkeystr, conn);
tg = null;
System.out.println("Generated Tran ID ::[" + mtranid + "]");
if ("ERROR".equalsIgnoreCase(mtranid) || mtranid == null || mtranid.trim().length() == 0)
{
errString = itmDBAccess.getErrorString("", "VTTRANID", userId, "", conn);
lstrFuncReturnMap.put("Error", errString);
return lstrFuncReturnMap;
}
sql = "select curr_code from finent where fin_entity = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,mfinentity);
rs = pstmt.executeQuery();
if (rs.next())
{
lsCurr =checkNull(rs.getString("curr_code"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select std_exrt from currency where curr_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsCurr);
rs = pstmt.executeQuery();
if (rs.next())
{
lcExch = rs.getDouble("std_exrt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
mtotamtBc = mtotamt * lcExch;
if(lsSuppCodeCon != null && lsSuppCodeCon.trim().length() > 0)
{
sql = "select acct_code__ap, cctr_code__ap, cr_term from supplier where supp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsSuppCodeCon);
rs = pstmt.executeQuery();
if (rs.next())
{
lsAcctCodeAp =checkNull(rs.getString("acct_code__ap"));
lsCctrCodeAp =checkNull(rs.getString("cctr_code__ap"));
lsCrTerm =checkNull(rs.getString("cr_term"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsRndOff = finCommon.getFinparams("999999", "PAY_RND_OFF", conn).trim();
if(!"NULLFOUND".equalsIgnoreCase(lsRndOff))
{
llRndTo = 1;
}
else
{
lsRndOff = "N";
llRndTo = 0;
}
sql = "insert into misc_voucher" +
"(tran_id, tran_date, tran_type, eff_date, vouch_type, sundry_type, sundry_code," +
" acct_code__ap, cctr_code__ap, site_code, fin_entity, due_date," +
"curr_code, cr_term, auto_pay, bank_code, entry_batch_no," +
"confirmed, chg_date, chg_user, chg_term, exch_rate," +
"net_amt, net_amt__bc, tot_amt,rnd_off, rnd_to," +
" sundry_type__pay, sundry_code__pay," +
"acct_code__pay, cctr_code__pay, pay_mode," +
"adv_amt, bill_amt, tax_amt, tran_mode )" +
"Values ( ? , ? ,'PAY', ? , 'O', 'S', ? , ? , ? , ? , ? , ? ," +
" ? , ? , ? , ? , ? ,'N', ? , ? , ? , ? , ? , ? , ? ," +
" ? , ? , 'S', ? , ?, ?, 'Q', 0, ?, 0, 'A')";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mtranid);
pstmt.setTimestamp(2,mtrandate);
pstmt.setTimestamp(3,meffdate);
pstmt.setString(4,lsSuppCodeCon);
pstmt.setString(5,lsAcctCodeAp);
pstmt.setString(6,lsCctrCodeAp);
pstmt.setString(7,lsSiteac);
pstmt.setString(8,mfinentity);
pstmt.setTimestamp(9,mtrandate);
pstmt.setString(10,lsCurr);
pstmt.setString(11,lsCrTerm);
pstmt.setString(12,mautopay);
pstmt.setString(13,mbankcode);
pstmt.setString(14,lsBatchno);
pstmt.setTimestamp(15,ldtToday);
pstmt.setString(16,userId);
pstmt.setString(17,termId);
pstmt.setDouble(18,lcExch);
pstmt.setDouble(19,mtotamt);
pstmt.setDouble(20,mtotamtBc);
pstmt.setDouble(21,mtotamt);
pstmt.setString(22,lsRndOff);
pstmt.setLong(23,llRndTo);
pstmt.setString(24,lsSuppCodeCon);
pstmt.setString(25,lsAcctCodeAp);
pstmt.setString(26,lsCctrCodeAp);
pstmt.setDouble(27,mtotamt);
cnt = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 1)
{
sql = "insert into misc_vouchdet(tran_id, line_no, acct_code, cctr_code, amount, apply_tax)"+
" values( ?, ? , ? , ? , ? ,'Y')";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,mtranid);
pstmt.setString(2,mlineno);
pstmt.setString(3,macctcode);
pstmt.setString(4,mcctrcode);
pstmt.setDouble(5,mtotamt);
int insrtCnt = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(insrtCnt == 1)
{
System.out.println("["+insrtCnt+"] rows inserted into misc_vouchdet successfully");
}
else
{
System.out.println("Data Insertion Failed - misc_vouchdet");
}
}
}
else
{
sql = "insert into payr_voucher (tran_id, tran_date, tran_type, eff_date," +
"emp_code, ref_no, ref_date, bank_code, auto_pay, pay_mode," +
"chg_date, chg_user, chg_term, site_code, fin_entity," +
"anal_code, confirmed, paid, acct_code__pay, cctr_code__pay," +
"tot_amt, entry_batch_no, vouch_type, curr_code, exch_rate, tot_amt__bc)" +
"values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,'O', ?, ?, ? )";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mtranid);
pstmt.setTimestamp(2,mtrandate);
pstmt.setString(3,mtrantype);
pstmt.setTimestamp(4,meffdate);
pstmt.setString(5,mempcode);
pstmt.setString(6,mrefno);
pstmt.setTimestamp(7,mrefdate);
pstmt.setString(8,mbankcode);
pstmt.setString(9,mautopay);
pstmt.setString(10,mpaymode);
pstmt.setTimestamp(11,mchgdate);
pstmt.setString(12,userId);
pstmt.setString(13,termId);
pstmt.setString(14,lsSiteac);
pstmt.setString(15,mfinentity);
pstmt.setString(16,manalcode);
pstmt.setString(17,mconfirmed);
pstmt.setString(18,mpaid);
pstmt.setString(19,macctcodePay);
pstmt.setString(20,mcctrcodePay);
pstmt.setDouble(21,mtotamt);
pstmt.setString(22,lsBatchno);
pstmt.setString(23,lsCurr);
pstmt.setDouble(24,lcExch);
pstmt.setDouble(25,mtotamtBc);
cnt = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 1)
{
sql = "insert into payr_vouchdet(tran_id, line_no, acct_code,cctr_code, amount, ad_code)"+
" values( ? , ? , ? , ? , ? , ?)";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,mtranid);
pstmt.setString(2,mlineno);
pstmt.setString(3,macctcode);
pstmt.setString(4,mcctrcode);
pstmt.setDouble(5,mtotamt);
pstmt.setString(6,madcode);
int insrtCnt = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(insrtCnt == 1)
{
System.out.println("["+insrtCnt+"] rows inserted into payr_vouchdet successfully");
}
else
{
System.out.println("Data Insertion Failed - payr_vouchdet");
}
}
}
System.out.println("mtranid ------>"+mtranid);
if((errString == null || errString.trim().length() == 0) && "Y".equalsIgnoreCase(lsAutopost))
{
if(lsSuppCodeCon != null && lsSuppCodeCon.trim().length() > 0)
{
//ls_errcode = nvo_misc_voucher.gbf_retrieve_misc_vou(mtranid, mtranid, 1, ls_warning)
}
else
{
errString = checkNull(PayrollVoucherConf.confirm(mtranid, xtraParams, conn));
}
}
break;
} while (true);
lstrFuncReturnMap.put("Error", errString);
lstrFuncReturnMap.put("TranId", mtranid);
}
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 lstrFuncReturnMap;
}
public String gbfCalcEnchamt(String asEmpCode , String asPrdCode, String asLvecode, double acNodays , double acEnchAmt , String xtraParams, Connection conn)
throws RemoteException, ITMException
{
E12GenericUtility genericUtility = null;
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = "";
String userId = "";
String errString = "";
String lsAdCode = "";
String lsAdCode1 = "";
String lsSite = "";
String lsGrade = "";
String lsCadre = "";
String lsLveTblno = "";
String lsEncashable = "";
String lsPropDays = "";
String lsRndOff = "";
String lsLveCon = "";
int cnt = 0;
int liPropDays = 0;
double lcBaseAmt = 0.0;
double lcBAmt = 0.0;
double lcRndTo = 0.0;
int intPropDays = 0;
Timestamp ldDate = null;
try
{
System.out.println(":::::Inside gbfCalcEnchamt method :::::::");
genericUtility = new E12GenericUtility();
UtilMethods utilMethod = new UtilMethods();
AdmCommon admCommon = new AdmCommon();
ITMDBAccessEJB itmDbAccess = new ITMDBAccessEJB();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
acEnchAmt = 0.00 ;
cnt = 0 ;
liPropDays = 0;
ldDate = utilMethod.dateTime(utilMethod.today());
sql = "select work_site, grade, cadre from employee where emp_code = ? " ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,asEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsSite = checkNull(rs.getString("work_site"));
lsGrade = checkNull(rs.getString("grade"));
lsCadre = checkNull(rs.getString("cadre"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select lve_tblno from grade_site_lvetbl where site_code = ? and grade_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsSite);
pstmt.setString(2,lsGrade);
rs = pstmt.executeQuery();
if (rs.next())
{
lsLveTblno = checkNull(rs.getString("lve_tblno"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
/*else if(!(rs.next())|| lsLveTblno == null || lsLveTblno.trim().length() == 0)
{
sql = "select lve_tblno from cadre_site_lvetbl where site_code = ? and cadre_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsSite);
pstmt.setString(2,lsCadre);
rs = pstmt.executeQuery();
if (rs.next())
{
lsLveTblno = checkNull(rs.getString("lve_tblno"));
}
else if(!(rs.next()) || lsLveTblno == null || lsLveTblno.trim().length() == 0)
{
System.out.println("Line No:---------1371 DS000 ");
errString=checkNull(itmDbAccess.getErrorString("", "DS000", userId, "", conn));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}*/
if(lsLveTblno == null || lsLveTblno.trim().length() == 0)
{
sql = "select lve_tblno from cadre_site_lvetbl where site_code = ? and cadre_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsSite);
pstmt.setString(2,lsCadre);
rs = pstmt.executeQuery();
if (rs.next())
{
lsLveTblno = checkNull(rs.getString("lve_tblno"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(!(rs.next()) || lsLveTblno == null || lsLveTblno.trim().length() == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "DS000", userId, "", conn));
return errString;
}
}
sql = "select encashable from lvetable where lve_tblno = ? and lve_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsLveTblno);
pstmt.setString(2,asLvecode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEncashable = checkNull(rs.getString("encashable"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(!"Y".equalsIgnoreCase(lsEncashable))
{
errString=checkNull(itmDbAccess.getErrorString("", "VELVE3", userId, "", conn));
return errString;
}
lsLveCon = asLvecode.trim() +"_ENCON";
lsAdCode = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, lsLveCon, ldDate, conn);
if(utilMethod.pos(lsAdCode, "ERR") > 0 || utilMethod.pos(lsAdCode, "NULL") > 0 || lsAdCode.trim().length() == 0)
{
lsAdCode = admCommon.getEnv("999999", lsLveCon, conn);
if(lsAdCode == "NULLFOUND")
{
lsAdCode = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, "PL_ENCON", ldDate, conn);
if(utilMethod.pos(lsAdCode, "ERR") > 0 || utilMethod.pos(lsAdCode, "NULL") > 0 || lsAdCode == null || lsAdCode.trim().length() == 0)
{
lsAdCode = admCommon.getEnv("999999","PL_ENCON", conn);
}
}
}
if(lsAdCode == "NULLFOUND")
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVAR1", userId, "", conn));
return errString;
}
else if(lsAdCode == null || lsAdCode.trim().length() == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
sql = "select count(*) as cnt from allwdedn where ad_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsAdCode);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
lsLveCon = asLvecode.trim() +"_ENC";
lsAdCode1 = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, lsLveCon, ldDate, conn);
if(utilMethod.pos(lsAdCode1, "ERR") > 0 || utilMethod.pos(lsAdCode1, "NULL") > 0 || lsAdCode1 == null || lsAdCode1.trim().length() == 0)
{
lsAdCode1 = admCommon.getEnv("999999", lsLveCon, conn);
if(lsAdCode1 == "NULLFOUND")
{
lsAdCode1 = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, "PL_ENC", ldDate, conn);
if(utilMethod.pos(lsAdCode1, "ERR") > 0 || utilMethod.pos(lsAdCode1, "NULL") > 0 || lsAdCode1 == null || lsAdCode1.trim().length() == 0)
{
lsAdCode1 = admCommon.getEnv("999999","PL_ENC", conn);
}
}
}
if(lsAdCode1 == "NULLFOUND")
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVAR1", userId, "", conn));
return errString;
}
else if(lsAdCode1 == null || lsAdCode1.trim().length() == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
sql = "select count(*) as cnt from allwdedn where ad_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsAdCode1);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt = rs.getInt("cnt");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
lsLveCon = asLvecode.trim() +"_PROP";
lsPropDays = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, lsLveCon, ldDate, conn);
if(utilMethod.pos(lsPropDays, "ERR") > 0 || utilMethod.pos(lsPropDays, "NULL") > 0 || lsPropDays == null || lsPropDays.trim().length() == 0)
{
lsPropDays = admCommon.getEnv("999999", lsLveCon, conn);
if(lsPropDays == "NULLFOUND")
{
lsPropDays = admCommon.getAdmEnv(lsSite, lsCadre, lsGrade, "PL_PROP", ldDate, conn);
if(utilMethod.pos(lsPropDays, "ERR") > 0 || utilMethod.pos(lsPropDays, "NULL") > 0 || lsPropDays == null || lsPropDays.trim().length() == 0)
{
lsPropDays = admCommon.getEnv("999999", "PL_PROP", conn);
}
}
}
if(lsPropDays == "NULLFOUND")
{
errString=checkNull(itmDbAccess.getErrorString("", "VSENVAR1", userId, "", conn));
return errString;
}
else if(lsPropDays == null || lsPropDays.trim().length() == 0 || intPropDays == 0)
{
lsPropDays = admCommon.getEnv("999999", "PL_PROP", conn);
errString=checkNull(itmDbAccess.getErrorString("", "VSENVVAL1", userId, "", conn));
return errString;
}
intPropDays = Integer.parseInt(lsPropDays);
sql = "select amount ,base_amt from Payroll_projdet"+
" where prd_code = ? and emp_code = ? and ad_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,asPrdCode);
pstmt.setString(2,asEmpCode);
pstmt.setString(3,lsAdCode);
rs = pstmt.executeQuery();
if(rs.next())
{
lcBaseAmt = rs.getDouble("amount");
lcBAmt = rs.getDouble("base_amt");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(String.valueOf(lcBaseAmt) == null || lcBaseAmt <= 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VTLVENCH", userId, "", conn));
return errString;
}
acEnchAmt = (lcBaseAmt * acNodays) / liPropDays;
System.out.println("acEnchAmt == "+acEnchAmt);
sql = "select rnd_off, rnd_to from allwdedn where ad_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsAdCode1);
rs = pstmt.executeQuery();
if(rs.next())
{
lsRndOff = checkNull(rs.getString("rnd_off"));
lcRndTo = rs.getDouble("rnd_to");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
acEnchAmt = admCommon.gfGetRndAmt(acEnchAmt, lsRndOff, lcRndTo);
}
catch (Exception e)
{
e.printStackTrace();
System.out.println("Exception :LveEncArrApprove [ gbfCalcEnchamt : ==>\n" + e.getMessage());
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
System.out.println("Exception ::" + e);
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
public String gbfPostLogic(String asTranidFr, String asTranidTo, String xtraParams,Connection conn) throws ITMException
{
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = null;
String errString = "";
String lsEmpCode = "";
String lsTranid = "";
String lsCadre = "";
String lsGrade = "";
String lsPayrollOrVoucher = "";
String lsPayrollPeriod = "";
String userId = "";
String lsWorkSite = "";
int cnt = 0;
Timestamp ldDate = null;
try
{
System.out.println("***********Inside Post Logic Method**************");
genericUtility = new E12GenericUtility();
ITMDBAccessEJB itmDbAccess = new ITMDBAccessEJB();
ldDate = utilMethod.dateTime(utilMethod.today());
System.out.println("Value of ldDate == "+ldDate);
if(asTranidFr.equalsIgnoreCase(asTranidTo))
{
lsTranid = asTranidFr;
}
sql = "select emp_code, pay_mode, prd_code__payroll from empleave_ench_arr where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsTranid);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEmpCode = checkNull(rs.getString("emp_code"));
lsPayrollOrVoucher = checkNull(rs.getString("pay_mode"));
lsPayrollPeriod = checkNull(rs.getString("prd_code__payroll"));
}
else
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
errString=checkNull(itmDbAccess.getErrorString("", "VTEMPLEVTR", userId, "", conn));
return errString;
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select work_site, cadre, grade from employee where emp_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsWorkSite =checkNull(rs.getString("work_site"));
lsCadre = checkNull(rs.getString("cadre"));
lsGrade = checkNull(rs.getString("grade"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("lsPayrollOrVoucher -------> "+lsPayrollOrVoucher);
System.out.println("lsPayrollPeriod -------> "+lsPayrollPeriod);
if(lsPayrollOrVoucher == null || lsPayrollOrVoucher.trim().length() == 0 || (!"P".equalsIgnoreCase(lsPayrollOrVoucher) && !"V".equalsIgnoreCase(lsPayrollOrVoucher)) )
{
errString=checkNull(itmDbAccess.getErrorString("", "VTLVEENC01", userId, "", conn));
return errString;
}
else if("P".equalsIgnoreCase(lsPayrollOrVoucher))
{
if(lsPayrollPeriod == null || lsPayrollPeriod.trim().length() == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VTLVEENC02", userId, "", conn));
return errString;
}
else
{
cnt = 0;
sql = "select count(1) as cnt from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsPayrollPeriod);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(cnt == 0)
{
errString=checkNull(itmDbAccess.getErrorString("", "VTLVEENC03", userId, "", conn));
return errString;
}
}
}
else
{
lsPayrollPeriod = "";
}
errString = gbfLveEnchArrApprove(lsTranid, 2, lsPayrollOrVoucher, lsPayrollPeriod, 2, xtraParams, 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;
}
public String gbfLveEnchArrApprove(String asTranid, int aiSaveflag, String asPayrollOrVoucher,
String asPayrollPeriod, int aiCommit,String xtraParams, Connection conn) throws RemoteException, ITMException
{
ResultSet rs = null;
PreparedStatement pstmt = null;
String sql = null;
String errString = "";
String userId = "";
String termId = "";
String loginEmpCode = "";
String lsRefNo = "";
String lsAdCode = "";
String lsErrcode = "";
String lsEmpCode = "";
String mlvecode = "";
String lsDept = "";
String lsLedgPostConf = "";
String lsEdiOption = "";
String lsPeriod = "";
String lsVar11 = "";
String lsVar12 = "";
String lsEmpccSal = "",mstatus = "";
String lsMonthCode = "";
String lsSite = "";
Timestamp ldVar6 = null;
String lsVar3 = "",lsVar13 ="",lsVar5 = "";
String lsVar6 = "",lsVar7 = "", lsVar14 = "";
String lsVar9 = "",lsVar10 = "";
double lcNvar1 = 0.0 , mdays = 0.0, mamt = 0.0;
Timestamp mdate1 = null, mdate3 = null;
Timestamp ldFrDate = null,ldToDate = null;
int mcnt = 0;
int row = 0;
Timestamp ldChgTime = null;
Timestamp ldVar2 = null;
HashMap lsVouchdata = null;
String lsTranId = "";
try
{
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
termId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"termId"));
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
FuncReturnBean funcBean =new FuncReturnBean();
HashMap lstrFuncReturn = new HashMap();
//ldChgTime = utilMethod.dateTime(utilMethod.today(), utilMethod.stringToTime("00:00"));
ldChgTime = utilMethod.dateTime(utilMethod.today(), utilMethod.now());
mdate3 = utilMethod.dateTime(utilMethod.today());
//ldConfDate = utilMethod.dateTime(utilMethod.today(), utilMethod.stringToTime("00:00"));
//ldConfDate = utilMethod.dateTime(utilMethod.today(), utilMethod.now());
do
{
sql = "select emp_code,lve_code,lve_date_fr,status, no_days, ench_amt__diff"+
" from empleave_ench_arr where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,asTranid);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEmpCode = checkNull(rs.getString("emp_code"));
mlvecode = checkNull(rs.getString("lve_code"));
mdate1 = rs.getTimestamp("lve_date_fr");
mstatus = checkNull(rs.getString("status"));
mdays = rs.getDouble("no_days");
mamt = rs.getDouble("ench_amt__diff");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if("A".equalsIgnoreCase(mstatus))
{
errString=checkNull(itmDBAccess.getErrorString("", "VTINVCONF1", userId, "", conn));
return errString;
}
else if("X".equalsIgnoreCase(mstatus))
{
errString=checkNull(itmDBAccess.getErrorString("", "VTSTATUS", userId, "", conn));
return errString;
}
System.out.println("aiSaveflag -------->"+aiSaveflag);
if(aiSaveflag == 2)
{
System.out.println(":::::If aiSaveflag == 2::::::::");
sql = "select code from period where fr_date <= ? and to_date >= ?";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1,mdate1);
pstmt.setTimestamp(2,mdate1);
rs = pstmt.executeQuery();
if (rs.next())
{
lsPeriod = checkNull(rs.getString("code"));
}
else
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
errString=checkNull(itmDBAccess.getErrorString("", "VTPRD1", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql= "select ad_code__ench from leaves where lve_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mlvecode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsAdCode = checkNull(rs.getString("ad_code__ench"));
}
else
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
errString=checkNull(itmDBAccess.getErrorString("", "VMLVECD1", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(lsAdCode == null || lsAdCode.trim().length() == 0)
{
errString=checkNull(itmDBAccess.getErrorString("", "VTENCADN1", userId, "", conn));
return errString;
}
sql = "select acct_code__sal,cctr_code__sal from allwdedn where ad_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsAdCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsVar11 = checkNull(rs.getString("acct_code__sal"));
lsVar12 = checkNull(rs.getString("cctr_code__sal"));
}
else
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
errString=checkNull(itmDBAccess.getErrorString("", "VTENCADN1", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("asPayrollOrVoucher --------->"+asPayrollOrVoucher);
if ("P".equalsIgnoreCase(asPayrollOrVoucher))
{
funcBean.setLsTranId(asPayrollPeriod);
System.out.println("asPayrollPeriod ---------->"+asPayrollPeriod);
System.out.println("funcBean--TranId = "+funcBean.getLsTranId());
lsMonthCode = utilMethod.mid(asPayrollPeriod.trim(), 5, 2);
System.out.println("lsMonthCode ---------->"+lsMonthCode);
sql = "select fr_date, to_date from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, asPayrollPeriod);
rs = pstmt.executeQuery();
if (rs.next())
{
ldFrDate = rs.getTimestamp("fr_date");
ldToDate = rs.getTimestamp("to_date");
}
else
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
errString=checkNull(itmDBAccess.getErrorString("", "VTPRD1", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
SimpleDateFormat sdf1 = new SimpleDateFormat("dd/mm/yyyy");
lsRefNo = String.valueOf(sdf1.format(ldFrDate)) + mlvecode;
System.out.println("lsRefNo ==>"+lsRefNo);
sql = "select count(*) as cnt from employee_mthad" +
" where emp_code = ? and month_code = ? and ad_code = ? and eff_date = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
pstmt.setString(2, lsMonthCode);
pstmt.setString(3, lsAdCode);
pstmt.setTimestamp(4,ldFrDate);
rs = pstmt.executeQuery();
if (rs.next())
{
mcnt = rs.getInt("cnt");
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("emp_code =>"+lsEmpCode);
System.out.println("lsMonthCode =>"+lsMonthCode);
System.out.println("lsAdCode =>"+lsAdCode);
System.out.println("ldFrDate =>"+ldFrDate);
System.out.println("ldToDate =>"+ldToDate);
System.out.println("mamt =>"+mamt);
System.out.println("ldChgTime =>"+ldChgTime);
System.out.println("userId =>"+userId);
System.out.println("termId =>"+termId);
if(mcnt == 0)
{
sql = "insert into employee_mthad "+
"(emp_code,month_code,ad_code,eff_date,exp_date,type,amount,"+
"chg_date,chg_user,chg_term,ref_type,ref_no)"+
" values(?,?,?,?,?,'F',?,?,?,?,'E',?)";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
pstmt.setString(2, lsMonthCode);
pstmt.setString(3, lsAdCode);
pstmt.setTimestamp(4,ldFrDate);
pstmt.setTimestamp(5,ldToDate);
pstmt.setDouble(6, mamt);
pstmt.setTimestamp(7,ldChgTime);
pstmt.setString(8, userId);
pstmt.setString(9, termId);
pstmt.setString(10, lsRefNo);
row = pstmt.executeUpdate();
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("row---->"+row);
if(row == 0)
{
errString=checkNull(itmDBAccess.getErrorString("", "DS000NR", userId, "", conn));
return errString;
}
}
else
{
sql="update employee_mthad set ref_type = 'E',ref_no = ?, type = 'F', amount = amount + ? "+
" where emp_code = ? and month_code = ? and ad_code = ? and eff_date = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsRefNo);
pstmt.setDouble(2, mamt);
pstmt.setString(3, lsEmpCode);
pstmt.setString(4, lsMonthCode);
pstmt.setString(5, lsAdCode);
pstmt.setTimestamp(6,ldFrDate);
row = pstmt.executeUpdate();
System.out.println("update employee_mthad row ---> "+row);
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(row == 0)
{
errString=checkNull(itmDBAccess.getErrorString("", "DS000NR", userId, "", conn));
return errString;
}
}
sql= "select edi_option from transetup where tran_window = 'w_emp_mthad'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEdiOption = checkNull(rs.getString("edi_option"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("lsEdiOption = "+lsEdiOption);
}
else if("V".equalsIgnoreCase(asPayrollOrVoucher))
{
ldVar2 = mdate3;
sql = "select ledg_post_conf from transetup where upper(tran_window) = 'W_EMPLEAVE'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next())
{
lsLedgPostConf = checkNull(rs.getString("ledg_post_conf"));
}
else
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
errString=checkNull(itmDBAccess.getErrorString("", "VTSEQ", userId, "", conn));
return errString;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if("Y".equalsIgnoreCase(lsLedgPostConf))
{
if(ldVar2 != mdate3)
{
ldVar2 = mdate3;
}
}
sql = "select work_site from employee where emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsSite = checkNull(rs.getString("work_site"));
lsErrcode = finCommon.nfCheckPeriod("ADM", ldVar2, lsSite, conn);
if(lsErrcode == null || lsErrcode.trim().length() == 0)
{
sql="select site_code__acct from site where site_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsSite);
rs = pstmt.executeQuery();
if (rs.next())
{
lsSite = checkNull(rs.getString("site_code__acct"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsErrcode = finCommon.nfCheckPeriod("FIN", ldVar2, lsSite, conn);
}
if(lsErrcode != null && lsErrcode.trim().length() > 0)
{
errString = itmDBAccess.getErrorString("", lsErrcode, userId, "", conn);
break;
}
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
ldVar6 = ldVar2;
lsVar3 = lsEmpCode;
lcNvar1 = mamt;
lsVar13 = lsAdCode;
lsVar5 = "";
sql= "select employee.pay_site, site.fin_entity, dept_code , employee.bank_code, employee.pay_mode, employee.cctr_code__sal"+
" from employee, site where employee.emp_code = ? and employee.pay_site = site.site_code";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsEmpCode);
rs = pstmt.executeQuery();
if (rs.next())
{
lsVar6 = checkNull(rs.getString("pay_site"));
lsVar7 = checkNull(rs.getString("fin_entity"));
lsDept = checkNull(rs.getString("dept_code"));
lsVar5 = checkNull(rs.getString("bank_code"));
lsVar14 = checkNull(rs.getString("pay_mode"));
lsEmpccSal = checkNull(rs.getString("cctr_code__sal"));
}
if(lsVar5 == null || lsVar5.trim().length() == 0)
{
lsVar5 = admCommon.getEnv("999999", "BANKCODE", conn);
if("NULLFOUND".equalsIgnoreCase(lsVar5))
{
errString=checkNull(itmDBAccess.getErrorString("", "VSENVVAR1", userId, "", conn));
return errString;
}
}
if(lsEmpccSal != null && lsEmpccSal.trim().length() > 0)
{
lsVar12 = lsEmpccSal;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select acct_code, cctr_code from department where dept_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsDept);
rs = pstmt.executeQuery();
if (rs.next())
{
lsVar9 = checkNull(rs.getString("acct_code"));
lsVar10 = checkNull(rs.getString("cctr_code"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
lsVouchdata = new HashMap();
lsVouchdata.put("dvar2", ldVar2);
lsVouchdata.put("dvar6", ldVar6);
lsVouchdata.put("svar2", "LEN");
lsVouchdata.put("svar3", lsVar3);
lsVouchdata.put("svar4", asTranid);
lsVouchdata.put("svar5", lsVar5);
lsVouchdata.put("svar6", lsVar6);
lsVouchdata.put("svar7", lsVar7);
lsVouchdata.put("nvar1", lcNvar1);
lsVouchdata.put("svar9", lsVar9);
lsVouchdata.put("svar10", lsVar10);
lsVouchdata.put("svar11", lsVar11);
lsVouchdata.put("svar12", lsVar12);
lsVouchdata.put("svar13", lsVar13);
lsVouchdata.put("svar14", lsVar14);
lstrFuncReturn = gbfPayrVouch(lsVouchdata, xtraParams, conn);
lsTranId = (String) lstrFuncReturn.get("TranId");
lsErrcode = (String) lstrFuncReturn.get("Error");
System.out.println("lsErrcode ---->"+lsErrcode);
if(lsErrcode !=null && lsErrcode.trim().length() > 0)
{
break;
}
}
else
{
lsErrcode = " "+"No Processing Done";
break;
}
sql = "update empleave_ench_arr set status = 'A', status_date = ? ,emp_code__aprv = ? ,tran_id__payr = ?,"+
"aprv_date = ?,pay_mode = ? where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, mdate3);
pstmt.setString(2,loginEmpCode);
pstmt.setString(3,lsTranId);
pstmt.setTimestamp(4, ldChgTime);
pstmt.setString(5, asPayrollOrVoucher);
pstmt.setString(6, asTranid);
row = pstmt.executeUpdate();
if(row > 0)
{
System.out.println("Status succesfully updated....");
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
else
{
System.out.println(":::::If aiSaveflag not 2::::::::");
sql = "update empleave_ench_arr set status = 'A', status_date = ?, emp_code__aprv = ? ," +
"tran_id__payr = ?, aprv_date = ? , pay_mode = ? where tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, mdate3);
pstmt.setString(2,loginEmpCode);
pstmt.setString(3,lsTranId);
pstmt.setTimestamp(4,ldChgTime);
pstmt.setString(5, asPayrollOrVoucher);
pstmt.setString(6, asTranid);
row = pstmt.executeUpdate();
if(row > 0)
{
System.out.println("Status succesfully updated....");
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
break;
} while (true);
if(errString == null || errString.trim().length() == 0)
{
sql = "select edi_option from transetup where tran_window = 'w_empleave_ench_arr'";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next())
{
lsEdiOption = checkNull(rs.getString("edi_option"));
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
}
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 = "";
}
return input;
}
}
package ibase.webitm.ejb.adm.adv;
import java.rmi.RemoteException;
import java.sql.Connection;
import ibase.webitm.utility.ITMException;
public interface LveEncArrApproveLocal
{
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
public String gbfPostLogic(String asTranidFr, String asTranidTo, String xtraParams,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 LveEncArrApproveRemote
{
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
public String gbfPostLogic(String asTranidFr, String asTranidTo, String xtraParams,Connection conn) throws ITMException;
}
......@@ -83,6 +83,7 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
}
catch(Exception e )
{
System.out.println("Exception from actionHandler method --["+ e.getMessage() +"]");
e.printStackTrace();
throw new ITMException(e);
......@@ -93,7 +94,6 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
}
public String actionHandler(String tranID, String xtraParams, String forcedFlag, Connection conn) throws SQLException, ITMException
{
System.out.println("Inside actionHandler tranID=["+tranID+"]xtraParams=["+xtraParams+"]forcedFlag=["+forcedFlag+"]");
String sql = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
......@@ -123,9 +123,6 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
int cnt = 0;
int count =0;
double enchAmt = 0.0;
//Modified by Dipesh p. on [12/07/2019][Start]
double enchAmtDiff = 0.0;
//Modified by Dipesh p. on [12/07/2019][End]
int updCount = 0;
String tranIdLve = "";
Timestamp ConfDateCurrent = null;
......@@ -137,10 +134,6 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
//Modified by Anjali R. on [25/09/2018][Start]
String remArrTanId = "";
//Modified by Anjali R. on [25/09/2018][End]
//Modified by Anjali R. on [25/09/2018][Start]
String chgTerm = "";
//Modified by Anjali R. on [25/09/2018][End]
try
{
E12GenericUtility genericUtility = new E12GenericUtility();
......@@ -150,15 +143,8 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
chgUser = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
chgTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"chgTerm");
System.out.println("chgUser==["+chgUser+"]chgTerm==["+chgTerm+"]");
//Modified by Dipesh p. on [12/07/2019][Start]
/*sql = "select tran_date,tran_id__payr,emp_code,pay_mode,lve_code,PRD_CODE__PAYROLL,ENCH_AMT__NEW,STATUS,aprv_date,tran_id__lve "
+ "from empleave_ench_arr where tran_id = ?";*/
sql = "select tran_date,tran_id__payr,emp_code,pay_mode,lve_code,PRD_CODE__PAYROLL,ENCH_AMT__NEW,STATUS,aprv_date,tran_id__lve,ench_amt__diff "
sql = "select tran_date,tran_id__payr,emp_code,pay_mode,lve_code,PRD_CODE__PAYROLL,ENCH_AMT__NEW,STATUS,aprv_date,tran_id__lve "
+ "from empleave_ench_arr where tran_id = ?";
//Modified by Dipesh p. on [12/07/2019][End]
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranID);
rs = pstmt.executeQuery();
......@@ -174,9 +160,6 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
status = checkNull(rs.getString("STATUS"));
ConfDateCurrent = rs.getTimestamp("aprv_date");
tranIdLve = checkNull(rs.getString("tran_id__lve"));
//Modified by Dipesh p. on [12/07/2019][Start]
enchAmtDiff = rs.getDouble("ench_amt__diff");
//Modified by Dipesh p. on [12/07/2019][End]
}
if(rs != null)
{
......@@ -188,7 +171,7 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
pstmt.close();
pstmt = null;
}
System.out.println("status ====>"+status);
if("X".equalsIgnoreCase(status))
{
errString = itmDBAccessEJB.getErrorString("", "VTADMLVE05", chgUser,"",conn);
......@@ -239,16 +222,17 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
//Modified by Anjali R. on [19/09/2018][End]
if(tranDate != null)
{
tranDateStr = genericUtility.getValidDateString(tranDate, genericUtility.getDBDateTimeFormat());
//Modified by Yashwant on [23/09/2019][Start]
//tranDateStr = genericUtility.getValidDateString(tranDate, genericUtility.getDBDateTimeFormat());
tranDateStr = genericUtility.getValidDateString(tranDate, genericUtility.getApplDateFormat());
System.out.println("tranDateStr---["+tranDateStr+"]");
//Modified by Yashwant on [23/09/2019][End]
//Commented by sarita as data is coming in DBDateTimeFormat format so getting error on again formatting 30 JULY 2019 [START]
//ADDED BY AMMIT SHRIVASTAVA ON 1/14/2019[START]
/* lveDateStrTimestamp = Timestamp.valueOf(genericUtility.getValidDateTimeString(tranDateStr, genericUtility.getApplDateFormat()
,genericUtility.getDBDateFormat()));
System.out.println("@Amit @ tranDateTimestamp::::"+lveDateStrTimestamp);*/
//lveDateStrTimestamp = Timestamp.valueOf(genericUtility.getValidDateTimeString(tranDateStr, genericUtility.getApplDateFormat(),genericUtility.getDBDateFormat()));
lveDateStrTimestamp = Timestamp.valueOf(genericUtility.getValidDateString(tranDateStr, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("@Amit @ tranDateTimestamp::::"+lveDateStrTimestamp);
//ADDED BY AMMIT SHRIVASTAVA ON 1/14/2019[END.]
//Commented by sarita as data is coming in DBDateTimeFormat format so getting error on again formatting 30 JULY 2019 [END]
}
//Modified by Anjali R. on [19/09/2018][Start]
/*if(status != null && status.trim().length() > 0 || !status.equalsIgnoreCase("N"))
......@@ -257,7 +241,7 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
if("Y".equalsIgnoreCase(allowEnvLveCancel ))
{*/
System.out.println("status -------->"+status);
if(status != null && status.trim().length() > 0 && status.equalsIgnoreCase("A"))
{
String siteCode = "" , cadreCode = "" , gradeCode = "";
......@@ -305,17 +289,12 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
sql = "select FN_CHECK_ACCOUNTING_YEAR(?,?,?,?,?) as err_code from dual";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
// Modified by Piyush on 02/08/2019 [Tran id of Encashment arrears to be passed and not leave tran id]
// pstmt.setString(2, tranIdLve);
pstmt.setString(2, tranID);
pstmt.setString(2, tranIdLve);
pstmt.setString(3, chgUser);
//ADDED BY AMIT SHRIVASTAVA ON 1/14/2019 [START]
//pstmt.setString(4, tranDateStr);
//Modified By sarita on 30 JULY 2019 [START]
//pstmt.setTimestamp(4, lveDateStrTimestamp);
pstmt.setTimestamp(4, tranDate);
pstmt.setTimestamp(4, lveDateStrTimestamp);
//ADDED BY AMIT SHRIVASTAVA ON 1/14/2019 [END.]
//Modified By sarita on 30 JULY 2019 [END]
pstmt.setString(5, "CANC_LVE_ENC_ARR");
rs = pstmt.executeQuery();
if(rs.next())
......@@ -495,18 +474,10 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
pstmt.setString(3, adCode);
pstmt.setTimestamp(4, frDate);
pstmt.setTimestamp(5, toDate);
//Modified by Dipesh p. [12/07/2019][Start]
//pstmt.setDouble(6, enchAmt * -1);
pstmt.setDouble(6, enchAmtDiff * -1);
//Modified by Dipesh p. [12/07/2019][End]
pstmt.setDouble(6, enchAmt * -1);
pstmt.setTimestamp(7,new java.sql.Timestamp(System.currentTimeMillis()) );
pstmt.setString(8,chgUser);
//Modified by Anjali R. [19/07/2019][Start]
//pstmt.setString(9, chgUser);
pstmt.setString(9, chgTerm);
//Modified by Anjali R. [19/07/2019][End]
pstmt.setString(9, chgUser);
pstmt.setString(10, refNo);
updCount = pstmt.executeUpdate();
if(pstmt != null)
......@@ -528,16 +499,11 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
//Modified by Anjali R. [31/12/2018][To update chg_date,chg_term and chg_usr][End]
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, refNo);
//Modified by Dipesh p. [12/07/2019][start]
//pstmt.setDouble(2, enchAmt*-1);
pstmt.setDouble(2, enchAmtDiff * -1);
//Modified by Dipesh p. [12/07/2019][End]
pstmt.setDouble(2, enchAmt*-1);
//Modified by Anjali R. [31/12/2018][To update chg_date,chg_term and chg_usr][Start]
pstmt.setTimestamp(3,new java.sql.Timestamp(System.currentTimeMillis()) );
//Modified by Anjali R. [19/07/2019][To update chg_date,chg_term and chg_usr][Start]
//pstmt.setString(4,chgUser);
pstmt.setString(4,chgTerm);
//Modified by Anjali R. [19/07/2019][To update chg_date,chg_term and chg_usr][Start]
pstmt.setString(4,chgUser);
pstmt.setString(5, chgUser);
//Modified by Anjali R. [31/12/2018][To update chg_date,chg_term and chg_usr][End]
......@@ -575,12 +541,10 @@ public class LveEncArrCanc extends ActionHandlerEJB implements LveEncArrCancLoc
System.out.println("count--["+count+"]");
if(count > 0)
{
//Modified by Anjaili R. on [19/07/2019][Start]
//Modified by Anjaili R. on [24/09/2018][Start]
//errString = admCommon.payarrToProcUpdation(prdCodePayroll, prdCodePayroll, empCode, empCode, "PY", "w_empleave_ench_arr", "", adCode,enchAmt*-1 , frDateStr, toDateStr, xtraParams, conn);
//errString = admCommon.payarrToProcUpdation(prdCodePayroll, prdCodePayroll, empCode, empCode, "AR", "w_empleave_ench_arr", "", adCode,enchAmt*-1 , frDateStr, toDateStr, xtraParams, conn);
errString = admCommon.payarrToProcUpdation(prdCodePayroll, prdCodePayroll, empCode, empCode, "AR", "W_ATTD_PROC_NORULE", "", adCode,enchAmt*-1 , frDateStr, toDateStr, xtraParams, conn);
//Modified by Anjaili R. on [19/07/2019][End]
errString = admCommon.payarrToProcUpdation(prdCodePayroll, prdCodePayroll, empCode, empCode, "AR", "w_empleave_ench_arr", "", adCode,enchAmt*-1 , frDateStr, toDateStr, xtraParams, conn);
//Modified by Anjaili R. on [24/09/2018][End]
System.out.println("errString--["+errString+"]");
if(errString != null && errString.trim().length()>0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment