Commit 899380da authored by pbhosale's avatar pbhosale

Updated on [12-03-2020]

splitit_confirm_prc11.xml
splitit_confirm_prc12.xml
w_splitit_confirm_prc.sql
d_splitit_confirm_prc11.srd
d_splitit_confirm_prc12.srd
SplititConfirmIC.java
SplititConfirmICLocal.java
SplititConfirmICRemote.java
SplititConfirmPrc.java
SplititConfirmPrcLocal.java
SplititConfirmPrcRemote.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217758 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 766de858
------------------------------------------------------------- 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 ('ADM',2,14,0,0,0,'w_splitit_confirm_prc','Split Income Tax Confirmation','Split Income Tax Confirmation','ADM.2.14.0.0.0','SplitIncomeTaxConfirmation.png','SplitIncomeTaxConfirmationwht.png',null,'P',null,null,null,'B',null,null,'B','0 ');
------------------------------------------------------------- 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_splitit_confirm_prc','2','2','M','seq10',null,null,null,null,null,'N',to_date('15-12-14','DD-MM-RR'),'BASE ','BASE ','0',null,null,null,'N','N',null,null,null,null,null,'0','0',null,null,null,null,null,null,null,null,null,'0',null,'ADM',null,null,null,null,null,null,null,'0',null,'F',null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'Y',null,null,null,null,null,null,null,null,null,null,null,null,null,null,'compact',null,null,null,null,null,null,null);
------------------------------------------------------------- OBJ_FORMS
Insert into OBJ_FORMS (WIN_NAME,TITLE,OBJ_BROW_NAME,OBJ_EDIT_NAME,CROSS_UPDATE_EXPR,EXPR_FLD_INFO,TARGET_FLD_INFO,EXPR_COMMENT,FORM_NO,SCR_FLAG,AUTO_ACCEPT_SCAN,SCAN_FLAG,SCAN_METADATA,PROPERTY_INFO,SCAN_DELIMITER,COLUMN_ON_SAVE,AFTER_SAVE,EXT_SETUP,EXT_METADATA,EXT_COM,AUTO_ACCEPT_WEIGHDATA,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,QTY_COL,RATE_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,DUPLICATE_ADD,DEFAULT_ROW_CNT,FREEZE_COL_POS,IS_MANDATORY,TRAN_ID_COL,SELECTION_OPT,KEY_INFO,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,FORM_NAME,FORM_ICON,FORM_VIEW_OPTS,X_COLUMN,Y_COLUMN,ACTION_ARG) values ('w_splitit_confirm_prc','Split Incometax','d_splitit_confirm_prc11','d_splitit_confirm_prc12',null,null,null,null,'1','F',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
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_splitit_confirm_prc','Split Incometax','d_splitit_confirm_prc11','d_splitit_confirm_prc12',null,null,null,null,'2','T',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'DetailForm.png',null,null,null,null);
------------------------------------------------------------- OBJ_ITEMCHANGE
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('splitit_confirm_prc','1','acct_prd','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('splitit_confirm_prc','1','emp_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('splitit_confirm_prc','1','emp_code__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('splitit_confirm_prc','1','itm_default','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('splitit_confirm_prc','1','proc_group__from','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('splitit_confirm_prc','1','proc_group__to','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('splitit_confirm_prc','1','site_code__fr','Y');
Insert into OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) values ('splitit_confirm_prc','1','site_code__to','Y');
-------------------------------------------------------------- OBJ_ACTIONS
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('splitit_confirm_prc',11,'vdata~normal.gif','Action to get data','get_data','a','V','View Data','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
Insert into OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT,SHOW_IN_PANEL,PAGE_CONTEXT,TYPE,ACTION_ARG,SWIPE_POSITION,MULTI_ROW_OPT,ACTION_ID,DEF_NODATA,IN_PROC_INTRUPT,ESTIMATED_TIME,ACTION_GROUP,DISPLAY_OPT,DISPLAY_MODE,SHOW_CONFIRM,REC_SPECIFIC) values ('splitit_confirm_prc',12,null,'Action to process data','process','a','P','Process','1',null,null,'S',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'2',null,null);
------------------------------------------------------------- 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 ('splitit_confirm_prc','get_data','1','gd_splititconf_ejb',null,'0',to_date('10-03-15','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.adm.SplititConfirmPrc',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 ('splitit_confirm_prc','post_item_change','1','poic_splititconf_ejb',null,'0',to_date('15-12-14','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.adm.SplititConfirmIC',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 ('splitit_confirm_prc','post_validate','1','post_gen_val',null,'0',to_date('10-03-15','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.sys.GenValidate',null);
Insert into SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,OVERWRITE_CORE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,COMP_TYPE,COMP_NAME,COMM_FORMAT) values ('splitit_confirm_prc','pre_validate','1','prv_splititconf_ejb',null,'0',to_date('15-12-14','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.adm.SplititConfirmIC',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 ('splitit_confirm_prc','process','1','pr_splititconf_ejb',null,'0',to_date('15-12-14','DD-MM-RR'),'BASE ','BASE','2','JB','ibase.webitm.ejb.adm.SplititConfirmPrc',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_splititconf_ejb','Action To get the Data','http://localhost/axis/services/ProcessService','BASE','getData','String','S',null,null,to_date('16-05-08','DD-MM-RR'),'BASE ','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('poic_splititconf_ejb','Item Changed','http://localhost:9090/axis/services/ValidatorService',null,'itemChanged','String','S',null,null,to_date('28-08-19','DD-MM-RR'),'BASE ','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('post_gen_val','validation','http://localhost:9090/axis/services/ValidatorService','BASE iformation','wfValData','String','S',null,null,to_date('21-05-16','DD-MM-RR'),'BASE ','VAIBHAV',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('pr_splititconf_ejb','Process','http://localhost:9090/axis/services/ProcessService',null,'process','String','S',null,null,to_date('16-05-08','DD-MM-RR'),'BASE ','BASE',null,null,null);
Insert into SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM,SERVICE_NAMESPACE,RES_ELEM,SOAP_ACTION) values ('prv_splititconf_ejb','method for validation','http://localhost:9090/axis/services/ValidatorService','BASE','wfValData','String','S',null,null,to_date('28-08-19','DD-MM-RR'),'BASE ','BASE',null,null,null);
--------------------------------------------------------- SYSTEM_SERVICE_ARGS
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('gd_splititconf_ejb',1,'COMPONENT_TYPE','I','Component Type','S',null,to_date('16-05-08','DD-MM-RR'),'Jaimin ','BASE207 ','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('gd_splititconf_ejb',2,'COMPONENT_NAME','I','Component Name','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ','ibase.webitm.ejb.adm.SplititConfirmPrc');
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_splititconf_ejb',3,'XML_DATA','I','XML data of form no 1','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',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_splititconf_ejb',4,'XML_DATA_ALL','I','XML data of form no All','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',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_splititconf_ejb',5,'XTRA_PARAMS','I','Extra Arguments','S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',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_splititconf_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('01-06-19','DD-MM-RR'),'HRISHIKESH','HRISHIKESH','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_splititconf_ejb',2,'COMPONENT_NAME ','I',null,'S',null,to_date('01-06-19','DD-MM-RR'),'HRISHIKESH','HRISHIKESH','ibase.webitm.ejb.adm.SplititConfirmIC');
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_splititconf_ejb',3,'XML_DATA ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','This ',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_splititconf_ejb',4,'XML_DATA_1 ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_splititconf_ejb',5,'XML_DATA_ALL ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_splititconf_ejb',6,'OBJ_CONTEXT ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_splititconf_ejb',7,'FOCUSED_COLUMN ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_splititconf_ejb',8,'EDIT_FLAG ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('poic_splititconf_ejb',9,'XTRA_PARAMS ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',1,'COMPONENT_TYPE','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',2,'COMPONENT_NAME','I',null,'C.String',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV','ibase.webitm.ejb.sys.GenValidate');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',3,'XML_DATA','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',4,'XML_DATA_ALL','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',5,'XML_DATA_ALL','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',6,'OBJ_CONTEXT','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',7,'WIN_NAME','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',8,'XTRA_PARAMS','I',null,'S',null,to_date('21-05-16','DD-MM-RR'),'VAIBHAV ','VAIBHAV',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('post_gen_val',9,'ACTION','I',null,'S',null,to_date('19-05-15','DD-MM-RR'),'BASE ','BASE',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('pr_splititconf_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('pr_splititconf_ejb',2,'COMPONENT_NAME','I',null,'S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ','ibase.webitm.ejb.adm.SplititConfirmPrc');
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 ('pr_splititconf_ejb',3,'XML_DATA_1','I',null,'S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',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 ('pr_splititconf_ejb',4,'XML_DATA__ALL','I',null,'S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',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 ('pr_splititconf_ejb',5,'XTRA_PARAMS','I',null,'S',null,to_date('16-05-08','DD-MM-RR'),'jaimin ','BASE207 ',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_splititconf_ejb',1,'COMPONENT_TYPE','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar','JB');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_splititconf_ejb',2,'COMPONENT_NAME','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar','ibase.webitm.ejb.adm.SplititConfirmIC');
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_splititconf_ejb',3,'XML_DATA ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_splititconf_ejb',4,'XML_DATA_1 ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_splititconf_ejb',5,'XML_DATA_ALL ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_splititconf_ejb',6,'OBJ_CONTEXT','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_splititconf_ejb',7,'EDIT_FLAG ','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
Insert into SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) values ('prv_splititconf_ejb',8,'XTRA_PARAMS','I',null,'S',null,to_date('18-09-11','DD-MM-RR'),'Manohar ','Manohar',null);
----------------------------------------------------------- POPHELP
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('ACCT_PRD','W_SPLITIT_CONFIRM_PRC','SELECT CODE, DESCR FROM ACCTPRD',null,'Account Period',0,0,to_date('17-08-15','DD-MM-RR'),'AALI ','BASE ',null,null,null,1,null,null,null,null,null,null,'2',null,'3','AcctPrdImages','code','descr','2 ',null,null,null,null,null,null,null);
Insert into POPHELP (FIELD_NAME,MOD_NAME,SQL_STR,DW_OBJECT,MSG_TITLE,WIDTH,HEIGHT,CHG_DATE,CHG_USER,CHG_TERM,DIST_OPT,FILTER_STRING,SQL_INPUT,DEFAULT_COL,POP_ALIGN,QUERY_MODE,PAGE_CONTEXT,POPHELP_COLS,POPHELP_SOURCE,MULTI_OPT,HELP_OPTION,POPUP_XSL_NAME,AUTO_FILL_LEN,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,AUTO_MIN_LENGTH,OBJ_NAME__DS,DATA_MODEL_NAME,VALIDATE_DATA,ITEM_CHANGE,MSG_NO,FILTER_EXPR,LAYOUT) values ('SITE_CODE__FR','W_SPLITIT_CONFIRM_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,null,0,0,to_date('25-10-13','DD-MM-RR'),'BASE ','BASE ','1',null,null,null,null,null,null,null,null,0,'2',null,'3','SiteImages','site_code_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 ('EMP_CODE__FR','W_SPLITIT_CONFIRM_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_SPLITIT_CONFIRM_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 ('PROC_GROUP__FROM','W_SPLITIT_CONFIRM_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 ('PROC_GROUP__TO','W_SPLITIT_CONFIRM_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__TO','W_SPLITIT_CONFIRM_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,null,0,0,to_date('25-10-13','DD-MM-RR'),'BASE ','BASE ','1',null,null,null,null,null,null,null,null,0,'2',null,'3','SiteImages','site_code_fr','descr','2 ',null,null,null,null,null,null,null);
...@@ -171,8 +171,8 @@ ...@@ -171,8 +171,8 @@
<text>Split Incometax Confirmation</text> <text>Split Incometax Confirmation</text>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>9</x> <x>10</x>
<y>6</y> <y>5</y>
<height>258</height> <height>258</height>
<width>630</width> <width>630</width>
<name>gb_1</name> <name>gb_1</name>
...@@ -231,17 +231,17 @@ ...@@ -231,17 +231,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>For :</text> <text>A/c Period For :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>139</x> <x>91</x>
<y>49</y> <y>49</y>
<height>18</height> <height>16</height>
<width>36</width> <width>84</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>prd_code_t</name> <name>acct_prd_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -256,70 +256,6 @@ ...@@ -256,70 +256,6 @@
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>A/c Period &gt;&gt;</text>
<border>6</border>
<color>16711680</color>
<x>21</x>
<y>49</y>
<height>18</height>
<width>113</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_7</name>
<visible>1</visible>
<font>
<face>Courier New</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>241</x>
<y>49</y>
<height>18</height>
<width>132</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>fr_prd_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -358,56 +294,20 @@ ...@@ -358,56 +294,20 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>14</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>241</x>
<y>80</y>
<height>18</height>
<width>132</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>emp_name__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>From :</text> <text>Employee From :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>139</x> <x>87</x>
<y>80</y> <y>80</y>
<height>18</height> <height>16</height>
<width>36</width> <width>88</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>t_5</name> <name>emp_code__fr_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -422,34 +322,6 @@ ...@@ -422,34 +322,6 @@
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Employee &gt;&gt; </text>
<border>6</border>
<color>16711680</color>
<x>31</x>
<y>80</y>
<height>18</height>
<width>103</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_6</name>
<visible>1</visible>
<font>
<face>Courier New</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>1</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>4</id> <id>4</id>
...@@ -491,13 +363,13 @@ ...@@ -491,13 +363,13 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>From :</text> <text>Site From :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>139</x> <x>119</x>
<y>111</y> <y>111</y>
<height>18</height> <height>16</height>
<width>36</width> <width>56</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -519,54 +391,46 @@ ...@@ -519,54 +391,46 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Site &gt;&gt;</text> <text>No of Payroll Confirmed :</text>
<border>6</border> <border>0</border>
<color>16711680</color> <color>0</color>
<x>31</x> <x>21</x>
<y>111</y> <y>185</y>
<height>18</height> <height>16</height>
<width>103</width> <width>154</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>t_1</name> <name>noof_confirmed_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Courier New</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>1</family>
<pitch>1</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>79741120</color> <color>553648127</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>12</id> <alignment>1</alignment>
<alignment>0</alignment> <text> No of Payroll Rejected :</text>
<tabsequence>32766</tabsequence> <border>0</border>
<border>5</border> <color>0</color>
<color>255</color> <x>19</x>
<x>241</x> <y>207</y>
<y>111</y> <height>16</height>
<height>18</height> <width>156</width>
<width>132</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>fr_site_descr</name> <name>noof_rejected_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -576,54 +440,64 @@ ...@@ -576,54 +440,64 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>67108864</color> <color>553648127</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>9</id>
<text>Proc. Group &gt;&gt;</text> <alignment>0</alignment>
<border>6</border> <tabsequence>60</tabsequence>
<color>16711680</color> <border>5</border>
<x>15</x> <color>0</color>
<x>179</x>
<y>141</y> <y>141</y>
<height>18</height> <height>18</height>
<width>119</width> <width>55</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_group_t</name> <name>proc_group__from</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Courier New</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>1</family> <family>2</family>
<pitch>1</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>18</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>241</x> <x>179</x>
<y>141</y> <y>185</y>
<height>18</height> <height>17</height>
<width>132</width> <width>67</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_group__fr_name</name> <name>noof_confirmed</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -644,21 +518,29 @@ ...@@ -644,21 +518,29 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>19</id>
<alignment>1</alignment> <alignment>1</alignment>
<text>To :</text> <tabsequence>32766</tabsequence>
<border>0</border> <border>5</border>
<color>0</color> <color>255</color>
<x>384</x> <x>179</x>
<y>80</y> <y>207</y>
<height>18</height> <height>17</height>
<width>25</width> <width>67</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__to_t</name> <name>noof_rejected</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -669,23 +551,23 @@ ...@@ -669,23 +551,23 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>67108864</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>To :</text> <text>Proc. Group From :</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>384</x> <x>76</x>
<y>111</y> <y>141</y>
<height>18</height> <height>16</height>
<width>25</width> <width>99</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code__to_t</name> <name>proc_group__from_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -700,21 +582,29 @@ ...@@ -700,21 +582,29 @@
<color>79741120</color> <color>79741120</color>
</background> </background>
</TextObject> </TextObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>11</id>
<text>To :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>0</color> <border>5</border>
<x>384</x> <color>255</color>
<y>141</y> <x>241</x>
<y>49</y>
<height>18</height> <height>18</height>
<width>25</width> <width>100</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_group__to_t</name> <name>fr_prd_descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -725,32 +615,30 @@ ...@@ -725,32 +615,30 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>67108864</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>14</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>30</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>414</x> <x>241</x>
<y>80</y> <y>80</y>
<height>18</height> <height>18</height>
<width>55</width> <width>100</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>emp_code__to</name> <name>emp_name__fr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>0</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -763,32 +651,30 @@ ...@@ -763,32 +651,30 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>12</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>50</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>414</x> <x>241</x>
<y>111</y> <y>111</y>
<height>18</height> <height>18</height>
<width>55</width> <width>100</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>site_code__to</name> <name>fr_site_descr</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>5</limit> <limit>0</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -801,45 +687,43 @@ ...@@ -801,45 +687,43 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>10</id> <id>16</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>70</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>255</color>
<x>414</x> <x>241</x>
<y>141</y> <y>141</y>
<height>18</height> <height>18</height>
<width>55</width> <width>100</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_group__to</name> <name>proc_group__fr_name</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>5</limit> <limit>0</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
<weight>400</weight> <weight>400</weight>
<family>2</family> <family>1</family>
<pitch>2</pitch> <pitch>2</pitch>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
...@@ -849,10 +733,10 @@ ...@@ -849,10 +733,10 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>476</x> <x>505</x>
<y>80</y> <y>80</y>
<height>18</height> <height>18</height>
<width>132</width> <width>100</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -885,10 +769,10 @@ ...@@ -885,10 +769,10 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>476</x> <x>505</x>
<y>111</y> <y>111</y>
<height>18</height> <height>18</height>
<width>132</width> <width>100</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -921,10 +805,10 @@ ...@@ -921,10 +805,10 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>476</x> <x>505</x>
<y>141</y> <y>141</y>
<height>18</height> <height>18</height>
<width>132</width> <width>100</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
...@@ -950,21 +834,31 @@ ...@@ -950,21 +834,31 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>2</id>
<text>From :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>30</tabsequence>
<border>5</border>
<color>0</color> <color>0</color>
<x>139</x> <x>443</x>
<y>141</y> <y>80</y>
<height>18</height> <height>18</height>
<width>36</width> <width>55</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_group__from_t</name> <name>emp_code__to</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -975,52 +869,34 @@ ...@@ -975,52 +869,34 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>79741120</color> <color>16777215</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>No of Payroll Confirmed :</text>
<border>0</border>
<color>0</color>
<x>21</x>
<y>185</y>
<height>16</height>
<width>154</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>noof_confirmed_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>5</id>
<text> No of Payroll Rejected :</text> <alignment>0</alignment>
<border>0</border> <tabsequence>50</tabsequence>
<border>5</border>
<color>0</color> <color>0</color>
<x>19</x> <x>443</x>
<y>207</y> <y>111</y>
<height>16</height> <height>18</height>
<width>156</width> <width>55</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>t_3</name> <name>site_code__to</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>upper</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1030,18 +906,18 @@ ...@@ -1030,18 +906,18 @@
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>553648127</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>60</tabsequence> <tabsequence>70</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>179</x> <x>443</x>
<y>141</y> <y>141</y>
<height>18</height> <height>18</height>
<width>55</width> <width>55</width>
...@@ -1049,7 +925,7 @@ ...@@ -1049,7 +925,7 @@
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>proc_group__from</name> <name>proc_group__to</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>5</limit> <limit>5</limit>
...@@ -1072,29 +948,21 @@ ...@@ -1072,29 +948,21 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>18</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <text>Employee To :</text>
<border>5</border> <border>0</border>
<color>255</color> <color>0</color>
<x>179</x> <x>360</x>
<y>185</y> <y>80</y>
<height>17</height> <height>16</height>
<width>67</width> <width>76</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>noof_confirmed</name> <name>emp_code__to_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1105,32 +973,24 @@ ...@@ -1105,32 +973,24 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>79741120</color>
</background> </background>
</ColumnObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>19</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <text>Site To :</text>
<border>5</border> <border>0</border>
<color>255</color> <color>0</color>
<x>179</x> <x>392</x>
<y>207</y> <y>111</y>
<height>17</height> <height>16</height>
<width>67</width> <width>44</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>noof_rejected</name> <name>site_code__to_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1141,9 +1001,37 @@ ...@@ -1141,9 +1001,37 @@
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>67108864</color> <color>79741120</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Proc. Group To :</text>
<border>0</border>
<color>0</color>
<x>349</x>
<y>141</y>
<height>16</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>proc_group__to_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</TextObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
$PBExportHeader$d_splitit_confirm_prc11.srd
$PBExportComments$Filter dw for it refund.
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=1 color="536870912" )
footer(height=0 color="536870912" )
detail(height=276 color="536870912" )
table(column=(type=char(10) updatewhereclause=no name=emp_code__fr dbname="EMP_CODE__FR" )
column=(type=char(10) updatewhereclause=no name=emp_code__to dbname="EMP_CODE__TO" )
column=(type=char(6) updatewhereclause=no name=acct_prd dbname="ACCT_PRD" )
column=(type=char(5) updatewhereclause=no name=site_code__fr dbname="SITE_CODE__FR" )
column=(type=char(5) updatewhereclause=no name=site_code__to dbname="SITE_CODE__TO" )
column=(type=datetime updatewhereclause=no name=payroll_date dbname="PAYROLL_DATE" )
column=(type=char(2) updatewhereclause=no name=type dbname="TYPE" initial="PP" values="Arrears AR/Payroll Projection PP/Payroll PY/" )
column=(type=char(6) updatewhereclause=no name=prd_code__arr dbname="PRD_CODE__ARR" )
column=(type=char(5) updatewhereclause=no name=proc_group__from dbname="proc_group__from" )
column=(type=char(5) updatewhereclause=no name=proc_group__to dbname="proc_group__to" )
column=(type=char(30) updatewhereclause=no name=fr_prd_descr dbname="fr_prd_descr" )
column=(type=char(60) updatewhereclause=no name=fr_site_descr dbname="fr_site_descr" )
column=(type=char(60) updatewhereclause=no name=to_site_descr dbname="to_site_descr" )
column=(type=char(60) updatewhereclause=no name=emp_name__fr dbname="emp_name__fr" )
column=(type=char(60) updatewhereclause=no name=emp_name__to dbname="emp_name__to" )
column=(type=char(120) updatewhereclause=no name=proc_group__fr_name dbname="proc_group__fr_name" )
column=(type=char(120) updatewhereclause=no name=proc_group__to_name dbname="proc_group__to_name" )
column=(type=number updatewhereclause=no name=noof_confirmed dbname="noof_confirmed" initial="0" )
column=(type=number updatewhereclause=no name=noof_rejected dbname="noof_rejected" initial="0" )
)
groupbox(band=detail text="Split Incometax Confirmation"border="2" color="33554432" x="10" y="5" height="258" width="630" name=gb_1 visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="0" x="179" y="49" height="18" width="55" format="[general]" html.valueishtml="0" name=acct_prd visible="1" edit.limit=6 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="A/c Period For :" border="0" color="0" x="91" y="49" height="16" width="84" html.valueishtml="0" name=acct_prd_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=20 border="5" color="0" x="179" y="80" height="18" width="55" format="[general]" html.valueishtml="0" name=emp_code__fr visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Employee From :" border="0" color="0" x="87" y="80" height="16" width="88" html.valueishtml="0" name=emp_code__fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="179" y="111" height="18" width="55" format="[general]" html.valueishtml="0" name=site_code__fr visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Site From :" border="0" color="0" x="119" y="111" height="16" width="56" html.valueishtml="0" name=site_code__fr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="No of Payroll Confirmed :" border="0" color="0" x="21" y="185" height="16" width="154" html.valueishtml="0" name=noof_confirmed_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text=" No of Payroll Rejected :" border="0" color="0" x="19" y="207" height="16" width="156" html.valueishtml="0" name=noof_rejected_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
column(band=detail id=9 alignment="0" tabsequence=60 border="5" color="0" x="179" y="141" height="18" width="55" format="[general]" html.valueishtml="0" name=proc_group__from visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=18 alignment="1" tabsequence=32766 border="5" color="255" x="179" y="185" height="17" width="67" format="[general]" html.valueishtml="0" name=noof_confirmed visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=19 alignment="1" tabsequence=32766 border="5" color="255" x="179" y="207" height="17" width="67" format="[general]" html.valueishtml="0" name=noof_rejected visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Proc. Group From :" border="0" color="0" x="76" y="141" height="16" width="99" html.valueishtml="0" name=proc_group__from_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="241" y="49" height="18" width="100" format="[general]" html.valueishtml="0" name=fr_prd_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="241" y="80" height="18" width="100" format="[general]" html.valueishtml="0" name=emp_name__fr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=12 alignment="0" tabsequence=32766 border="5" color="255" x="241" y="111" height="18" width="100" format="[general]" html.valueishtml="0" name=fr_site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="241" y="141" height="18" width="100" format="[general]" html.valueishtml="0" name=proc_group__fr_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="505" y="80" height="18" width="100" format="[general]" html.valueishtml="0" name=emp_name__to visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="505" y="111" height="18" width="100" format="[general]" html.valueishtml="0" name=to_site_descr visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=17 alignment="0" tabsequence=32766 border="5" color="255" x="505" y="141" height="18" width="100" format="[general]" html.valueishtml="0" name=proc_group__to_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=30 border="5" color="0" x="443" y="80" height="18" width="55" format="[general]" html.valueishtml="0" name=emp_code__to visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="0" x="443" y="111" height="18" width="55" format="[general]" html.valueishtml="0" name=site_code__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=70 border="5" color="0" x="443" y="141" height="18" width="55" format="[general]" html.valueishtml="0" name=proc_group__to visible="1" edit.limit=5 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Employee To :" border="0" color="0" x="360" y="80" height="16" width="76" html.valueishtml="0" name=emp_code__to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Site To :" border="0" color="0" x="392" y="111" height="16" width="44" html.valueishtml="0" name=site_code__to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=detail alignment="1" text="Proc. Group To :" border="0" color="0" x="349" y="141" height="16" width="87" html.valueishtml="0" name=proc_group__to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
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_splitit_confirm_prc12.srd
$PBExportComments$brow dw for it confirmation
release 9;
datawindow(units=1 timer_interval=0 color=79741120 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=23 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=21 color="536870912" )
table(column=(type=char(6) updatewhereclause=yes name=acct_prd dbname="it_calchdr.acct_prd" )
column=(type=char(10) updatewhereclause=yes name=emp_code dbname="employee.emp_code" )
column=(type=char(47) updatewhereclause=yes name=emp_name dbname="emp_name" )
column=(type=char(5) updatewhereclause=yes name=site_code dbname="employee.site_code" )
column=(type=char(5) updatewhereclause=yes name=proc_group dbname="employee.proc_group" )
column=(type=number updatewhereclause=yes name=itax dbname="itax" )
column=(type=number updatewhereclause=yes name=taxpaid dbname="taxpaid" )
column=(type=number updatewhereclause=yes name=itpayable dbname="itpayable" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"it_calchdr~" ) TABLE(NAME=~"employee~" ) TABLE(NAME=~"it_calcdet~" ALIAS=~"a~" ) TABLE(NAME=~"it_calcdet~" ALIAS=~"b~" ) COLUMN(NAME=~"it_calchdr.acct_prd~") COLUMN(NAME=~"employee.emp_code~") COMPUTE(NAME=~"employee.emp_fname || ' ' || employee.emp_mname || ' ' || employee.emp_lname as emp_name~") COMPUTE(NAME=~"employee.pay_site as site_code~") COMPUTE(NAME=~"employee.proc_group as proc_group~") COMPUTE(NAME=~"nvl(a.amount,0) as itax~") COMPUTE(NAME=~"nvl(b.amount,0) as taxpaid~") COMPUTE(NAME=~"(nvl(a.amount,0) -nvl(b.amount,0)) as itpayable~") JOIN (LEFT=~"it_calchdr.emp_code~" OP =~"=~"RIGHT=~"employee.emp_code~" )WHERE( EXP1 =~"( it_calchdr.acct_prd~" OP =~"=~" EXP2 =~":as_prdcode )~" LOGIC =~"and~" ) WHERE( EXP1 =~"nvl( it_calchdr.confirmed , 'N' )~" OP =~"=~" EXP2 =~"'Y'~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee.emp_code~" OP =~"between~" EXP2 =~":as_emp_fr and :as_emp_to~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee.pay_site~" OP =~"between~" EXP2 =~":as_site_fr and :as_site_to~" LOGIC =~"and~" ) WHERE( EXP1 =~"employee.proc_group~" OP =~"between~" EXP2 =~":as_procgrp_fr and :as_procgrp_to~" LOGIC =~"and~" ) WHERE( EXP1 =~"a.emp_code~" OP =~"=~" EXP2 =~"employee.emp_code~" LOGIC =~"and~" ) WHERE( EXP1 =~"a.acct_prd~" OP =~"=~" EXP2 =~":as_prdcode~" LOGIC =~"and~" ) WHERE( EXP1 =~"a.ad_code~" OP =~"=~" EXP2 =~":as_it_ad_tottax~" LOGIC =~"and~" ) WHERE( EXP1 =~"b.emp_code~" OP =~"=~" EXP2 =~"employee.emp_code~" LOGIC =~"and~" ) WHERE( EXP1 =~"b.acct_prd~" OP =~"=~" EXP2 =~":as_prdcode~" LOGIC =~"and~" ) WHERE( EXP1 =~"b.ad_code~" OP =~"=~" EXP2 =~":as_it_ad_payable~" LOGIC =~"and~" ) WHERE( EXP1 =~"( select count(1) from it_calchdr_split s where s.acct_prd = it_calchdr.acct_prd and s.emp_code = it_calchdr.emp_code and case when s.confirmed is null then 'N' else s.confirmed end = 'N' )~" OP =~">~" EXP2 =~"0~" ) ) ARG(NAME = ~"as_prdcode~" TYPE = string) ARG(NAME = ~"as_emp_fr~" TYPE = string) ARG(NAME = ~"as_emp_to~" TYPE = string) ARG(NAME = ~"as_site_fr~" TYPE = string) ARG(NAME = ~"as_site_to~" TYPE = string) ARG(NAME = ~"as_procgrp_fr~" TYPE = string) ARG(NAME = ~"as_procgrp_to~" TYPE = string) ARG(NAME = ~"as_it_ad_tottax~" TYPE = string) ARG(NAME = ~"as_it_ad_payable~" TYPE = string) " arguments=(("as_prdcode", string),("as_emp_fr", string),("as_emp_to", string),("as_site_fr", string),("as_site_to", string),("as_procgrp_fr", string),("as_procgrp_to", string),("as_it_ad_tottax", string),("as_it_ad_payable", string)) sort="emp_code A " )
text(band=header alignment="0" text="A/c Period" border="6" color="0" x="2" y="2" height="16" width="77" html.valueishtml="0" name=acct_prd_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="0" text="Employee Code" border="6" color="0" x="81" y="2" height="16" width="95" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="0" text="Employee Name" border="6" color="0" x="178" y="2" height="16" width="214" html.valueishtml="0" name=emp_name_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="0" text="Site Code" border="6" color="0" x="394" y="2" height="16" width="59" html.valueishtml="0" name=site_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="0" text="Process Group" border="6" color="0" x="455" y="2" height="16" width="87" html.valueishtml="0" name=proc_group_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="1" text="Total Income Tax" border="6" color="0" x="544" y="2" height="16" width="109" html.valueishtml="0" name=itax_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="1" text="Tax Deducted" border="6" color="0" x="655" y="2" height="16" width="102" html.valueishtml="0" name=taxpaid_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
text(band=header alignment="1" text="Tax Payable" border="6" color="0" x="759" y="2" height="16" width="102" html.valueishtml="0" name=itpayable_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="255" x="81" y="3" height="16" width="95" format="[general]" html.valueishtml="0" name=emp_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="2" y="3" height="16" width="77" format="[general]" html.valueishtml="0" name=acct_prd visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="255" x="178" y="3" height="16" width="214" format="[general]" html.valueishtml="0" name=emp_name visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="255" x="394" y="3" height="16" width="59" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="455" y="3" height="16" width="87" format="[general]" html.valueishtml="0" name=proc_group visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=6 alignment="1" tabsequence=32766 border="5" color="255" x="544" y="3" height="16" width="109" format="[general]" html.valueishtml="0" name=itax visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="255" x="655" y="3" height="16" width="102" format="[general]" html.valueishtml="0" name=taxpaid visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="255" x="759" y="3" height="16" width="102" format="[general]" html.valueishtml="0" name=itpayable visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import javax.ejb.Stateless;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.utility.ITMException;
@Stateless
public class SplititConfirmIC extends ValidatorEJB implements SplititConfirmICLocal, SplititConfirmICRemote
{
E12GenericUtility genericUtility = new E12GenericUtility();
AdmCommon admCommon = new AdmCommon();
public String itemChanged(String xmlString, String xmlStringHdr, String xmlStringAll, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document dom = null, domHdr = null, domAll = null;
String valueXmlString = "";
try {
if (xmlString != null && xmlString.trim().length() > 0)
{
dom = genericUtility.parseString(xmlString);
}
if (xmlStringHdr != null && xmlStringHdr.trim().length() > 0)
{
domHdr = genericUtility.parseString(xmlStringHdr);
}
if (xmlStringAll != null && xmlStringAll.trim().length() > 0)
{
domAll = genericUtility.parseString(xmlStringAll);
}
valueXmlString = itemChanged(dom, domHdr, domAll, objContext, currentColumn, editFlag, xtraParams);
}
catch (Exception e)
{
System.out.println("Exception [" + this.getClass().getSimpleName() + "] : [itemChanged(S)] " + e.getMessage());
throw new ITMException(e);
}
return valueXmlString;
}
public String itemChanged(Document dom, Document dom1, Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
System.out.println("itemchanged on the SplititConfirmIC");
StringBuffer valueXmlString = new StringBuffer();
int currentFormNo = 0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
String childNodeName = "";
String userId = "", loginSiteCode = "";
String sql = "";
String todayDateStr = "";
String code = "", descr = "";
String lsProtectyn = "";
String acctPrd = "";
String empCodeFr = "",empCodeTo = "", empFname = "", empLname = "";
String type = "", prdCode = "";
String siteCodeFr = "", siteCodeTo = "";
String procGrpFrom = "", procGrpTo = "";
int usrLev = 0;
int childNodeListLength = 0,ctr=0;
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
SimpleDateFormat sdf = null;
Timestamp ldToday = null;
try
{
System.out.println("Inside ItemChanged Method::::::");
conn = getConnection();
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
todayDateStr = sdf.format(new java.util.Date());
ldToday = Timestamp.valueOf(genericUtility.getValidDateString(todayDateStr, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("ldToday==>" + ldToday);
System.out.println("todayDateStr is ["+todayDateStr+"] \t userId is ["+userId+"]");
if (objContext != null && objContext.trim().length() > 0)
{
currentFormNo = Integer.parseInt(objContext);
}
System.out.println("currentColumn:::::" + currentColumn);
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginSiteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
valueXmlString = new StringBuffer("<?xml version=\"1.0\" ?>\r\n<Root>\r\n<header>\r\n<editFlag>");
valueXmlString.append(editFlag).append("</editFlag>\r\n</header>\r\n");
if(usrLev == 0)
{
sql = "select usr_lev from users where code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, userId);
rs = pstmt.executeQuery();
if(rs.next())
{
usrLev = rs.getInt("usr_lev");
System.out.println("usrLev:::::" +usrLev);
}
close(rs, pstmt);
}
switch (currentFormNo)
{
case 1:
{
parentNodeList = dom.getElementsByTagName("Detail1");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
valueXmlString.append("<Detail1>");
ctr = 0;
childNodeListLength = childNodeList.getLength();
do
{
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName(); System.out.println("childNodeName is ["+childNodeName+"]");
if(childNodeName.equals(currentColumn))
{
if(childNode.getFirstChild() != null)
{
}
}
ctr ++;
}while(ctr < childNodeListLength && ! childNodeName.equals(currentColumn));
if ("itm_default".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
valueXmlString.append("<type><![CDATA[").append("PP").append("]]></type>\r\n");
valueXmlString.append("<noof_confirmed ><![CDATA[").append("0").append("]]></noof_confirmed>\r\n");
valueXmlString.append("<noof_rejected ><![CDATA[").append("0").append("]]></noof_rejected>\r\n");
sql = "select CODE ,descr from ACCTPRD where ? BETWEEN FR_DATE AND TO_DATE";
pstmt= conn.prepareStatement(sql);
pstmt.setTimestamp(1, ldToday);
rs = pstmt.executeQuery();
if(rs.next())
{
code = rs.getString("CODE");
descr = rs.getString("descr");
System.out.println("code is ["+code+"] \t descr ["+descr+"]");
}
close(rs, pstmt);
valueXmlString.append("<acct_prd><![CDATA[").append(code).append("]]></acct_prd>\r\n");
valueXmlString.append("<fr_prd_descr><![CDATA[").append(descr).append("]]></fr_prd_descr>\r\n");
valueXmlString.append("<emp_code__fr><![CDATA[").append("00").append("]]></emp_code__fr>\r\n");
valueXmlString.append("<emp_code__to><![CDATA[").append("ZZ").append("]]></emp_code__to>\r\n");
if(loginSiteCode != null && loginSiteCode.trim().length() > 0)
{
sql = "select descr from site where site_code = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, loginSiteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
descr = rs.getString("descr");
System.out.println("descr from site table ["+descr+"]");
}
close(rs, pstmt);
valueXmlString.append("<site_code__fr><![CDATA[").append(loginSiteCode).append("]]></site_code__fr>\r\n");
valueXmlString.append("<site_code__to><![CDATA[").append(loginSiteCode).append("]]></site_code__to>\r\n");
valueXmlString.append("<fr_site_descr><![CDATA[").append(descr).append("]]></fr_site_descr>\r\n");
valueXmlString.append("<to_site_descr><![CDATA[").append(descr).append("]]></to_site_descr>\r\n");
}
valueXmlString.append("<proc_group__from><![CDATA[").append("00").append("]]></proc_group__from>\r\n");
valueXmlString.append("<proc_group__to><![CDATA[").append("ZZ").append("]]></proc_group__to>\r\n");
lsProtectyn = (admCommon.getEnv("999999", "HRSITEPROTECTYN", conn)).trim().toUpperCase();
if(lsProtectyn == null || lsProtectyn.trim().length() == 0)
{
lsProtectyn = "N";
}
else if("Y".equalsIgnoreCase(lsProtectyn) && usrLev > 0 )
{
valueXmlString.append("<site_code__fr protect=\"1\"><![CDATA[").append(loginSiteCode).append("]]></site_code__fr>\r\n");
valueXmlString.append("<site_code__to protect=\"1\"><![CDATA[").append(loginSiteCode).append("]]></site_code__to>\r\n");
}
}
if ("acct_prd".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
acctPrd = checkNull(this.genericUtility.getColumnValue("acct_prd", dom));
sql = "select descr from ACCTPRD where code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, acctPrd);
rs = pstmt.executeQuery();
if(rs.next())
{
descr = rs.getString("descr");
System.out.println("descr from ACCTPRD table ["+descr+"]");
}
close(rs, pstmt);
valueXmlString.append("<fr_prd_descr><![CDATA[").append(descr).append("]]></fr_prd_descr>\r\n");
}
if ("emp_code__fr".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
empCodeFr = checkNull(this.genericUtility.getColumnValue("emp_code__fr", dom));
sql = "select emp_fname, emp_lname from employee where emp_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, empCodeFr);
rs = pstmt.executeQuery();
if(rs.next())
{
empFname = rs.getString("emp_fname");
empLname = rs.getString("emp_lname");
}
close(rs, pstmt);
valueXmlString.append("<emp_name__fr><![CDATA[").append(empFname +" "+ empLname).append("]]></emp_name__fr>\r\n");
}
if ("emp_code__to".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
empCodeTo = checkNull(this.genericUtility.getColumnValue("emp_code__to", dom));
sql = "select emp_fname, emp_lname from employee where emp_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, empCodeTo);
rs = pstmt.executeQuery();
if(rs.next())
{
empFname = rs.getString("emp_fname");
empLname = rs.getString("emp_lname");
}
close(rs, pstmt);
valueXmlString.append("<emp_name__to><![CDATA[").append(empFname +" "+ empLname).append("]]></emp_name__to>\r\n");
}
if ("type".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
type = checkNull(this.genericUtility.getColumnValue("type", dom));
sql = "select prd_code from parameter ";
pstmt= conn.prepareStatement(sql);
rs = pstmt.executeQuery();
if(rs.next())
{
prdCode = rs.getString("prd_code");
System.out.println("prd_code from parameter table ["+prdCode+"]");
}
}
close(rs, pstmt);
if("AR".equalsIgnoreCase(type) || "AP".equalsIgnoreCase(type))
{
valueXmlString.append("<prd_code__arr><![CDATA[").append(prdCode).append("]]></prd_code__arr>\r\n");
}
if ("site_code__fr".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
siteCodeFr = checkNull(this.genericUtility.getColumnValue("site_code__fr", dom));
sql = "select descr from site where site_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, siteCodeFr);
rs = pstmt.executeQuery();
if(rs.next())
{
descr = rs.getString("descr");
System.out.println("descr from site table ["+descr+"]");
}
close(rs, pstmt);
valueXmlString.append("<fr_site_descr><![CDATA[").append(descr).append("]]></fr_site_descr>\r\n");
}
if ("site_code__to".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
siteCodeTo = checkNull(this.genericUtility.getColumnValue("site_code__to", dom));
sql = "select descr from site where site_code = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, siteCodeTo);
rs = pstmt.executeQuery();
if(rs.next())
{
descr = rs.getString("descr");
System.out.println("descr from site table ["+descr+"]");
}
close(rs, pstmt);
valueXmlString.append("<to_site_descr><![CDATA[").append(descr).append("]]></to_site_descr>\r\n");
}
if ("proc_group__from".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
procGrpFrom = checkNull(this.genericUtility.getColumnValue("proc_group__from", dom));
sql = "select descr from gencodes where fld_name='PROC_GROUP' and fld_value = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, procGrpFrom);
rs = pstmt.executeQuery();
if(rs.next())
{
descr = rs.getString("descr");
System.out.println("descr from gencodes table ["+descr+"]");
}
close(rs, pstmt);
valueXmlString.append("<proc_group__fr_name><![CDATA[").append(descr).append("]]></proc_group__fr_name>\r\n");
}
if ("proc_group__to".equalsIgnoreCase(currentColumn))
{
System.out.println("currentColumn1:::::" + currentColumn);
procGrpTo = checkNull(this.genericUtility.getColumnValue("proc_group__to", dom));
sql = "select descr from gencodes where fld_name='PROC_GROUP' and fld_value = ? ";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1, procGrpTo);
rs = pstmt.executeQuery();
if(rs.next())
{
descr = rs.getString("descr");
System.out.println("descr from gencodes table ["+descr+"]");
}
close(rs, pstmt);
valueXmlString.append("<proc_group__to_name><![CDATA[").append(descr).append("]]></proc_group__to_name>\r\n");
}
valueXmlString.append ("</Detail1>\r\n");
}
break;
}
valueXmlString.append("</Root>\r\n");
}
catch (Exception e)
{
System.out.println(":::" + getClass().getSimpleName() + "::" + e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (conn != null)
{
conn.close();
conn = null;
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch (Exception e)
{
System.out.println("Exception in EJB[" + getClass().getSimpleName() + "]::itemChanged::[" + e.getMessage() + "]");
e.printStackTrace();
throw new ITMException(e);
}
}
return valueXmlString.toString();
}
//End of Itemchange(2)
private void close(ResultSet rs,PreparedStatement pstmt) throws SQLException
{
if(rs != null)
{
rs.close();
rs = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
private String checkNull(String input) {
if (input == null)
{
input = "";
}
return input.trim();
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Local;
import org.w3c.dom.Document;
import ibase.webitm.utility.ITMException;
@Local
public interface SplititConfirmICLocal
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
import ibase.webitm.utility.ITMException;
@Remote
public interface SplititConfirmICRemote
{
public String itemChanged(String xmlString, String xmlString1, String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document dom, Document dom1,Document dom2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import javax.ejb.Stateless;
import org.w3c.dom.CDATASection;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ProcessEJB;
import ibase.webitm.ejb.sys.UtilMethods;
import ibase.webitm.utility.ITMException;
@Stateless
public class SplititConfirmPrc extends ProcessEJB implements SplititConfirmPrcLocal , SplititConfirmPrcRemote
{
E12GenericUtility genericUtility= new E12GenericUtility();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
AdmCommon objAdmCommon = new AdmCommon();
HRLogWriter hrLogWriter = null;
UtilMethods utilMethods = new UtilMethods();
String isCaller = "SELF";
String siteCodeFr = "",siteCodeTo = "";
public String getData(String xmlString, String xmlString2, String xtraParams) throws RemoteException,ITMException
{
System.out.println("Inside getData() method of SplititConfirmPrc!!!!");
String rtrStr = "";
Document headerDom = null;
Document detailDom = null;
try
{
if(xmlString != null && xmlString.trim().length()!=0)
{
headerDom = genericUtility.parseString(xmlString);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
detailDom = genericUtility.parseString(xmlString2);
}
rtrStr = getData(headerDom, detailDom, xtraParams);
System.out.println("Inside getData returnString is 8888:::"+rtrStr);
}
catch (Exception e)
{
System.out.println("Exception :SplititConfirmPrc :getData(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
return rtrStr;
}//END OF GETDATA(1)
public String getData(Document headerDom, Document detailDom, String xtraParams) throws RemoteException,ITMException
{
String userId = "";
String resultString = "", errString= "";
String lsFrEmp = "",lsToEmp = "",lsFrSite = "",lsToSite = "",lsProcfr = "",lsProcto = "",
lsAdTtax = "",lsAdTpaid = "",lsPrd = "";
ResultSet rs = null;
PreparedStatement pstmt = null;
boolean isError = false;
Connection conn = null;
String sql = "";
try
{
System.out.println("Inside getData method of SplititConfirmPrc!!!!");
conn = getConnection();
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
lsPrd = checkNull(genericUtility.getColumnValue("acct_prd",headerDom));
lsFrEmp = checkNull(genericUtility.getColumnValue("emp_code__fr",headerDom));
lsToEmp = checkNull(genericUtility.getColumnValue("emp_code__to",headerDom));
lsFrSite = checkNull(genericUtility.getColumnValue("site_code__fr",headerDom));
lsToSite = checkNull(genericUtility.getColumnValue("site_code__to",headerDom));
lsProcfr = checkNull(genericUtility.getColumnValue("proc_group__from",headerDom));
lsProcto = checkNull(genericUtility.getColumnValue("proc_group__to",headerDom));
if(lsFrEmp == null || lsFrEmp.trim().length() == 0)
{
lsFrEmp = "0";
}
if(lsToEmp == null || lsToEmp.trim().length() == 0)
{
lsToEmp = "z";
}
if(lsFrSite == null || lsFrSite.trim().length() == 0)
{
lsFrSite = "0";
}
if(lsToSite == null || lsToSite.trim().length() == 0)
{
lsToSite = "ZZZZZ";
}
if(lsProcfr == null || lsProcfr.trim().length() == 0)
{
lsProcfr = "0";
}
if(lsProcto == null || lsProcto.trim().length() == 0)
{
lsProcto = "ZZZZZ";
}
lsAdTtax = objAdmCommon.getEnv("999999","IYEAR",conn);
lsAdTpaid = objAdmCommon.getEnv("999999","IPAYABLE",conn);
System.out.println("Value of lsAdTtax ["+lsAdTtax+"] \t Value of lsAdTpaid ["+lsAdTpaid+"]");
if((lsAdTtax != null && lsAdTtax.trim().length() > 0) && (lsAdTtax.equalsIgnoreCase("NULLFOUND")))
{
errString = itmDBAccessEJB.getErrorString("","VSENVAR1","",userId,conn);
isError = true;
return errString;
}
if(lsAdTpaid != null && lsAdTpaid.trim().length() > 0 && (lsAdTpaid.equalsIgnoreCase("NULLFOUND")))
{
errString = itmDBAccessEJB.getErrorString("","VSENVAR1","",userId,conn);
isError = true;
return errString;
}
StringBuffer retTabSepStrBuff = new StringBuffer("<?xml version = \"1.0\"?>");
retTabSepStrBuff.append("<DocumentRoot>");
retTabSepStrBuff.append("<description>").append("Datawindow Root").append("</description>");
retTabSepStrBuff.append("<group0>");
retTabSepStrBuff.append("<description>").append("Group0 description").append("</description>");
retTabSepStrBuff.append("<Header0>");
sql = " SELECT IT_CALCHDR.ACCT_PRD, \n" +
" EMPLOYEE.EMP_CODE, \n" +
" employee.emp_fname || ' ' || employee.emp_mname || ' ' || employee.emp_lname as emp_name, \n" +
" employee.pay_site as site_code, \n" +
" employee.proc_group as proc_group, \n" +
" nvl(a.amount,0) as itax, \n" +
" nvl(b.amount,0) as taxpaid, \n" +
" (nvl(a.amount,0) -nvl(b.amount,0)) as itpayable \n" +
" FROM IT_CALCHDR, \n" +
" EMPLOYEE, \n" +
" IT_CALCDET A, \n" +
" IT_CALCDET B \n" +
" WHERE ( IT_CALCHDR.EMP_CODE = EMPLOYEE.EMP_CODE ) and \n" +
" ( it_calchdr.acct_prd = ? ) AND \n" +
" nvl( it_calchdr.confirmed , 'N' ) = 'Y' AND \n" +
" employee.emp_code between ? and ? AND \n" +
" employee.pay_site between ? and ? AND \n" +
" employee.proc_group between ? and ? AND \n" +
" a.emp_code = employee.emp_code AND \n" +
" a.acct_prd = ? AND \n" +
" a.ad_code = ? AND \n" +
" b.emp_code = employee.emp_code AND \n" +
" b.acct_prd = ? AND \n" +
" b.ad_code = ? AND \n" +
" ( select count(1) from it_calchdr_split s where s.acct_prd = it_calchdr.acct_prd and s.emp_code = it_calchdr.emp_code \n" +
" and case when s.confirmed is null then 'N' else s.confirmed end = 'N' ) > 0";
System.out.println("sql..."+ sql);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,lsPrd );
pstmt.setString(2,lsFrEmp);
pstmt.setString(3,lsToEmp);
pstmt.setString(4,lsFrSite);
pstmt.setString(5,lsToSite);
pstmt.setString(6,lsProcfr );
pstmt.setString(7,lsProcto);
pstmt.setString(8,lsPrd);
pstmt.setString(9,lsAdTtax);
pstmt.setString(10,lsPrd);
pstmt.setString(11,lsAdTpaid);
rs = pstmt.executeQuery();
while(rs.next())
{
retTabSepStrBuff.append("<Detail2>");
retTabSepStrBuff.append("<acct_prd>").append("<![CDATA[" + rs.getString("acct_prd") + "]]>").append("</acct_prd>\r\n");
retTabSepStrBuff.append("<emp_code>").append("<![CDATA[" + rs.getString("emp_code") + "]]>").append("</emp_code>\r\n");
retTabSepStrBuff.append("<emp_name>").append("<![CDATA[" + rs.getString("emp_name") + "]]>").append("</emp_name >\r\n");
retTabSepStrBuff.append("<site_code>").append("<![CDATA[" + rs.getString("site_code") + "]]>").append("</site_code>\r\n");
retTabSepStrBuff.append("<proc_group>").append("<![CDATA[" + rs.getString("proc_group") + "]]>").append("</proc_group>\r\n");
retTabSepStrBuff.append("<itax>").append("<![CDATA[" + rs.getString("itax") + "]]>").append("</itax>\r\n");
retTabSepStrBuff.append("<taxpaid>").append("<![CDATA[" + rs.getString("taxpaid") + "]]>").append("</taxpaid>\r\n");
retTabSepStrBuff.append("<itpayable>").append("<![CDATA[" + rs.getString("itpayable") + "]]>").append("</itpayable>\r\n");
retTabSepStrBuff.append("</Detail2>");
}
retTabSepStrBuff.append("</Header0>\r\n");
retTabSepStrBuff.append("</group0>\r\n");
retTabSepStrBuff.append("</DocumentRoot>\r\n");
if(rs != null)
{
rs.close();
rs=null;
}
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
resultString = retTabSepStrBuff.toString(); System.out.println("ResultString....." + resultString);
}
catch (Exception e)
{
System.out.println("Exception :SplititConfirmPrc :getData(Document headerDom, Document detailDom, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception d) {throw new ITMException(d);}
throw new ITMException(e);
}
finally
{
try
{
if(isError)
{
conn.rollback();
}
else
{
conn.commit();
conn.close();
conn = null;
}
if(rs != null)
{
rs.close();
rs=null;
}
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
}
catch(Exception e)
{
errString = e.getMessage();
e.printStackTrace();
throw new ITMException(e);
}
}
return resultString;
}//END OF GETDATA(2)
public String process(String xmlString, String xmlString2, String xtraParams) throws RemoteException,ITMException
{
Document detailDom = null;
Document headerDom = null;
String retStr = "";
String userId = "";
String chgTerm = "";
String loginSite = "";
String jobId = "";
String objName = "";
Connection logConn = null;
Connection conn = null;
hrLogWriter = new HRLogWriter();
try
{
System.out.println("Inside process() method of SplititConfirmPrc!!!!");
conn = getConnection();
System.out.println("xmlString ::: ["+xmlString+"] \t xmlString2 ["+xmlString2+"]");
if(xmlString != null && xmlString.trim().length() > 0)
{
headerDom = genericUtility.parseString(xmlString);
}
if(xmlString2 != null && xmlString2.trim().length() > 0)
{
detailDom = genericUtility.parseString(xmlString2);
}
userId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"));
chgTerm = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId"));
loginSite = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode"));
jobId = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams, "job_id"));
objName = getObjNameFromDom(headerDom, "objName");
logConn = getConnection();
hrLogWriter.setTotalRows(0);
hrLogWriter.setRowsProcessed(0);
hrLogWriter.setRowsIgnored(0);
hrLogWriter.setRowsRejected(0);
hrLogWriter.setProcessId("SplitITConfirmation");
hrLogWriter.initializeHRLogWriter(objName, jobId, userId, chgTerm, "SplitITConfirmation", "SPLITITCONF", loginSite, logConn);
retStr = process(headerDom, detailDom, xtraParams,hrLogWriter,conn,logConn);
System.out.println("Process for SplititConfirmPrc:::"+retStr);
if(retStr == null || retStr.trim().length() == 0)
{
hrLogWriter.gbfErrWrite("", "", "", "VPSPLTITC9", "I", logConn);
}
gbfDestructProcess(headerDom,hrLogWriter, logConn);
}
catch (Exception e)
{
System.out.println("Exception :SplititConfirmPrc :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
throw new ITMException(e);
}
return retStr;
}//END OF PROCESS (1)
public String process(Document headerDom, Document detailDom, String xtraParams,HRLogWriter hrLogWriter,Connection conn,Connection logconn) throws Exception
{
String retStr = "" , lsLogStr = "", errorCode = "", errMsg = "", errString = "";
String siteCodeFr = "", siteCodeTo = "";
String childNodeName = "";
String accountPrd = "",employeeCode = "";
int liRet = 0 , totRejRec = 0 , totConfRec = 0 , totFinRec = 0;
boolean isError = false;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
int parentNodeListLength = 0 , childNodeListLength = 0,cnt1 = 0;
try
{
setNodeValue(headerDom, "noof_confirmed", "0");
setNodeValue(headerDom, "noof_rejected", "0");
System.out.println("Inside process method [HEADER DOM]"+genericUtility.serializeDom(headerDom)+"\n Inside process method [DETAIL DOM]"+genericUtility.serializeDom(detailDom));
hrLogWriter.setCurrentProcess("SplitITConfirmation");
liRet = hrLogWriter.getLogWriterFlag();
if(liRet < 0)
{
return retStr;
}
else
{
hrLogWriter.setStatusType("I");
hrLogWriter.setActivity("SplitITConfirmation");
siteCodeFr = checkNull(genericUtility.getColumnValue("site_code__fr", headerDom));
siteCodeTo = checkNull(genericUtility.getColumnValue("site_code__to", headerDom));
if(siteCodeFr == null || siteCodeFr.trim().length() == 0)
{
siteCodeFr = "0";
}
if(siteCodeTo == null || siteCodeTo.trim().length() == 0)
{
siteCodeTo = "ZZZZZ";
}
if((siteCodeFr.toUpperCase()).trim().equals((siteCodeTo.toUpperCase()).trim()))
{
lsLogStr = "Processing Started for Site:"+siteCodeFr;
}
else
{
lsLogStr = "Processing Started for Sites Between "+siteCodeFr+" To: " + siteCodeTo;
}
}
hrLogWriter.gbfErrWrite("", "", "", lsLogStr, "I", logconn);//gbf_err_write(ls_prd,"","",ls_log_str , "I")
parentNodeList = detailDom.getElementsByTagName("Detail2");
parentNodeListLength = parentNodeList.getLength();
cnt1 = getNumOfNonDelDetail(detailDom,2);
System.out.println("parentNodeListLength::["+parentNodeListLength+"] \n cnt1 is ["+cnt1+"]");
if(cnt1 == 0)
{
errString = itmDBAccessEJB.getErrorString("","VTBLNKDTL","","",conn);
hrLogWriter.gbfErrWrite("", "", "", "VTBLNKDTL", "E", 2, logconn);
return errString;
}
System.out.println("9999["+genericUtility.serializeDom(headerDom)+"]");
for (int selectedRow = 0; selectedRow < parentNodeListLength; selectedRow++)
{
parentNode = parentNodeList.item(selectedRow);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
for (int childRow = 0; childRow < childNodeListLength; childRow++)
{
childNode = childNodeList.item(childRow);
childNodeName = childNode.getNodeName();
System.out.println("childNodeListLength-->>["+childNodeListLength+"] \n childNodeName---->>["+childNodeName+"] ");
if("emp_code".equalsIgnoreCase(childNodeName))
{
employeeCode = childNode.getFirstChild().getNodeValue();
}
if("acct_prd".equalsIgnoreCase(childNodeName))
{
accountPrd = childNode.getFirstChild().getNodeValue();
}
System.out.println("employeeCode is ["+employeeCode+"] \t accountPrd is ["+accountPrd+"]");
}
errorCode = gbfConfIt(accountPrd,employeeCode,xtraParams,hrLogWriter,conn,logconn);
System.out.println("Value returned from gbfConfIt Method ["+errorCode+"]");
if((errorCode !=null && errorCode.trim().length() > 0 ) && (!(errorCode.contains("VPSUCC1"))))
{
System.out.println("errorCode:::::" +errorCode);
hrLogWriter.gbfErrWrite(accountPrd, employeeCode.trim(), "", "errorCode", "E", 2, logconn);
isError = true;
totRejRec = totRejRec + 1;
}
else
{
System.out.println("errorCode !!!!:::::" +errorCode);
hrLogWriter.gbfErrWrite(accountPrd , employeeCode.trim() , "" , " - Process Completed" , "I" , 1 , logconn);
isError = false;
totConfRec = totConfRec + 1;
}
setNodeValue(headerDom, "noof_confirmed", String.valueOf(totConfRec));
setNodeValue(headerDom, "noof_rejected", String.valueOf(totRejRec));
}
totFinRec = totConfRec + totRejRec;
System.out.println("Total Confirmed Count Values ["+totConfRec+"] \t Total Rejected Count Values ["+totRejRec+"] \t Total Selected Records ["+totFinRec+"] \n Final Return String ["+errString+"]");
}
catch(Exception e)
{
System.out.println("Exception :SplititConfirmPrc :process(String xmlString2, String xmlString2, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception d)
{
throw new ITMException(d);
}
throw new ITMException(e);
}
finally
{
System.out.println("Closing Connection....");
try
{
if(isError)
{
conn.rollback();
}
else
{
conn.commit();
}
if(conn != null)
{
conn.close();
conn = null;
}
}
catch(Exception e)
{
errString = e.getMessage();
e.printStackTrace();
}
}
System.out.println("FINAL ["+(errorCode)+"]");
errMsg = "\n noof_confirmed are ["+totConfRec+"] \n noof_rejected are ["+totRejRec+"]";
retStr = getError(errMsg,errorCode,conn);
return retStr;
}//END OF PROCESS(2)
private String gbfConfIt(String acctPrd , String empCode,String xtraParams,HRLogWriter hrLogWriter,Connection conn,Connection logconn) throws ITMException
{
String retString = "";
String sql = "",loginEmpCode="";
PreparedStatement pstmt = null;
SimpleDateFormat sdf1 = null;
java.sql.Timestamp currentDate = null,today = null;
try
{
java.sql.Date todayDt = new java.sql.Date(System.currentTimeMillis());
System.out.println("Today's Date["+todayDt+"]");
today = new java.sql.Timestamp(System.currentTimeMillis()) ;
sdf1 = new SimpleDateFormat(genericUtility.getDBDateFormat());
currentDate = java.sql.Timestamp.valueOf(sdf1.format(today) + " 00:00:00.000");
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
System.out.println("loginEmpCode is ==="+loginEmpCode + "currentDate is ===" +currentDate);
sql = "update it_calchdr set confirmed = ? , emp_code__aprv = ?, conf_date = ? "
+ "where acct_prd = ? and emp_code = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,"Y");
pstmt.setString(2,loginEmpCode);
pstmt.setTimestamp(3,currentDate);
pstmt.setString(4,acctPrd);
pstmt.setString(5,empCode);
int updateCnt = pstmt.executeUpdate();
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.println("["+updateCnt+"] data updated in it_calchdr table");
if(updateCnt > 0)
{
retString = "VPSUCC1";
}
else
{
retString = "DS000";
}
}
catch(Exception e)
{
System.out.println("Inside Method gbfConfIt ["+e+"]");
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception d) {
throw new ITMException(e);
}
throw new ITMException(e);
}
finally
{
try
{
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return retString;
}//end of Method gbfConfIt
private String getError(String errMsg, String Code, Connection conn) throws ITMException, Exception
{
String mainStr ="";
try
{
String errString = "";
errString = new ITMDBAccessEJB().getErrorString("",Code,"","",conn);
System.out.println("Origional ErrorString is =====> <"+errString+">");
String begPart = errString.substring(0,errString.indexOf("</description>"));
String endDesc = errString.substring(errString.indexOf("</description>"),errString.length());
System.out.println("begPart ["+begPart+"] \t endDesc ["+endDesc+"]");
mainStr = checkNull(begPart) + errMsg + checkNull(endDesc);
System.out.println("mainStr:::::::::::::::::: "+mainStr);
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return mainStr;
}
private int getNumOfNonDelDetail(Document dom2,int detailNo) throws ITMException
{
String childNodeName = "";
String updateFlag="";
int cntr=0;
System.out.println("Inside getXmlDocument method!!!!!!!!!!!!!!");
try
{
System.out.println("detailString value is =="+genericUtility.serializeDom(dom2));
NodeList detailNoteList = dom2.getElementsByTagName("Detail"+detailNo);
for(int cnt = 0;cnt<detailNoteList.getLength();cnt++)
{
Node pNode=detailNoteList.item(cnt);
childNodeName = pNode.getNodeName();
updateFlag = getAttributeVal(pNode,"updateFlag");
System.out.println("updateFlag [" + updateFlag + "]" + "childNodeName [" +childNodeName+" ]");
if(!updateFlag.equalsIgnoreCase("D"))
{
cntr++;
}
System.out.println("Counter is ==="+cntr);
}
}
catch(Exception e)
{
System.out.println("Exception : : getNumOfNonDelDetail :"+e);
e.printStackTrace();
throw new ITMException(e);
}
return cntr;
}//End of Method getNumOfNonDelDetail
private String getAttributeVal(Node dom, String attribName )throws ITMException
{
String AttribValue = null;
try
{
NodeList detailList = dom.getChildNodes();
int detListLength = detailList.getLength();
for(int ctr = 0; ctr < detListLength; ctr++)
{
Node curDetail = detailList.item(ctr);
if(curDetail.getNodeName().equals("attribute"))
{
AttribValue = curDetail.getAttributes().getNamedItem(attribName).getNodeValue();
break;
}
else
{
continue;
}
}
}
catch (Exception e)
{
System.out.println("Exception : : searchNode :"+e);
throw new ITMException(e);
}
return AttribValue;
}//End of Method getAttributeVal
private static void setNodeValue( Document dom, String nodeName, String nodeVal ) throws Exception
{
Node tempNode = dom.getElementsByTagName( nodeName ).item(0);
System.out.println("tempNode is ["+tempNode+"]");
if( tempNode != null )
{
if( tempNode.getFirstChild() == null )
{
CDATASection cDataSection = dom.createCDATASection( nodeVal );
tempNode.appendChild( cDataSection );
System.out.println("tempNode is 1["+tempNode+"]");
}
else
{
tempNode.getFirstChild().setNodeValue(nodeVal);
System.out.println("tempNode is 2["+tempNode+"]");
}
}
tempNode = null;
}//End of Method setNodeValue
public void gbfDestructProcess(Document dom,HRLogWriter hrLogWriter, Connection logConn) throws ITMException
{
System.out.println("Calling gbfDestructProcess(Document dom, Connection logConn) of PayrollSplitgenAccPrc");
String lsLogStr = "";
try
{
siteCodeFr = checkNull(genericUtility.getColumnValue("site_code__fr", dom));
siteCodeTo = checkNull(genericUtility.getColumnValue("site_code__to", dom));
if(utilMethods.pos("!ENCCALC!CHANGEARREARSPROCESS!", "!"+isCaller+"!") == 0)
{
if("Y".equalsIgnoreCase(hrLogWriter.getJobTerminateRequested()))
{
hrLogWriter.gbfErrWrite("", "", "", "Process Terminated on request", "I", logConn);
}
lsLogStr = "Total Employees: " + (hrLogWriter.getRowsProcessed() + hrLogWriter.getRowsRejected()) + " Processed: " + hrLogWriter.getRowsProcessed() + " Rejected: " + hrLogWriter.getRowsRejected();
hrLogWriter.gbfErrWrite("", "", "",lsLogStr, "I", logConn);
if((siteCodeFr.toUpperCase()).trim().equals((siteCodeTo.toUpperCase()).trim()))
{
lsLogStr = "SplitITConfirmation Processing Over for Site:"+siteCodeFr;
}
else
{
lsLogStr = "SplitITConfirmation Processing Over for Sites Between "+siteCodeFr+" To: " + siteCodeTo;
}
hrLogWriter.gbfErrWrite("", "", "",lsLogStr, "I", logConn);
}
if(hrLogWriter.getFilePointer() > 0)
{
if("self".equalsIgnoreCase(hrLogWriter.getLogFileCreatedBy()))
{
hrLogWriter.setFilePointer(-1);
}
}
}
catch(Exception e)
{
throw new ITMException(e);
}
}
private String getObjNameFromDom(Document dom, String attribute) throws RemoteException, ITMException
{
System.out.println("Calling getObjNameFromDom(Document dom, String attribute) of SplititConfirmPrc");
String objName = "";
try
{
NodeList detailList = null;
Node currDetail = null;
int detailListLength = 0;
detailList = dom.getElementsByTagName("Detail1");
detailListLength = detailList.getLength();
for (int ctr = 0; ctr < detailListLength; ctr++)
{
currDetail = detailList.item(ctr);
objName = currDetail.getAttributes().getNamedItem(attribute).getNodeValue();
}
}
catch (Exception e)
{
e.printStackTrace();
}
return objName;
}
private String checkNull(String input) {
if (input == null)
{
input = "";
}
return input.trim();
}
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Local;
import org.w3c.dom.Document;
import ibase.webitm.utility.ITMException;
@Local
public interface SplititConfirmPrcLocal
{
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(Document dom, Document dom2, String windowNamem, String xtraParams) throws RemoteException,ITMException;
public String process(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.adm;
import java.rmi.RemoteException;
import javax.ejb.Remote;
import org.w3c.dom.Document;
import ibase.webitm.utility.ITMException;
@Remote
public interface SplititConfirmPrcRemote
{
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(Document dom, Document dom2, String windowNamem, String xtraParams) throws RemoteException,ITMException;
public String process(Document dom, Document dom2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment