Commit dce684e9 authored by pbhosale's avatar pbhosale

Updated on [11/11/2019][changes done in Changed Attendance Process]

d_attd_single_filt.srd
chg_attdproc11.xml
w_chg_attdproc.sql
d_chg_attdproc_list.srd
AttdProcCalcOtBean.java
AttdProcessBean.java
AttdProcOtUpdateRetBean.java
AttdProcScanTranProm.java
CalcOtArgsBean.java
AttdSingleIC.java
AttdSingleICLocal.java
AttdSingleICRemote.java
AttendanceProcess.java
ChangeAttdProcPrc.java
ChangeAttdProcPrcLocal.java
ChangeAttdProcPrcRemote.java
ChangedAttendanceProcess.png
ChangedAttendanceProcesswht.png


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211707 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 76a1bae0
----------------------------------------------------- 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_chg_attdproc','2','2','M','seq10',null,null,null,null,null,'N',to_date('15-03-18','DD-MM-RR'),'BASE ','BASE ','0',null,null,null,'N',null,'e','N',null,null,null,'0','0',null,null,null,null,null,null,null,null,null,'0',null,'ADM',null,null,null,null,null,null,null,null,null,'F',null,null,null,null,null,null,null,null,null,null,'0',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,'Y',null,'F','Y',null,null,null,null,null,null,null,null,null,null,null,null,null,'P',null,null,null,null,null);
----------------------------------------------------- ITM2MENU
Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES) values ('ADP',4,13,9,0,0,'w_chg_attdproc','Changed Attendance Process',null,'ADP.4.13.9.0.0','ChangedAttendanceProcess.png','ChangedAttendanceProcesswht.png',null,'P',null,null,null,null,null,null,null,'0');
----------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('chg_attdproc','1','emp_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('chg_attdproc','1','emp_code__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('chg_attdproc','1','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('chg_attdproc','1','prd_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('chg_attdproc','1','proc_group__from','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('chg_attdproc','1','proc_group__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('chg_attdproc','1','site_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('chg_attdproc','1','site_code__to','Y');
----------------------------------------------------- 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 ('chg_attdproc',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 ('chg_attdproc',2,'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,null,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 ('chg_attdproc',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,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 ('chg_attdproc',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,'1',null,null,null,null,null,null,null,null,null,null,null,'2',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_chg_attdproc','Changed Attendance','d_chg_attdproc_list','d_chg_attdproc_list',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);
----------------------------------------------------- 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 ('chg_attdproc','post_item_change','1','poic_default_ejb',null,'0',to_date('04-12-07','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.adm.AttdSingleIC',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 ('chg_attdproc','post_validate','1','post_gen_val',null,'0',to_date('20-03-15','DD-MM-RR'),'BASE ','BASE','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 ('chg_attdproc','process','1','prc_chg_attdproc_ejb',null,'0',to_date('20-03-15','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.adm.ChangeAttdProcPrc',null);
----------------------------------------------------- SYSTEM_EVENT_SERVICES
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('poic_default_ejb','Item Changed','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,to_date('28-08-19','DD-MM-RR'),'BASE ','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('post_gen_val','validation','http://localhost:9090/axis/services/ValidatorService','BASE iformation','wfValData','String','S',null,null,to_date('21-05-16','DD-MM-RR'),'BASE ','VAIBHAV',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prc_chg_attdproc_ejb','Action To process','http://localhost:9090/axis/services/ProcessService','Base Information','process','String','S',null,null,to_date('01-08-19','DD-MM-RR'),'BASE ','BASE',null,null,null);
----------------------------------------------------- SYSTEM_EVENT_SERVICES
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',1,'COMPONENT_TYPE ','I',null,'S',null,to_date('01-06-19','DD-MM-RR'),'HRISHIKESH','HRISHIKESH',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',2,'COMPONENT_NAME ','I',null,'S',null,to_date('01-06-19','DD-MM-RR'),'HRISHIKESH','HRISHIKESH',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',3,'XML_DATA ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','This ',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',4,'XML_DATA_1 ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',5,'XML_DATA_ALL ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',6,'OBJ_CONTEXT ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',7,'FOCUSED_COLUMN ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',8,'EDIT_FLAG ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_default_ejb',9,'XTRA_PARAMS ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',1,'COMPONENT_TYPE','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',2,'COMPONENT_NAME','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','ibase.webitm.ejb.sys.GenValidate');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',3,'XML_DATA','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',4,'XML_DATA_ALL','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',5,'XML_DATA_ALL','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',6,'OBJ_CONTEXT','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',7,'WIN_NAME','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',8,'XTRA_PARAMS','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',9,'ACTION','I',null,'S',null,to_date('19-05-15','DD-MM-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prc_chg_attdproc_ejb',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('01-08-19','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 ('prc_chg_attdproc_ejb',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('01-08-19','DD-MM-RR'),'BASE ','BASE','ibase.webitm.ejb.adm.ChangeAttdProcPrc');
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 ('prc_chg_attdproc_ejb',3,'XML_DATA_1','I','XML data of form no 1','S',null,to_date('01-08-19','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 ('prc_chg_attdproc_ejb',4,'XML_DATA__ALL','I','XML data of form no 1','S',null,to_date('01-08-19','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 ('prc_chg_attdproc_ejb',5,'OBJ_CONTEXT','I','Object Context','S',null,to_date('01-08-19','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 ('prc_chg_attdproc_ejb',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('01-08-19','DD-MM-RR'),'BASE ','BASE',null);
--------------------------------------------------- POPHELP
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('EMP_CODE__FR','W_CHG_ATTDPROC','Select emp_code, emp_fname ,emp_lname from employee ',null,'Employee code',0,0,to_date('27-05-00','DD-MM-RR'),'SUN ','CLIENT1 ','0',null,null,null,null,null,null,null,null,null,'2',null,'3','EmpImages','emp_code','emp_fname','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('EMP_CODE__TO','W_CHG_ATTDPROC','Select emp_code, emp_fname ,emp_lname from employee ',null,'Employee code',0,0,to_date('27-05-00','DD-MM-RR'),'SUN ','CLIENT1 ','0',null,null,null,null,null,null,null,null,null,'2',null,'3','EmpImages','emp_code','emp_fname','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('PROC_GROUP__TO','W_CHG_ATTDPROC','SELECT FLD_VALUE,DESCR FROM GENCODES WHERE FLD_NAME = ''PROC_GROUP''',null,'PROC GRP TO',0,0,to_date('23-05-06','DD-MM-RR'),null,null,null,null,null,0,null,null,null,null,null,null,'2',null,'3','ProcImages','fld_value','descr','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('PROC_GROUP__FROM','W_CHG_ATTDPROC','SELECT FLD_VALUE,DESCR FROM GENCODES WHERE FLD_NAME = ''PROC_GROUP''',null,'PROC GRP FROM',0,0,to_date('23-05-06','DD-MM-RR'),null,null,null,null,null,0,null,null,null,null,null,null,'2',null,'3','ProcImages','fld_value','descr','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('SITE_CODE__FR','W_CHG_ATTDPROC','SELECT SITE_CODE AS SITE_CODE__FR,DESCR FROM SITE where case when site_type is null then '' '' else site_type end <> ''I''',null,'SITE',0,0,to_date('23-05-06','DD-MM-RR'),'BASE ','BASE ','0',null,null,1,null,null,null,null,null,null,'2',null,'3','SiteImages','site_code','descr','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('SITE_CODE__TO','W_CHG_ATTDPROC','SELECT SITE_CODE AS SITE_CODE__FR,DESCR FROM SITE where case when site_type is null then '' '' else site_type end <> ''I''',null,'SITE',0,0,to_date('23-05-06','DD-MM-RR'),'BASE ','BASE ','0',null,null,1,null,null,null,null,null,null,'2',null,'3','SiteImages','site_code','descr','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('PRD_CODE__FR','W_CHG_ATTDPROC','SELECT CODE,DESCR FROM PERIOD ORDER BY CODE','trainneed','Train need',0,0,null,'Skumar ','Skumar ','0',null,null,null,null,null,null,null,null,null,'2',null,'2','PrdImages','code','descr','2 ',null,null,null,null,null,null,null);
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>79416533</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Header>
<height>2</height>
<color>536870912</color>
</Header>
<Summary>
<height>1</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>263</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_code__fr</name>
<dbname>EMP_CODE__FR</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_code__to</name>
<dbname>EMP_CODE__TO</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prd_code__fr</name>
<dbname>PRD_CODE__FR</dbname>
</table_column>
<table_column>
<type size="6">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prd_code__to</name>
<dbname>PRD_CODE__TO</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__fr</name>
<dbname>SITE_CODE__FR</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__to</name>
<dbname>SITE_CODE__TO</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>no</updatewhereclause>
<name>payroll_date</name>
<dbname>PAYROLL_DATE</dbname>
</table_column>
<table_column>
<type size="2">char</type>
<updatewhereclause>no</updatewhereclause>
<name>type</name>
<dbname>TYPE</dbname>
<initial>PP</initial>
<values>
<item display="Arrears Projection" data="AP"/>
<item display="Arrears" data="AR"/>
<item display="Payroll Projection" data="PP"/>
<item display="Payroll" data="PY"/>
</values>
</table_column>
<table_column>
<type>number</type>
<updatewhereclause>no</updatewhereclause>
<name>no_days</name>
<dbname>no_days</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__from</name>
<dbname>proc_group__from</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_group__to</name>
<dbname>proc_group__to</dbname>
</table_column>
<table_column>
<type>datetime</type>
<updatewhereclause>no</updatewhereclause>
<name>cutoff_date</name>
<dbname>cutoff_date</dbname>
</table_column>
<table_column>
<type size="45">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name__fr</name>
<dbname>emp_name__fr</dbname>
</table_column>
<table_column>
<type size="45">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name__to</name>
<dbname>emp_name__to</dbname>
</table_column>
<table_column>
<type size="40">char</type>
<updatewhereclause>no</updatewhereclause>
<name>fr_prd_descr</name>
<dbname>fr_prd_descr</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>fr_site_descr</name>
<dbname>fr_site_descr</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>to_site_descr</name>
<dbname>to_site_descr</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>from_p_group_descr</name>
<dbname>from_p_group_descr</dbname>
</table_column>
<table_column>
<type size="60">char</type>
<updatewhereclause>no</updatewhereclause>
<name>to_p_group_descr</name>
<dbname>to_p_group_descr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>attd_proc</name>
<dbname>attd_proc</dbname>
<initial>Y</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>chg_attd_proc</name>
<dbname>chg_attd_proc</dbname>
<initial>Y</initial>
<values>
<item display="Yes" data="Y"/>
<item display="No" data="N"/>
</values>
</table_column>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>5</x>
<y>4</y>
<height>251</height>
<width>650</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Cut off Date :</text>
<border>0</border>
<color>0</color>
<x>462</x>
<y>183</y>
<height>16</height>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cutoff_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Process Changed Attendance :</text>
<border>0</border>
<color>33554432</color>
<x>361</x>
<y>214</y>
<height>16</height>
<width>177</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_attd_proc_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>432</x>
<y>89</y>
<height>16</height>
<width>54</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>432</x>
<y>49</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>432</x>
<y>119</y>
<height>16</height>
<width>54</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>432</x>
<y>151</y>
<height>16</height>
<width>54</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period Code :</text>
<border>0</border>
<color>0</color>
<x>323</x>
<y>49</y>
<height>16</height>
<width>104</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__fr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee To :</text>
<border>0</border>
<color>0</color>
<x>351</x>
<y>89</y>
<height>16</height>
<width>76</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site To :</text>
<border>0</border>
<color>0</color>
<x>383</x>
<y>120</y>
<height>16</height>
<width>44</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Proc. Group To :</text>
<border>0</border>
<color>0</color>
<x>333</x>
<y>151</y>
<height>19</height>
<width>94</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Processing Date :</text>
<border>0</border>
<color>0</color>
<x>67</x>
<y>49</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>186</x>
<y>49</y>
<height>16</height>
<width>77</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_date</name>
<visible>1</visible>
<EditStyle name="datetime" 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>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee From :</text>
<border>0</border>
<color>0</color>
<x>93</x>
<y>90</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>186</x>
<y>89</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>186</x>
<y>120</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>186</x>
<y>151</y>
<height>16</height>
<width>55</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__from</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Proc. Group From :</text>
<border>0</border>
<color>0</color>
<x>74</x>
<y>151</y>
<height>20</height>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__from_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site From :</text>
<border>0</border>
<color>0</color>
<x>126</x>
<y>120</y>
<height>16</height>
<width>56</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Add no.of Days :</text>
<border>0</border>
<color>0</color>
<x>79</x>
<y>183</y>
<height>16</height>
<width>103</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_days_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>1</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>186</x>
<y>183</y>
<height>16</height>
<width>55</width>
<format>0</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_days</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>33554432</color>
<x>186</x>
<y>214</y>
<height>16</height>
<width>84</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>attd_proc</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Process Current Attendance :</text>
<border>0</border>
<color>33554432</color>
<x>15</x>
<y>214</y>
<height>16</height>
<width>167</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>attd_proc_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>550</x>
<y>183</y>
<height>16</height>
<width>77</width>
<format>dd/mm/yy</format>
<html>
<valueishtml>0</valueishtml>
</html>
<protect expression="1">0</protect>
<name>cutoff_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy </mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>33554432</color>
<x>543</x>
<y>214</y>
<height>16</height>
<width>84</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_attd_proc</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>491</x>
<y>89</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>491</x>
<y>49</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_prd_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<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>491</x>
<y>119</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>491</x>
<y>151</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_p_group_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>246</x>
<y>89</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>246</x>
<y>120</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_site_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>246</x>
<y>151</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>from_p_group_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
$PBExportHeader$d_attd_single_filt.srd
$PBExportComments$ Parameter for attend Processing
release 9;
datawindow(units=1 timer_interval=0 color=79416533 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 )
header(height=2 color="536870912" )
summary(height=1 color="536870912" )
footer(height=0 color="536870912" )
detail(height=263 color="536870912" )
table(column=(type=char(10) updatewhereclause=no name=emp_code__fr dbname="EMP_CODE__FR" )
column=(type=char(10) updatewhereclause=no name=emp_code__to dbname="EMP_CODE__TO" )
column=(type=char(6) updatewhereclause=no name=prd_code__fr dbname="PRD_CODE__FR" )
column=(type=char(6) updatewhereclause=no name=prd_code__to dbname="PRD_CODE__TO" )
column=(type=char(5) updatewhereclause=no name=site_code__fr dbname="SITE_CODE__FR" )
column=(type=char(5) updatewhereclause=no name=site_code__to dbname="SITE_CODE__TO" )
column=(type=datetime updatewhereclause=no name=payroll_date dbname="PAYROLL_DATE" )
column=(type=char(2) updatewhereclause=no name=type dbname="TYPE" initial="PP" values="Arrears Projection AP/Arrears AR/Payroll Projection PP/Payroll PY/" )
column=(type=number updatewhereclause=no name=no_days dbname="no_days" )
column=(type=char(5) updatewhereclause=no name=proc_group__from dbname="proc_group__from" )
column=(type=char(5) updatewhereclause=no name=proc_group__to dbname="proc_group__to" )
column=(type=datetime updatewhereclause=no name=cutoff_date dbname="cutoff_date" )
column=(type=char(40) updatewhereclause=no name=emp_name__fr dbname="emp_name__fr" )
column=(type=char(40) updatewhereclause=no name=emp_name__to dbname="emp_name__to" )
column=(type=char(10) updatewhereclause=no name=fr_prd_descr dbname="fr_prd_descr" )
column=(type=char(45) updatewhereclause=no name=emp_name__fr dbname="emp_name__fr" )
column=(type=char(45) updatewhereclause=no name=emp_name__to dbname="emp_name__to" )
column=(type=char(40) updatewhereclause=no name=fr_prd_descr dbname="fr_prd_descr" )
column=(type=char(60) updatewhereclause=no name=fr_site_descr dbname="fr_site_descr" )
column=(type=char(60) updatewhereclause=no name=to_site_descr dbname="to_site_descr" )
column=(type=char(60) updatewhereclause=no name=from_p_group_descr dbname="from_p_group_descr" )
column=(type=char(60) updatewhereclause=no name=to_p_group_descr dbname="to_p_group_descr" )
column=(type=char(1) updatewhereclause=no name=attd_proc dbname="attd_proc" initial="Y" values="Yes Y/No N/" )
column=(type=char(1) updatewhereclause=no name=chg_attd_proc dbname="chg_attd_proc" initial="Y" values="Yes Y/No N/" )
)
text(band=detail alignment="1" text="Employee >> " border="6" color="16711680" x="19" y="89" height="16" width="81" html.valueishtml="0" name=t_4 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Site >>" border="6" color="16711680" x="58" y="120" height="16" width="42" html.valueishtml="0" name=t_5 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Proc. Group >>" border="6" color="16711680" x="12" y="151" height="16" width="88" html.valueishtml="0" name=t_6 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Processing Date :" border="0" color="0" x="25" y="49" height="16" width="115" html.valueishtml="0" name=payroll_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="From :" border="0" color="0" x="104" y="89" height="16" width="36" html.valueishtml="0" name=t_2 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="From :" border="0" color="0" x="104" y="120" height="16" width="36" html.valueishtml="0" name=site_code__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="2" background.color="79741120" )
text(band=detail alignment="1" text="From :" border="0" color="0" x="104" y="151" height="16" width="36" html.valueishtml="0" name=t_3 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="0" x="144" y="49" height="16" width="77" format="[shortdate] [time]" html.valueishtml="0" name=payroll_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="1" tabsequence=80 border="5" color="0" x="144" y="183" height="16" width="55" format="0" html.valueishtml="0" name=no_days 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="1" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=1 alignment="0" tabsequence=20 border="5" color="0" x="144" y="89" height="16" width="55" format="[general]" html.valueishtml="0" name=emp_code__fr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=40 border="5" color="0" x="144" y="120" height="16" width="55" format="[general]" html.valueishtml="0" name=site_code__fr visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Add no.of days :" border="0" color="0" x="37" y="183" height="16" width="103" html.valueishtml="0" name=t_9 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
line(band=detail x1="24" y1="75" x2="582" y2="75" name=l_1 visible="1" slideleft=yes pen.style="0" pen.width="1" pen.color="8388608" background.mode="2" background.color="12632256" )
text(band=detail alignment="1" text="Period Code :" border="6" color="16711680" x="268" y="49" height="16" width="104" html.valueishtml="0" name=t_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="0" x="378" y="49" height="16" width="55" format="[general]" html.valueishtml="0" name=prd_code__fr visible="1" edit.limit=6 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="437" y="49" height="16" width="136" format="[general]" html.valueishtml="0" name=fr_prd_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="to :" border="0" color="0" x="352" y="89" height="16" width="20" html.valueishtml="0" name=t_7 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="to :" border="0" color="0" x="352" y="120" height="16" width="20" html.valueishtml="0" name=site_code__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="2" background.color="79741120" )
column(band=detail id=2 alignment="0" tabsequence=30 border="5" color="0" x="378" y="89" height="16" width="54" format="[general]" html.valueishtml="0" name=emp_code__to visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=6 alignment="0" tabsequence=50 border="5" color="0" x="378" y="119" height="16" width="54" format="[general]" html.valueishtml="0" name=site_code__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="437" y="89" height="16" width="136" format="[general]" html.valueishtml="0" name=emp_name__to visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="436" y="119" height="16" width="136" format="[general]" html.valueishtml="0" name=to_site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="to :" border="0" color="0" x="353" y="151" height="16" width="19" html.valueishtml="0" name=t_8 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Cut off Date :" border="0" color="0" x="289" y="183" height="16" width="83" html.valueishtml="0" name=t_10 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=12 alignment="0" tabsequence=90 border="5" color="0" x="378" y="183" height="16" width="77" format="dd/mm/yy" html.valueishtml="0" protect="0~t1" name=cutoff_date visible="1" editmask.mask="dd/mm/yy " editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="437" y="151" height="16" width="136" format="[general]" html.valueishtml="0" name=to_p_group_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=11 alignment="0" tabsequence=70 border="5" color="0" x="378" y="151" height="16" width="54" format="[general]" html.valueishtml="0" name=proc_group__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="0" text="Process Changed Attendance:" border="0" color="33554432" x="271" y="214" height="16" width="162" html.valueishtml="0" name=chg_attd_proc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=10 alignment="0" tabsequence=60 border="5" color="0" x="144" y="151" height="16" width="55" format="[general]" html.valueishtml="0" name=proc_group__from visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Process Current Attendance:" border="0" color="33554432" x="46" y="214" height="16" width="154" html.valueishtml="0" name=attd_proc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=21 alignment="0" tabsequence=110 border="5" color="33554432" x="437" y="214" height="16" width="62" format="[general]" html.valueishtml="0" name=chg_attd_proc 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=13 alignment="0" tabsequence=32766 border="5" color="255" x="204" y="89" height="16" width="136" format="[general]" html.valueishtml="0" name=emp_name__fr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="204" y="120" height="16" width="136" format="[general]" html.valueishtml="0" name=fr_site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="204" y="151" height="16" width="136" format="[general]" html.valueishtml="0" name=from_p_group_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=20 alignment="0" tabsequence=100 border="5" color="33554432" x="204" y="214" height="16" width="62" format="[general]" html.valueishtml="0" name=attd_proc 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" )
groupbox(band=detail text="Basic"border="2" color="33554432" x="5" y="4" height="251" width="650" name=gb_1 visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Cut off Date :" border="0" color="0" x="462" y="183" height="16" width="83" html.valueishtml="0" name=cutoff_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Process Changed Attendance :" border="0" color="33554432" x="361" y="214" height="16" width="177" html.valueishtml="0" name=chg_attd_proc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=30 border="5" color="0" x="432" y="89" height="16" width="54" format="[general]" html.valueishtml="0" name=emp_code__to visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="0" x="432" y="49" height="16" width="55" format="[general]" html.valueishtml="0" name=prd_code__fr visible="1" edit.limit=6 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=50 border="5" color="0" x="432" y="119" height="16" width="54" format="[general]" html.valueishtml="0" name=site_code__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=11 alignment="0" tabsequence=70 border="5" color="0" x="432" y="151" height="16" width="54" format="[general]" html.valueishtml="0" name=proc_group__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Period Code :" border="0" color="0" x="323" y="49" height="16" width="104" html.valueishtml="0" name=prd_code__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="2" background.color="79741120" )
text(band=detail alignment="1" text="Employee To :" border="0" color="0" x="351" y="89" height="16" width="76" html.valueishtml="0" name=emp_code__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="2" background.color="79741120" )
text(band=detail alignment="1" text="Site To :" border="0" color="0" x="383" y="120" height="16" width="44" html.valueishtml="0" name=site_code__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="2" background.color="79741120" )
text(band=detail alignment="1" text="Proc. Group To :" border="0" color="0" x="333" y="151" height="19" width="94" html.valueishtml="0" name=proc_group__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="2" background.color="79741120" )
text(band=detail alignment="1" text="Processing Date :" border="0" color="0" x="67" y="49" height="16" width="115" html.valueishtml="0" name=payroll_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="186" y="49" height="16" width="77" format="[shortdate] [time]" html.valueishtml="0" name=payroll_date visible="1" edit.name="datetime" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Employee From :" border="0" color="0" x="93" y="90" height="16" width="88" html.valueishtml="0" name=emp_code__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="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=20 border="5" color="0" x="186" y="89" height="16" width="55" format="[general]" html.valueishtml="0" name=emp_code__fr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=40 border="5" color="0" x="186" y="120" height="16" width="55" format="[general]" html.valueishtml="0" name=site_code__fr visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=60 border="5" color="0" x="186" y="151" height="16" width="55" format="[general]" html.valueishtml="0" name=proc_group__from visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="1090519039" )
text(band=detail alignment="1" text="Proc. Group From :" border="0" color="0" x="74" y="151" height="20" width="108" html.valueishtml="0" name=proc_group__from_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Site From :" border="0" color="0" x="126" y="120" height="16" width="56" html.valueishtml="0" name=site_code__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="2" background.color="79741120" )
text(band=detail alignment="1" text="Add no.of Days :" border="0" color="0" x="79" y="183" height="16" width="103" 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="2" background.color="79741120" )
column(band=detail id=9 alignment="1" tabsequence=80 border="5" color="0" x="186" y="183" height="16" width="55" format="0" html.valueishtml="0" name=no_days 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="1" font.charset="0" background.mode="2" background.color="1090519039" )
column(band=detail id=20 alignment="0" tabsequence=100 border="5" color="33554432" x="186" y="214" height="16" width="84" format="[general]" html.valueishtml="0" name=attd_proc 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" )
text(band=detail alignment="1" text="Process Current Attendance :" border="0" color="33554432" x="15" y="214" height="16" width="167" html.valueishtml="0" name=attd_proc_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=12 alignment="0" tabsequence=90 border="5" color="0" x="550" y="183" height="16" width="77" format="dd/mm/yy" html.valueishtml="0" protect="0~t1" name=cutoff_date visible="1" editmask.mask="dd/mm/yy " editmask.imemode=0 editmask.focusrectangle=no font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=21 alignment="0" tabsequence=110 border="5" color="33554432" x="543" y="214" height="16" width="84" format="[general]" html.valueishtml="0" name=chg_attd_proc 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=14 alignment="0" tabsequence=32766 border="5" color="255" x="491" y="89" height="16" width="136" format="[general]" html.valueishtml="0" name=emp_name__to visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="491" y="49" height="16" width="136" format="[general]" html.valueishtml="0" name=fr_prd_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="491" y="119" height="16" width="136" format="[general]" html.valueishtml="0" name=to_site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="255" x="491" y="151" height="16" width="136" format="[general]" html.valueishtml="0" name=to_p_group_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="246" y="89" height="16" width="80" format="[general]" html.valueishtml="0" name=emp_name__fr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="246" y="120" height="16" width="80" format="[general]" html.valueishtml="0" name=fr_site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="255" x="246" y="151" height="16" width="80" format="[general]" html.valueishtml="0" name=from_p_group_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
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_chg_attdproc_list.srd
$PBExportComments$Used in w_payroll_arrears_processing
release 9;
datawindow(units=1 timer_interval=0 color=16777215 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 )
header(height=34 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=21 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=emp_code dbname="payarr_to_proc.emp_code" )
column=(type=char(6) updatewhereclause=yes name=prd_code dbname="payarr_to_proc.prd_code" )
column=(type=char(2) updatewhereclause=yes name=proc_type dbname="payarr_to_proc.proc_type" )
retrieve="PBSELECT( VERSION(400) DISTINCT ()TABLE(NAME=~"employee~" ) TABLE(NAME=~"payarr_to_proc~" ) COLUMN(NAME=~"payarr_to_proc.emp_code~") COLUMN(NAME=~"payarr_to_proc.prd_code~") COLUMN(NAME=~"payarr_to_proc.proc_type~") JOIN (LEFT=~"employee.emp_code~" OP =~"=~"RIGHT=~"payarr_to_proc.emp_code~" )WHERE( EXP1 =~"( ( payarr_to_proc.emp_code~" OP =~">=~" EXP2 =~":as_empfr )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( payarr_to_proc.emp_code~" OP =~"<=~" EXP2 =~":as_empto )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( employee.proc_group~" OP =~">=~" EXP2 =~":as_procfr )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( employee.proc_group~" OP =~"<=~" EXP2 =~":as_procto )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( payarr_to_proc.status~" OP =~"=~" EXP2 =~"'U' )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( employee.work_site~" OP =~"between~" EXP2 =~":as_site_fr and :as_site_to )~" LOGIC =~"and~" ) WHERE( EXP1 =~"( payarr_to_proc.proc_type~" OP =~"=~" EXP2 =~"'AT' ) )~" ) ) ORDER(NAME=~"payarr_to_proc.emp_code~" ASC=yes ) ORDER(NAME=~"payarr_to_proc.prd_code~" ASC=yes ) ARG(NAME = ~"as_empfr~" TYPE = string) ARG(NAME = ~"as_empto~" TYPE = string) ARG(NAME = ~"as_procfr~" TYPE = string) ARG(NAME = ~"as_procto~" TYPE = string) ARG(NAME = ~"as_site_fr~" TYPE = string) ARG(NAME = ~"as_site_to~" TYPE = string) " arguments=(("as_empfr", string),("as_empto", string),("as_procfr", string),("as_procto", string),("as_site_fr", string),("as_site_to", string)) )
text(band=header alignment="2" text="Payarr To Proc
Emp Code" border="0" color="0" x="1" y="1" height="32" width="79" html.valueishtml="0" name=payarr_to_proc_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="Payarr To Proc
Prd Code" border="0" color="0" x="81" y="1" height="32" width="79" html.valueishtml="0" name=payarr_to_proc_prd_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" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="0" x="1" y="1" height="19" width="55" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=10 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="0" x="81" y="1" height="19" width="35" format="[general]" html.valueishtml="0" name=prd_code visible="1" edit.limit=6 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="0" x="162" y="2" height="16" width="43" format="[general]" html.valueishtml="0" name=proc_type visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
package ibase.webitm.bean.adm;
import java.sql.Timestamp;
public class AttdProcCalcOtBean
{
String errcode = "", otTimeStr = "";
double calOtTime = 0.0, calOtHrsTime = 0.0, otTime = 0.0, otHoursTime = 0.0;
Timestamp otTimeFr = null, otTimeTo = null;
public String getErrcode() {
return errcode;
}
public void setErrcode(String errcode) {
this.errcode = errcode;
}
public String getOtTimeStr() {
return otTimeStr;
}
public void setOtTimeStr(String otTimeStr) {
this.otTimeStr = otTimeStr;
}
public double getCalOtTime() {
return calOtTime;
}
public void setCalOtTime(double calOtTime) {
this.calOtTime = calOtTime;
}
public double getCalOtHrsTime() {
return calOtHrsTime;
}
public void setCalOtHrsTime(double calOtHrsTime) {
this.calOtHrsTime = calOtHrsTime;
}
public double getOtTime() {
return otTime;
}
public void setOtTime(double otTime) {
this.otTime = otTime;
}
public double getOtHoursTime() {
return otHoursTime;
}
public void setOtHoursTime(double otHoursTime) {
this.otHoursTime = otHoursTime;
}
public Timestamp getOtTimeFr() {
return otTimeFr;
}
public void setOtTimeFr(Timestamp otTimeFr) {
this.otTimeFr = otTimeFr;
}
public Timestamp getOtTimeTo() {
return otTimeTo;
}
public void setOtTimeTo(Timestamp otTimeTo) {
this.otTimeTo = otTimeTo;
}
}
package ibase.webitm.bean.adm;
public class AttdProcOtUpdateRetBean
{
String errcode = "", tranId = "";
double totOtTime = 0.0, totCalOtTime = 0.0;
public String getErrcode() {
return errcode;
}
public void setErrcode(String errcode) {
this.errcode = errcode;
}
public String getTranId() {
return tranId;
}
public void setTranId(String tranId) {
this.tranId = tranId;
}
public double getTotOtTime() {
return totOtTime;
}
public void setTotOtTime(double totOtTime) {
this.totOtTime = totOtTime;
}
public double getTotCalOtTime() {
return totCalOtTime;
}
public void setTotCalOtTime(double totCalOtTime) {
this.totCalOtTime = totCalOtTime;
}
}
package ibase.webitm.bean.adm;
public class AttdProcScanTranProm
{
private String workSite = "", holTblNo = "", cadre = "", grade = "", errorCode = "", eligibleOt = "",
paySite = "", empSite = "", pmtSite = "";
public String getWorkSite() {
return workSite;
}
public void setWorkSite(String workSite) {
this.workSite = workSite;
}
public String getHolTblNo() {
return holTblNo;
}
public void setHolTblNo(String holTblNo) {
this.holTblNo = holTblNo;
}
public String getCadre() {
return cadre;
}
public void setCadre(String cadre) {
this.cadre = cadre;
}
public String getGrade() {
return grade;
}
public void setGrade(String grade) {
this.grade = grade;
}
public String getErrorCode() {
return errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String getEligibleOt() {
return eligibleOt;
}
public void setEligibleOt(String eligibleOt) {
this.eligibleOt = eligibleOt;
}
public String getPaySite() {
return paySite;
}
public void setPaySite(String paySite) {
this.paySite = paySite;
}
public String getEmpSite() {
return empSite;
}
public void setEmpSite(String empSite) {
this.empSite = empSite;
}
public String getPmtSite() {
return pmtSite;
}
public void setPmtSite(String pmtSite) {
this.pmtSite = pmtSite;
}
}
package ibase.webitm.bean.adm;
public class AttdProcessBean
{
private double lcPaidLeave = 0.0, lcUnpaidLeave = 0.0, lcTourDay = 0.0, lcPaidHoliday = 0.0, lcUnpaidHoliday = 0.0, lcPaidWoff = 0.0,
lcUnpaidWoff = 0.0;
private double lcWorkDay = 0.0, lcLopDay = 0.0, lcLopHrs = 0.0, lcPaidDay = 0.0, lcExtraDay = 0.0, lcExtraHrs = 0.0, lcDay = 0.0,
lcLeaveHrs = 0.0;
private String lsPunchStr = "", lsWoffLveRule = "", lsHolidayLveRule = "", lsLveCode = "", lsFirstHalfStatus = "",
lsSecondHalfStatus = "";
private String lsHolWoffLveRules = "", lsLeaveStartStatus = "", lsLeaveEndStatus = "", lsHolTbl = "", lsHolType = "", mShift = "",
lsStatus = "", lsTourStartStatus = "", lsTourEndStatus = "", toBeCheckHwRules = "";
private String lsErrCode = "";
private int liDno = 0;
public double getLcPaidLeave() {
return lcPaidLeave;
}
public void setLcPaidLeave(double lcPaidLeave) {
this.lcPaidLeave = lcPaidLeave;
}
public double getLcUnpaidLeave() {
return lcUnpaidLeave;
}
public void setLcUnpaidLeave(double lcUnpaidLeave) {
this.lcUnpaidLeave = lcUnpaidLeave;
}
public double getLcTourDay() {
return lcTourDay;
}
public void setLcTourDay(double lcTourDay) {
this.lcTourDay = lcTourDay;
}
public double getLcPaidHoliday() {
return lcPaidHoliday;
}
public void setLcPaidHoliday(double lcPaidHoliday) {
this.lcPaidHoliday = lcPaidHoliday;
}
public double getLcUnpaidHoliday() {
return lcUnpaidHoliday;
}
public void setLcUnpaidHoliday(double lcUnpaidHoliday) {
this.lcUnpaidHoliday = lcUnpaidHoliday;
}
public double getLcPaidWoff() {
return lcPaidWoff;
}
public void setLcPaidWoff(double lcPaidWoff) {
this.lcPaidWoff = lcPaidWoff;
}
public double getLcUnpaidWoff() {
return lcUnpaidWoff;
}
public void setLcUnpaidWoff(double lcUnpaidWoff) {
this.lcUnpaidWoff = lcUnpaidWoff;
}
public double getLcWorkDay() {
return lcWorkDay;
}
public void setLcWorkDay(double lcWorkDay) {
this.lcWorkDay = lcWorkDay;
}
public double getLcLopDay() {
return lcLopDay;
}
public void setLcLopDay(double lcLopDay) {
this.lcLopDay = lcLopDay;
}
public double getLcLopHrs() {
return lcLopHrs;
}
public void setLcLopHrs(double lcLopHrs) {
this.lcLopHrs = lcLopHrs;
}
public double getLcPaidDay() {
return lcPaidDay;
}
public void setLcPaidDay(double lcPaidDay) {
this.lcPaidDay = lcPaidDay;
}
public double getLcExtraDay() {
return lcExtraDay;
}
public void setLcExtraDay(double lcExtraDay) {
this.lcExtraDay = lcExtraDay;
}
public double getLcExtraHrs() {
return lcExtraHrs;
}
public void setLcExtraHrs(double lcExtraHrs) {
this.lcExtraHrs = lcExtraHrs;
}
public double getLcDay() {
return lcDay;
}
public void setLcDay(double lcDay) {
this.lcDay = lcDay;
}
public double getLcLeaveHrs() {
return lcLeaveHrs;
}
public void setLcLeaveHrs(double lcLeaveHrs) {
this.lcLeaveHrs = lcLeaveHrs;
}
public String getLsPunchStr() {
return lsPunchStr;
}
public void setLsPunchStr(String lsPunchStr) {
this.lsPunchStr = lsPunchStr;
}
public String getLsWoffLveRule() {
return lsWoffLveRule;
}
public void setLsWoffLveRule(String lsWoffLveRule) {
this.lsWoffLveRule = lsWoffLveRule;
}
public String getLsHolidayLveRule() {
return lsHolidayLveRule;
}
public void setLsHolidayLveRule(String lsHolidayLveRule) {
this.lsHolidayLveRule = lsHolidayLveRule;
}
public String getLsLveCode() {
return lsLveCode;
}
public void setLsLveCode(String lsLveCode) {
this.lsLveCode = lsLveCode;
}
public String getLsFirstHalfStatus() {
return lsFirstHalfStatus;
}
public void setLsFirstHalfStatus(String lsFirstHalfStatus) {
this.lsFirstHalfStatus = lsFirstHalfStatus;
}
public String getLsSecondHalfStatus() {
return lsSecondHalfStatus;
}
public void setLsSecondHalfStatus(String lsSecondHalfStatus) {
this.lsSecondHalfStatus = lsSecondHalfStatus;
}
public String getLsHolWoffLveRules() {
return lsHolWoffLveRules;
}
public void setLsHolWoffLveRules(String lsHolWoffLveRules) {
this.lsHolWoffLveRules = lsHolWoffLveRules;
}
public String getLsLeaveStartStatus() {
return lsLeaveStartStatus;
}
public void setLsLeaveStartStatus(String lsLeaveStartStatus) {
this.lsLeaveStartStatus = lsLeaveStartStatus;
}
public String getLsLeaveEndStatus() {
return lsLeaveEndStatus;
}
public void setLsLeaveEndStatus(String lsLeaveEndStatus) {
this.lsLeaveEndStatus = lsLeaveEndStatus;
}
public String getLsHolTbl() {
return lsHolTbl;
}
public void setLsHolTbl(String lsHolTbl) {
this.lsHolTbl = lsHolTbl;
}
public String getLsHolType() {
return lsHolType;
}
public void setLsHolType(String lsHolType) {
this.lsHolType = lsHolType;
}
public String getmShift() {
return mShift;
}
public void setmShift(String mShift) {
this.mShift = mShift;
}
public String getLsStatus() {
return lsStatus;
}
public void setLsStatus(String lsStatus) {
this.lsStatus = lsStatus;
}
public String getLsTourStartStatus() {
return lsTourStartStatus;
}
public void setLsTourStartStatus(String lsTourStartStatus) {
this.lsTourStartStatus = lsTourStartStatus;
}
public String getLsTourEndStatus() {
return lsTourEndStatus;
}
public void setLsTourEndStatus(String lsTourEndStatus) {
this.lsTourEndStatus = lsTourEndStatus;
}
public String getToBeCheckHwRules() {
return toBeCheckHwRules;
}
public void setToBeCheckHwRules(String toBeCheckHwRules) {
this.toBeCheckHwRules = toBeCheckHwRules;
}
public int getLiDno() {
return liDno;
}
public void setLiDno(int liDno) {
this.liDno = liDno;
}
public String getLsErrCode() {
return lsErrCode;
}
public void setLsErrCode(String lsErrCode) {
this.lsErrCode = lsErrCode;
}
}
package ibase.webitm.bean.adm;
import java.sql.Timestamp;
public class CalcOtArgsBean
{
private String prdCode = "", empCode = "", workSite = "", cadreCode = "", gradeCode = "", otRound = "",
shiftCode = "", errCode = "";
private Timestamp procDate = null, prdFirstDate = null, prdLastDate = null;
private int shiftInTime = 0, shiftOutTime = 0, shiftHalfDayTime = 0, fullDayHours = 0, halfDayHours = 0,
minimumOtTime = 0, attdInTime = 0, attdOutTime = 0;
private String otCalcMode = "", attdStatus = "", dayType = "", compOffLveCode = "", callerObj = "",
holCompOffLveCode = "", wofCompOffLveCode = "";
public String getPrdCode() {
return prdCode;
}
public void setPrdCode(String prdCode) {
this.prdCode = prdCode;
}
public String getEmpCode() {
return empCode;
}
public void setEmpCode(String empCode) {
this.empCode = empCode;
}
public String getWorkSite() {
return workSite;
}
public void setWorkSite(String workSite) {
this.workSite = workSite;
}
public String getCadreCode() {
return cadreCode;
}
public void setCadreCode(String cadreCode) {
this.cadreCode = cadreCode;
}
public String getGradeCode() {
return gradeCode;
}
public void setGradeCode(String gradeCode) {
this.gradeCode = gradeCode;
}
public String getOtRound() {
return otRound;
}
public void setOtRound(String otRound) {
this.otRound = otRound;
}
public String getShiftCode() {
return shiftCode;
}
public void setShiftCode(String shiftCode) {
this.shiftCode = shiftCode;
}
public Timestamp getProcDate() {
return procDate;
}
public void setProcDate(Timestamp procDate) {
this.procDate = procDate;
}
public Timestamp getPrdFirstDate() {
return prdFirstDate;
}
public void setPrdFirstDate(Timestamp prdFirstDate) {
this.prdFirstDate = prdFirstDate;
}
public Timestamp getPrdLastDate() {
return prdLastDate;
}
public void setPrdLastDate(Timestamp prdLastDate) {
this.prdLastDate = prdLastDate;
}
public int getShiftInTime() {
return shiftInTime;
}
public void setShiftInTime(int shiftInTime) {
this.shiftInTime = shiftInTime;
}
public int getShiftOutTime() {
return shiftOutTime;
}
public void setShiftOutTime(int shiftOutTime) {
this.shiftOutTime = shiftOutTime;
}
public int getShiftHalfDayTime() {
return shiftHalfDayTime;
}
public void setShiftHalfDayTime(int shiftHalfDayTime) {
this.shiftHalfDayTime = shiftHalfDayTime;
}
public int getFullDayHours() {
return fullDayHours;
}
public void setFullDayHours(int fullDayHours) {
this.fullDayHours = fullDayHours;
}
public int getHalfDayHours() {
return halfDayHours;
}
public void setHalfDayHours(int halfDayHours) {
this.halfDayHours = halfDayHours;
}
public int getMinimumOtTime() {
return minimumOtTime;
}
public void setMinimumOtTime(int minimumOtTime) {
this.minimumOtTime = minimumOtTime;
}
public int getAttdInTime() {
return attdInTime;
}
public void setAttdInTime(int attdInTime) {
this.attdInTime = attdInTime;
}
public int getAttdOutTime() {
return attdOutTime;
}
public void setAttdOutTime(int attdOutTime) {
this.attdOutTime = attdOutTime;
}
public String getOtCalcMode() {
return otCalcMode;
}
public void setOtCalcMode(String otCalcMode) {
this.otCalcMode = otCalcMode;
}
public String getAttdStatus() {
return attdStatus;
}
public void setAttdStatus(String attdStatus) {
this.attdStatus = attdStatus;
}
public String getDayType() {
return dayType;
}
public void setDayType(String dayType) {
this.dayType = dayType;
}
public String getCompOffLveCode() {
return compOffLveCode;
}
public void setCompOffLveCode(String compOffLveCode) {
this.compOffLveCode = compOffLveCode;
}
public String getCallerObj() {
return callerObj;
}
public void setCallerObj(String callerObj) {
this.callerObj = callerObj;
}
public String getHolCompOffLveCode() {
return holCompOffLveCode;
}
public void setHolCompOffLveCode(String holCompOffLveCode) {
this.holCompOffLveCode = holCompOffLveCode;
}
public String getWofCompOffLveCode() {
return wofCompOffLveCode;
}
public void setWofCompOffLveCode(String wofCompOffLveCode) {
this.wofCompOffLveCode = wofCompOffLveCode;
}
public String getErrCode() {
return errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.util.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
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.GenericUtility;
import ibase.webitm.utility.ITMException;
public class AttdSingleIC extends ValidatorEJB implements AttdSingleICLocal,AttdSingleICRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
AdmCommon admCommon = new AdmCommon();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
UtilMethods utilMethods = new UtilMethods();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String retString = "";
try
{
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);
}
retString = wfValData(dom,dom1,dom2,objContext,editFlag,xtraParams);
System.out.println("retString of AttdSingleIC--> wfValData:::"+retString);
}
catch(Exception e)
{
System.out.println("::: AttdSingleIC ::"+ e.getMessage());
e.getMessage();
throw new ITMException(e);
}
return retString;
}
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
String userId = "";
String loginCode = "";
int currentFormNo = 0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
int childNodeLength = 0;
int ctr = 0;
String llTotDays = "";
String childNodeName = "";
int cnt = 0;
int lNoDays = 0;
int lTotDays = 0;
ArrayList<String> errList = new ArrayList<String>();
ArrayList<String> errFields = new ArrayList<String>();
String errCode = "";
String errString = "";
String errorType = "";
String prdCode = "";
String sql = "";
String msgType = "";
String payrollDate = "";
String lsPrdCode = "";
String llNoDays = "";
String cutoffDate = "";
Timestamp ldFrDate = null;
Timestamp ldToDate = null;
Timestamp ldDate = null;
double lcDays = 0;
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
try
{
System.out.println("Inside wfValData.......");
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
loginCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
if(objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
System.out.println("currentFormNo:::"+currentFormNo);
switch(currentFormNo)
{
case 1:
{
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
childNodeLength = childNodeList.getLength();
for(ctr = 0; ctr < childNodeLength; ctr++)
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
System.out.println(">>>>>> childNodeName: ["+childNodeName+"]");
if("prd_code".equalsIgnoreCase(childNodeName))
{
System.out.println("INSIDE prd_code......." );
prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom));
System.out.println("prdCode......"+prdCode);
if(prdCode == null ||prdCode.trim().length() == 0)
{
errCode = "VPATDPRC01";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
else
{
sql = "select count(1) as count from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCode);
rs = pstmt.executeQuery();
if(rs.next())
{
cnt = rs.getInt("count");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("cnt::::::" + cnt);
if(cnt == 0)
{
errCode = "VPATDPRC02";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
if("payroll_date".equalsIgnoreCase(childNodeName))
{
System.out.println("INSIDE payroll_date......." );
payrollDate = checkNull(genericUtility.getColumnValue("payroll_date", dom));
if(payrollDate == null)
{
errCode = "VEDAT2";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
}
if("no_days".equalsIgnoreCase(childNodeName))
{
System.out.println("INSIDE no_days......." );
llNoDays = checkNull(genericUtility.getColumnValue("no_days", dom));
lsPrdCode = genericUtility.getColumnValue("prd_code__fr", dom);
llTotDays = admCommon.getEnv(lsPrdCode, "PROP_DAYS", conn);
System.out.println("llTotDays:::"+llTotDays+"::lsPrdCode:::"+lsPrdCode+"::llNoDays::::"+llNoDays);
sql ="select to_date,fr_date from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsPrdCode);
rs = pstmt.executeQuery();
if(rs.next())
{
ldFrDate = rs.getTimestamp(1);
ldToDate = rs.getTimestamp(2);
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
ldDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
System.out.println("ldDate:::"+ldDate);
if(ldDate != null && ldToDate != null)
{
lcDays = utilMethods.DaysAfter(ldDate,ldToDate)+1;
System.out.println("lcDays::::"+lcDays);
}
try
{
lNoDays = (llNoDays != null && llNoDays.trim().length() > 0 ) ?Integer.parseInt(llNoDays):0;
lTotDays = (llTotDays != null && llTotDays.trim().length() > 0 ) ?Integer.parseInt(llTotDays):0;
System.out.println("lNoDays::::"+lNoDays+"lTotDays:::"+lTotDays);
}
catch (Exception e)
{
lNoDays = 0;
lTotDays = 0;
}
if(lNoDays > lTotDays)
{
errCode = "VTNODAYS";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
else if((lNoDays > lcDays) && (lNoDays > 0))
{
errCode = "VTNODAYS1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
}
if("cutoff_date".equalsIgnoreCase(childNodeName))
{
System.out.println("INSIDE cutoff_date.......@@@" );
cutoffDate = checkNull(genericUtility.getColumnValue("cutoff_date", dom));
lsPrdCode = genericUtility.getColumnValue("prd_code__fr", dom);
System.out.println("cutoffDate:::::"+cutoffDate+"lsPrdCode::::"+lsPrdCode);
sql ="select to_date,fr_date from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsPrdCode);
rs = pstmt.executeQuery();
if(rs.next())
{
ldToDate = rs.getTimestamp(1);
ldFrDate = rs.getTimestamp(2);
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(ldFrDate != null)
{
ldFrDate = utilMethods.RelativeDate(ldFrDate, -1);
System.out.println("ldFrDate::::after@@@"+ldFrDate);
}
//ldDate = Timestamp.valueOf(cutoffDate);
if(cutoffDate != null &&cutoffDate.trim().length() > 0)
{
ldDate = Timestamp.valueOf(genericUtility.getValidDateString(cutoffDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
//ldDate = java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(cutoffDate, genericUtility.getApplDateFormat() , genericUtility.getDBDateFormat()));
//SimpleDateFormat sdf=new SimpleDateFormat("dd/MM/yy");
//Date ldDate1= sdf.parse(cutoffDate);
//System.out.println("ldDate:::::123"+ldDate+"ldDate1:::::"+ldDate1);
System.out.println("ldDate:::::1234"+ldDate);
if(ldToDate != null && ldFrDate != null)
{
System.out.println("ldToDate::::"+ldToDate+"ldFrDate:::::"+ldFrDate);
if((ldDate.after(ldToDate)) || (ldDate.before(ldFrDate)))
{
errCode = "VTDATETO";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
msgType = errorType(conn, errCode);
if (msgType.equalsIgnoreCase("E"))
{
break;
}
}
}
}
}
}
}
break;
}
System.out.println("errList....."+errList.toString());
int errListSize = errList.size();
System.out.println("errListSize......"+errListSize);
cnt = 0;
String errFldName = null;
if ( errList != null && errListSize > 0 )
{
for (cnt = 0; cnt < errListSize; cnt++ )
{
errCode = errList.get(cnt);
errFldName = errFields.get(cnt);
System.out.println("errCode .........." + errCode);
errString = itmDBAccessEJB.getErrorString("", errCode, userId, "", conn);
errorType = 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 ( errorType.equalsIgnoreCase("E"))
{
break;
}
}
errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors></Root>\r\n");
}
else
{
errStringXml = new StringBuffer( "" );
}
}
}
catch(Exception e)
{
e.printStackTrace();
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("[AttdSingleIC][wfValData]Exception ::"+e);
e.printStackTrace();
throw new ITMException(e);
}
}
errString = errStringXml.toString();
System.out.println("testing : final errString : " + errString);
return errString;
}
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn,String editFlag, String xtraParams) throws RemoteException,ITMException
{
System.out.println("Came Inside 1 itemChanged:::");
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String errFields = null;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
System.out.println("xmlString [" + xmlString + "]");
System.out.println("xmlString1 [" + xmlString1 + "]");
System.out.println("xmlString2 [" + xmlString2 + "]");
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);
}
errFields = itemChanged(dom, dom1, dom2, objContext, currentColumn,editFlag, xtraParams);
System.out.println("errFields :" + errFields);
}
catch (Exception e)
{
System.out.println("Exception :PayrollPostAcc :" + e.getMessage()+ ":");
errFields = genericUtility.createErrorString(e);
throw new ITMException(e);
}
return errFields;
}
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag,String xtraParams) throws RemoteException, ITMException
{
System.out.println("Item Changes Call..................");
NodeList parentNodeList = null;
Node parentNode = null;
Node childNode = null;
NodeList childNodeList = null;
StringBuffer valueXmlString = new StringBuffer();
Connection conn = null;
PreparedStatement pstmt=null;
ResultSet rs = null;
String userId = "";
String empCodeAprv = "";
String loginSite = "";
String childNodeName = "";
String columnValue = "";
String sql = "";
String prdCode = "";
String prdDesc = "";
String dateAf = "";
String empCode = "";
String FName = "";
String LName = "";
String FullName = "";
String siteCode = "";
String siteDescr = "";
String prdCodeFr = "";
String prdDescr = "";
String procGroup = "";
String procGroupDescr = "";
String llNodays = "";
String lsPrdCode = "";
String llMaxdays = "";
String ldCutoffDateStr = "";
String toDt = "";
String ldCutoffDt = "";
int currentFormNo = 0;
int ctr = 0;
int NoDays = 0;
int lNodays = 0;
int lMaxdays = 0;
int llCtr = 0;
int mlevl = 0;
Timestamp currDate = null;
Timestamp toDate = null;
Timestamp ldFrDate = null;
Timestamp ldToDate = null;
Timestamp ldCutoffDate = null;
Timestamp ldTemp = null;
try
{
conn = getConnection();
userId = getValueFromXTRA_PARAMS(xtraParams,"loginCode");
empCodeAprv= getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
loginSite = getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
if(mlevl==0) {
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(1);
System.out.println("User level from users ["+mlevl+"]");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
if(objContext != null && objContext.trim().length()>0)
{
currentFormNo = Integer.parseInt(objContext);
}
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></header>");
System.out.println("Form No:::"+currentFormNo);
switch(currentFormNo)
{
case 1:
{
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
ctr = 0;
int childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if(childNodeName.equals(currentColumn))
{
if (childNode.getFirstChild() != null)
{
columnValue=childNode.getFirstChild().getNodeValue().trim();
}
}
ctr++;
}while(ctr < childNodeListLength && !childNodeName.equals(currentColumn));
System.out.println("current column="+currentColumn);
valueXmlString.append("<Detail1>");
if (currentColumn.trim().equalsIgnoreCase("itm_default"))
{
sql = "select prd_code from parameter";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if(rs.next())
{
prdCode = rs.getString(1);
System.out.println("prdCode::::: ["+prdCode+"]");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select descr , to_date from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCode);
rs = pstmt.executeQuery();
if(rs.next())
{
prdDesc = rs.getString(1);
toDate = rs.getTimestamp(2);
System.out.println("prdDesc::::: ["+prdDesc+"]"+"toDate::::: ["+toDate+"]");
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
currDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
System.out.println("currDate::::::::"+currDate);
dateAf = getCurrdateAppFormat(currDate);
toDt = getCurrdateAppFormat(toDate);
valueXmlString.append("<payroll_date><![CDATA[").append(dateAf).append("]]></payroll_date>\r\n");
valueXmlString.append("<prd_code__fr><![CDATA[").append(prdCode).append("]]></prd_code__fr>\r\n");
valueXmlString.append("<no_days><![CDATA[").append(0).append("]]></no_days>\r\n");
valueXmlString.append("<cutoff_date protect=\"0\" ><![CDATA[").append(toDt).append("]]></cutoff_date>\r\n");
valueXmlString.append("<fr_prd_descr><![CDATA[").append(prdDesc).append("]]></fr_prd_descr>\r\n");
if(loginSite != null && loginSite.trim().length() > 0)
{
valueXmlString.append("<site_code__fr><![CDATA[").append(loginSite).append("]]></site_code__fr>\r\n");
valueXmlString.append("<site_code__to><![CDATA[").append(loginSite).append("]]></site_code__to>\r\n");
sql = " SELECT DESCR FROM SITE WHERE SITE_CODE = ?";
System.out.println("Site Descr Query:::"+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginSite);
rs = pstmt.executeQuery();
if(rs.next())
{
siteDescr = checkNull(rs.getString(1));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
valueXmlString.append("<fr_site_descr><![CDATA[").append(siteDescr).append("]]></fr_site_descr>\r\n");
valueXmlString.append("<to_site_descr><![CDATA[").append(siteDescr).append("]]></to_site_descr>\r\n");
}
if(mlevl>1) {
valueXmlString.append("<site_code__fr protect=\"1\" ><![CDATA[").append(loginSite).append("]]></site_code__fr>\r\n");
valueXmlString.append("<site_code__to protect=\"1\" ><![CDATA[").append(loginSite).append("]]></site_code__to>\r\n");
}
valueXmlString.append("<attd_proc><![CDATA[").append("Y").append("]]></attd_proc>\r\n");
valueXmlString.append("<chg_attd_proc><![CDATA[").append("Y").append("]]></chg_attd_proc>\r\n");
}
else if (currentColumn.trim().equalsIgnoreCase("emp_code__fr") ||currentColumn.trim().equalsIgnoreCase("emp_code__to") )
{
empCode = checkNull(genericUtility.getColumnValue(currentColumn.trim(), dom));
sql = "SELECT EMP_FNAME, EMP_LNAME FROM EMPLOYEE WHERE EMP_CODE = ?";;
System.out.println("Emp Name Query:::"+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCode);
rs = pstmt.executeQuery();
if(rs.next())
{
FName = checkNull(rs.getString(1));
LName = checkNull(rs.getString(2));
}
FullName = FName + " " + LName;
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(currentColumn.trim().equalsIgnoreCase("emp_code__fr"))
{
valueXmlString.append("<emp_name__fr>").append(FullName).append("</emp_name__fr>\r\n");
}
if(currentColumn.trim().equalsIgnoreCase("emp_code__to"))
{
valueXmlString.append("<emp_name__to>").append(FullName).append("</emp_name__to>\r\n");
}
}
else if(currentColumn.trim().equalsIgnoreCase("prd_code__fr"))
{
prdCodeFr = checkNull(genericUtility.getColumnValue(currentColumn.trim(), dom));
sql ="SELECT DESCR FROM PERIOD WHERE CODE = ?";;
System.out.println("period Descr Name Query:::"+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCodeFr);
rs = pstmt.executeQuery();
if(rs.next())
{
prdDescr = checkNull(rs.getString(1));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
sql = "select fr_date,to_date from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, prdCodeFr);
rs = pstmt.executeQuery();
if(rs.next())
{
ldFrDate = rs.getTimestamp(1);
ldToDate = rs.getTimestamp(2);
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(ldToDate != null)
{
dateAf = getCurrdateAppFormat(ldToDate);
}
valueXmlString.append("<fr_prd_descr>").append(prdDescr).append("</fr_prd_descr>\r\n");
valueXmlString.append("<cutoff_date>").append(dateAf).append("</cutoff_date>\r\n");
valueXmlString.append("<no_days>").append(0).append("</no_days>\r\n");
}
else if (currentColumn.trim().equalsIgnoreCase("site_code__fr") ||currentColumn.trim().equalsIgnoreCase("site_code__to") )
{
siteCode = checkNull(genericUtility.getColumnValue(currentColumn.trim(), dom));
sql ="SELECT DESCR FROM SITE WHERE SITE_CODE = ?";
System.out.println("Site descr Query:::"+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
siteDescr =checkNull(rs.getString(1));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(currentColumn.trim().equalsIgnoreCase("site_code__fr"))
{
valueXmlString.append("<fr_site_descr>").append(siteDescr).append("</fr_site_descr>\r\n");
}
if(currentColumn.trim().equalsIgnoreCase("site_code__to"))
{
valueXmlString.append("<to_site_descr>").append(siteDescr).append("</to_site_descr>\r\n");
}
}
else if (currentColumn.trim().equalsIgnoreCase("proc_group__from") ||currentColumn.trim().equalsIgnoreCase("proc_group__to") )
{
procGroup = checkNull(genericUtility.getColumnValue(currentColumn.trim(), dom));
sql =" SELECT DESCR FROM GENCODES WHERE FLD_NAME='PROC_GROUP' AND FLD_VALUE = ?";
System.out.println("PROC_GROUP Query:::"+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, procGroup);
rs = pstmt.executeQuery();
if(rs.next())
{
procGroupDescr =checkNull(rs.getString(1));
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(currentColumn.trim().equalsIgnoreCase("proc_group__from"))
{
valueXmlString.append("<from_p_group_descr>").append(procGroupDescr).append("</from_p_group_descr>\r\n");
}
if(currentColumn.trim().equalsIgnoreCase("proc_group__to"))
{
valueXmlString.append("<to_p_group_descr>").append(procGroupDescr).append("</to_p_group_descr>\r\n");
}
}
else if(currentColumn.trim().equalsIgnoreCase("no_days"))
{
llNodays = checkNull(genericUtility.getColumnValue(currentColumn.trim(), dom));
lsPrdCode = genericUtility.getColumnValue("prd_code__fr", dom);
try
{
lNodays = (llNodays != null && llNodays.trim().length() > 0 ) ?Integer.parseInt(llNodays):0;
}
catch (Exception e)
{
lNodays = 0;
}
NoDays =0 - lNodays;
sql = "select fr_date,to_date from period where code = ?" ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsPrdCode);
rs = pstmt.executeQuery();
if(rs.next())
{
ldFrDate = rs.getTimestamp(1);
ldToDate = rs.getTimestamp(2);
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
llMaxdays = admCommon.getEnv(lsPrdCode, "PROP_DAYS", conn);
try
{
lMaxdays = (llMaxdays != null && llMaxdays.trim().length() > 0 ) ?Integer.parseInt(llMaxdays):0;
}
catch (Exception e)
{
lMaxdays = 0;
}
if (lNodays <= lMaxdays)
{
if(ldToDate != null)
{
ldCutoffDate = utilMethods.RelativeDate(ldToDate, NoDays);
ldCutoffDt = getCurrdateAppFormat(ldCutoffDate);
valueXmlString.append("<cutoff_date>").append(ldCutoffDt).append("</cutoff_date>\r\n");
}
}
else
{
return "";
}
}
else if(currentColumn.trim().equalsIgnoreCase("cutoff_date"))
{
ldCutoffDateStr = checkNull(genericUtility.getColumnValue(currentColumn.trim(), dom));
lsPrdCode = genericUtility.getColumnValue("prd_code__fr", dom);
sql = "select fr_date,to_date from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lsPrdCode);
rs = pstmt.executeQuery();
if(rs.next())
{
ldFrDate = rs.getTimestamp(1);
ldToDate = rs.getTimestamp(2);
}
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
//ldTemp = utilMethods.date(ldCutoffDate);
if(ldCutoffDateStr != null && ldCutoffDateStr.trim().length() > 0)
{
//ldTemp = Timestamp.valueOf(genericUtility.getValidDateString(ldCutoffDateStr, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
ldTemp = java.sql.Timestamp.valueOf(genericUtility.getValidDateTimeString(ldCutoffDateStr, genericUtility.getApplDateFormat() , genericUtility.getDBDateFormat()));
System.out.println("ldTemp:::::123"+ldTemp);
//if date(ld_cutoff_date) <= date(ld_to_date) and date(ld_cutoff_date) >= date(ld_fr_date) then
if(ldToDate != null && ldFrDate != null)
{
//if((ldTemp.before(ldToDate)||ldTemp.equals(ldToDate))&&(ldTemp.after(ldFrDate)||ldTemp.equals(ldFrDate)))
//if((utilMethods.date(ldCutoffDate).before(utilMethods.date(ldToDate)) || utilMethods.date(ldCutoffDate).equals(utilMethods.date(ldToDate)))&&(utilMethods.date(ldCutoffDate).after(utilMethods.date(ldToDate)) || utilMethods.date(ldCutoffDate).equals(utilMethods.date(ldFrDate))))
if(ldTemp.compareTo(ldToDate) <= 0 && ldTemp.compareTo(ldFrDate) >= 0)
{
do
{
ldTemp = utilMethods.RelativeDate(ldTemp, 1);
if((ldTemp.after(ldToDate)||ldTemp.equals(ldToDate)))
{
llCtr = llCtr + 1;
break;
}
else
{
llCtr = llCtr + 1;
}
}while(true);
valueXmlString.append("<no_days>").append(llCtr).append("</no_days>\r\n");
}
}
}
}
}
valueXmlString.append("</Detail1>\r\n");
break;
}
valueXmlString.append("</Root>");
System.out.println("valueXmlString"+valueXmlString);
}
catch(Exception e)
{
System.out.println("Exception ::"+e.getMessage());
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 (SQLException e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return valueXmlString.toString();
}
private String errorType(Connection conn, String errorCode) throws ITMException
{
String msgType = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
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");
}
rs.close();
rs = 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 getCurrdateAppFormat(java.sql.Timestamp ts) throws ITMException
{
String dateAf ="";
System.out.println("Comming Date[In DB Format] :::"+ts.toString());
try
{
Object date = null;
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
date = sdf.parse(ts.toString());
dateAf = new SimpleDateFormat(genericUtility.getApplDateFormat()).format(date).toString();
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
System.out.println("Retturning Date :::"+dateAf);
return (dateAf);
}
private String checkNull(String input)
{
if (input == null)
{
input = "";
} else
{
input = input.trim();
}
return input;
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Local;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorLocal;
import ibase.webitm.utility.ITMException;
@Local
public interface AttdSingleICLocal extends ValidatorLocal
{
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;
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn,String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1, Document dom2,String objContext, String currentColumn, String editFlag,String xtraParams) throws RemoteException, ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
import ibase.webitm.ejb.ValidatorRemote;
import ibase.webitm.utility.ITMException;
@Remote
public interface AttdSingleICRemote extends ValidatorRemote
{
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;
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;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
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.util.HashMap;
import javax.ejb.Stateless;
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.ProcessEJB;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
@Stateless
public class ChangeAttdProcPrc extends ProcessEJB implements ChangeAttdProcPrcLocal, ChangeAttdProcPrcRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
AdmCommon admCommon = new AdmCommon();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
UtilMethods utilMethod = new UtilMethods();
AttendanceProcess attendanceProcess = null;
HRLogWriter hrLogWriter = null;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException, ITMException
{
this.hrLogWriter = new HRLogWriter();
Document detailDom = null;
Document headerDom = null;
String retStr = "";
Connection conn = null;
Connection logConn = null;
String userId = "";
String chgTerm = "";
String loginSite = "";
String jobId = "";
String objName = "";
try
{
conn = getConnection();
logConn = getConnection();
System.out.println("Conn [" + conn + "]");
System.out.println("logConn [" + logConn + "]");
if ((xmlString != null) && (xmlString.trim().length() > 0))
{
headerDom = this.genericUtility.parseString(xmlString);
System.out.println("headerDom [" + headerDom + "]");
}
if ((xmlString2 != null) && (xmlString2.trim().length() > 0))
{
detailDom = this.genericUtility.parseString(xmlString2);
System.out.println("detailDom [" + detailDom + "]");
}
userId = checkNull(this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
chgTerm = checkNull(this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId"));
loginSite = checkNull(this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode"));
jobId = checkNull(this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "job_id"));
objName = getObjNameFromDom(headerDom, "objName");
String lsFileName = "ChgAttdproc_" + userId.trim() + "_" + chgTerm;
System.out.println("lsFileName ===>" + lsFileName);
this.hrLogWriter.setFileNameStartWith(lsFileName);
String fileNameStartWith = this.hrLogWriter.getFileNameStartWith();
this.hrLogWriter.setTransactionCreatedBy("self");
this.hrLogWriter.setCurrentProcess("Change Attendance");
this.hrLogWriter.setActivity("");
this.hrLogWriter.setProcessId("ChgAttendanceProcess");
this.hrLogWriter.setTotalRows(0);
this.hrLogWriter.setRowsProcessed(0);
this.hrLogWriter.setRowsIgnored(0);
this.hrLogWriter.setRowsRejected(0);
this.hrLogWriter.initializeHRLogWriter(objName, jobId, userId, chgTerm, "Attendance", fileNameStartWith, loginSite, logConn);
int liRet = this.hrLogWriter.getLogWriterFlag();
String str1;
if (liRet == -1)
{
str1 = retStr;
return str1;
}
this.hrLogWriter.setStatusDetail("Change Attendance Process Started");
this.hrLogWriter.setErrorCode("");
this.hrLogWriter.setStatusType("I");
this.hrLogWriter.gfLogWriter(conn);
this.hrLogWriter.setStatusDetail("");
this.hrLogWriter.setErrorCode("");
this.hrLogWriter.setStatusType("");
this.hrLogWriter.gbfErrWrite("", "", "", "Processing Started", "I", logConn);
retStr = process(headerDom, detailDom, windowName, xtraParams, this.hrLogWriter, conn, logConn);
System.out.println("Process for ChangeAttdProcPrc :::: " + retStr);
if ((retStr != null) && (retStr.trim().length() > 0))
{
conn.rollback();
retStr = this.itmDBAccessEJB.getErrorString("", retStr, "", "", logConn);
str1 = retStr;
return str1;
}
conn.commit();
retStr = this.itmDBAccessEJB.getErrorString("", "VPSUCC1", "", "", logConn);
}
catch (Exception e)
{
System.out.println("Exception :ChangeAttdProcPrc :process(String xmlString, String xmlString2, String windowName, String xtraParams):" +
e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
conn.close();
conn = null;
}
if (logConn != null)
{
logConn.close();
logConn = null;
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return retStr;
}
public String process(Document headerDom, Document detailDom, String windowName, String xtraParams, HRLogWriter hrLogWriter, Connection conn, Connection logConn) throws RemoteException, ITMException
{
this.attendanceProcess = new AttendanceProcess();
ResultSet rs = null; ResultSet rs1 = null;
PreparedStatement pstmt = null; PreparedStatement pstmt1 = null; PreparedStatement pstmt2 = null; PreparedStatement pstmt3 = null;
String sql = ""; String sql1 = ""; String sql2 = ""; String sql3 = "";
Timestamp chgDate = null;
Timestamp toDate = null;
Timestamp payrollDate = null;
HashMap dwDataMap= null;
HashMap dataMap = null;
HashMap empListRowMap = null;
int rowCnt = 0 ;
HashMap rowMap = null;
long llRowCnt = 0;
int addonDaysInt = 0;
String userId = "";
String termId = "";
String errString = ""; /*String lsErrorCode = "";*/ String lsLogErrCode = "";
String payrollDateStr = "";
String prdCodeFr = ""; String empCodeFr = ""; String empCodeTo = "";
String procGroupFr = ""; String procGroupTo = "";
String siteCodeFr = ""; String siteCodeTo = "";
String empCode = ""; String prdCode = ""; String procType = "";
String procWindow = "";
String chgAttdProc = ""; String attdProc = "";
try
{
System.out.println("::::::::::::Inside Process::::::::::::");
userId = this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
termId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId");
chgDate = this.utilMethod.dateTime(this.utilMethod.today());
System.out.println("chgDate::::::::::::" + chgDate);
prdCodeFr = checkNull(this.genericUtility.getColumnValue("prd_code__fr", headerDom));
empCodeFr = checkNull(this.genericUtility.getColumnValue("emp_code__fr", headerDom));
empCodeTo = checkNull(this.genericUtility.getColumnValue("emp_code__to", headerDom));
if (empCodeFr.trim() == null)
{
empCodeFr = "0";
}
if (empCodeTo.trim() == null)
{
empCodeTo = "z";
}
procGroupFr = checkNull(this.genericUtility.getColumnValue("proc_group__from", headerDom));
procGroupTo = checkNull(this.genericUtility.getColumnValue("proc_group__to", headerDom));
if (procGroupFr.trim() == null)
{
procGroupFr = "0";
}
if (procGroupTo.trim() == null)
{
procGroupTo = "ZZ";
}
siteCodeFr = checkNull(this.genericUtility.getColumnValue("site_code__fr", headerDom));
siteCodeTo = checkNull(this.genericUtility.getColumnValue("site_code__to", headerDom));
if (siteCodeFr.trim() == null)
{
siteCodeFr = "0";
}
if (siteCodeTo.trim() == null)
{
siteCodeTo = "ZZZ";
}
payrollDateStr = checkNull(this.genericUtility.getColumnValue("payroll_date", headerDom));
if ((payrollDateStr != null) && (payrollDateStr.trim().length() > 0))
{
payrollDate = Timestamp.valueOf(this.genericUtility.getValidDateTimeString(payrollDateStr, this.genericUtility.getApplDateFormat(), this.genericUtility.getDBDateFormat()));
}
System.out.println("payrollDate:::::::::::::" + payrollDate);
attdProc = checkNull(this.genericUtility.getColumnValue("attd_proc", headerDom));
chgAttdProc = checkNull(this.genericUtility.getColumnValue("chg_attd_proc", headerDom));
dataMap = new HashMap<>();
//sql = "SELECT DISTINCT \"PAYARR_TO_PROC\".\"EMP_CODE\",\"PAYARR_TO_PROC\".\"PRD_CODE\",\"PAYARR_TO_PROC\".\"PROC_TYPE\" FROM \"EMPLOYEE\",\"PAYARR_TO_PROC\" WHERE ( \"EMPLOYEE\".\"EMP_CODE\" = \"PAYARR_TO_PROC\".\"EMP_CODE\" ) and ( ( payarr_to_proc.emp_code >= ?) AND ( payarr_to_proc.emp_code <= ? ) AND ( employee.proc_group >= ? ) AND ( employee.proc_group <= ? ) AND ( payarr_to_proc.status = 'U' ) AND ( employee.work_site between ? and ? ) AND ( payarr_to_proc.proc_type = 'AT' ) ) ORDER BY \"PAYARR_TO_PROC\".\"EMP_CODE\" ASC,\"PAYARR_TO_PROC\".\"PRD_CODE\" ASC";
sql = "SELECT DISTINCT PAYARR_TO_PROC.EMP_CODE,\n" +
" PAYARR_TO_PROC.PRD_CODE,\n" +
"PAYARR_TO_PROC.PROC_TYPE\n" +
"FROM EMPLOYEE,\n" +
" PAYARR_TO_PROC\n" +
"WHERE (EMPLOYEE.EMP_CODE = PAYARR_TO_PROC.EMP_CODE )\n" +
"AND ( ( payarr_to_proc.emp_code >= ?)\n" +
"AND ( payarr_to_proc.emp_code <= ? )\n" +
"AND ( employee.proc_group >= ? )\n" +
"AND ( employee.proc_group <= ? )\n" +
"AND ( payarr_to_proc.status = 'U' )\n" +
"AND ( employee.work_site BETWEEN ? AND ? )\n" +
"AND ( payarr_to_proc.proc_type = 'AT' ) )\n" +
"ORDER BY PAYARR_TO_PROC.EMP_CODE ASC,\n" +
" PAYARR_TO_PROC.PRD_CODE ASC";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, empCodeFr);
pstmt.setString(2, empCodeTo);
pstmt.setString(3, procGroupFr);
pstmt.setString(4, procGroupTo);
pstmt.setString(5, siteCodeFr);
pstmt.setString(6, siteCodeTo);
rs = pstmt.executeQuery();
sql1 = "select proc_window ,addon_days from attendance_mon where emp_code = ? and prd_code = ?";
pstmt1 = conn.prepareStatement(sql1);
sql2 = "select to_date from period where code = ?";
pstmt2 = conn.prepareStatement(sql2);
sql3 = "update payarr_to_proc set status = 'P', prd_code__acc = ?, chg_date = ?, chg_user = ?, chg_term = ? where proc_type = 'AT' \n\t\tand emp_code = ? and prd_code = ? and status = 'U' ";
pstmt3 = conn.prepareStatement(sql3);
while (rs.next())
{
rowCnt++;
dwDataMap = new HashMap<>();
empCode = checkNull(rs.getString("EMP_CODE"));
prdCode = checkNull(rs.getString("PRD_CODE"));
procType = checkNull(rs.getString("PROC_TYPE"));
dwDataMap.put("emp_code", empCode);
dwDataMap.put("prd_code", prdCode);
dwDataMap.put("PROC_TYPE", procType);
//dataMap.put(Integer.valueOf(rowCnt), dwDataMap);
System.out.println("dwDataMap == > "+dwDataMap);
dataMap.put(rowCnt, dwDataMap);
dwDataMap = null;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
llRowCnt = dataMap.size();
System.out.println("llRowCnt===>" + llRowCnt);
if (llRowCnt == 0)
{
errString = this.itmDBAccessEJB.getErrorString("", "VTNOREC1", userId, "", conn);
hrLogWriter.gbfErrWrite("", "", "", "VTNOREC1", "I", logConn);
return errString;
}
for (int i = 1; i <= llRowCnt; i++)
{
empListRowMap = (HashMap)dataMap.get(Integer.valueOf(i));
System.out.println("Data inside empListHdrRowMap ===> " + empListRowMap);
empCode = (String)empListRowMap.get("emp_code");
System.out.println("Value for key emp_code is ===> " +empCode);
prdCode = (String)empListRowMap.get("prd_code");
System.out.println("Value for key prd_code is ===> " + prdCode);
pstmt1.setString(1, empCode);
pstmt1.setString(2, prdCode);
System.out.println("For procWindow emp_code is ===> " +empCode);
rs1 = pstmt1.executeQuery();
if (rs1.next())
{
System.out.println("For procWindow prd_code is ===> " + prdCode);
procWindow = checkNull(rs1.getString("proc_window"));
addonDaysInt = rs1.getInt("addon_days");
System.out.println("procWindow ===>" + procWindow);
System.out.println("addonDaysInt ===>" + addonDaysInt);
}
else
{
continue;
}
if (rs1 != null)
{
rs1.close();
rs1 = null;
}
pstmt2.setString(1, prdCode);
rs1 = pstmt2.executeQuery();
if (rs1.next())
{
toDate = rs1.getTimestamp("to_date");
System.out.println("toDate ===>" + toDate);
}
if (rs1 != null)
{
rs1.close();
rs1 = null;
}
if ((procWindow == null) || (procWindow.trim().length() == 0))
{
procWindow = "N";
System.out.println("procWindow found : " +procWindow);
}
if (addonDaysInt > 0)
{
toDate = this.utilMethod.RelativeDate(toDate, addonDaysInt*-1);
}
System.out.println("toDate With addonDaysInt ===>" +toDate);
errString = this.attendanceProcess.gbfAttdProc(prdCode, empCode, empCode, siteCodeFr, siteCodeTo, procGroupFr, procGroupTo, addonDaysInt, toDate, procWindow, 1, xtraParams, logConn);
if((errString != null) && (errString.trim().length() > 0))
{
if (this.utilMethod.pos(errString, "<Errors>") > 0)
{
hrLogWriter.setStatusDetail("Emp :::" + empCode + " Prd ::: " + prdCode + " - \" + \" - " + errString + " - Can not process further - Cannot process emp_code");
lsLogErrCode = lsLogErrCode + "~r~n" + hrLogWriter.getStatusDetail() + "~r~n";
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("E");
hrLogWriter.gfLogWriter(conn);
hrLogWriter.setStatusDetail("");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("");
hrLogWriter.setRowsRejected(hrLogWriter.getRowsRejected() + 1);
}
else
{
hrLogWriter.setStatusDetail("Emp :::" + empCode + " Prd ::: " + prdCode + " - \" + \" - " + errString + " - Change Attendance Processed");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("I");
hrLogWriter.gfLogWriter(conn);
hrLogWriter.setStatusDetail("");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("");
hrLogWriter.setRowsProcessed(hrLogWriter.getRowsProcessed() + 1);
}
}
else
{
hrLogWriter.setStatusDetail("Emp : " + empCode + " Prd : " + prdCode + " - " + " - Change Attendance Processed");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("I");
hrLogWriter.gfLogWriter(conn);
hrLogWriter.setStatusDetail("");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("");
}
pstmt3.setString(1, prdCodeFr);
pstmt3.setTimestamp(2, chgDate);
pstmt3.setString(3, userId);
pstmt3.setString(4, termId);
pstmt3.setString(5, empCode);
pstmt3.setString(6, prdCode);
int cnt = pstmt3.executeUpdate();
System.out.println("cnt ===>" + cnt);
if (cnt > 0)
{
System.out.println("Update count is :::" +cnt);
continue;
}
else
{
lsLogErrCode = lsLogErrCode + "~r~n**Employee Code: " + empCode + " ** Period Code: " + prdCode + " **~r~n" + "DS000" + "~r~n" + "~r~n" + "Process Terminated due to failed to update payarr_to_proc" + "~r~n";
hrLogWriter.setStatusDetail("Emp :::" + empCode + " Prd ::: " + prdCode + " - \" + \" - " + errString + " Process Terminated due to failed to update payarr_to_proc");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("E");
hrLogWriter.gfLogWriter(conn);
hrLogWriter.setStatusDetail("");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("");
hrLogWriter.setRowsRejected(hrLogWriter.getRowsRejected() + 1);
//gbfReleaseLogWriter(headerDom, hrLogWriter, logConn);
//break;
}
}
if (pstmt1 != null)
{
pstmt1.clearParameters();
pstmt1.close();
pstmt1 = null;
}
if (pstmt2 != null)
{
pstmt2.clearParameters();
pstmt2.close();
pstmt2 = null;
}
if (pstmt3 != null)
{
pstmt3.clearParameters();
pstmt3.close();
pstmt3 = null;
}
if (lsLogErrCode.trim().length() == 0)
{
lsLogErrCode = "Processing completed";
}
hrLogWriter.setTotalRows(hrLogWriter.getRowsRejected() + hrLogWriter.getRowsProcessed());
hrLogWriter.setStatusDetail("Total Employees: " + (hrLogWriter.getRowsProcessed() + hrLogWriter.getRowsRejected()) + " Processed: " + (hrLogWriter.getRowsProcessed()) + " Rejected: " + (hrLogWriter.getRowsRejected()));
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("I");
hrLogWriter.gfLogWriter(conn);
hrLogWriter.setStatusDetail("");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("");
hrLogWriter.setStatusDetail("\"Change Attendance Process Completed\"");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("I");
hrLogWriter.gfLogWriter(conn);
hrLogWriter.setStatusDetail("");
hrLogWriter.setErrorCode("");
hrLogWriter.setStatusType("");
//gbfReleaseLogWriter(headerDom, hrLogWriter, logConn);
}
catch (Exception e)
{
System.out.println("Exception :ChangeAttdProcPrc :process(String xmlString, String xmlString2, String xtraParams):" +
e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (rs1 != null)
{
rs1.close();
rs1 = null;
}
if (pstmt1 != null)
{
pstmt1.clearParameters();
pstmt1.close();
pstmt1 = null;
}
if (pstmt2 != null)
{
pstmt2.clearParameters();
pstmt2.close();
pstmt2 = null;
}
if (pstmt3 != null)
{
pstmt3.clearParameters();
pstmt3.close();
pstmt3 = null;
}
}
catch (Exception e)
{
errString = e.getMessage();
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
/* public void gbfSetLogPropertiesByCaller(HRLogWriter logwriterDb)
{
this.hrLogWriter = new HRLogWriter();
try
{
System.out.println("Inside ChangeAttdProcPrc.gbf_set_log_properties_by_caller()");
hrLogWriter.setJobID(logwriterDb.getJobID());
hrLogWriter.setLineNo(logwriterDb.getLineNo());
hrLogWriter.setObjName(logwriterDb.getObjName());
if ((logwriterDb.getTransactionCreatedBy() == null) && (logwriterDb.getTransactionCreatedBy() != null))
{
hrLogWriter.setTransactionCreatedBy(logwriterDb.getTransactionCreatedBy());
hrLogWriter.setTransactionCreatedBy("caller");
}
if ((logwriterDb.getLogFileName() != null) && (logwriterDb.getLogFileName().trim().length() > 0))
{
hrLogWriter.setLogFileName(logwriterDb.getLogFileName());
hrLogWriter.setLogFileCreatedBy("caller");
}
if ((logwriterDb.getFilePointer() != 0) && (logwriterDb.getFilePointer() > 0))
{
hrLogWriter.setFilePointer(logwriterDb.getFilePointer());
hrLogWriter.setLogFileCreatedBy("caller");
}
if ((logwriterDb.getWsrLogFileName() != null) && (logwriterDb.getWsrLogFileName().trim().length() > 0))
{
hrLogWriter.setWsrLogFileName(logwriterDb.getWsrLogFileName());
}
if ((logwriterDb.getLogLocationType() != null) && (logwriterDb.getLogLocationType().trim().length() > 0))
{
hrLogWriter.setLogLocationType(logwriterDb.getLogLocationType());
hrLogWriter.setLogServerAddress(logwriterDb.getLogServerAddress());
}
hrLogWriter.setProcessId(logwriterDb.getProcessId());
hrLogWriter.setLogLineNo(logwriterDb.getLogLineNo());
if (logwriterDb.getStartDateTime() != null)
{
hrLogWriter.setStartDateTime(logwriterDb.getStartDateTime());
}
if ((logwriterDb.getJobID() != null) && (logwriterDb.getJobID().trim().length() > 0))
{
hrLogWriter.setJobID(logwriterDb.getJobID());
}
}
catch (Exception e)
{
System.out.println("ChangeAttdProcPrc.gbf_set_log_properties_by_caller()" + e);
e.printStackTrace();
}
System.out.println("ChangeAttdProcPrc.gbf_set_log_properties_by_caller()======= Completed");
}*/
/*public HRLogWriter gbfServeLogPropertiesToCaller() {
HRLogWriter hrLogWriter = new HRLogWriter();
return hrLogWriter;
}
public void gbfSetLogPropertiesFromTarget() {
System.out.println("ChangeAttdProcPrc.gbfSetLogPropertiesFromTarget()");
HRLogWriter lstrLogWriter = new HRLogWriter();
lstrLogWriter = gbfServeLogPropertiesToCaller();
}*/
/*public int gbfReleaseLogWriter(Document headerDom, HRLogWriter logWriter, Connection logConn) throws ITMException {
int liRet = 1;
String lsLogStr = "";
try
{
lsLogStr = "Total Employees: " + String.valueOf(logWriter.getRowsProcessed() + logWriter.getRowsRejected()).trim() + "Processed: " + String.valueOf(logWriter.getRowsProcessed()).trim() + "Rejected: " + String.valueOf(logWriter.getRowsRejected()).trim();
logWriter.gbfErrWrite("", "", "", lsLogStr, "I", logConn);
lsLogStr = "Processing Over";
logWriter.gbfErrWrite("", "", "", lsLogStr, "I", logConn);
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return liRet;
}*/
private String getObjNameFromDom(Document dom, String attribute) throws RemoteException, ITMException {
String objName = "";
try
{
NodeList detailList = null;
Node currDetail = null;
int detailListLength = 0;
detailList = dom.getElementsByTagName("Detail1");
detailListLength = detailList.getLength();
for (int ctr = 0; ctr < detailListLength; ctr++)
{
currDetail = detailList.item(ctr);
objName = currDetail.getAttributes().getNamedItem(attribute).getNodeValue();
}
}
catch (Exception e)
{
e.printStackTrace();
}
return objName;
}
private String checkNull(String input) {
if (input == null)
{
input = "";
}
return input.trim();
}
}
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Local;
import ibase.webitm.ejb.ProcessLocal;
import ibase.webitm.utility.ITMException;
@Local
public interface ChangeAttdProcPrcLocal extends ProcessLocal
{
public String process() throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2,String windowName, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Remote;
import ibase.webitm.ejb.ProcessRemote;
import ibase.webitm.utility.ITMException;
@Remote
public interface ChangeAttdProcPrcRemote extends ProcessRemote
{
public String process() throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2,String windowName, String xtraParams) throws RemoteException,ITMException;
}
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