Commit cfff66f3 authored by pbhosale's avatar pbhosale

Updated on [17-03-2020]

payroll_prc11.xml
payroll_prc12.xml
w_payroll_prc.sql
d_payroll_prc11.srd
d_payroll_prc12.srd
d_payroll_prc16.srd
PayrollPrc.java
PayrollPrcIC.java
PayrollPrcICLocal.java
PayrollPrcICRemote.java
PayrollPrcLocal.java
PayrollPrcRemote.java
CompletePayrollProcess(MultipleSite).png
CompletePayrollProcess(MultipleSite)wht.png


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217989 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 41a494a4
Pipeline #6 failed with stages
----------------------------------------------------- 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_payroll_prc',null,null,null,null,null,null,null,null,null,null,to_date('15-03-18','DD-MM-RR'),'BASE ','BASE ','0',null,null,null,null,null,null,null,null,null,null,'0','0',null,null,null,null,null,null,null,null,null,null,null,null,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,null,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 ('HRM',4,6,10,0,0,'w_payroll_prc','Complete Payroll Process (Multiple Site)',null,'HRM.4.6.10.0.0','CompletePayrollProcess(MultipleSite).png','CompletePayrollProcess(MultipleSite)wht.png',null,'P',to_date('22-06-18','DD-MM-RR'),'HRISHIKESH ','HRISHIKESH',null,null,null,null,null);
Insert into ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE,DEF_ACTION,MOB_DEPLY,ENT_TYPES) values ('ADP',4,6,11,0,0,'w_payroll_prc','Complete Payroll Process (Multiple Site)',null,'ADP.4.6.11.0.0','CompletePayrollProcess(MultipleSite).png','CompletePayrollProcess(MultipleSite)wht.png',null,'P',to_date('20-07-13','DD-MM-RR'),'VISHAL','VISHAL ',null,null,null,null,'0 ');
----------------------------------------------------- OBJ_FORMS
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_payroll_prc','View data',null,null,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,'0',null,null,null,null,null,null,null,null,null,null);
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,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_payroll_prc','Process',null,null,null,null,null,null,'2','T',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'A',null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,null,null,null,null);
----------------------------------------------------- OBJ_ACTIONS
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('payroll_prc',1,null,'Payroll Process','get_data',null,'V','View','1','3',null,'S',null,to_date('22-06-18','DD-MM-RR'),'HRISHIKESH ','HRISHIKESH',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 ('payroll_prc',2,null,'Payroll Process','process',null,'P','Process','2','3',null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
----------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('payroll_prc','1','emp_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('payroll_prc','1','emp_code__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('payroll_prc','1','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('payroll_prc','1','prc_grp__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('payroll_prc','1','prc_grp__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('payroll_prc','1','prd_code__fr','Y');
----------------------------------------------------- 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 ('payroll_prc','get_data','1','gd_payroll_prc',null,'0',to_date('22-06-18','DD-MM-RR'),'HRISHIKESH','HRISHIKESH','2','JB','ibase.webitm.ejb.adm.PayrollPrc',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 ('payroll_prc','post_item_change','1','poic_payroll_prc',null,'0',to_date('22-06-18','DD-MM-RR'),'HRISHIKESH','HRISHIKESH','2','JB','ibase.webitm.ejb.adm.PayrollPrcIC',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 ('payroll_prc','process','1','prc_payroll_prc',null,'0',to_date('22-06-18','DD-MM-RR'),'HRISHIKESH','HRISHIKESH','2','JB','ibase.webitm.ejb.adm.PayrollPrc',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 ('gd_payroll_prc','Action To get the Data','http://localhost:9090/axis/services/ProcessService','BASE','getData','String','S',null,null,to_date('22-06-18','DD-MM-RR'),'HRISHIKESH','HRISHIKESH',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM) values ('poic_payroll_prc','Payroll ItemChange','http://localhost:9090/axis/services/ValidatorService','BaseInformation','itemChanged','String','S',null,null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH');
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM) values ('prc_payroll_prc','process data','http://localhost:9090/axis/services/ProcessService','BASE','process','String','S',null,null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH');
---------------------------------------------------- SYSTEM_SERVICE_ARGS
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('gd_payroll_prc',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH','EJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('gd_payroll_prc',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH','PayrollPrc');
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 ('gd_payroll_prc',3,'XML_DATA','I','XML data of form no 1','S',null,to_date('2018-06-22','RRRR-MM-DD'),'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 ('gd_payroll_prc',4,'XML_DATA_ALL','I','XML data of form no 1','S',null,to_date('2018-06-22','RRRR-MM-DD'),'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 ('gd_payroll_prc',5,'WINDOW_NAME','I','Object Context','S',null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH','w_payroll_prc');
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 ('gd_payroll_prc',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('2018-06-22','RRRR-MM-DD'),'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_payroll_prc',1,'COMPONENT_TYPE','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH','EJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_payroll_prc',2,'COMPONENT_NAME','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH','PayrollPrcIC');
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_payroll_prc',3,'XML_DATA','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'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_payroll_prc',4,'XML_DATA_1','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'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_payroll_prc',5,'XML_DATA_ALL','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'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_payroll_prc',6,'OBJ_CONTEXT','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'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_payroll_prc',7,'FOCUSED_COLUMN','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'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_payroll_prc',8,'EDIT_FLAG','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'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_payroll_prc',9,'XTRA_PARAMS','l',null,'S',null,to_date('2018-06-22','RRRR-MM-DD'),'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 ('prc_payroll_prc',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH','EJB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prc_payroll_prc',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('2018-06-22','RRRR-MM-DD'),'BASE ','BASE ','PayrollPrc');
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_payroll_prc',3,'XML_DATA','I','XML data of form no 1','S',null,to_date('2018-06-22','RRRR-MM-DD'),'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 ('prc_payroll_prc',4,'XML_DATA_ALL','I','XML data of form no 2','S',null,to_date('2018-06-22','RRRR-MM-DD'),'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 ('prc_payroll_prc',5,'WINDOW_NAME','I','Object Context','S',null,to_date('2018-06-22','RRRR-MM-DD'),'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 ('prc_payroll_prc',6,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('2018-06-22','RRRR-MM-DD'),'HRISHIKESH','HRISHIKESH',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 ('FIN_ENT__FR','W_PAYROLL_PRC','SELECT FIN_ENTITY AS FIN_ENTITY__FR,DESCR FROM FINENT',null,'Fin Entity',null,null,to_date('13-06-19','DD-MM-RR'),null,null,null,null,null,null,null,null,null,null,null,null,'2',null,'3','FinImages','fin_entity__fr','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 ('GEO_LOC__FR','W_PAYROLL_PRC','select RTRIM (fld_value),descr from gencodes where fld_name=''GEO_LOC''',null,'Geographical Locati',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','LocImages','loc_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 ('EMP_CODE__FR','W_PAYROLL_PRC','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_PAYROLL_PRC','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 ('PRC_GRP__FR','W_PAYROLL_PRC','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 ('PRC_GRP__TO','W_PAYROLL_PRC','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 ('SITE_CODE__FR','W_PAYROLL_PRC','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__ARR','W_PAYROLL_PRC','Select code as prd_code, descr from period',null,'Period 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','PrdImages','prd_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_PAYROLL_PRC','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);
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__TO','W_PAYROLL_PRC','Select code as prd_code, descr from period',null,'Period 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','PrdImages','prd_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>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>30</left>
<right>30</right>
<top>30</top>
<bottom>30</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>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>393</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prd_code__fr</name>
<dbname>prd_code__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prd_code__to</name>
<dbname>prd_code__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__fr</name>
<dbname>site_code__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>site_code__to</name>
<dbname>site_code__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>geo_loc__fr</name>
<dbname>geo_loc__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>geo_loc__to</name>
<dbname>geo_loc__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>fin_ent__fr</name>
<dbname>fin_ent__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>fin_ent__to</name>
<dbname>fin_ent__to</dbname>
</table_column>
<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>datetime</type>
<updatewhereclause>no</updatewhereclause>
<name>payroll_date</name>
<dbname>payroll_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>payroll_type</name>
<dbname>payroll_type</dbname>
<initial>PP</initial>
<values>
<item display="Payroll Projection" data="PP"/>
<item display="Arrears" data="AA"/>
<item display="Payroll" data="PY"/>
</values>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prd_code__arr</name>
<dbname>prd_code__arr</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>consider_attd</name>
<dbname>consider_attd</dbname>
<initial>N</initial>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>dataowrite</name>
<dbname>dataowrite</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>inter_pro</name>
<dbname>inter_pro</dbname>
<initial>Y</initial>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>pay_proj</name>
<dbname>pay_proj</dbname>
<initial>Y</initial>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>pay_proc</name>
<dbname>pay_proc</dbname>
<initial>Y</initial>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>no</updatewhereclause>
<name>arr_proc</name>
<dbname>arr_proc</dbname>
<initial>N</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_arr__proc</name>
<dbname>chg_arr__proc</dbname>
<initial>Y</initial>
<values>
<item display="YES" data="Y"/>
<item display="NO" data="N"/>
</values>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prc_grp__fr</name>
<dbname>prc_grp__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>prc_grp__to</name>
<dbname>prc_grp__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name_from</name>
<dbname>emp_name_from</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>emp_name_to</name>
<dbname>emp_name_to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>period_from</name>
<dbname>period_from</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>period_to</name>
<dbname>period_to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_from</name>
<dbname>proc_from</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>no</updatewhereclause>
<name>proc_to</name>
<dbname>proc_to</dbname>
</table_column>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>5</border>
<color>33554432</color>
<x>6</x>
<y>9</y>
<height>217</height>
<width>736</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Geo Location :</text>
<border>6</border>
<color>33554432</color>
<x>315</x>
<y>127</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>geo_loc__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Changed Arrears Processing :</text>
<border>6</border>
<color>33554432</color>
<x>441</x>
<y>151</y>
<height>16</height>
<width>218</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_arr__proc_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Arrears To Be Considered In The Period :</text>
<border>6</border>
<color>33554432</color>
<x>423</x>
<y>31</y>
<height>16</height>
<width>237</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__arr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>100</tabsequence>
<border>5</border>
<color>33554432</color>
<x>664</x>
<y>31</y>
<height>16</height>
<width>70</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__arr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>405</x>
<y>127</y>
<height>16</height>
<width>128</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>geo_loc__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<border>5</border>
<color>33554432</color>
<x>664</x>
<y>127</y>
<height>16</height>
<width>70</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>arr_proc</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<border>5</border>
<color>33554432</color>
<x>664</x>
<y>151</y>
<height>16</height>
<width>70</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_arr__proc</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<border>5</border>
<color>33554432</color>
<x>664</x>
<y>103</y>
<height>16</height>
<width>70</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_proc</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>664</x>
<y>55</y>
<height>16</height>
<width>70</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>inter_pro</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>664</x>
<y>79</y>
<height>16</height>
<width>70</width>
<format>[Yes/No]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_proj</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Interest Processing :</text>
<border>6</border>
<color>33554432</color>
<x>540</x>
<y>54</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>inter_pro_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Payroll Projection :</text>
<border>6</border>
<color>33554432</color>
<x>540</x>
<y>78</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_proj_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Payroll Processing :</text>
<border>6</border>
<color>33554432</color>
<x>540</x>
<y>102</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_proc_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Arrears Processing :</text>
<border>6</border>
<color>33554432</color>
<x>540</x>
<y>126</y>
<height>16</height>
<width>120</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>arr_proc_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>393</x>
<y>55</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>393</x>
<y>79</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>393</x>
<y>103</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prc_grp__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>448</x>
<y>55</y>
<height>16</height>
<width>88</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>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>26</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>448</x>
<y>79</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>period_to</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>448</x>
<y>103</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_to</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>189</x>
<y>55</y>
<height>16</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name_from</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>189</x>
<y>79</y>
<height>16</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>period_from</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>189</x>
<y>103</y>
<height>16</height>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_from</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>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee To:</text>
<border>6</border>
<color>33554432</color>
<x>294</x>
<y>56</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period To:</text>
<border>6</border>
<color>33554432</color>
<x>294</x>
<y>80</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Proc. Group To:</text>
<border>6</border>
<color>33554432</color>
<x>294</x>
<y>104</y>
<height>16</height>
<width>95</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prc_grp__to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Processing Date :</text>
<border>5</border>
<color>33554432</color>
<x>24</x>
<y>31</y>
<height>17</height>
<width>104</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee From :</text>
<border>5</border>
<color>33554432</color>
<x>24</x>
<y>54</y>
<height>17</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Period From :</text>
<border>5</border>
<color>33554432</color>
<x>24</x>
<y>79</y>
<height>17</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Proc Group from:</text>
<border>5</border>
<color>33554432</color>
<x>24</x>
<y>100</y>
<height>17</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prc_grp__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code :</text>
<border>5</border>
<color>33554432</color>
<x>24</x>
<y>127</y>
<height>17</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Financial Entity :</text>
<border>5</border>
<color>33554432</color>
<x>24</x>
<y>151</y>
<height>17</height>
<width>102</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fin_ent__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>31</y>
<height>16</height>
<width>50</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_date</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>55</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>79</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>103</y>
<height>16</height>
<width>50</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prc_grp__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>127</y>
<height>16</height>
<width>176</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>90</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>151</y>
<height>16</height>
<width>176</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fin_ent__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>134217742</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>118</x>
<y>184</y>
<height>16</height>
<width>136</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_type</name>
<visible>0</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>any</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>0</alignment>
<text>Type:</text>
<border>6</border>
<color>33554432</color>
<x>80</x>
<y>183</y>
<height>16</height>
<width>33</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_type_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Consider Attendance For Projection :</text>
<border>6</border>
<color>33554432</color>
<x>533</x>
<y>177</y>
<height>16</height>
<width>58</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>consider_attd_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>OverWrite Data :</text>
<border>6</border>
<color>33554432</color>
<x>531</x>
<y>202</y>
<height>16</height>
<width>65</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dataowrite_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<border>5</border>
<color>33554432</color>
<x>601</x>
<y>179</y>
<height>16</height>
<width>33</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>consider_attd</name>
<visible>0</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<color>33554432</color>
<x>607</x>
<y>202</y>
<height>16</height>
<width>70</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dataowrite</name>
<visible>0</visible>
<EditStyle style="ddlb">
<limit>0</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</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>
<Template>
<comment></comment>
<encoding>UTF-8</encoding>
<name>d_payroll_prc11</name>
<xml>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&lt;d_payroll_prc16&gt;&lt;d_payroll_prc16_row __pbband=&quot;detail&quot;&gt;&lt;prd_code__fr/&gt;&lt;prd_code__to/&gt;&lt;site_code__fr/&gt;&lt;site_code__to&gt;site_code__to&lt;/site_code__to&gt;&lt;geo_loc__fr/&gt;&lt;geo_loc__to&gt;geo_loc__to&lt;/geo_loc__to&gt;&lt;fin_ent__fr/&gt;&lt;fin_ent__to&gt;fin_ent__to&lt;/fin_ent__to&gt;&lt;emp_code__fr/&gt;&lt;emp_code__to/&gt;&lt;payroll_date/&gt;&lt;payroll_type/&gt;&lt;prd_code__arr/&gt;&lt;consider_attd/&gt;&lt;dataowrite/&gt;&lt;inter_pro/&gt;&lt;pay_proj/&gt;&lt;pay_proc/&gt;&lt;arr_proc/&gt;&lt;chg_arr__proc/&gt;&lt;prc_grp__fr/&gt;&lt;prc_grp__to/&gt;&lt;/d_payroll_prc16_row&gt;&lt;/d_payroll_prc16&gt;</xml>
</Template>
</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>
<?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>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>30</left>
<right>30</right>
<top>30</top>
<bottom>30</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>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>24</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>27</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__fr</name>
<dbname>prd_code__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__to</name>
<dbname>prd_code__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_code__fr</name>
<dbname>site_code__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_code__to</name>
<dbname>site_code__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>payroll_date</name>
<dbname>payroll_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>prd_code__arr</name>
<dbname>prd_code__arr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>consider_attd</name>
<dbname>consider_attd</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>dataowrite</name>
<dbname>dataowrite</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pay_proc</name>
<dbname>pay_proc</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>arr_proc</name>
<dbname>arr_proc</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>chg_arr__proc</name>
<dbname>chg_arr__proc</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__fr</name>
<dbname>emp_code__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_code__to</name>
<dbname>emp_code__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>payroll_type</name>
<dbname>payroll_type</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>proc_group__from</name>
<dbname>proc_group__from</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>proc_group__to</name>
<dbname>proc_group__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_name__fr</name>
<dbname>emp_name__fr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>emp_name__to</name>
<dbname>emp_name__to</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>fr_prd_descr</name>
<dbname>fr_prd_descr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>to_prd_descr</name>
<dbname>to_prd_descr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>fr_site_descr</name>
<dbname>fr_site_descr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>to_site_descr</name>
<dbname>to_site_descr</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>proc_group__fr_name</name>
<dbname>proc_group__fr_name</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>proc_group__to_name</name>
<dbname>proc_group__to_name</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>inter_pro</name>
<dbname>inter_pro</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pay_proj</name>
<dbname>pay_proj</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>geo_loc</name>
<dbname>geo_loc</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>geo_loc__desc</name>
<dbname>geo_loc__desc</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>fin_ent</name>
<dbname>fin_ent</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>fin_ent__desc</name>
<dbname>fin_ent__desc</dbname>
</table_column>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Period Code</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__fr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Prd Code To</text>
<border>6</border>
<color>33554432</color>
<x>102</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__to_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site Code</text>
<border>6</border>
<color>33554432</color>
<x>204</x>
<y>2</y>
<height>20</height>
<width>99</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site Code To</text>
<border>6</border>
<color>33554432</color>
<x>305</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Payroll Date</text>
<border>6</border>
<color>33554432</color>
<x>408</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_date_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Prd Code Arr</text>
<border>6</border>
<color>33554432</color>
<x>498</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__arr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Consider Attd</text>
<border>6</border>
<color>33554432</color>
<x>608</x>
<y>0</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>consider_attd_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Dataowrite</text>
<border>6</border>
<color>33554432</color>
<x>708</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dataowrite_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pay Proc</text>
<border>6</border>
<color>33554432</color>
<x>790</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_proc_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Arr Proc</text>
<border>6</border>
<color>33554432</color>
<x>872</x>
<y>0</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>arr_proc_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Arr Proc</text>
<border>6</border>
<color>33554432</color>
<x>954</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_arr__proc_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Emp Code Fr</text>
<border>6</border>
<color>33554432</color>
<x>1064</x>
<y>0</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Emp Code To</text>
<border>6</border>
<color>33554432</color>
<x>1171</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Payroll Type</text>
<border>6</border>
<color>33554432</color>
<x>1280</x>
<y>0</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_type_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Proc Group From</text>
<border>6</border>
<color>33554432</color>
<x>1370</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__from_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Proc Group To</text>
<border>6</border>
<color>33554432</color>
<x>1507</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Emp Name Fr</text>
<border>6</border>
<color>33554432</color>
<x>1624</x>
<y>0</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__fr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Emp Name To</text>
<border>6</border>
<color>33554432</color>
<x>1735</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__to_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Fr Prd Descr</text>
<border>6</border>
<color>33554432</color>
<x>1848</x>
<y>0</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_prd_descr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>To Prd Descr</text>
<border>6</border>
<color>33554432</color>
<x>1944</x>
<y>0</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_prd_descr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Fr Site Descr</text>
<border>6</border>
<color>33554432</color>
<x>2042</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_site_descr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>To Site Descr</text>
<border>6</border>
<color>33554432</color>
<x>2139</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_site_descr_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Proc Group Fr Name</text>
<border>6</border>
<color>33554432</color>
<x>2238</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__fr_name_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Proc Group To Name</text>
<border>6</border>
<color>33554432</color>
<x>2402</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to_name_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Inter Pro</text>
<border>6</border>
<color>33554432</color>
<x>2568</x>
<y>0</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>inter_pro_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pay Proj</text>
<border>6</border>
<color>33554432</color>
<x>2650</x>
<y>2</y>
<height>20</height>
<width>0</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_proj_t</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Geo Code</text>
<border>6</border>
<color>33554432</color>
<x>2732</x>
<y>2</y>
<height>20</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>geo_loc_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Geo Location</text>
<border>6</border>
<color>33554432</color>
<x>2814</x>
<y>2</y>
<height>20</height>
<width>350</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>geo_loc__desc_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__fr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>102</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__to</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>204</x>
<y>2</y>
<height>23</height>
<width>99</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>305</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code__to</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>408</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_date</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>498</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code__arr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>608</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>consider_attd</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>708</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dataowrite</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>790</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_proc</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>872</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>arr_proc</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>954</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_arr__proc</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1064</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__fr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1171</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_code__to</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1280</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>payroll_type</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1370</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__from</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1507</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>17</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1624</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__fr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1735</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__to</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1848</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_prd_descr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1944</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_prd_descr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2042</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_site_descr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2139</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>to_site_descr</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>23</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2238</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__fr_name</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>24</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2402</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to_name</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2568</x>
<y>0</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>inter_pro</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>26</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2650</x>
<y>2</y>
<height>23</height>
<width>0</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pay_proj</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2732</x>
<y>2</y>
<height>23</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>geo_loc</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2814</x>
<y>2</y>
<height>23</height>
<width>350</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>geo_loc__desc</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>29</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2926</x>
<y>2</y>
<height>23</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fin_ent</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>30</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3008</x>
<y>0</y>
<height>23</height>
<width>350</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fin_ent__desc</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Fin Entity</text>
<border>6</border>
<color>33554432</color>
<x>2926</x>
<y>2</y>
<height>20</height>
<width>80</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fin_ent_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Financial Entity</text>
<border>6</border>
<color>33554432</color>
<x>3008</x>
<y>0</y>
<height>20</height>
<width>350</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fin_ent__desc_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
$PBExportHeader$d_payroll_prc16.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 30 print.margin.right = 30 print.margin.top = 30 print.margin.bottom = 30 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=393 color="536870912" )
table(column=(type=char(10) updatewhereclause=no name=prd_code__fr dbname="prd_code__fr" )
column=(type=char(10) updatewhereclause=no name=prd_code__to dbname="prd_code__to" )
column=(type=char(10) updatewhereclause=no name=site_code__fr dbname="site_code__fr" )
column=(type=char(10) updatewhereclause=no name=site_code__to dbname="site_code__to" )
column=(type=char(10) updatewhereclause=no name=geo_loc__fr dbname="geo_loc__fr" )
column=(type=char(10) updatewhereclause=no name=geo_loc__to dbname="geo_loc__to" )
column=(type=char(10) updatewhereclause=no name=fin_ent__fr dbname="fin_ent__fr" )
column=(type=char(10) updatewhereclause=no name=fin_ent__to dbname="fin_ent__to" )
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=datetime updatewhereclause=no name=payroll_date dbname="payroll_date" )
column=(type=char(10) updatewhereclause=no name=payroll_type dbname="payroll_type" initial="PP" values="Payroll Projection PP/Arrears AA/Payroll PY/" )
column=(type=char(10) updatewhereclause=no name=prd_code__arr dbname="prd_code__arr" )
column=(type=char(1) updatewhereclause=no name=consider_attd dbname="consider_attd" initial="N" )
column=(type=char(1) updatewhereclause=no name=dataowrite dbname="dataowrite" )
column=(type=char(1) updatewhereclause=no name=inter_pro dbname="inter_pro" initial="Y" )
column=(type=char(1) updatewhereclause=no name=pay_proj dbname="pay_proj" initial="Y" )
column=(type=char(1) updatewhereclause=no name=pay_proc dbname="pay_proc" initial="Y" )
column=(type=char(1) updatewhereclause=no name=arr_proc dbname="arr_proc" initial="N" values="YES Y/NO N/" )
column=(type=char(1) updatewhereclause=no name=chg_arr__proc dbname="chg_arr__proc" initial="Y" values="YES Y/NO N/" )
column=(type=char(10) updatewhereclause=no name=prc_grp__fr dbname="prc_grp__fr" )
column=(type=char(10) updatewhereclause=no name=prc_grp__to dbname="prc_grp__to" )
column=(type=char(10) updatewhereclause=no name=emp_name_from dbname="emp_name_from" )
column=(type=char(10) updatewhereclause=no name=emp_name_to dbname="emp_name_to" )
column=(type=char(10) updatewhereclause=no name=period_from dbname="period_from" )
column=(type=char(10) updatewhereclause=no name=period_to dbname="period_to" )
column=(type=char(10) updatewhereclause=no name=proc_from dbname="proc_from" )
column=(type=char(10) updatewhereclause=no name=proc_to dbname="proc_to" )
)
groupbox(band=detail text="Basic"border="5" color="33554432" x="6" y="9" height="217" width="736" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Geo Location :" border="6" color="33554432" x="315" y="127" height="16" width="85" html.valueishtml="0" name=geo_loc__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Changed Arrears Processing :" border="6" color="33554432" x="441" y="151" height="16" width="218" html.valueishtml="0" name=chg_arr__proc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Arrears To Be Considered In The Period :" border="6" color="33554432" x="423" y="31" height="16" width="237" html.valueishtml="0" name=prd_code__arr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=100 border="5" color="33554432" x="664" y="31" height="16" width="70" format="[general]" html.valueishtml="0" name=prd_code__arr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=5 alignment="0" tabsequence=80 border="5" color="33554432" x="405" y="127" height="16" width="128" format="[general]" html.valueishtml="0" name=geo_loc__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=17 alignment="0" tabsequence=140 border="5" color="33554432" x="664" y="127" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=arr_proc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=18 alignment="0" tabsequence=150 border="5" color="33554432" x="664" y="151" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=chg_arr__proc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=16 alignment="0" tabsequence=130 border="5" color="33554432" x="664" y="103" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=pay_proc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="664" y="55" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=inter_pro visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="664" y="79" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=pay_proj visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Interest Processing :" border="6" color="33554432" x="540" y="54" height="16" width="120" html.valueishtml="0" name=inter_pro_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Payroll Projection :" border="6" color="33554432" x="540" y="78" height="16" width="120" html.valueishtml="0" name=pay_proj_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Payroll Processing :" border="6" color="33554432" x="540" y="102" height="16" width="120" html.valueishtml="0" name=pay_proc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Arrears Processing :" border="6" color="33554432" x="540" y="126" height="16" width="120" html.valueishtml="0" name=arr_proc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=20 alignment="0" tabsequence=30 border="5" color="33554432" x="393" y="55" height="16" width="50" format="[general]" html.valueishtml="0" name=emp_code__to visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="393" y="79" height="16" width="50" format="[general]" html.valueishtml="0" name=prd_code__to visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=22 alignment="0" tabsequence=60 border="5" color="33554432" x="393" y="103" height="16" width="50" format="[general]" html.valueishtml="0" name=prc_grp__to visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=24 alignment="0" tabsequence=32766 border="5" color="255" x="448" y="55" height="16" width="88" format="[general]" html.valueishtml="0" name=emp_name_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=26 alignment="0" tabsequence=32766 border="5" color="255" x="448" y="79" height="16" width="88" format="[general]" html.valueishtml="0" name=period_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=28 alignment="0" tabsequence=32766 border="5" color="255" x="448" y="103" height="16" width="88" format="[general]" html.valueishtml="0" name=proc_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=23 alignment="0" tabsequence=32766 border="5" color="255" x="189" y="55" height="16" width="100" format="[general]" html.valueishtml="0" name=emp_name_from visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=25 alignment="0" tabsequence=32766 border="5" color="255" x="189" y="79" height="16" width="100" format="[general]" html.valueishtml="0" name=period_from visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=27 alignment="0" tabsequence=32766 border="5" color="255" x="189" y="103" height="16" width="100" format="[general]" html.valueishtml="0" name=proc_from visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Employee To:" border="6" color="33554432" x="294" y="56" height="16" width="95" html.valueishtml="0" name=emp_code__to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Period To:" border="6" color="33554432" x="294" y="80" height="16" width="95" html.valueishtml="0" name=prd_code__to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Proc. Group To:" border="6" color="33554432" x="294" y="104" height="16" width="95" html.valueishtml="0" name=prc_grp__to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Processing Date :" border="5" color="33554432" x="24" y="31" height="17" width="104" html.valueishtml="0" name=payroll_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Employee From :" border="5" color="33554432" x="24" y="54" height="17" width="102" html.valueishtml="0" name=emp_code__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Period From :" border="5" color="33554432" x="24" y="79" height="17" width="102" html.valueishtml="0" name=prd_code__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Proc Group from:" border="5" color="33554432" x="24" y="100" height="17" width="102" html.valueishtml="0" name=prc_grp__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code :" border="5" color="33554432" x="24" y="127" height="17" width="102" html.valueishtml="0" name=site_code__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Financial Entity :" border="5" color="33554432" x="24" y="151" height="17" width="102" html.valueishtml="0" name=fin_ent__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=10 border="5" color="33554432" x="132" y="31" height="16" width="50" format="[shortdate] [time]" html.valueishtml="0" name=payroll_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=19 alignment="0" tabsequence=20 border="5" color="33554432" x="132" y="55" height="16" width="50" format="[general]" html.valueishtml="0" name=emp_code__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=1 alignment="0" tabsequence=40 border="5" color="33554432" x="132" y="79" height="16" width="50" format="[general]" html.valueishtml="0" name=prd_code__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=21 alignment="0" tabsequence=50 border="5" color="33554432" x="132" y="103" height="16" width="50" format="[general]" html.valueishtml="0" name=prc_grp__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=3 alignment="0" tabsequence=70 border="5" color="33554432" x="132" y="127" height="16" width="176" format="[general]" html.valueishtml="0" name=site_code__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=7 alignment="0" tabsequence=90 border="5" color="33554432" x="132" y="151" height="16" width="176" format="[general]" html.valueishtml="0" name=fin_ent__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="118" y="184" height="16" width="136" format="[general]" html.valueishtml="0" name=payroll_type visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="0" text="Type:" border="6" color="33554432" x="80" y="183" height="16" width="33" html.valueishtml="0" name=payroll_type_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Consider Attendance For Projection :" border="6" color="33554432" x="533" y="177" height="16" width="58" html.valueishtml="0" name=consider_attd_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="OverWrite Data :" border="6" color="33554432" x="531" y="202" height="16" width="65" html.valueishtml="0" name=dataowrite_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=110 border="5" color="33554432" x="601" y="179" height="16" width="33" format="[general]" html.valueishtml="0" name=consider_attd visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=13 alignment="0" tabsequence=120 border="5" color="33554432" x="607" y="202" height="16" width="70" format="[general]" html.valueishtml="0" name=dataowrite visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" 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 template=(comment="" encoding="UTF-8" name="d_payroll_prc11" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_payroll_prc16><d_payroll_prc16_row __pbband=~"detail~"><prd_code__fr/><prd_code__to/><site_code__fr/><site_code__to>site_code__to</site_code__to><geo_loc__fr/><geo_loc__to>geo_loc__to</geo_loc__to><fin_ent__fr/><fin_ent__to>fin_ent__to</fin_ent__to><emp_code__fr/><emp_code__to/><payroll_date/><payroll_type/><prd_code__arr/><consider_attd/><dataowrite/><inter_pro/><pay_proj/><pay_proc/><arr_proc/><chg_arr__proc/><prc_grp__fr/><prc_grp__to/></d_payroll_prc16_row></d_payroll_prc16>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_payroll_prc12.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 30 print.margin.right = 30 print.margin.top = 30 print.margin.bottom = 30 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=24 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=27 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=prd_code__fr dbname="prd_code__fr" )
column=(type=char(10) updatewhereclause=yes name=prd_code__to dbname="prd_code__to" )
column=(type=char(10) updatewhereclause=yes name=site_code__fr dbname="site_code__fr" )
column=(type=char(10) updatewhereclause=yes name=site_code__to dbname="site_code__to" )
column=(type=char(10) updatewhereclause=yes name=payroll_date dbname="payroll_date" )
column=(type=char(10) updatewhereclause=yes name=prd_code__arr dbname="prd_code__arr" )
column=(type=char(10) updatewhereclause=yes name=consider_attd dbname="consider_attd" )
column=(type=char(10) updatewhereclause=yes name=dataowrite dbname="dataowrite" )
column=(type=char(10) updatewhereclause=yes name=pay_proc dbname="pay_proc" )
column=(type=char(10) updatewhereclause=yes name=arr_proc dbname="arr_proc" )
column=(type=char(10) updatewhereclause=yes name=chg_arr__proc dbname="chg_arr__proc" )
column=(type=char(10) updatewhereclause=yes name=emp_code__fr dbname="emp_code__fr" )
column=(type=char(10) updatewhereclause=yes name=emp_code__to dbname="emp_code__to" )
column=(type=char(10) updatewhereclause=yes name=payroll_type dbname="payroll_type" )
column=(type=char(10) updatewhereclause=yes name=proc_group__from dbname="proc_group__from" )
column=(type=char(10) updatewhereclause=yes name=proc_group__to dbname="proc_group__to" )
column=(type=char(10) updatewhereclause=yes name=emp_name__fr dbname="emp_name__fr" )
column=(type=char(10) updatewhereclause=yes name=emp_name__to dbname="emp_name__to" )
column=(type=char(10) updatewhereclause=yes name=fr_prd_descr dbname="fr_prd_descr" )
column=(type=char(10) updatewhereclause=yes name=to_prd_descr dbname="to_prd_descr" )
column=(type=char(10) updatewhereclause=yes name=fr_site_descr dbname="fr_site_descr" )
column=(type=char(10) updatewhereclause=yes name=to_site_descr dbname="to_site_descr" )
column=(type=char(10) updatewhereclause=yes name=proc_group__fr_name dbname="proc_group__fr_name" )
column=(type=char(10) updatewhereclause=yes name=proc_group__to_name dbname="proc_group__to_name" )
column=(type=char(10) updatewhereclause=yes name=inter_pro dbname="inter_pro" )
column=(type=char(10) updatewhereclause=yes name=pay_proj dbname="pay_proj" )
column=(type=char(10) updatewhereclause=yes name=geo_loc dbname="geo_loc" )
column=(type=char(10) updatewhereclause=yes name=geo_loc__desc dbname="geo_loc__desc" )
column=(type=char(10) updatewhereclause=yes name=fin_ent dbname="fin_ent" )
column=(type=char(10) updatewhereclause=yes name=fin_ent__desc dbname="fin_ent__desc" )
)
text(band=header alignment="2" text="Period Code" border="6" color="33554432" x="2" y="2" height="20" width="98" html.valueishtml="0" name=prd_code__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Prd Code To" border="6" color="33554432" x="583" y="2" height="20" width="100" html.valueishtml="0" name=prd_code__to_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Site Code" border="6" color="33554432" x="102" y="2" height="20" width="99" html.valueishtml="0" name=site_code__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Site Code To" border="6" color="33554432" x="685" y="2" height="20" width="101" html.valueishtml="0" name=site_code__to_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Payroll Date" border="6" color="33554432" x="788" y="2" height="20" width="88" html.valueishtml="0" name=payroll_date_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Prd Code Arr" border="6" color="33554432" x="878" y="2" height="20" width="108" html.valueishtml="0" name=prd_code__arr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Consider Attd" border="6" color="33554432" x="988" y="0" height="20" width="98" html.valueishtml="0" name=consider_attd_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Dataowrite" border="6" color="33554432" x="1088" y="2" height="20" width="80" html.valueishtml="0" name=dataowrite_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Pay Proc" border="6" color="33554432" x="1170" y="2" height="20" width="80" html.valueishtml="0" name=pay_proc_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Arr Proc" border="6" color="33554432" x="1252" y="0" height="20" width="80" html.valueishtml="0" name=arr_proc_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg Arr Proc" border="6" color="33554432" x="1334" y="2" height="20" width="108" html.valueishtml="0" name=chg_arr__proc_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Emp Code Fr" border="6" color="33554432" x="1444" y="0" height="20" width="105" html.valueishtml="0" name=emp_code__fr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Emp Code To" border="6" color="33554432" x="1551" y="2" height="20" width="107" html.valueishtml="0" name=emp_code__to_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Payroll Type" border="6" color="33554432" x="1660" y="0" height="20" width="88" html.valueishtml="0" name=payroll_type_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Proc Group From" border="6" color="33554432" x="1750" y="2" height="20" width="135" html.valueishtml="0" name=proc_group__from_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Proc Group To" border="6" color="33554432" x="1887" y="2" height="20" width="115" html.valueishtml="0" name=proc_group__to_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Emp Name Fr" border="6" color="33554432" x="2004" y="0" height="20" width="109" html.valueishtml="0" name=emp_name__fr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Emp Name To" border="6" color="33554432" x="2115" y="2" height="20" width="111" html.valueishtml="0" name=emp_name__to_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Fr Prd Descr" border="6" color="33554432" x="2228" y="0" height="20" width="94" html.valueishtml="0" name=fr_prd_descr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="To Prd Descr" border="6" color="33554432" x="2324" y="0" height="20" width="96" html.valueishtml="0" name=to_prd_descr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Fr Site Descr" border="6" color="33554432" x="2422" y="2" height="20" width="95" html.valueishtml="0" name=fr_site_descr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="To Site Descr" border="6" color="33554432" x="2519" y="2" height="20" width="97" html.valueishtml="0" name=to_site_descr_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Proc Group Fr Name" border="6" color="33554432" x="2618" y="2" height="20" width="162" html.valueishtml="0" name=proc_group__fr_name_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Proc Group To Name" border="6" color="33554432" x="2782" y="2" height="20" width="164" html.valueishtml="0" name=proc_group__to_name_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Inter Pro" border="6" color="33554432" x="2948" y="0" height="20" width="80" html.valueishtml="0" name=inter_pro_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Pay Proj" border="6" color="33554432" x="3030" y="2" height="20" width="80" html.valueishtml="0" name=pay_proj_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Geo Code" border="6" color="33554432" x="203" y="2" height="20" width="80" html.valueishtml="0" name=geo_loc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Geo Location" border="6" color="33554432" x="285" y="2" height="20" width="110" html.valueishtml="0" name=geo_loc__desc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Fin Entity" border="6" color="33554432" x="397" y="2" height="20" width="80" html.valueishtml="0" name=fin_ent_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Financial Entity" border="6" color="33554432" x="479" y="0" height="20" width="102" html.valueishtml="0" name=fin_ent__desc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="23" width="98" format="[general]" html.valueishtml="0" name=prd_code__fr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="583" y="2" height="23" width="100" format="[general]" html.valueishtml="0" name=prd_code__to visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="102" y="2" height="23" width="99" format="[general]" html.valueishtml="0" name=site_code__fr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="685" y="2" height="23" width="101" format="[general]" html.valueishtml="0" name=site_code__to visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="788" y="0" height="23" width="88" format="[general]" html.valueishtml="0" name=payroll_date visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="878" y="2" height="23" width="108" format="[general]" html.valueishtml="0" name=prd_code__arr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="988" y="0" height="23" width="98" format="[general]" html.valueishtml="0" name=consider_attd visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="1088" y="2" height="23" width="80" format="[general]" html.valueishtml="0" name=dataowrite visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="1170" y="2" height="23" width="80" format="[general]" html.valueishtml="0" name=pay_proc visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="33554432" x="1252" y="0" height="23" width="80" format="[general]" html.valueishtml="0" name=arr_proc visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="33554432" x="1334" y="2" height="23" width="108" format="[general]" html.valueishtml="0" name=chg_arr__proc visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="33554432" x="1444" y="0" height="23" width="105" format="[general]" html.valueishtml="0" name=emp_code__fr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="33554432" x="1551" y="2" height="23" width="107" format="[general]" html.valueishtml="0" name=emp_code__to visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="33554432" x="1660" y="0" height="23" width="88" format="[general]" html.valueishtml="0" name=payroll_type visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="33554432" x="1750" y="2" height="23" width="135" format="[general]" html.valueishtml="0" name=proc_group__from visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="33554432" x="1887" y="2" height="23" width="115" format="[general]" html.valueishtml="0" name=proc_group__to visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="33554432" x="2004" y="0" height="23" width="109" format="[general]" html.valueishtml="0" name=emp_name__fr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=18 alignment="0" tabsequence=32766 border="5" color="33554432" x="2115" y="2" height="23" width="111" format="[general]" html.valueishtml="0" name=emp_name__to visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=19 alignment="0" tabsequence=32766 border="5" color="33554432" x="2228" y="0" height="23" width="94" format="[general]" html.valueishtml="0" name=fr_prd_descr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=20 alignment="0" tabsequence=32766 border="5" color="33554432" x="2324" y="0" height="23" width="96" format="[general]" html.valueishtml="0" name=to_prd_descr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=21 alignment="0" tabsequence=32766 border="5" color="33554432" x="2422" y="2" height="23" width="95" format="[general]" html.valueishtml="0" name=fr_site_descr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=22 alignment="0" tabsequence=32766 border="5" color="33554432" x="2519" y="2" height="23" width="97" format="[general]" html.valueishtml="0" name=to_site_descr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=23 alignment="0" tabsequence=32766 border="5" color="33554432" x="2618" y="2" height="23" width="162" format="[general]" html.valueishtml="0" name=proc_group__fr_name visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=24 alignment="0" tabsequence=32766 border="5" color="33554432" x="2782" y="2" height="23" width="164" format="[general]" html.valueishtml="0" name=proc_group__to_name visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=25 alignment="0" tabsequence=32766 border="5" color="33554432" x="2948" y="0" height="23" width="80" format="[general]" html.valueishtml="0" name=inter_pro visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=26 alignment="0" tabsequence=32766 border="5" color="33554432" x="3030" y="2" height="23" width="80" format="[general]" html.valueishtml="0" name=pay_proj visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=27 alignment="0" tabsequence=32766 border="5" color="33554432" x="203" y="2" height="23" width="80" format="[general]" html.valueishtml="0" name=geo_loc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=28 alignment="0" tabsequence=32766 border="5" color="33554432" x="285" y="2" height="23" width="110" format="[general]" html.valueishtml="0" name=geo_loc__desc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=29 alignment="0" tabsequence=32766 border="5" color="33554432" x="397" y="2" height="23" width="80" format="[general]" html.valueishtml="0" name=fin_ent visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=30 alignment="0" tabsequence=32766 border="5" color="33554432" x="479" y="0" height="23" width="102" format="[general]" html.valueishtml="0" name=fin_ent__desc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="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
$PBExportHeader$d_payroll_prc16.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 30 print.margin.right = 30 print.margin.top = 30 print.margin.bottom = 30 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=393 color="536870912" )
table(column=(type=char(10) updatewhereclause=no name=prd_code__fr dbname="prd_code__fr" )
column=(type=char(10) updatewhereclause=no name=prd_code__to dbname="prd_code__to" )
column=(type=char(10) updatewhereclause=no name=site_code__fr dbname="site_code__fr" )
column=(type=char(10) updatewhereclause=no name=site_code__to dbname="site_code__to" )
column=(type=char(10) updatewhereclause=no name=geo_loc__fr dbname="geo_loc__fr" )
column=(type=char(10) updatewhereclause=no name=geo_loc__to dbname="geo_loc__to" )
column=(type=char(10) updatewhereclause=no name=fin_ent__fr dbname="fin_ent__fr" )
column=(type=char(10) updatewhereclause=no name=fin_ent__to dbname="fin_ent__to" )
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=datetime updatewhereclause=no name=payroll_date dbname="payroll_date" )
column=(type=char(10) updatewhereclause=no name=payroll_type dbname="payroll_type" initial="PP" values="Payroll Projection PP/Arrears AA/Payroll PY/" )
column=(type=char(10) updatewhereclause=no name=prd_code__arr dbname="prd_code__arr" )
column=(type=char(1) updatewhereclause=no name=consider_attd dbname="consider_attd" initial="N" )
column=(type=char(1) updatewhereclause=no name=dataowrite dbname="dataowrite" )
column=(type=char(1) updatewhereclause=no name=inter_pro dbname="inter_pro" initial="Y" )
column=(type=char(1) updatewhereclause=no name=pay_proj dbname="pay_proj" initial="Y" )
column=(type=char(1) updatewhereclause=no name=pay_proc dbname="pay_proc" initial="Y" )
column=(type=char(1) updatewhereclause=no name=arr_proc dbname="arr_proc" initial="N" values="YES Y/NO N/" )
column=(type=char(1) updatewhereclause=no name=chg_arr__proc dbname="chg_arr__proc" initial="Y" values="YES Y/NO N/" )
column=(type=char(10) updatewhereclause=no name=prc_grp__fr dbname="prc_grp__fr" )
column=(type=char(10) updatewhereclause=no name=prc_grp__to dbname="prc_grp__to" )
column=(type=char(10) updatewhereclause=no name=emp_name_from dbname="emp_name_from" )
column=(type=char(10) updatewhereclause=no name=emp_name_to dbname="emp_name_to" )
column=(type=char(10) updatewhereclause=no name=period_from dbname="period_from" )
column=(type=char(10) updatewhereclause=no name=period_to dbname="period_to" )
column=(type=char(10) updatewhereclause=no name=proc_from dbname="proc_from" )
column=(type=char(10) updatewhereclause=no name=proc_to dbname="proc_to" )
)
groupbox(band=detail text="Basic"border="5" color="33554432" x="6" y="9" height="217" width="736" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Geo Location :" border="6" color="33554432" x="315" y="127" height="16" width="85" html.valueishtml="0" name=geo_loc__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Changed Arrears Processing :" border="6" color="33554432" x="441" y="151" height="16" width="218" html.valueishtml="0" name=chg_arr__proc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Arrears To Be Considered In The Period :" border="6" color="33554432" x="423" y="31" height="16" width="237" html.valueishtml="0" name=prd_code__arr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=100 border="5" color="33554432" x="664" y="31" height="16" width="70" format="[general]" html.valueishtml="0" name=prd_code__arr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=5 alignment="0" tabsequence=80 border="5" color="33554432" x="405" y="127" height="16" width="128" format="[general]" html.valueishtml="0" name=geo_loc__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=17 alignment="0" tabsequence=140 border="5" color="33554432" x="664" y="127" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=arr_proc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=18 alignment="0" tabsequence=150 border="5" color="33554432" x="664" y="151" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=chg_arr__proc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=16 alignment="0" tabsequence=130 border="5" color="33554432" x="664" y="103" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=pay_proc visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="664" y="55" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=inter_pro visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="664" y="79" height="16" width="70" format="[Yes/No]" html.valueishtml="0" name=pay_proj visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Interest Processing :" border="6" color="33554432" x="540" y="54" height="16" width="120" html.valueishtml="0" name=inter_pro_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Payroll Projection :" border="6" color="33554432" x="540" y="78" height="16" width="120" html.valueishtml="0" name=pay_proj_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Payroll Processing :" border="6" color="33554432" x="540" y="102" height="16" width="120" html.valueishtml="0" name=pay_proc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Arrears Processing :" border="6" color="33554432" x="540" y="126" height="16" width="120" html.valueishtml="0" name=arr_proc_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=20 alignment="0" tabsequence=30 border="5" color="33554432" x="393" y="55" height="16" width="50" format="[general]" html.valueishtml="0" name=emp_code__to visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="393" y="79" height="16" width="50" format="[general]" html.valueishtml="0" name=prd_code__to visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=22 alignment="0" tabsequence=60 border="5" color="33554432" x="393" y="103" height="16" width="50" format="[general]" html.valueishtml="0" name=prc_grp__to visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=24 alignment="0" tabsequence=32766 border="5" color="255" x="448" y="55" height="16" width="88" format="[general]" html.valueishtml="0" name=emp_name_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=26 alignment="0" tabsequence=32766 border="5" color="255" x="448" y="79" height="16" width="88" format="[general]" html.valueishtml="0" name=period_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=28 alignment="0" tabsequence=32766 border="5" color="255" x="448" y="103" height="16" width="88" format="[general]" html.valueishtml="0" name=proc_to visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=23 alignment="0" tabsequence=32766 border="5" color="255" x="189" y="55" height="16" width="100" format="[general]" html.valueishtml="0" name=emp_name_from visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=25 alignment="0" tabsequence=32766 border="5" color="255" x="189" y="79" height="16" width="100" format="[general]" html.valueishtml="0" name=period_from visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=27 alignment="0" tabsequence=32766 border="5" color="255" x="189" y="103" height="16" width="100" format="[general]" html.valueishtml="0" name=proc_from visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Employee To:" border="6" color="33554432" x="294" y="56" height="16" width="95" html.valueishtml="0" name=emp_code__to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Period To:" border="6" color="33554432" x="294" y="80" height="16" width="95" html.valueishtml="0" name=prd_code__to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Proc. Group To:" border="6" color="33554432" x="294" y="104" height="16" width="95" html.valueishtml="0" name=prc_grp__to_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Processing Date :" border="5" color="33554432" x="24" y="31" height="17" width="104" html.valueishtml="0" name=payroll_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Employee From :" border="5" color="33554432" x="24" y="54" height="17" width="102" html.valueishtml="0" name=emp_code__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Period From :" border="5" color="33554432" x="24" y="79" height="17" width="102" html.valueishtml="0" name=prd_code__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Proc Group from:" border="5" color="33554432" x="24" y="100" height="17" width="102" html.valueishtml="0" name=prc_grp__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code :" border="5" color="33554432" x="24" y="127" height="17" width="102" html.valueishtml="0" name=site_code__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Financial Entity :" border="5" color="33554432" x="24" y="151" height="17" width="102" html.valueishtml="0" name=fin_ent__fr_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=10 border="5" color="33554432" x="132" y="31" height="16" width="50" format="[shortdate] [time]" html.valueishtml="0" name=payroll_date visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=19 alignment="0" tabsequence=20 border="5" color="33554432" x="132" y="55" height="16" width="50" format="[general]" html.valueishtml="0" name=emp_code__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=1 alignment="0" tabsequence=40 border="5" color="33554432" x="132" y="79" height="16" width="50" format="[general]" html.valueishtml="0" name=prd_code__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=21 alignment="0" tabsequence=50 border="5" color="33554432" x="132" y="103" height="16" width="50" format="[general]" html.valueishtml="0" name=prc_grp__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=3 alignment="0" tabsequence=70 border="5" color="33554432" x="132" y="127" height="16" width="176" format="[general]" html.valueishtml="0" name=site_code__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=7 alignment="0" tabsequence=90 border="5" color="33554432" x="132" y="151" height="16" width="176" format="[general]" html.valueishtml="0" name=fin_ent__fr visible="1" edit.limit=0 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="118" y="184" height="16" width="136" format="[general]" html.valueishtml="0" name=payroll_type visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="0" text="Type:" border="6" color="33554432" x="80" y="183" height="16" width="33" html.valueishtml="0" name=payroll_type_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Consider Attendance For Projection :" border="6" color="33554432" x="533" y="177" height="16" width="58" html.valueishtml="0" name=consider_attd_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="OverWrite Data :" border="6" color="33554432" x="531" y="202" height="16" width="65" html.valueishtml="0" name=dataowrite_t visible="0" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="0" tabsequence=110 border="5" color="33554432" x="601" y="179" height="16" width="33" format="[general]" html.valueishtml="0" name=consider_attd visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=13 alignment="0" tabsequence=120 border="5" color="33554432" x="607" y="202" height="16" width="70" format="[general]" html.valueishtml="0" name=dataowrite visible="0" ddlb.limit=0 ddlb.allowedit=no ddlb.case=upper ddlb.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" 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 template=(comment="" encoding="UTF-8" name="d_payroll_prc11" xml="<?xml version=~"1.0~" encoding=~"UTF-8~" standalone=~"no~"?><d_payroll_prc16><d_payroll_prc16_row __pbband=~"detail~"><prd_code__fr/><prd_code__to/><site_code__fr/><site_code__to>site_code__to</site_code__to><geo_loc__fr/><geo_loc__to>geo_loc__to</geo_loc__to><fin_ent__fr/><fin_ent__to>fin_ent__to</fin_ent__to><emp_code__fr/><emp_code__to/><payroll_date/><payroll_type/><prd_code__arr/><consider_attd/><dataowrite/><inter_pro/><pay_proj/><pay_proc/><arr_proc/><chg_arr__proc/><prc_grp__fr/><prc_grp__to/></d_payroll_prc16_row></d_payroll_prc16>"))
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.util.*;
import java.util.Date;
import java.sql.*;
import java.text.SimpleDateFormat;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.w3c.dom.*;
import java.io.*;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
// import ibase.webitm.utility.GenericUtility; commented By Poonam B[31-07-2019]
import ibase.utility.CommonConstants;
import ibase.utility.E12GenericUtility;
import ibase.utility.EMail;
//import ibase.system.config.*; //commented By Poonam B[31-07-2019]
//import ibase.webitm.ejb.ValidatorEJB; //commented By Poonam B[31-07-2019]
import javax.ejb.Stateless;
//import javax.ejb.Stateless; // added for ejb3 commented By Poonam B[31-07-2019]
import javax.xml.rpc.ParameterMode;
@Stateless
public class PayrollPrc extends ProcessEJB implements PayrollPrcLocal ,PayrollPrcRemote //SessionBean
{
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException, ITMException
{
System.out.println("Inside " + this.getClass().getSimpleName() + " getData(S)");
String retString = "";
Document dom = null, dom2 = null;
try {
E12GenericUtility genericUtility = new E12GenericUtility();
if (xmlString != null && xmlString.trim().length() > 0) {
dom = genericUtility.parseString(xmlString);
}
if (xmlString2 != null && xmlString2.trim().length() > 0) {
dom2 = genericUtility.parseString(xmlString2);
}
retString = getData(dom, dom2, windowName, xtraParams);
} catch (Exception e) {
System.out.println("Inside Exception [" + this.getClass().getSimpleName() + "][getData(xml)]" + e.getMessage());
e.printStackTrace();
throw new ITMException(e); // Added By Poonam B [31-07-2019]
}
return retString;
}
/**
* @method : getData
* @param : Document,Document,String,String
* @throws : RemoteException, ITMException
* @return : String
*
*/
public String getData(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException, ITMException
{
String resultString = "", sql = "",errString = "",getDataSQl = "";
PreparedStatement pstmt = null,pstmt1 = null;
ResultSet rs = null,rs1 = null;
int usrLevel = 9;
boolean hasUserSite = false;;
StringBuffer xmlStringBuffer = new StringBuffer();
Connection conn = null;
//ConnDriver connDriver = new ConnDriver();//commented By Poonam B[31-07-2019]
/*Timestamp toDateTS = null, relieveDateTS = null;*///commented By Poonam B[31-07-2019] variables not in use
Date payrollDate = null;
// GenericUtility genericUtility = GenericUtility.getInstance(); //commented By Poonam B[31-07-2019]
E12GenericUtility genericUtility= new E12GenericUtility();
//ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();//commented By Poonam B[02-08-2019] never used in this method
Document fileDome = null;
ArrayList<String> userSiteList = null;
String loginCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
String loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSite");
String empCode = "", prdCodeFr = "", prdCodeTo = "", siteCodeFr="", siteCodeTo="",procGrpToCode = "",
geoCodeFr = "", geoCodeTo = "", finEntFr = "", finEntTo="",empCodeFr = "",empCodeTo ="",finDescr = "",procGrpFrCode = "",
siteCd="", geoCd= "", finEntity="",payrollType = "",prdCodeArr = "",considerAttd ="",geoDescr = "",procGrpToName = "",
interPro = "",payProj = "",payProc ="",arrProc ="",chgArrProc ="",dataOwrite = "",tempPayDate = "",procGrpFrName = "",
siteCodeParam = "", finCodeParam = "", geoCodeParam ="",paramString ="",inputSqlFromFile = "",
empNameFr ="",empNameTo ="",frPrdDescr = "",toPrdDescr ="",prcGrpFrom = "",prcGrpTo ="";
try {
xmlStringBuffer = new StringBuffer("<?xml version = \"1.0\"?>");
xmlStringBuffer.append("<DocumentRoot>");
xmlStringBuffer.append("<description>").append("Datawindow Root").append("</description>");
xmlStringBuffer.append("<group0>");
xmlStringBuffer.append("<description>").append("Group0 description").append("</description>");
xmlStringBuffer.append("<Header0>");
//Modified By Poonam B[31-07-2019][START]
/*conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);*/
conn = getConnection();
//Modified By Poonam B[31-07-2019][END]
prdCodeFr =checkNull(genericUtility.getColumnValue("prd_code__fr", dom));
prdCodeTo = checkNull(genericUtility.getColumnValue("prd_code__to", dom));
geoCodeFr = checkNull(genericUtility.getColumnValue("geo_loc__fr", dom));
//geoCodeTo = genericUtility.getColumnValue("geo_loc__to", dom);
finEntFr = checkNull(genericUtility.getColumnValue("fin_ent__fr", dom));
//finEntTo = genericUtility.getColumnValue("fin_ent__to", dom);
siteCodeFr = checkNull(genericUtility.getColumnValue("site_code__fr", dom));//Modified By Poonam B[31-07-2019]
// siteCodeTo = genericUtility.getColumnValue("site_code__to", dom);
payrollType =checkNull(genericUtility.getColumnValue("payroll_type", dom));
prdCodeArr = checkNull(genericUtility.getColumnValue("prd_code__arr", dom));
considerAttd =checkNull(genericUtility.getColumnValue("consider_attd", dom));
interPro =checkNull(genericUtility.getColumnValue("inter_pro", dom));
payProj = checkNull(genericUtility.getColumnValue("pay_proj", dom));
payProc = checkNull(genericUtility.getColumnValue("pay_proc", dom));
arrProc = checkNull(genericUtility.getColumnValue("arr_proc", dom));
dataOwrite = checkNull(genericUtility.getColumnValue("dataowrite", dom));
chgArrProc = checkNull(genericUtility.getColumnValue("chg_arr__proc", dom));
tempPayDate = checkNull(genericUtility.getColumnValue("payroll_date", dom));
empCodeFr = checkNull(genericUtility.getColumnValue("emp_code__fr", dom));
empCodeTo = checkNull(genericUtility.getColumnValue("emp_code__to", dom));
procGrpFrCode = checkNull(genericUtility.getColumnValue("prc_grp__fr", dom));
procGrpToCode = checkNull(genericUtility.getColumnValue("prc_grp__to", dom));
procGrpFrName = checkNull(genericUtility.getColumnValue("proc_from", dom));
procGrpToName = checkNull(genericUtility.getColumnValue("proc_to", dom));
empNameFr = checkNull(genericUtility.getColumnValue("emp_name_from", dom));
empNameTo = checkNull(genericUtility.getColumnValue("emp_name_to", dom));
frPrdDescr = checkNull(genericUtility.getColumnValue("period_from", dom));
toPrdDescr = checkNull(genericUtility.getColumnValue("period_to", dom));
prcGrpFrom = checkNull(genericUtility.getColumnValue("prc_grp__fr", dom));
prcGrpTo = checkNull(genericUtility.getColumnValue("prc_grp__to", dom));
if(empCodeFr == null || empCodeFr.trim().length() <0){
empCodeFr = "00";
}
if(empCodeTo == null || empCodeTo.trim().length() <0){
empCodeTo = "ZZ";
}
System.out.println("prd_code__fr >> "+prdCodeFr);
System.out.println("prd_code__to >> "+prdCodeTo);
System.out.println("geoCodeFr >> "+geoCodeFr);
System.out.println("geoCodeTo >> "+geoCodeTo);
System.out.println("finEntFr >> "+finEntFr);
System.out.println("finEntTo >> "+finEntTo);
System.out.println("siteCodeFr >> "+siteCodeFr);
System.out.println("siteCodeTo >> "+siteCodeTo);
System.out.println("payroll_type >> "+payrollType);
System.out.println("prd_code__arr >> "+prdCodeArr);
System.out.println("chg_arr__proc >> "+considerAttd);
System.out.println("inter_pro >> "+interPro);
System.out.println("pay_proj >> "+payProj);
System.out.println("pay_proc >> "+payProc);
System.out.println("arr_proc >> "+arrProc);
System.out.println("dataowrite >> "+dataOwrite);
System.out.println("chg_arr__proc >> "+chgArrProc);
System.out.println("tempPayDate >> "+tempPayDate);
System.out.println("payrollDate >> "+payrollDate);
System.out.println("empCodeFr >> "+empCodeFr);
System.out.println("empCodeTo >> "+empCodeTo);
System.out.println("procGrpFrName >> "+procGrpFrName);
System.out.println("procGrpToName >> "+procGrpToName);
System.out.println("procGrpFrName >> "+procGrpFrName);
System.out.println("procGrpToName >> "+procGrpToName);
String filePath = CommonConstants.APPLICATION_CONTEXT+"setting"+ File.separator+"APPL_SETTING.xml";
System.out.println(" filePath1 >> " + filePath);
if(CommonConstants.APPLICATION_CONTEXT == null)
{
filePath = CommonConstants.JBOSSHOME+File.separator+"server"+File.separator+"default" +File.separator+ "deploy" + File.separator
+"ibase.ear" + File.separator +"ibase.war" + File.separator +"setting" + File.separator+"APPL_SETTING.xml";
System.out.println(" filePath2 >> " + filePath);
}
try
{
fileDome = genericUtility.parseFile(filePath);
System.out.println("fileDome >> "+fileDome);
if (fileDome.getElementsByTagName("SQL_PAYROLL_PROCESS").getLength() >0 )
{
inputSqlFromFile = fileDome.getElementsByTagName("SQL_PAYROLL_PROCESS").item(0).getFirstChild()== null ?"": fileDome.getElementsByTagName("SQL_PAYROLL_PROCESS").item(0).getFirstChild().getNodeValue();
}
System.out.println("inputSqlFromFile >> "+ inputSqlFromFile);
}
catch(Exception ex)
{
ex.printStackTrace();
}
sql = "SELECT USR_LEV FROM USERS WHERE CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginCode);
rs = pstmt.executeQuery();
if (rs.next())
{
usrLevel = rs.getInt("USR_LEV");
System.out.println("usrLevel >> ["+usrLevel+"]");
}
close(pstmt, rs);
if(usrLevel > 1)
{
userSiteList = new ArrayList<String>();
sql = "SELECT SITE_CODE FROM USER_SITE WHERE USER_ID = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginCode);
rs = pstmt.executeQuery();
while (rs.next())
{
//Modified By Poonam B[31-07-2019][START]
//userSiteList.add(rs.getString("SITE_CODE"));
userSiteList.add(checkNull(rs.getString("SITE_CODE")));
//Modified By Poonam B[31-07-2019][END]
System.out.println("userSiteList >> ["+userSiteList+"]");
}
}
close(pstmt, rs);
/***Validate Employee code ,site code ,financial entity,geo location**/
//errString = validateData(siteCodeFr,geoCodeFr,finEntFr,empCodeFr,empCodeTo,prdCodeFr,conn);
//errString = validateData(siteCodeFr,geoCodeFr,finEntFr,empCodeFr,empCodeTo,prdCodeFr,prdCodeArr,prcGrpFrom,prcGrpTo,conn);
errString = validateData(siteCodeFr,geoCodeFr,finEntFr,empCodeFr,empCodeTo,prdCodeFr,prdCodeArr,prcGrpFrom,prcGrpTo,xtraParams,conn);
if(errString != null && errString.trim().length() > 0 )
{
System.out.println(" errString >> ["+errString+"]");
//errString = itmDBAccessEJB.getErrorString("",errString + "VMPAYPRC", "");
//errString = itmDBAccessEJB.getErrorString("",errString,"");
return errString;
}
else
{
/**To fetch data for processing from site table*/
//paramString = siteCodeFr;
System.out.println("paramString >>" +paramString);
if(siteCodeFr != null && siteCodeFr.trim().length() > 0)
{
siteCodeParam = getQueryString(siteCodeFr);
System.out.println("siteCodeParam >> "+ siteCodeParam);
//paramString = paramString + "," + siteCodeFr;
paramString = siteCodeFr;
}
if(finEntFr != null && finEntFr.trim().length() > 0)
{
finCodeParam = getQueryString(finEntFr);
System.out.println("finCodeParam >> "+ finCodeParam);
//paramString = paramString + "," + finEntFr;
paramString = paramString + "," + finEntFr ;
}
if(geoCodeFr != null && geoCodeFr.trim().length() > 0)
{
geoCodeParam = getQueryString(geoCodeFr);
System.out.println("geoCodeParam >> "+ geoCodeParam);
//paramString = paramString + "," + geoCodeFr;
paramString = paramString + "," + geoCodeFr ;
}
if(paramString !=null && paramString.trim().length()>0)
{
int stringIndex = paramString.indexOf(",");
if(stringIndex == 0){
paramString = paramString.substring(1);
}
}
System.out.println(" paramString >> "+ paramString);
System.out.println(" errString empty");
/**Creating sql to fetch data on the combination of site,geo and finentity code*/
//sql = inputSqlFromFile + " site_code in " + siteCodeParam;
getDataSQl = inputSqlFromFile;
String sqlCondn = "";
if(siteCodeParam != null && siteCodeParam.trim().length() > 0)
{
//sql = inputSqlFromFile + " site_code in " + siteCodeParam;
sqlCondn = " (site_code in " + siteCodeParam;
getDataSQl = getDataSQl + sqlCondn;
}
if((finCodeParam != null && finCodeParam.trim().length() > 0))
{
//sql = sql + " and fin_entity in " +finCodeParam ;
if(sqlCondn != null & sqlCondn.trim().length() > 0)
{
sqlCondn = " and fin_entity in " +finCodeParam ;
}
else
{
sqlCondn = " (fin_entity in " +finCodeParam ;
}
getDataSQl = getDataSQl + sqlCondn ;
}
if((geoCodeParam != null && geoCodeParam.trim().length() > 0))
{
//sql = sql + " and geo_loc in "+ geoCodeParam;
if(sqlCondn != null & sqlCondn.trim().length() > 0)
{
sqlCondn = " and geo_loc in " +geoCodeParam ;
}
else
{
sqlCondn = " (geo_loc in " +geoCodeParam ;
}
getDataSQl = getDataSQl + sqlCondn;
}
getDataSQl = getDataSQl + ") order by fin_entity, geo_loc, site_code";
System.out.println("generated SQL >> "+ getDataSQl);
pstmt = conn.prepareStatement(getDataSQl);
/**adding parameter on the basis of query string*/
int index = 1;
String[] valueArray = null;
paramString = paramString.trim();
valueArray = paramString.split(",");
if(paramString.contains(","))
{
for(String paramValue : valueArray)
{
System.out.println("PayrollPrc:::paramValue:::" +paramValue);
pstmt.setString(index++, paramValue.trim());
System.out.println(" for loop for passing parameter >>" +index);
}
}
else
{
pstmt.setString(1, paramString.trim());
System.out.println(" for loop for passing parameter else");
}
rs = pstmt.executeQuery();
while (rs.next())
{
siteCd = checkNull(rs.getString("site_code"));
finEntity = checkNull(rs.getString("fin_entity"));
geoCd = checkNull(rs.getString("geo_loc"));
System.out.println("siteCd >>"+ siteCd);
System.out.println("finEntity >>"+ finEntity);
System.out.println("geoCd >>"+ geoCd);
if(usrLevel > 1)
{
hasUserSite = false;
for(String userSite : userSiteList)
{
System.out.println("loginSite >> ["+loginSite+"][userSite >>["+userSite+"]");
if(siteCd.equalsIgnoreCase(userSite))
{
hasUserSite = true;
break;
}
}
if(!hasUserSite)
{
continue;
}
}
/**To fetch description from gencodes for geo location*/
String sql1 = "select descr from gencodes where fld_name = ? and fld_value = ?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1,"GEO_LOC");
pstmt1.setString(2,geoCd);
rs1 = pstmt1.executeQuery();
if(rs1.next())
{
//Modified By Poonam B on[31-07-2019][START]
//geoDescr = rs1.getString("descr");
geoDescr = checkNull(rs1.getString("descr"));
//Modified By Poonam B on[31-07-2019][END]
}
close(pstmt1, rs1);
/**To fetch description from finent for fin_entity */
String sql2 = "select descr from finent where fin_entity = ?";
pstmt1 = conn.prepareStatement(sql2);
pstmt1.setString(1,finEntity);
rs1 = pstmt1.executeQuery();
if(rs1.next())
{
//Modified By Poonam B on[31-07-2019][START]
//finDescr = rs1.getString("descr");
finDescr = checkNull(rs1.getString("descr"));
//Modified By Poonam B on[31-07-2019][END]
}
close(pstmt1, rs1);
/**Creating XML to display data in grid view on get data*/
xmlStringBuffer.append("<Detail2>");
xmlStringBuffer.append("<prd_code__fr>").append("<![CDATA[").append(prdCodeFr).append("]]>").append("</prd_code__fr>");
xmlStringBuffer.append("<prd_code__to>").append("<![CDATA[").append(prdCodeTo).append("]]>").append("</prd_code__to>");
xmlStringBuffer.append("<site_code__fr>").append("<![CDATA[").append(siteCd).append("]]>").append("</site_code__fr>");
xmlStringBuffer.append("<site_code__to>").append("<![CDATA[").append(siteCd).append("]]>").append("</site_code__to>");
xmlStringBuffer.append("<payroll_date>").append("<![CDATA[").append(tempPayDate).append("]]>").append("</payroll_date>");
xmlStringBuffer.append("<prd_code__arr>").append("<![CDATA[").append(prdCodeArr).append("]]>").append("</prd_code__arr>");
xmlStringBuffer.append("<consider_attd>").append("<![CDATA[").append(considerAttd).append("]]>").append("</consider_attd>");
xmlStringBuffer.append("<dataowrite>").append("<![CDATA[").append(dataOwrite).append("]]>").append("</dataowrite>");
xmlStringBuffer.append("<pay_proc>").append("<![CDATA[").append(payProc).append("]]>").append("</pay_proc>");
xmlStringBuffer.append("<arr_proc>").append("<![CDATA[").append(arrProc).append("]]>").append("</arr_proc>");
xmlStringBuffer.append("<chg_arr__proc>").append("<![CDATA[").append(chgArrProc).append("]]>").append("</chg_arr__proc>");
xmlStringBuffer.append("<emp_code__fr>").append("<![CDATA[").append(empCodeFr).append("]]>").append("</emp_code__fr>");
xmlStringBuffer.append("<emp_code__to>").append("<![CDATA[").append(empCodeTo).append("]]>").append("</emp_code__to>");
//xmlStringBuffer.append("<emp_code__fr>").append("<![CDATA[").append("00").append("]]>").append("</emp_code__fr>");
//xmlStringBuffer.append("<emp_code__to>").append("<![CDATA[").append("ZZ").append("]]>").append("</emp_code__to>");
xmlStringBuffer.append("<payroll_type>").append("<![CDATA[").append(payrollType).append("]]>").append("</payroll_type>");
/*xmlStringBuffer.append("<proc_group__from>").append("<![CDATA[").append("00").append("]]>").append("</proc_group__from>");
xmlStringBuffer.append("<proc_group__to>").append("<![CDATA[").append("ZZ").append("]]>").append("</proc_group__to>");*/
xmlStringBuffer.append("<proc_group__from>").append("<![CDATA[").append(procGrpFrCode).append("]]>").append("</proc_group__from>");
xmlStringBuffer.append("<proc_group__to>").append("<![CDATA[").append(procGrpToCode).append("]]>").append("</proc_group__to>");
xmlStringBuffer.append("<emp_name__fr>").append("<![CDATA[").append("00").append("]]>").append("</emp_name__fr>");
xmlStringBuffer.append("<emp_name__to>").append("<![CDATA[").append("ZZ").append("]]>").append("</emp_name__to>");
//xmlStringBuffer.append("<emp_name__fr>").append("<![CDATA[").append(empNameFr).append("]]>").append("</emp_name__fr>");
//xmlStringBuffer.append("<emp_name__to>").append("<![CDATA[").append(empNameTo).append("]]>").append("</emp_name__to>");
//xmlStringBuffer.append("<fr_prd_descr>").append("<![CDATA[").append("00").append("]]>").append("</fr_prd_descr>");
//xmlStringBuffer.append("<to_prd_descr>").append("<![CDATA[").append("ZZ").append("]]>").append("</to_prd_descr>");
xmlStringBuffer.append("<fr_prd_descr>").append("<![CDATA[").append(frPrdDescr).append("]]>").append("</fr_prd_descr>");
xmlStringBuffer.append("<to_prd_descr>").append("<![CDATA[").append(toPrdDescr).append("]]>").append("</to_prd_descr>");
xmlStringBuffer.append("<fr_site_descr>").append("<![CDATA[").append("00").append("]]>").append("</fr_site_descr>");
xmlStringBuffer.append("<to_site_descr>").append("<![CDATA[").append("ZZ").append("]]>").append("</to_site_descr>");
/*xmlStringBuffer.append("<proc_group__fr_name>").append("<![CDATA[").append("00").append("]]>").append("</proc_group__fr_name>");
xmlStringBuffer.append("<proc_group__to_name>").append("<![CDATA[").append("ZZ").append("]]>").append("</proc_group__to_name>");*/
xmlStringBuffer.append("<proc_group__fr_name>").append("<![CDATA[").append(procGrpFrName).append("]]>").append("</proc_group__fr_name>");
xmlStringBuffer.append("<proc_group__to_name>").append("<![CDATA[").append(procGrpToName).append("]]>").append("</proc_group__to_name>");
xmlStringBuffer.append("<inter_pro>").append("<![CDATA[").append(interPro).append("]]>").append("</inter_pro>");
xmlStringBuffer.append("<pay_proj>").append("<![CDATA[").append(payProj).append("]]>").append("</pay_proj>");
xmlStringBuffer.append("<geo_loc>").append("<![CDATA[").append(geoCd).append("]]>").append("</geo_loc>");
xmlStringBuffer.append("<geo_loc__desc>").append("<![CDATA[").append(geoDescr).append("]]>").append("</geo_loc__desc>");
xmlStringBuffer.append("<fin_ent>").append("<![CDATA[").append(finEntity).append("]]>").append("</fin_ent>");
xmlStringBuffer.append("<fin_ent__desc>").append("<![CDATA[").append(finDescr).append("]]>").append("</fin_ent__desc>");
//xmlStringBuffer.append("<prd_code>").append("<![CDATA[").append(prdCodeFr).append("]]>").append("</prd_code>");
//xmlStringBuffer.append("<site_code>").append("<![CDATA[").append(siteCd).append("]]>").append("</site_code>");
//xmlStringBuffer.append("<geo_loc>").append("<![CDATA[").append(geoCd).append("]]>").append("</geo_loc>");
//xmlStringBuffer.append("<geo_loc__desc>").append("<![CDATA[").append(geoDescr).append("]]>").append("</geo_loc__desc>");
xmlStringBuffer.append("\n");
xmlStringBuffer.append("</Detail2>");
}
xmlStringBuffer.append("</Header0>");
xmlStringBuffer.append("</group0>");
xmlStringBuffer.append("</DocumentRoot>");
rs.close();
rs = null;
pstmt.close();
pstmt = null;
System.out.println("valueXmlString["+xmlStringBuffer+"]");
if(xmlStringBuffer!=null)
{
resultString = xmlStringBuffer.toString();
System.out.println("ResultString....." + resultString);
}
}
}
catch (SQLException e)
{
System.out.println("SQLException " + e.getMessage() + ":");
throw new ITMException(e);
}
catch (Exception e)
{
System.out.println("Exception " + e.getMessage() + ":");
throw new ITMException(e);
}
finally
{
try {
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
if (conn != null) {
conn.close();
conn = null;
}
} catch (Exception e) {
System.out.println("Inside Exception getdata(D) [" + e.getMessage() +"]");
e.printStackTrace();
}
}
return resultString;
}
/**
* @method : checkNull
* @param : String
* @return : String
*
*/
public static String checkNull(String input) {
return input == null ? "" : input.trim();
}
public void close(PreparedStatement pstmt, ResultSet rs) {
try {
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
public String process() throws RemoteException,ITMException
{
return "";
}
/**
* @method : process
* @param : String,String,String,String
* @throws : RemoteException, ITMException
* @return : String
*
*/
public String process(String xmlString, String xmlString2, String windowName, String xtraParams)
throws RemoteException,ITMException
{
Document detailDom = null;
Document headerDom = null;
E12GenericUtility genericUtility= new E12GenericUtility();
String retStr = "";
try
{
System.out.println("xmlString[process]::::::::::;;;"+xmlString);
System.out.println("xmlString2[process]::::::::::;;;"+xmlString2);
System.out.println("dummy[process]::::::::::;;;"+windowName);//TESTING PURPOSE
System.out.println("xtraParams[process]:::::::::;;;"+xtraParams);
System.out.println("parsing xml condition");
if(xmlString != null && xmlString.trim().length()!= 0)
{
headerDom = genericUtility.parseString(xmlString);
System.out.println("headerDom" + headerDom);
System.out.println("xmlString >> "+xmlString);
}
System.out.println("parsing xml2 condition");
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
detailDom = genericUtility.parseString(xmlString2);
System.out.println("detailDom" + detailDom);
System.out.println("xmlString2 >> "+xmlString2);
}
retStr = process(headerDom, detailDom, windowName, xtraParams);
}
catch (Exception e)
{
System.out.println("Exception : :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
return retStr;
}
/**
* @method : process
* @param : Document,Document,String,String
* @throws : RemoteException, ITMException
* @return : String
*
*/
public String process(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException
{
PreparedStatement pstmt = null;
ResultSet rs = null;
String errString = "";
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
int childCount = 0,parentCount =0;
int parentNodeListLength = 0,count =0,childNodeListLength = 0,successCount = 0 ;
StringBuffer xmlStringBuffer = null;
StringBuffer xmlStringData = null;
String childNodeName = "", prdCodeFr = "", prdCodeTo = "", /*siteCodeFr="", siteCodeTo="",*/
payrollDate = "",loginCode = "",empCodeFr = "", empCodeTo = "",/*objContext = "",*/
/*geoCodeFr = "", geoCodeTo = "", finEntFr = "", finEntTo="",xmlString = "",*/
xmlString1 ="",mailXmlString = "",siteCd="", geoCd= "", finEntity="",
payrollType = "",prdCodeArr = "",considerAttd ="",retString = "",
domString = "",interPro = "",payProj = "",payProc ="",arrProc ="",
chgArrProc ="",dataOwrite = ""/*,tempPayDate = ""*/,empMailId = "",prcGrpFr ="",
prcGrpTo ="",empNameFr ="",empNameTo ="",frPrdDescr = "",toPrdDescr = "",
procGroupFrName ="",procGroupToName="";
int MailCnt = 0;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
E12GenericUtility genericUtility= new E12GenericUtility();
//ITMDBAccessLocal itmDBAccess = null; //commented by Poonam B[31-07-2019]. value of itmDBAccess is not used anywhere
boolean isError = false,isMailSend = false;
Connection conn = null;
loginCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
String fileName = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode").trim();
System.out.println(" fileName["+fileName+"]");
try
{
// Modified By Poonam B[31-07-2019][START]
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);*/
conn= getConnection();
// Modified By Poonam B[31-07-2019][END]
printLog("STDOUT", "---Payroll Process---", fileName);
System.out.println("Payroll Process >> Process method calling");
System.out.println("Payroll Process headerDom >> ["+headerDom+"]");
System.out.println("Payroll Process detailDom >> ["+detailDom+"]");
domString = genericUtility.serializeDom(headerDom);
System.out.println("domString >> "+domString+"]");
empMailId = checkNull(getValueForEmailID(loginCode, conn));
parentNodeList = detailDom.getElementsByTagName("Detail2");
System.out.println("parentNodeList >> "+parentNodeList);
parentNodeListLength = parentNodeList.getLength();
System.out.println("parentNodeListLength >> "+parentNodeListLength);
System.out.println("detailDom:::::::"+detailDom);
System.out.println("headerDom:::::::"+headerDom);
/**To iterate on the basis of each row from grid data*/
for (int selectedRow = 0; selectedRow < parentNodeListLength; selectedRow++)
{
System.out.println("in parent loop");
parentCount++;
System.out.println("parent count "+ parentCount);
xmlStringBuffer = new StringBuffer();
xmlStringData = new StringBuffer();
parentNode = parentNodeList.item(selectedRow);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
System.out.println("childNodeListLength---->>> "+ childNodeListLength);
System.out.println("parentNodeListLength---->>> "+ parentNodeListLength);
System.out.println("selectedRow---->>> "+ selectedRow);
xmlStringData.append("<Root>");
xmlStringData.append("<Detail1>\r\n");
/**To iterate data on each column from single row*/
for (int childRow = 0; childRow < childNodeListLength; childRow++)
{
System.out.println("in child loop");
System.out.println("child count "+ childCount);
childNode = childNodeList.item(childRow);
childNodeName = childNode.getNodeName();
System.out.println("childNodeName---->>> "+ childNodeName);
System.out.println("childRow---->>> "+ childRow);
System.out.println("childNodeListLength---->>> "+ childNodeListLength);
String columnValue = (childNode.getFirstChild() == null)?"":childNode.getFirstChild().getNodeValue();
System.out.println("childNodeName : ["+childNodeName+"] \t columnValue : ["+columnValue+"] ");
/**setting value by child node name*/
if (childNodeName.equals("emp_code__fr") && childNode.getFirstChild() != null)
{
empCodeFr = columnValue;
xmlStringData.append("<emp_code__fr><![CDATA[" + empCodeFr + "]]></emp_code__fr>\r\n");
//xmlStringData.append("<emp_code><![CDATA[" + empCodeFr + "]]></emp_code>\r\n");
}
else if (childNodeName.equals("emp_code__to") && childNode.getFirstChild() != null)
{
empCodeTo = columnValue;
xmlStringData.append("<emp_code__to><![CDATA[" + empCodeTo + "]]></emp_code__to>\r\n");
}
else if (childNodeName.equals("prd_code__fr") && childNode.getFirstChild() != null)
{
prdCodeFr = columnValue;
xmlStringData.append("<prd_code__fr><![CDATA[" + prdCodeFr + "]]></prd_code__fr>\r\n");
}
else if (childNodeName.equals("prd_code__to") && childNode.getFirstChild() != null)
{
prdCodeTo = columnValue;
xmlStringData.append("<prd_code__to><![CDATA[" + prdCodeTo + "]]></prd_code__to>\r\n");
}
else if (childNodeName.equals("site_code__fr") && childNode.getFirstChild() != null)
{
siteCd = columnValue;
xmlStringData.append("<site_code><![CDATA[" + siteCd + "]]></site_code>\r\n");
}
else if (childNodeName.equals("site_code__to") && childNode.getFirstChild() != null)
{
siteCd = columnValue;
xmlStringData.append("<site_code><![CDATA[" + siteCd + "]]></site_code>\r\n");
}
else if (childNodeName.equals("payroll_date") && childNode.getFirstChild() != null)
{
payrollDate = columnValue;
xmlStringData.append("<payroll_date><![CDATA[" + payrollDate + "]]></payroll_date>\r\n");
}
else if (childNodeName.equals("payroll_type") && childNode.getFirstChild() != null)
{
payrollType = columnValue;
xmlStringData.append("<payroll_type><![CDATA[" + payrollType + "]]></payroll_type>\r\n");
}
else if (childNodeName.equals("prd_code__arr") && childNode.getFirstChild() != null)
{
prdCodeArr = columnValue;
xmlStringData.append("<prd_code__arr><![CDATA[" + prdCodeArr + "]]></prd_code__arr>\r\n");
}
else if (childNodeName.equals("consider_attd") && childNode.getFirstChild() != null)
{
considerAttd = columnValue;
xmlStringData.append("<consider_attd><![CDATA[" + considerAttd + "]]></consider_attd>\r\n");
}
else if (childNodeName.equals("dataowrite") && childNode.getFirstChild() != null)
{
dataOwrite = columnValue;
xmlStringData.append("<dataowrite><![CDATA[" + dataOwrite + "]]></dataowrite>\r\n");
}
else if (childNodeName.equals("inter_pro") && childNode.getFirstChild() != null)
{
interPro = columnValue;
xmlStringData.append("<inter_pro><![CDATA[" + interPro + "]]></inter_pro>\r\n");
}
else if (childNodeName.equals("pay_proj") && childNode.getFirstChild() != null)
{
payProj = columnValue;
xmlStringData.append("<pay_proj><![CDATA[" + payProj + "]]></pay_proj>\r\n");
}
else if (childNodeName.equals("pay_proc") && childNode.getFirstChild() != null)
{
payProc = columnValue;
xmlStringData.append("<pay_proc><![CDATA[" + payProc + "]]></pay_proc>\r\n");
}
else if (childNodeName.equals("arr_proc") && childNode.getFirstChild() != null)
{
arrProc = columnValue;
xmlStringData.append("<arr_proc><![CDATA[" + arrProc + "]]></arr_proc>\r\n");
}
else if (childNodeName.equals("chg_arr__proc") && childNode.getFirstChild() != null)
{
chgArrProc = columnValue;
xmlStringData.append("<chg_arr__proc><![CDATA[" + chgArrProc + "]]></chg_arr__proc>\r\n");
}
else if (childNodeName.equals("proc_group__from") && childNode.getFirstChild() != null)
{
prcGrpFr = columnValue;
xmlStringData.append("<proc_group__from><![CDATA[" + prcGrpFr + "]]></proc_group__from>\r\n");
}
else if (childNodeName.equals("proc_group__to") && childNode.getFirstChild() != null)
{
prcGrpTo = columnValue;
xmlStringData.append("<proc_group__to><![CDATA[" + prcGrpTo + "]]></proc_group__to>\r\n");
}
else if (childNodeName.equals("emp_name__fr") && childNode.getFirstChild() != null)
{
empNameFr = columnValue;
xmlStringData.append("<emp_name__fr><![CDATA[" + empNameFr + "]]></emp_name__fr>\r\n");
}
else if (childNodeName.equals("emp_name__to") && childNode.getFirstChild() != null)
{
empNameTo = columnValue;
xmlStringData.append("<emp_name__to><![CDATA[" + empNameTo + "]]></emp_name__to>\r\n");
}
else if (childNodeName.equals("fr_prd_descr") && childNode.getFirstChild() != null)
{
frPrdDescr = columnValue;
xmlStringData.append("<fr_prd_descr><![CDATA[" + frPrdDescr + "]]></fr_prd_descr>\r\n");
}
else if (childNodeName.equals("to_prd_descr") && childNode.getFirstChild() != null)
{
toPrdDescr = columnValue;
xmlStringData.append("<to_prd_descr><![CDATA[" + toPrdDescr + "]]></to_prd_descr>\r\n");
}
else if (childNodeName.equals("proc_group__fr_name") && childNode.getFirstChild() != null)
{
procGroupFrName = columnValue;
xmlStringData.append("<proc_group__fr_name><![CDATA[" + procGroupFrName + "]]></proc_group__fr_name>\r\n");
}
else if (childNodeName.equals("proc_group__to_name") && childNode.getFirstChild() != null)
{
procGroupToName = columnValue;
xmlStringData.append("<proc_group__to_name><![CDATA[" + procGroupToName + "]]></proc_group__to_name>\r\n");
}
}
System.out.println("empCodeFr in process method::::::"+empCodeFr);
System.out.println("empCodeTo in process method::::::"+empCodeTo);
System.out.println("payrollDate in process method::::::"+payrollDate);
System.out.println("prdCodeFr in process method::::::"+prdCodeFr);
System.out.println("prdCodeTo in process method::::::"+prdCodeTo);
System.out.println("siteCd in process method::::::"+siteCd);
System.out.println("geoCd in process method::::::"+geoCd);
System.out.println("finEntity in process method::::::"+finEntity);
System.out.println("payrollType in process method::::::"+payrollType);
System.out.println("prdCodeArr in process method::::::"+prdCodeArr);
System.out.println("considerAttd in process method::::::"+considerAttd);
System.out.println("dataOwrite in process method::::::"+dataOwrite);
System.out.println("interPro in process method::::::"+interPro);
System.out.println("payProj in process method::::::"+payProj);
System.out.println("payProc in process method::::::"+payProc);
System.out.println("arrProc in process method::::::"+arrProc);
System.out.println("payrollType in process method::::::"+payrollType);
System.out.println("chgArrProc in process method::::::"+chgArrProc);
System.out.println(" Proc grp from in process method::::::"+prcGrpFr);
System.out.println(" Proc grp to in process method::::::"+prcGrpTo);
/**creating tab xml data to passed in pb process*/
//added and modified by Rupesh Pawar 20/07/18 start.
/*xmlStringBuffer.append(empCodeFr).append("\t");
xmlStringBuffer.append(empCodeTo).append("\t");
xmlStringBuffer.append("00").append("\t");
xmlStringBuffer.append("ZZ").append("\t");
xmlStringBuffer.append(prdCodeFr).append("\t");
xmlStringBuffer.append(prdCodeTo).append("\t");
xmlStringBuffer.append(siteCd).append("\t");
xmlStringBuffer.append(siteCd).append("\t");
xmlStringBuffer.append(payrollDate).append("\t");
xmlStringBuffer.append(payrollType).append("\t");
xmlStringBuffer.append(prdCodeArr).append("\t");
xmlStringBuffer.append("00").append("\t");
xmlStringBuffer.append("ZZ").append("\t");
xmlStringBuffer.append(considerAttd).append("\t");
xmlStringBuffer.append(dataOwrite).append("\t");
xmlStringBuffer.append("00").append("\t");
xmlStringBuffer.append("ZZ").append("\t");
xmlStringBuffer.append("00").append("\t");
xmlStringBuffer.append("ZZ").append("\t");
xmlStringBuffer.append("00").append("\t");
xmlStringBuffer.append("ZZ").append("\t");
xmlStringBuffer.append("00").append("\t");
xmlStringBuffer.append("ZZ").append("\t");
xmlStringBuffer.append(interPro).append("\t");
xmlStringBuffer.append(payProj).append("\t");
xmlStringBuffer.append(payProc).append("\t");
xmlStringBuffer.append(arrProc).append("\t");
xmlStringBuffer.append(chgArrProc);*/
//added and modified by Rupesh Pawar 20/07/18 end.
xmlStringBuffer.append(empCodeFr).append("\t");//emp_code__fr
xmlStringBuffer.append(empCodeTo).append("\t");//emp_code__to
/*xmlStringBuffer.append("00").append("\t");
xmlStringBuffer.append("ZZ").append("\t");*/
xmlStringBuffer.append(prdCodeFr).append("\t");//prd_code__fr
xmlStringBuffer.append(prdCodeTo).append("\t");//prd_code__to
xmlStringBuffer.append(siteCd).append("\t");//site_code__fr
xmlStringBuffer.append(siteCd).append("\t");//site_code__to
xmlStringBuffer.append(payrollDate).append("\t");//payroll_date
xmlStringBuffer.append(payrollType).append("\t");//payroll_type
xmlStringBuffer.append(prdCodeArr).append("\t");//prd_code__arr
xmlStringBuffer.append(prcGrpFr).append("\t");//proc_group__from
xmlStringBuffer.append(prcGrpTo).append("\t");//proc_group__to
xmlStringBuffer.append(considerAttd).append("\t");//consider_attd
xmlStringBuffer.append(dataOwrite).append("\t");//dataowrite
xmlStringBuffer.append(empNameFr).append("\t");//emp_name__fr descr
xmlStringBuffer.append(empNameTo).append("\t");//emp_name__to descr
xmlStringBuffer.append(frPrdDescr).append("\t");//fr_prd_descr
xmlStringBuffer.append(toPrdDescr).append("\t");//to_prd_descr
xmlStringBuffer.append("00").append("\t");//fr_site_descr
xmlStringBuffer.append("ZZ").append("\t");//to_site_descr
xmlStringBuffer.append(procGroupFrName).append("\t");//proc_group__fr_name
xmlStringBuffer.append(procGroupToName).append("\t");//proc_group__to_name
xmlStringBuffer.append(interPro).append("\t");//inter_pro
xmlStringBuffer.append(payProj).append("\t");//pay_proj
xmlStringBuffer.append(payProc).append("\t");//pay_proc
xmlStringBuffer.append(arrProc).append("\t");//chg_arr__proc
xmlStringBuffer.append(chgArrProc);//chg_arr__proc
System.out.println("xmlStringBuffer >>"+ xmlStringBuffer);
//xmlStringData.append("</Root>");
System.out.println("xmlStringData >>"+ xmlStringData);
childCount++;
if(xmlStringBuffer != null)
xmlString1 = xmlStringBuffer.toString();
System.out.println("tabXmlString >>" + xmlString1);
/*if(xmlStringData != null)
mailXmlString = xmlStringData.toString();
System.out.println("mailXmlString >>" + mailXmlString);*/
/**calling web service to call complete process by calledPBProcess method*/
try
{
System.out.println("calling calledPBProcess....");
try
{
retString = calledPBProcess(xmlString1, xmlString1, xtraParams,fileName,conn);
}
catch(Exception e)
{
e.printStackTrace();
}
System.out.println("retString of calledPBProcess ["+retString+"]");
//Modified by Ahmed on 09-AUG-2018[to return errorstring as success if blank]start
if(retString == null || retString.trim().length()==0)
{
//Modified By Poonam B [01-08-2019][START]
//retString = itmDBAccessEJB.getErrorString("", "VPPPSINGL1", "");
retString = itmDBAccessEJB.getErrorString("", "VPPPSINGL1", userId, "", conn);
//Modified By Poonam B [01-08-2019][START]
}
//Modified by Ahmed on 09-AUG-2018[to return errorstring as success if blank]end
if(retString != null && retString.trim().length() > 0)
{
count++;
System.out.println("Process record count>> ["+count+"]");
if(retString.indexOf("VPPPSINGL1") > -1)
{
successCount++;
System.out.println("successCount >> ["+successCount+"]");
}
String description = "", message = "";
try
{
Document error = genericUtility.parseString(retString);
//Modified By Poonam B [01-08-2019][START]
/*description = genericUtility.getColumnValue( "description", error);
message = genericUtility.getColumnValue( "message", error);*/
description = checkNull(genericUtility.getColumnValue( "description", error));
message = checkNull(genericUtility.getColumnValue( "message", error));
//Modified By Poonam B [01-08-2019][END]
}
catch(Exception e)
{
description = "Exception occurred at MSI server. Please check for error in background log";
message = "Exception from MSI";
}
xmlStringData.append("<message><![CDATA[").append(message).append("]]></message>");
xmlStringData.append("<description><![CDATA[").append(description).append("]]></description>");
xmlStringData.append("<emp_code><![CDATA[" + loginCode + "]]></emp_code>");
xmlStringData.append("</Detail1>\r\n");
xmlStringData.append("</Root>");
System.out.println("description >> ["+description+"] And message >> ["+message+"]");
if(xmlStringData != null)
mailXmlString = xmlStringData.toString();
System.out.println("mailXmlString >>" + mailXmlString);
String mailTo = checkNull(getValueForMailFormat("PAYROLL_PROC", conn));
System.out.println("mailTo::::::::::" + mailTo);
if(mailTo != null && mailTo.trim().length() > 0)
{
System.out.println("calling sendMail method empMailId::::::::::[" + empMailId + "]");
/**calling send mail method*/
isMailSend = sendMail(mailXmlString, "ADM", "payroll_prc", "","PAYROLL_PROC", "E", loginCode,empMailId,"");
//isMailSend = sendMail(mailXmlString, "ADM", "payroll_prc", "","PAYROLL_PROC", "E", loginCode,empMailId,"",siteCd,message,description);
if(isMailSend)
{
MailCnt++;
System.out.println("Payroll Process mail send successfully >> "+MailCnt);
}
}
}
else
{
System.out.println("returning string from process method >> ["+retString+"]");
}
}
catch(Exception e)
{
e.printStackTrace();
//throw new ITMException(e);
}
//Modified by Ahmed on 09-AUG-2018[To display message on completion of process]start
/*if(successCount > 0 )
{
errString = itmDBAccessEJB.getErrorString("", "VPPPSINGL1", "");
}
else{
errString = itmDBAccessEJB.getErrorString("", "PAYNOREC1", "");
}*/
}
/*if(successCount > 0 )
{
errString = itmDBAccessEJB.getErrorString("", "VPPPSINGL1", "");
}
else
{
errString = itmDBAccessEJB.getErrorString("", "PAYNOREC1", "");
}*/
//Modified By Poonam B [01-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("", "VPPPMULT01", "");
//errString = itmDBAccessEJB.getErrorString("", "VPPPMULT01",userId, "",conn);
//Modified By Poonam B [01-08-2019][END]
//Modified by Ahmed on 09-AUG-2018[To display message on completion of process]end
}catch(Exception e)
{
isError = true;
throw new ITMException(e);
}
finally
{
try
{
System.out.println("isError="+isError);
if(isError)
{
conn.rollback();
System.out.println("rollback transaction");
//errString = itmDBAccessEJB.getErrorString("","VTCONFNOT","","",conn);// failed
//Modified By Poonam B [01-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("", "VTCONFNOT", "");
errString = itmDBAccessEJB.getErrorString("","VTCONFNOT",userId,"",conn);
//Modified By Poonam B [01-08-2019][END]
System.out.println("errString @ rollback >> ["+errString+"]");
}
else
{
if(conn != null)
{
conn.commit();
System.out.println("commit transaction");
}
}
if(rs != null)
{
rs.close();
rs=null;
}
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
if(conn != null)
{
conn.close();
conn = null;
}
}
catch(Exception e1)
{
throw new ITMException(e1);
}
}
System.out.println("returning string from process method >> ["+errString+"]");
return errString;
}
/**
* @method : calledPBProcess
* @param : String,String,String,String,Connection
* @throws : ITMException
* @return : String
*
*/
public String calledPBProcess(String xmlString,String xmlString1,String xtraParams,String fileName,Connection conn) throws ITMException
{
String/* errString = "",*/methodName = "",compName = "",retString = "",/*dummy = "",*/
serviceCode = "",serviceURI = "",actionURI = "",sql = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
try{
System.out.println("in calledPBProcess......");
methodName = "gbf_process";
actionURI = "http://NvoServiceurl.org/" + methodName;
sql = "SELECT SERVICE_CODE, COMP_NAME FROM SYSTEM_EVENTS WHERE OBJ_NAME = 'payroll_single' AND EVENT_CODE = 'process' ";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
printLog("SQL:", sql, fileName);
if ( rs.next() )
{
//Modified By Poonam B on[31-07-2019][START]
/*serviceCode = rs.getString("SERVICE_CODE");
compName = rs.getString("COMP_NAME");*/
serviceCode = checkNull(rs.getString("SERVICE_CODE"));
compName = checkNull(rs.getString("COMP_NAME"));
//Modified By Poonam B on[31-07-2019][END]
}
closePstmtRset(pstmt,rs);
printLog("SQL","ResultSet: " + serviceCode+", " + compName, fileName);
System.out.println("serviceCode = "+serviceCode+"## compName = "+compName);
sql = "SELECT SERVICE_URI,METHOD_NAME FROM SYSTEM_EVENT_SERVICES WHERE SERVICE_CODE = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, serviceCode);
rs = pstmt.executeQuery();
printLog("SQL", "PreparedStatement =>" + generateActualSql(sql,serviceCode), fileName);
if (rs.next())
{
//Modified By Poonam B on[31-07-2019][START]
/*serviceURI = rs.getString("SERVICE_URI");
methodName = rs.getString("METHOD_NAME");*/
serviceURI = checkNull(rs.getString("SERVICE_URI"));
methodName = checkNull(rs.getString("METHOD_NAME"));
//Modified By Poonam B on[31-07-2019][END]
}
closePstmtRset(pstmt,rs);
printLog("SQL","ResultSet: " + serviceURI+", " + methodName, fileName);
System.out.println("SQL >>>"+sql);
System.out.println("serviceURI = "+serviceURI+"## methodName = "+methodName);
/**invoking webservice to integrate with complete process of pb through MSI*/
Service service = new Service();
Call call = (Call)service.createCall();
call.setTargetEndpointAddress(new java.net.URL(serviceURI));
call.setOperationName( new javax.xml.namespace.QName("http://NvoServiceurl.org", methodName ) );
call.setUseSOAPAction(true);
call.setSOAPActionURI(actionURI);
call.setProperty(Call.SESSION_MAINTAIN_PROPERTY, Boolean.TRUE);//Modified by Ahmed on 12/NOV/2018[To maintain session on load balancer dotnet server]
//call.setMaintainSession(true);
Object[] aobj = new Object[5];
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "component_name"), XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "tab_xml_data_1"), XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "dummy"), XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "xtra_params"), XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "tab_xml_data_all"), XMLType.XSD_STRING, ParameterMode.IN);
aobj[0] = new String(compName);
aobj[1] = new String(xmlString);//Tab XML data to match xml format of complete process
aobj[2] = new String(xmlString);//Tab XML data to match xml format of complete process
aobj[3] = new String(xtraParams);
aobj[4] = new String(xmlString);//Tab XML data to match xml format of complete process
call.setReturnType(XMLType.XSD_STRING);
retString = (String)call.invoke(aobj);
printLog("STDOUT",retString,fileName);
System.out.println("Return string from NVO is:==>["+retString+"]");
printLog("STDOUT", "---payroll process---", fileName);
System.out.println("Confirm Complete @@@@@@@@@@@ Return string from NVO is:==>["+retString+"]");
}
catch (Exception e)
{
System.out.println("Getting Exception In calledPBProcess Method::::["+ e.getMessage() + "]");
printLog("STDOUT", e, fileName);//Modified by Ahmed on 27-AUG-2018[To trace exception occurred when MSI server connection is dropped]
e.printStackTrace();
throw new ITMException(e);// Added By Poonam B [31-07-2019]
}
finally
{
try{
if (rs != null )
{
rs.close();
rs = null;
}
if (pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
System.out.println("Exception in Calling calledPBProcess");
e.printStackTrace();
throw new ITMException(e);
}
}
return retString;
}
/**
* @method : printLog
* @param : String,String,String
* @throws ITMException
*
*/
private void printLog(String title, String msg, String fileName) throws ITMException
{
String logFile = "";
String logDir = "";
File logFileDir = null;
FileWriter fileWriter = null;
try
{
String logFileName = "";
SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy");
logFileName = fileName+"_"+sdf.format(new Date());
logDir = CommonConstants.JBOSSHOME + File.separator + "applnlog" + File.separator + "Payroll Process-To-Track-Exceptions";
logFileDir = new File(logDir);
if (!logFileDir.exists())
{
logFileDir.mkdirs();
}
logFile = logDir + File.separator + logFileName + ".log";
SimpleDateFormat sdfDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
System.out.println("Log file Name from printLog:" +logFile);
java.util.Date now = new java.util.Date();
String strDate = sdfDate.format(now);
fileWriter = new FileWriter(logFile, true);
fileWriter.write("\r\n");
fileWriter.write(strDate + " " + "INFO" + " " + "["+ title +"] : " + msg);
}
catch (Exception ex)
{
ex.printStackTrace();
printLog("STDERR", ex, "");
printLog("STDOUT","Inside Exception [getLog]>>" + ex.toString(),fileName);
throw new ITMException(ex);// Added By Poonam B [31-07-2019]
}
finally
{
try
{
if (fileWriter != null)
{
fileWriter.flush();
fileWriter.close();
}
}
catch (Exception e)
{
e.printStackTrace();
printLog("STDERR", e,fileName);
}
}
}
/**
* @method : printLog
* @param : String,Exception,String
* @throws ITMException
*
*/
private void printLog(String title, Exception e,String fileName) throws ITMException
{
try
{
StringWriter strError = new StringWriter();
e.printStackTrace(new PrintWriter(strError));
String err = strError.toString();
printLog(title, err,fileName);
System.out.println("file Name from printLog:" +fileName);
}
catch(Exception ex)
{
ex.printStackTrace();
printLog("STDERR","Inside Exception [getLog]>>" + ex.toString(),fileName);
throw new ITMException(e);// Added By Poonam B [31-07-2019]
}
}
/**
* @method : closePstmtRset
* @param : PreparedStatement,ResultSet,String
*
*/
private void closePstmtRset(PreparedStatement pstmt, ResultSet rset )throws Exception
{
System.out.println("Closing PreparedStatement and result.........");
try
{
if (rset != null)
{
rset.close();
rset = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception exp)
{
exp.printStackTrace();
throw new Exception(exp);
}
}
/**
* @method : generateActualSql
* @param : String,ResultSet,Object
* @return : String
* @throws ITMException
*/
private String generateActualSql(String sqlQuery, Object... parameters) throws ITMException
{
String[] parts = sqlQuery.split("\\?");
StringBuilder sb = new StringBuilder();
try
{
for (int i = 0; i < parts.length; i++)
{
String part = parts[i];
sb.append(part);
if (i < parameters.length)
{
//sb.append(formatParameter(parameters[i]));
}
}
}
catch(Exception e)
{
e.printStackTrace();
printLog("STDERR", e,"");
throw new ITMException(e);// Added By Poonam B [31-07-2019]
}
return sb.toString();
}
/**
* @method : isValueExist
* @param : String,String,String,Connection
* @return : int(to count/check value exists in particular table )
* @throws ITMException
*/
private int isValueExist(String tableName, String columnName, String columnValue, Connection conn) throws ITMException
{
PreparedStatement pstmt = null;
ResultSet rs = null;
String sql = null;
int cnt = 0;
sql = " select count(1) as count from " + tableName + " where " + columnName + " = '" + columnValue + "' ";
try
{
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
System.out.println("\n\n\n Query Executed " + sql + "\n\n******************");
if (rs.next())
{
cnt = rs.getInt("count");
}
rs.close();
pstmt.close();
System.out.println("cnt--------------" + cnt);
} catch (Exception exception)
{
exception.printStackTrace();
System.out.println("Exception ::" + exception.getMessage());
throw new ITMException(exception);// Added By Poonam B [31-07-2019]
}
return cnt;
}
/**
* @method : validateData
* @param : String,String,String,String,String,String,Connection
* @return : String(validate empcode,sitecode,finentity and geo loc code in master)
* @throws ITMException
*/
// Added By Poonam B[02-08-2019] [START].to add xtraParams variable to get userId
/*public String validateData(String siteCodeFr, String geoCodeFr,
String finEntFr, String empCodeFr,String empCodeTo,String prdCodeFr,String prdCodeArr,String prcGrpFrom,String prcGrpTo,Connection conn) throws ITMException
*/
public String validateData(String siteCodeFr, String geoCodeFr,
String finEntFr, String empCodeFr,String empCodeTo,String prdCodeFr,String prdCodeArr,String prcGrpFrom,String prcGrpTo,String xtraParams,Connection conn) throws ITMException
// Added By Poonam B[02-08-2019] [END].to add xtraParams variable to get userId
{
E12GenericUtility genericUtility = new E12GenericUtility();// Added By Poonam B[02-08-2019]
String errString = "" ,sql ="";
int rowCnt = 0;
PreparedStatement pstmt = null;
ResultSet rs = null;
System.out.println("siteCodeFr >> ["+siteCodeFr+"] ");
System.out.println("geoCodeFr >> ["+geoCodeFr+"] ");
System.out.println("finEntFr >> ["+finEntFr+"] ");
System.out.println("empCodeFr >> ["+empCodeFr+"] ");
System.out.println("prdCodeFr >> ["+prdCodeFr+"] ");
System.out.println("prdCodeArr >> ["+prdCodeArr+"] ");
System.out.println("prcGrpFrom >> ["+prcGrpFrom+"] ");
System.out.println("prcGrpTo >> ["+prcGrpTo+"] ");
String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");// Added By Poonam B[02-08-2019].to use getErrorString method
System.out.println("userId::::::::::::::" +userId);// Added By Poonam B[02-08-2019]
// Added By Poonam B[31-07-2019][START]
/*//ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
ValidatorEJB itmDBAccessEJB = new ValidatorEJB();*/
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
// Added By Poonam B[31-07-2019][END]
try
{
empCodeFr = (empCodeFr != null ? empCodeFr.trim():"");
empCodeTo = (empCodeTo != null ? empCodeTo.trim():"");
if(empCodeFr != null && empCodeFr.trim().length() > 0)
{
if(!"00".equalsIgnoreCase(empCodeFr))
{
rowCnt = isValueExist("employee", "emp_code", empCodeFr, conn);
if(rowCnt == 0)
{
System.out.println("employee code is not exists in employee master >>"+empCodeFr);
//errString = "employee code is not exists in employee master [Employee Code = " + empCodeFr +"]";
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC1","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC1", userId,"", conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
}
if(empCodeTo != null && empCodeTo.trim().length() > 0)
{
if(!"ZZ".equalsIgnoreCase(empCodeTo))
{
rowCnt = isValueExist("employee", "emp_code", empCodeTo, conn);
if(rowCnt == 0)
{
System.out.println("employee code is not exists in employee master >>"+empCodeTo);
//errString = "Employee code is not exists in employee master [Employee Code = " + empCodeTo + "]";
//Added By Poonam B on [02-08-2019][START]
// errString = itmDBAccessEJB.getErrorString("","VMPAYPRC1","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC1",userId,"", conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
}
if(prdCodeFr != null && prdCodeFr.trim().length() > 0)
{
rowCnt = isValueExist("period", "code", prdCodeFr.trim(),conn);
if(rowCnt == 0)
{
System.out.println("period code is not exists in period master >>"+prdCodeFr);
//errString = "Period code is not exists in period master [Period Code = " + prdCodeFr+ "]";
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC2","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC2",userId,"", conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
if((siteCodeFr == null || siteCodeFr.trim().length() ==0)
&& (geoCodeFr == null || geoCodeFr.trim().length() == 0)
&& (finEntFr == null || finEntFr.trim().length() ==0))
{
System.out.println("siteCodeFr && geoCodeFr && finEntFr");
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC6","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC6",userId,"", conn);
//Added By Poonam B on [02-08-2019][END]
if(errString.length() > 0)
{
return errString;
}
}
if(siteCodeFr != null && siteCodeFr.trim().length() > 0)
{
siteCodeFr = siteCodeFr.trim();
System.out.println("siteCodeFr >> ["+siteCodeFr+"]");
String splitValueCnt = splitValue(siteCodeFr,"SITE","SITE_CODE",conn);
System.out.println(">>splitValueCnt<< " + splitValueCnt);
if(splitValueCnt != null && splitValueCnt.trim().length() > 0
&& splitValueCnt.indexOf("Error") > -1)
{
String str[] = splitValueCnt.split("\\s");
String code = str[0];
System.out.println("site code is not exists in site master [" + code + "]");
//errString = "Site code is not exists in site master [Site Code = " + code + "]";
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC3","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC3",userId,"", conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
if(geoCodeFr != null && geoCodeFr.trim().length() > 0)
{
geoCodeFr = geoCodeFr.trim();
System.out.println("geoCodeFr >> ["+geoCodeFr+"]");
//String splitValueCnt = splitValue(geoCodeFr,"SITE","GEO_LOC",conn);
String splitValueCnt = splitGeoLocValue(geoCodeFr,"GENCODES","GEO_LOC",conn);
System.out.println(">>splitValueCnt<< " + splitValueCnt);
if(splitValueCnt != null && splitValueCnt.trim().length()>0
&& splitValueCnt.indexOf("Error") > -1)
{
String str[] = splitValueCnt.split("\\s");
String code = str[0];
System.out.println("Geo code is not exists in site master [" + code + "]");
//errString = "Geo code is not exists in site master [Geo Code = " + code + "]";
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC4","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC4",userId,"",conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
if(finEntFr!= null && finEntFr.trim().length() > 0)
{
finEntFr = finEntFr.trim();
System.out.println("finEntFr >> ["+finEntFr+"]");
String splitValueCnt = splitValue(finEntFr,"FINENT","FIN_ENTITY",conn);
System.out.println(">>splitValueCnt<< " + splitValueCnt);
if(splitValueCnt != null && splitValueCnt.trim().length()>0
&& splitValueCnt.indexOf("Error") > -1)
{
String str[] = splitValueCnt.split("\\s");
String code = str[0];
System.out.println("financial entity code is not exists in site master [" + code + "]");
//errString = "Financial entity code is not exists in site master [Fin Entity Code = " + code + "]";
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC5","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC5",userId,"",conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
/**added and modified by Rupesh Pawar 20/07/18 start*/
if(prdCodeArr != null && prdCodeArr.trim().length() > 0)
{
rowCnt = isValueExist("period", "code", prdCodeArr.trim(),conn);
if(rowCnt == 0)
{
System.out.println("period code is not exists in period master >>"+prdCodeArr);
//errString = "Period code is not exists in period master [Period Code = " + prdCodeFr+ "]";
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC2","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC2",userId, "", conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
if(prcGrpFrom != null && prcGrpFrom.trim().length() > 0 && !prcGrpFrom.trim().equalsIgnoreCase("00"))
{
sql = " select count(1) as count from GENCODES where fld_name = ? and fld_value = ?";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,"PROC_GROUP");
pstmt.setString(2,prcGrpFrom.trim());
rs = pstmt.executeQuery();
if(rs.next())
{
rowCnt = rs.getInt("count");
System.out.println(" periodFromDescr[" + rowCnt + "]");
}
close(pstmt, rs);
if(rowCnt == 0)
{
System.out.println("PROC_GROUP code is not exists in period master >>"+prcGrpFrom);
//errString = "Period code is not exists in period master [Period Code = " + prdCodeFr+ "]";
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC7","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC7",userId,"",conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
if(prcGrpTo != null && prcGrpTo.trim().length() >0 && !prcGrpTo.trim().equalsIgnoreCase("ZZ"))
{
sql = " select count(1) as count from GENCODES where fld_name = ? and fld_value = ?";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,"PROC_GROUP");
pstmt.setString(2,prcGrpTo.trim());
rs = pstmt.executeQuery();
if(rs.next())
{
rowCnt = rs.getInt("count");
System.out.println(" periodFromDescr[" + rowCnt + "]");
}
close(pstmt, rs);
if(rowCnt == 0)
{
System.out.println("PROC_GROUP code is not exists in period master >>"+prcGrpTo);
//errString = "Period code is not exists in period master [Period Code = " + prdCodeFr+ "]";
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC7","");
//Added By Poonam B on [02-08-2019][START]
//errString = itmDBAccessEJB.getErrorString("","VMPAYPRC7","");
errString = itmDBAccessEJB.getErrorString("","VMPAYPRC7",userId,"", conn);
//Added By Poonam B on [02-08-2019][END]
if (errString.length() > 0)
{
return errString;
}
}
}
/**added and modified by Rupesh Pawar 20/07/18 start*/
}
catch(Exception exception)
{
exception.printStackTrace();
System.out.println("Exception ::" + exception.getMessage());
throw new ITMException(exception);// Added By Poonam B [31-07-2019]
}
System.out.println(">>errString<< " + errString);
return errString;
}
/**
* @method : sendMail
* @param : String,String,String,String,String,String,String,String,String
* @return : boolean
* @throws : ITMException
*/
private boolean sendMail(String transInfo, String refSer, String objName, String refId, String formatCode, String entityType, String entityCode,String empCodeMailId, String mailIdCcAdd)
throws ITMException
{
System.out.println("@@## [Payroll Process] :sendMail ...........");
boolean emailFlag = false;
try
{
if (formatCode != null)
{
String lineNo = "";
//int randomNo = randomNum(); //commented by Poonam B[31-07-2019]. value of stmt is not used in this method
StringBuffer valueXmlString=null;
valueXmlString = new StringBuffer("<?xml version='1.0' encoding='UTF-8'?><ROOT><TRANS_INFO>");
valueXmlString.append("<OBJ_NAME>").append("<![CDATA[" + objName + "]]>").append("</OBJ_NAME>");
valueXmlString.append("<REF_SER>").append("<![CDATA[" + refSer + "]]>").append("</REF_SER>");
valueXmlString.append("<REF_ID>").append("<![CDATA[" + refId + "]]>").append("</REF_ID>");
valueXmlString.append("<LINE_NO>").append("<![CDATA[" + lineNo + "]]>").append("</LINE_NO>");
valueXmlString.append("</TRANS_INFO>");
valueXmlString.append("<MAIL>");
valueXmlString.append("<ENTITY_CODE>").append("<![CDATA[" + entityCode + "]]>").append("</ENTITY_CODE>");
valueXmlString.append("<FORMAT_CODE>").append("<![CDATA[" + formatCode +"]]>").append("</FORMAT_CODE>");
valueXmlString.append("<TO_ADD>").append("<![CDATA[" + empCodeMailId +"]]>").append("</TO_ADD>");
valueXmlString.append("<LINK_ADDR>").append("<![CDATA[" + "page" + "]]>").append("</LINK_ADDR>");
valueXmlString.append("</MAIL>");
valueXmlString.append("<XML_DATA>").append(transInfo).append("</XML_DATA>");
valueXmlString.append("</ROOT>");
String mailDomStr = valueXmlString.toString();
System.out.println(" [PayrollPrc] :sendMail mailDomStr :-->" + mailDomStr);
EMail email = new EMail();
email.sendMail(mailDomStr, "ITM");
System.out.println("Payroll Process mail delivered successfully" );
emailFlag = true;
}
}
catch (Exception e)
{
System.out.println("Exception :[PayrollPrc] :sendMail() :==>\n" + e.getMessage());
throw new ITMException(e);
}
return emailFlag;
}
/**
* @method : getValueForEmailID
* @param : String,Connection
* @return : String
*/
private String getValueForEmailID(String fieldValue,Connection conn) throws ITMException
{
PreparedStatement pstmt = null;
//Statement stmt = null; //commented by Poonam B[31-07-2019]. value of stmt is not used anywhere
ResultSet rs = null;
String returnValue = "",sql = "";
try
{
System.out.println("@@@ get Value From EMPLOYEE Table param ["+fieldValue+" "+conn+"]");
sql = "SELECT EMAIL_ID_OFF FROM EMPLOYEE WHERE EMP_CODE = ?" ;
System.out.println("*****getValueFromRefTable******* DESCR QUERY IS "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, fieldValue);
rs = pstmt.executeQuery();
System.out.println("*****get Value From EMPLOYEE Table******* DESCR QUERY IS "+sql);
if (rs.next())
{
returnValue = rs.getString("EMAIL_ID_OFF");
System.out.println("*************Return VALUE IS*******"+returnValue );
}
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
System.out.println("Inside get Value From EMPLOYEE Table Exception *******"+e.getMessage());
throw new ITMException(e); // Added By Poonam B [01-08-2019]
}
finally
{
try
{
if (rs!=null)
{
rs.close();
rs = null;
}
if (pstmt!=null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
System.out.println("Inside Exception finally [PostMarketingStudyEJBPos]"+e.getMessage());
e.printStackTrace();
}
}
if (returnValue == null)
returnValue="";
return returnValue;
}
/*private int randomNum() //Method to generate random number
{
int rNum = (int) (Math.random() * 50000 + 10001);
return rNum;
}
*/
/**
* @method : getValueForMailFormat
* @param : String,Connection
* @return : String
* @throws ITMException
*/
private String getValueForMailFormat(String fieldValue,Connection conn) throws ITMException // method to execute query
{
PreparedStatement pstmt = null;
//Statement stmt = null; //commented by Poonam B[31-07-2019]. value of stmt is not used in this method
ResultSet rs = null;
String returnValue = "",sql = "";
try
{
System.out.println("@@@ get Value From MAIL_FORMAT Table param ["+fieldValue+" "+conn+"]");
sql = "SELECT SEND_TO FROM MAIL_FORMAT WHERE FORMAT_CODE = ?" ;
System.out.println("*****getValueFromRefTable******* DESCR QUERY IS "+sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, fieldValue);
rs = pstmt.executeQuery();
System.out.println("*****get Value From MAIL_FORMAT Table******* DESCR QUERY IS "+sql);
if (rs.next())
{
// Added By Poonam B[02-08-2019]
//returnValue = rs.getString("SEND_TO");
returnValue = checkNull(rs.getString("SEND_TO"));
// Added By Poonam B[02-08-2019]
System.out.println("*************Return VALUE IS*******"+returnValue );
}
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
System.out.println("Inside getValueFromRefTable Exception *******"+e.getMessage());
throw new ITMException(e); // Added By Poonam B [31-07-2019]
}
finally
{
try
{
if (rs!=null)
{
rs.close();
rs = null;
}
if (pstmt!=null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
System.out.println("Inside Exception finally [PostMarketingStudyEJBPos]"+e.getMessage());
e.printStackTrace();
}
}
if (returnValue == null)
returnValue="";
return returnValue;
}
/**
* @method : getQueryString
* @param : String
* @return : String(split the comma separated string and replace it with ? mark to create query string )
*
*/
private String getQueryString(String value) throws ITMException
{
String[] codeArray = null;
StringBuffer codeBuffr = new StringBuffer("(");
String parameters = "";
int count = 0;
try
{
if (value != null && !value.trim().isEmpty())
{
System.out.println("value >> " + value);
codeArray = value.split(",");
System.out.println("siteCodeArray >>" + codeArray);
for (String newValue : codeArray)
{
count++;
System.out.println("PayrollPrc:::getData:::newValue is "+newValue);
codeBuffr.append("?,");
}
if(codeBuffr.lastIndexOf(",") == codeBuffr.length() - 1)
{
codeBuffr.deleteCharAt( codeBuffr.length() - 1 );
parameters = codeBuffr.append(")").toString();
System.out.println("PayrollPrc:::parameters:::"+parameters);
}
else
{
parameters = codeBuffr.append(")").toString();
}
}
}
catch(Exception exception)
{
exception.printStackTrace();
System.out.println("Exception ::" + exception.getMessage());
throw new ITMException(exception); // Added By Poonam B [31-07-2019]
}
return parameters;
}
/**
* @method : splitValue
* @param : String,String,String,Connection
* @return : int(split the comma separated string and fetching the data on the basis on split value for validation)
* @throws ITMException
*
*/
private String splitValue(String value,String tableName,String columnName,Connection conn) throws ITMException{
int rowCnt = 0;
String splitValue = "";
String[] codeArray = null;
StringBuffer sb = null;
try
{
if (value != null && !value.trim().isEmpty())
{
System.out.println("value >> " + value);
codeArray = value.split(",");
for(String newValue : codeArray)
{
sb = new StringBuffer();
splitValue = newValue.trim();
rowCnt = isValueExist(tableName, columnName, splitValue, conn);
System.out.println(" rowCnt >>"+ rowCnt);
if(rowCnt == 0)
{
System.out.println("splitValue >> "+splitValue);
System.out.println(">>>>>>"+value);
sb = sb.append(splitValue +" "+"Error");
System.out.println("StringBuffer >> "+ sb);
return splitValue = sb.toString();
}
else{
sb = sb.append(value +" "+"Success");
splitValue = sb.toString();
}
}
}
}
catch(Exception exception)
{
exception.printStackTrace();
System.out.println("Exception ::" + exception.getMessage());
throw new ITMException(exception);// Added By Poonam B [01-08-2019]
}
System.out.println("splitValue >> "+splitValue);
return splitValue;
}
//
private String splitGeoLocValue(String value,String tableName,String columnName,Connection conn) throws ITMException{
int rowCnt = 0;
String splitValue = "";
String[] codeArray = null;
StringBuffer sb = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
try
{
if (value != null && !value.trim().isEmpty())
{
System.out.println("value >> " + value);
codeArray = value.split(",");
for(String newValue : codeArray)
{
sb = new StringBuffer();
splitValue = newValue.trim();
//rowCnt = isValueExist(tableName, columnName, splitValue, conn);
String sql = " select count(1) as rowCnt from " + tableName + " where fld_name = ? and fld_value = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, columnName);
pstmt.setString(2,splitValue );
rs = pstmt.executeQuery();
System.out.println("\n\n\n Query Executed " + sql + "\n\n******************");
if (rs.next())
{
rowCnt = rs.getInt("rowCnt");
}
System.out.println(" rowCnt >>"+ rowCnt);
close(pstmt, rs);
if(rowCnt == 0)
{
System.out.println("splitValue >> "+splitValue);
System.out.println(">>>>>>"+value);
sb = sb.append(splitValue +" "+"Error");
System.out.println("StringBuffer >> "+ sb);
return splitValue = sb.toString();
}
else{
sb = sb.append(value +" "+"Success");
splitValue = sb.toString();
}
}
}
}
catch(Exception exception)
{
exception.printStackTrace();
System.out.println("Exception ::" + exception.getMessage());
throw new ITMException(exception);// Added By Poonam B [01-08-2019]
}
System.out.println("splitValue >> "+splitValue);
return splitValue;
}
}//end of ejb
package ibase.webitm.ejb.adm;
//import ibase.system.config.ConnDriver; //commented By Poonam B [31-07-2019]
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
//import ibase.webitm.utility.GenericUtility; //commented By Poonam B [31-07-2019]
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.SimpleDateFormat;
//import java.util.ArrayList; //commented By Poonam B [31-07-2019]
import java.util.Date;
//import javax.ejb.Stateless; //commented By Poonam B [31-07-2019]
import org.w3c.dom.Document;
// Changed by Dhiraj 07/10/10 [AD01SUN008]
// added for ejb3
//@Stateless // added for ejb3 //commented By Poonam B [31-07-2019]
public class PayrollPrcIC extends ValidatorEJB implements PayrollPrcICLocal,PayrollPrcICRemote //SessionBean
{
String returnValue12 = "";
//item change logic
public String itemChanged() throws RemoteException,ITMException
{
return "";
}
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null;
Document dom1 = null;
Document dom2 = null;
String valueXmlString = "";
// Modified By Poonam B on[31-07-2019][START]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified By Poonam B on[31-07-2019][END]
try
{
System.out.println("xmlString :"+xmlString+ "\n xmlString1 :"+xmlString1+ " \nxmlString2 :"+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);
}
valueXmlString = itemChanged(dom,dom1,dom2,objContext,currentColumn,editFlag,xtraParams);
}
catch(Exception e)
{
System.out.println("Exception :PayrollPrcIC :itemChanged(String,String) :==>\n"+e.getMessage());
valueXmlString = genericUtility.createErrorString(e);
throw new ITMException(e);// Added By Poonam B [31-07-2019]
}
return valueXmlString.toString();
}
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
/*char days ;
int shift_no = 0,usrLevel = 9;;
String dayslist1 = "";
int total_days = 0;
ArrayList dayslist = new ArrayList();*/ //commented By Poonam B [31-07-2019] .variables not in use
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
String columnValue = "";
String site_code = "",loginCode = "";
String sql = "";
String loginSite = "", siteCodeDescr = "",payrollDt = "";
Date payrollDate = new Date();
PreparedStatement pstmt = null;
// Modified By Poonam B on[31-07-2019][START]
//GenericUtility genericUtility = GenericUtility.getInstance();
//ConnDriver connDriver = new ConnDriver();
E12GenericUtility genericUtility = new E12GenericUtility();
// Modified By Poonam B on[31-07-2019][END]
StringBuffer valueXmlString = new StringBuffer();
try
{
// Modified By Poonam B on[31-07-2019][START]
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//columnValue = genericUtility.getColumnValue(currentColumn,dom);
columnValue = checkNull(genericUtility.getColumnValue(currentColumn,dom));
// Modified By Poonam B on[31-07-2019][END]
System.out.println("columnValue :"+columnValue);
loginCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSite");
// Modified By Poonam B on[31-07-2019][START]
//String prdCodeFr =genericUtility.getColumnValue("prd_code__fr", dom);
String prdCodeFr = checkNull(genericUtility.getColumnValue("prd_code__fr", dom));
// Modified By Poonam B on[31-07-2019][END]
valueXmlString = new StringBuffer("<?xml version=\"1.0\"?><Root><Header><editFlag>");
valueXmlString.append(editFlag).append("</editFlag></Header>");
valueXmlString.append("<Detail1>");
if (currentColumn.trim().equals("itm_default"))
{
System.out.println("xtraParamsitemchange:---------------"+xtraParams);
System.out.println("payroll date:-------------------------"+payrollDate);
/*sql = "SELECT USR_LEV FROM USERS WHERE CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, loginCode);
rs = pstmt.executeQuery();
if (rs.next())
{
usrLevel = rs.getInt("USR_LEV");
System.out.println("usrLevel >> ["+usrLevel+"]");
}
close(pstmt, rs);*/
String prdCode = "";
sql = "SELECT PRD_CODE FROM PARAMETER";
pstmt = conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if (rs.next())
{
// Modified By Poonam B on[31-07-2019][START]
//prdCode = rs.getString("PRD_CODE");
prdCode = checkNull(rs.getString("PRD_CODE"));
// Modified By Poonam B on[31-07-2019][END]
System.out.println("prdCode >> ["+prdCode+"]");
}
close(pstmt, rs);
/**added and modified by Rupesh Pawar on 20/07/18 start*/
String descr = "";
if(prdCode != null && prdCode.trim().length()>0)
{
sql = " select descr from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,prdCode.trim());
rs = pstmt.executeQuery();
if(rs.next())
{
// Modified By Poonam B on[31-07-2019][START]
//descr = rs.getString("descr");
descr = checkNull(rs.getString("descr"));
// Modified By Poonam B on[31-07-2019][START]
System.out.println(" periodFromDescr[" + descr + "]");
}
close(pstmt, rs);
if(descr != null && descr.trim().length() > 0)
{
valueXmlString.append("<period_from><![CDATA[").append(descr).append("]]></period_from>");
valueXmlString.append("<period_to><![CDATA[").append(descr).append("]]></period_to>");
}else{
valueXmlString.append("<period_from><![CDATA[").append(descr).append("]]></period_from>");
valueXmlString.append("<period_to><![CDATA[").append(descr).append("]]></period_to>");
}
}
/*if(usrLevel > 1)
{
System.out.println("user level greater than 1"+usrLevel);
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
payrollDt = sdf.format(payrollDate);
System.out.println("payroll_date:-------------------------"+payrollDt);
valueXmlString.append("<payroll_date>").append(payrollDt).append("</payroll_date>\r\n");
valueXmlString.append("<site_code__fr protect='1'><![CDATA["+loginSite+"]]></site_code__fr>\r\n");
//valueXmlString.append("<site_code__to protect='1'><![CDATA["+loginSite+"]]></site_code__to>\r\n");
valueXmlString.append("<fin_ent__fr protect='1'><![CDATA["+""+"]]></fin_ent__fr>\r\n");
//valueXmlString.append("<fin_ent__to protect='1'><![CDATA["+""+"]]></fin_ent__to>\r\n");
valueXmlString.append("<geo_loc__fr protect='1'><![CDATA["+""+"]]></geo_loc__fr>\r\n");
//valueXmlString.append("<geo_loc__to protect='1'><![CDATA["+""+"]]></geo_loc__to>\r\n");
valueXmlString.append("<payroll_type protect='1'><![CDATA["+"PP"+"]]></payroll_type>\r\n");
valueXmlString.append("<inter_pro protect='1'><![CDATA["+"Y"+"]]></inter_pro>\r\n");
valueXmlString.append("<pay_proj protect='1'><![CDATA["+"Y"+"]]></pay_proj>\r\n");
}
else
{*/
System.out.println("user prdCode "+prdCode);
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
payrollDt = sdf.format(payrollDate);
System.out.println("payroll_date:-------------------------"+payrollDt);
valueXmlString.append("<payroll_date>").append(payrollDt).append("</payroll_date>\r\n");
valueXmlString.append("<geo_loc__fr>").append("").append("</geo_loc__fr>\r\n");
//valueXmlString.append("<geo_loc__to>").append("").append("</geo_loc__to>\r\n");
valueXmlString.append("<fin_ent__fr>").append("").append("</fin_ent__fr>\r\n");
//valueXmlString.append("<fin_ent__to>").append("").append("</fin_ent__to>\r\n");
valueXmlString.append("<site_code__fr>").append(loginSite).append("</site_code__fr>\r\n");
//valueXmlString.append("<site_code__to>").append(loginSite).append("</site_code__to>\r\n");
valueXmlString.append("<consider_attd>").append("N").append("</consider_attd>\r\n");
valueXmlString.append("<dataowrite>").append("Y").append("</dataowrite>\r\n");
valueXmlString.append("<inter_pro protect='1'><![CDATA["+"Y"+"]]></inter_pro>\r\n");
valueXmlString.append("<pay_proj protect='1'><![CDATA["+"Y"+"]]></pay_proj>\r\n");
valueXmlString.append("<pay_proc>").append("Y").append("</pay_proc>\r\n");
valueXmlString.append("<arr_proc>").append("N").append("</arr_proc>\r\n");
valueXmlString.append("<chg_arr__proc>").append("Y").append("</chg_arr__proc>\r\n");
valueXmlString.append("<prd_code__fr>").append(prdCode).append("</prd_code__fr>\r\n");
valueXmlString.append("<prd_code__to protect='1'>").append(prdCode).append("</prd_code__to>\r\n");
valueXmlString.append("<prd_code__arr>").append(prdCode).append("</prd_code__arr>\r\n");
valueXmlString.append("<payroll_type protect='1'><![CDATA["+"PP"+"]]></payroll_type>\r\n");
//}
}
if(currentColumn.trim().equals("prd_code__fr"))
{
/**added and modified by Rupesh Pawar on 20/07/18 start*/
String periodFromDescr = "";
// Modified By Poonam B on[31-07-2019][START]
//prdCodeFr =genericUtility.getColumnValue("prd_code__fr", dom);
prdCodeFr = checkNull(genericUtility.getColumnValue("prd_code__fr", dom));
// Modified By Poonam B on[31-07-2019][END]
if(prdCodeFr != null && prdCodeFr.trim().length()>0)
{
sql = " select descr from period where code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,prdCodeFr.trim());
rs = pstmt.executeQuery();
if(rs.next())
{
// Modified By Poonam B on[31-07-2019][START]
//periodFromDescr = rs.getString("descr");
periodFromDescr = checkNull(rs.getString("descr"));
//Modified By Poonam B on[31-07-2019][END]
System.out.println(" periodFromDescr[" + periodFromDescr + "]");
}
close(pstmt, rs);
if(periodFromDescr != null && periodFromDescr.trim().length() > 0)
{
valueXmlString.append("<period_from><![CDATA[").append(periodFromDescr).append("]]></period_from>");
valueXmlString.append("<period_to><![CDATA[").append(periodFromDescr).append("]]></period_to>");
}else{
valueXmlString.append("<period_from><![CDATA[").append(periodFromDescr).append("]]></period_from>");
valueXmlString.append("<period_to><![CDATA[").append(periodFromDescr).append("]]></period_to>");
}
valueXmlString.append("<prd_code__to>").append(prdCodeFr).append("</prd_code__to>\r\n");
valueXmlString.append("<prd_code__to protect='1'><![CDATA["+prdCodeFr+"]]></prd_code__to>\r\n");
}
else{
valueXmlString.append("<period_from><![CDATA[").append(periodFromDescr).append("]]></period_from>");
valueXmlString.append("<period_to><![CDATA[").append(periodFromDescr).append("]]></period_to>");
valueXmlString.append("<prd_code__to>").append("").append("</prd_code__to>\r\n");
valueXmlString.append("<prd_code__to protect='1'><![CDATA["+""+"]]></prd_code__to>\r\n");
}
/**added and modified by Rupesh Pawar on 20/07/18 END*/
}
/**added and modified by Rupesh on 19/07/18 start*/
if(currentColumn.trim().equals("emp_code__fr"))
{
String empLongNameFrom = "";
String empCode = checkNull(genericUtility.getColumnValue("emp_code__fr", dom));
System.out.println("emp_code__fr is >> " + empCode);
if(empCode != null && empCode.trim().length() > 0 && !empCode.trim().equalsIgnoreCase("00"))
{
sql = " select DDF_GET_MASTERS_NAME('EMPLOYEE' ,?, 'FML') as empLongName from dual";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode.trim());
rs = pstmt.executeQuery();
if(rs.next())
{
//Modified By Poonam B on[31-07-2019][START]
//empLongNameFrom = rs.getString("empLongName");
empLongNameFrom = checkNull(rs.getString("empLongName"));
//Modified By Poonam B on[31-07-2019][END]
System.out.println(" empLongName[" + empLongNameFrom + "]");
}
close(pstmt, rs);
if(empLongNameFrom != null && empLongNameFrom.trim().length() > 0)
{
valueXmlString.append("<emp_name_from><![CDATA[").append(empLongNameFrom).append("]]></emp_name_from>");
}else{
valueXmlString.append("<emp_name_from><![CDATA[]]></emp_name_from>");
}
}else{
valueXmlString.append("<emp_name_from><![CDATA[").append("").append("]]></emp_name_from>");
}
}
else if(currentColumn.trim().equals("emp_code__to"))
{
String empLongNameTo = "";
String empCode = checkNull(genericUtility.getColumnValue("emp_code__to", dom));
System.out.println("emp_name_to is >> " + empCode);
if(empCode != null && empCode.trim().length() > 0 && !empCode.trim().equalsIgnoreCase("ZZ"))
{
sql = " select DDF_GET_MASTERS_NAME('EMPLOYEE' ,?, 'FML') as empLongName from dual";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,empCode.trim());
rs = pstmt.executeQuery();
if(rs.next())
{
//Modified By Poonam B on[31-07-2019][START]
//empLongNameTo = rs.getString("empLongName");
empLongNameTo = checkNull(rs.getString("empLongName"));
//Modified By Poonam B on[31-07-2019][END]
System.out.println(" empLongName[" + empLongNameTo + "]");
}
close(pstmt, rs);
if(empLongNameTo != null && empLongNameTo.trim().length() > 0)
{
valueXmlString.append("<emp_name_to><![CDATA[").append(empLongNameTo).append("]]></emp_name_to>");
}else{
valueXmlString.append("<emp_name_to><![CDATA[]]></emp_name_to>");
}
}else{
valueXmlString.append("<emp_name_to><![CDATA[").append("").append("]]></emp_name_to>");
}
}
/*if(currentColumn.trim().equals("prd_code__fr"))
{
String periodFromDescr = "";
String prdCode = checkNull(genericUtility.getColumnValue("prd_code__fr", dom));
System.out.println("period_from is >> " + prdCode);
if(prdCode != null && prdCode.trim().length() > 0)
{
sql = " select descr from period where code = ?";
pstmt=conn.prepareStatement(sql);
pstmt.setString(1,prdCode.trim());
rs = pstmt.executeQuery();
if(rs.next())
{
periodFromDescr = rs.getString("descr");
System.out.println(" periodFromDescr[" + periodFromDescr + "]");
}
close(pstmt, rs);
if(periodFromDescr != null && periodFromDescr.trim().length() > 0)
{
valueXmlString.append("<period_from><![CDATA[").append(periodFromDescr).append("]]></period_from>");
valueXmlString.append("<period_to><![CDATA[").append(periodFromDescr).append("]]></period_to>");
}else{
valueXmlString.append("<period_from><![CDATA[").append(periodFromDescr).append("]]></period_from>");
valueXmlString.append("<period_to><![CDATA[").append(periodFromDescr).append("]]></period_to>");
}
}
}*/
else if(currentColumn.trim().equals("prc_grp__fr"))
{
String procGrpFromDescr = "";
String proceGrpCodeFr = checkNull(genericUtility.getColumnValue("prc_grp__fr", dom));
System.out.println("prc_grp__fr is >> " + proceGrpCodeFr);
if(proceGrpCodeFr != null && proceGrpCodeFr.trim().length() > 0)
{
sql = " select descr from gencodes where fld_value = ? and fld_name = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,proceGrpCodeFr.trim());
pstmt.setString(2,"PROC_GROUP");
rs = pstmt.executeQuery();
if(rs.next())
{
//Modified By Poonam B on[31-07-2019][START]
//procGrpFromDescr = rs.getString("descr");
procGrpFromDescr = checkNull(rs.getString("descr"));
//Modified By Poonam B on[31-07-2019][END]
System.out.println(" procGrpFromDescr[" + procGrpFromDescr + "]");
}
close(pstmt, rs);
if(procGrpFromDescr != null && procGrpFromDescr.trim().length() > 0)
{
valueXmlString.append("<proc_from><![CDATA[").append(procGrpFromDescr).append("]]></proc_from>");
}else{
valueXmlString.append("<proc_from><![CDATA[]]></proc_from>");
}
}
}
else if(currentColumn.trim().equals("prc_grp__to"))
{
String procGrpFrmDescr = "";
String proceGrpCodeTo = checkNull(genericUtility.getColumnValue("prc_grp__to", dom));
System.out.println("prc_grp__to is >> " + proceGrpCodeTo);
if(proceGrpCodeTo != null && proceGrpCodeTo.trim().length() > 0)
{
sql = " select descr from gencodes where fld_value = ? and fld_name = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,proceGrpCodeTo.trim());
pstmt.setString(2,"PROC_GROUP");
rs = pstmt.executeQuery();
if(rs.next())
{
//Modified By Poonam B on[31-07-2019][START]
//procGrpFrmDescr = rs.getString("descr");
procGrpFrmDescr = checkNull(rs.getString("descr"));
//Modified By Poonam B on[31-07-2019][END]
System.out.println(" procGrpFrmDescr[" + procGrpFrmDescr + "]");
}
close(pstmt, rs);
if(procGrpFrmDescr != null && procGrpFrmDescr.trim().length() > 0)
{
valueXmlString.append("<proc_to><![CDATA[").append(procGrpFrmDescr).append("]]></proc_to>");
}else{
valueXmlString.append("<proc_to><![CDATA[]]></proc_to>");
}
}
}
/**added and modified by Rupesh on 19/07/18 start*/
valueXmlString.append("</Detail1>\r\n");
valueXmlString.append("</Root>\r\n");
}
catch(Exception e)
{
System.out.println("Exception in PayrollPrcIC.java occured");
//Modified By Poonam B on[31-07-2019][START]
e.printStackTrace();
throw new ITMException(e);
//Modified By Poonam B on[31-07-2019][END]
}
finally
{
try
{
System.out.println("Closing Connection.......");
/*conn.close();
conn = null;*/
if (rs != null)
{
rs.close();
rs = null;
}
if (stmt != null)
{
stmt.close();
stmt = null;
}
if (conn != null)
{
conn.close();
conn = null;
}
}catch(Exception se){
System.out.println("Inside Exception IC [" + se.getMessage() +"]");
se.printStackTrace();
}
}
System.out.println("Return XML" + valueXmlString.toString() );
return valueXmlString.toString();
}
public void close(PreparedStatement pstmt, ResultSet rs) {
try {
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
public String getTransEmpCode(String tranId)throws ITMException, RemoteException
{
//ConnDriver connDriver = new ConnDriver(); // Commented By Poonam B [31-07-2019]
Connection conn = null;
try
{
if (conn == null)
{
//Modified By Poonam B on[31-07-2019][START]
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Modified By Poonam B on[31-07-2019][END]
}
}
catch (Exception e)
{
System.out.println("Exception :==>" + e.getMessage());
throw new ITMException(e); //Added By Poonam B [02-08-2019]
}
PreparedStatement pStmt = null;
ResultSet rs = null;
String sql = "";
String empCode = "";
try {
sql = "SELECT EMP_CODE FROM EMPDETAIL_CHG WHERE TRAN_ID = ? ";
pStmt = conn.prepareStatement(sql);
pStmt.setString(1, tranId);
rs = pStmt.executeQuery();
if (rs.next())
{
//Modified By Poonam B on[31-07-2019][START]
//empCode = rs.getString("EMP_CODE")==null?"":rs.getString("EMP_CODE").trim();
empCode = checkNull(rs.getString("EMP_CODE")) == null?"":checkNull(rs.getString("EMP_CODE")).trim();
//Modified By Poonam B on[31-07-2019][END]
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pStmt != null)
{
pStmt.close();
pStmt = null;
}
if(conn !=null)
{
conn.close();
conn = null;
}
}
catch (Exception ex)
{
System.out.println("[PayrollPrcIC] :: [getTransEmpCode ()] :: "
+ ex.getMessage());
throw new ITMException(ex);
}
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 ex)
{
System.out
.println("[PayrollPrcIC] :: [getEmpcodeFromUsers ()] [Finally] :: "
+ ex.getMessage());
throw new ITMException(ex);
}
}
return empCode;
}
/**
* @method : checkNull
* @param : String
* @return : String
*
*/
public static String checkNull(String input) {
return input == null ? "" : input.trim();
}
}
\ No newline at end of file
package ibase.webitm.ejb.adm;import java.rmi.RemoteException;//import javax.ejb.EJBObject; import org.w3c.dom.*; import ibase.webitm.utility.ITMException; import ibase.webitm.ejb.*; import javax.ejb.Local; // added for ejb3 @Local // added for ejb3 public interface PayrollPrcICLocal extends ValidatorLocal //,EJBObject { public String itemChanged() throws RemoteException,ITMException; public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException; public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException; }
\ No newline at end of file
package ibase.webitm.ejb.adm;import java.rmi.RemoteException;//import javax.ejb.EJBObject; import org.w3c.dom.*; import ibase.webitm.utility.ITMException; import ibase.webitm.ejb.*; import javax.ejb.Remote; // added for ejb3 @Remote // added for ejb3 public interface PayrollPrcICRemote extends ValidatorRemote //,EJBObject { public String itemChanged() throws RemoteException,ITMException; public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException; public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException; }
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Local;
@Local
public interface PayrollPrcLocal extends ibase.webitm.ejb.ProcessLocal //,EJBObject
{
public String process() throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
//import javax.ejb.EJBObject;
import org.w3c.dom.*;
import ibase.webitm.utility.ITMException;
import javax.ejb.Remote; // for ejb3
@Remote // for ejb3
public interface PayrollPrcRemote extends ibase.webitm.ejb.ProcessRemote //,EJBObject
{
public String process() throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException,ITMException;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment