--- EMP_SEPARATION - Itemchange and Valdata in java for Browser [A15JSUN006].Start ---

SET DEFINE OFF

----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) 
VALUES ('ADM',3,22,1,0,0,'w_emp_separation','A. Separation',null,'HRM.3.22.1.0.0',null,null,null,'T',FN_SYSDATE(),'BASE','BASE',null,null);

INSERT INTO ITM2MENU (APPLICATION,LEVEL_1,LEVEL_2,LEVEL_3,LEVEL_4,LEVEL_5,WIN_NAME,DESCR,COMMENTS,MENU_PATH,ICON_PATH,CLOSE_ICON,OPEN_ICON,OBJ_TYPE,CHG_DATE,CHG_TERM,CHG_USER,MOB_DEPLOY,DEFAULT_STATE) 
VALUES ('HRM',3,22,1,0,0,'w_emp_separation','Separation',null,'HRM.3.22.1.0.0',null,null,null,'T',FN_SYSDATE(),'BASE','BASE',null,null);

UPDATE ITM2MENU SET OBJ_TYPE = 'T' WHERE WIN_NAME = 'w_emp_separation';

COMMIT;

----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,START_FORM,ISATTACHMENT,HEADER_FORM_NO,ALLOW_ATTACH,MSG_ONSAVE,CONFIRM_DATE_COL,CONFIRM_BY_COL,WF_STATUS,ISGWTINITIATED,RESTART_FORM,CMS_PATH,BROW_DATA_DEF,VIEW_OPTS,DEF_VIEW,FUNCTION_TYPE,COMPL_ACTION,CANCEL_COL,CANCEL_VAL,IN_WF_COL,IN_WF_VAL,THUMB_OBJ,THUMB_IMAGE_COL,THUMB_ALT_COL,DEFAULT_DATA_ROW,ATTACH_COUNT_MIN) 
VALUES ('w_emp_separation','2','2','M','seq10',null,null,null,null,null,'N',FN_SYSDATE(),'BASE','BASE','1','EMP_SITE','STATUS','C',null,null,null,null,'N','N','EMP_CODE,RESI_DATE',null,'0',null,null,null,null,null,null,null,null,null,null,'separation','ADM',null,null,null,null,null,null,null,null,null,'F',null,null,null,null,null,null,null,null,null,null,'0',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null);

UPDATE TRANSETUP SET WORKFLOW_OPT = 0, APPLICATION='ADM', AUDIT_TRAIL_OPT = CASE WHEN AUDIT_TRAIL_OPT IS NULL THEN '0' ELSE AUDIT_TRAIL_OPT END, TRAN_ID_COL = 'EMP_CODE,RESI_DATE', SITE_ACC_COL = 'EMPLOYEE.EMP_SITE', TABLE_NAME = 'SEPARATION',CONFIRM_COL = 'STATUS', CONFIRM_VAL = 'C', EDIT_OPT = '3' , REF_SER = 'E-SEP',EDIT_EXPR = ' OR SEPARATION.STATUS IN (''X'')', CHG_DATE = FN_SYSDATE() WHERE TRAN_WINDOW = 'w_emp_separation' ;

COMMIT;
----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,EXT_COM,EXT_METADATA,EXT_SETUP,AFTER_SAVE,COLUMN_ON_SAVE,SCAN_DELIMITER,AUTO_ACCEPT_WEIGHDATA,RATE_COL,QTY_COL,FORM_TYPE,DISP_METADATA,PARENT_KEY_COL,ASSISTED_MODE,STORAGE_KEY_METADATA,SELECTION_MODE,DEFAULT_VIEW,AUTO_ADDON_ENTRY,FREEZE_COL_POS,DEFAULT_ROW_CNT) 
VALUES ('w_emp_separation','Separation',null,null,null,null,null,null,'1',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);

UPDATE obj_forms SET OBJ_BROW_NAME='d_emp_separation_brow',OBJ_EDIT_NAME='d_emp_separation_edit' WHERE WIN_NAME='w_emp_separation' and form_no = 1;

COMMIT;

---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) 
VALUES ('emp_separation',1,'add.gif','Adding New','a','a','A','Add','1',null,null,'S',null,null,null,null,null,null,null);
INSERT INTO OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT) 
VALUES ('emp_separation',2,'edit.gif','Editing Existing Record','a','a','E','Edit','1',null,null,'S',null,null,null,null,null,null,null);
INSERT INTO OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT) 
VALUES ('emp_separation',4,'save~normal.gif','Saving','a','a','S','Save','1',null,null,'S',null,null,null,null,null,null,null);
INSERT INTO OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT) 
VALUES ('emp_separation',5,'cancel.gif','Action Button Cancel','act_cancel','a','R','Cancel','1','2',null,'U',null,null,null,null,null,null,null);
INSERT INTO OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT) 
VALUES ('emp_separation',6,'approve.gif','Action Button Confirm','pre_confirm','a','R','Confirm','1','2',null,'U',null,null,null,null,null,null,null);
INSERT INTO OBJ_ACTIONS (OBJ_NAME,LINE_NO,IMAGE,DESCRIPTION,SERVICE_CODE,INTERACTIVE,RIGHTS_CHAR,TITLE,FORM_NO,SERVICE_HANDLER,PLACEMENT,ACTION_TYPE,TRAN_TYPE,CHG_DATE,CHG_TERM,CHG_USER,IS_CONFIRMATION_REQ,SEP_DUTY_OPT,RE_AUTH_OPT) 
VALUES ('emp_separation',7,'relieve.gif','Relieve','pre_relieve','a','F','Relieve','1','2',null,'U',null,null,null,null,null,null,null);

COMMIT;

--obj_itemchange

INSERT INTO OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) 
VALUES ('emp_separation','1','itm_default','Y');

INSERT INTO OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) 
VALUES ('emp_separation','1','emp_code','Y');

INSERT INTO OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) 
VALUES ('emp_separation','1','resi_date','Y');

INSERT INTO OBJ_ITEMCHANGE (OBJ_NAME,FORM_NO,FIELD_NAME,MANDATORY) 
VALUES ('emp_separation','1','separation_mode','Y');

COMMIT;

-- 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_NAME,COMP_TYPE,COMM_FORMAT) 
VALUES ('emp_separation','act_cancel','1','acancel_emp_separation',null,'0',FN_SYSDATE(),'BASE','BASE','2','EmpSeparationCnc','EJB',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_NAME,COMP_TYPE,COMM_FORMAT) 
VALUES ('emp_separation','post_item_change','1','poic_adm_default_1',null,'0',FN_SYSDATE(),'BASE','BASE','2','nvo_bo_emp_separation','WSR',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_NAME,COMP_TYPE,COMM_FORMAT) 
VALUES ('emp_separation','pre_confirm','1','prcm_adm_default_1',null,'0',FN_SYSDATE(),'BASE','BASE','2','nvo_business_object_adm_emp_sep','WSR',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_NAME,COMP_TYPE,COMM_FORMAT) 
VALUES ('emp_separation','pre_relieve','1','prcm_adm_default_1',null,'0',FN_SYSDATE(),'BASE','BASE','2','nvo_business_object_adm_empstat_relieve','WSR',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_NAME,COMP_TYPE,COMM_FORMAT) 
VALUES ('emp_separation','pre_validate','1','prv_adm_default_1',null,'0',FN_SYSDATE(),'BASE','BASE','2','nvo_bo_emp_separation','WSR',null);

INSERT INTO SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) 
VALUES ('emp_separation','audit_trail','1','project_audit_trail',null,FN_SYSDATE(),'BASE','BASE','2','0',null,null,null);

INSERT INTO SYSTEM_EVENTS (OBJ_NAME,EVENT_CODE,EVENT_CONTEXT,SERVICE_CODE,METHOD_RULE,CHG_DATE,CHG_USER,CHG_TERM,RESULT_HANDLE,OVERWRITE_CORE,COMP_TYPE,COMP_NAME,COMM_FORMAT) 
VALUES ('emp_separation','post_validate','1','post_gen_val',null,FN_SYSDATE(),'BASE','BASE','2','0','EJB','GenValidate',null);

UPDATE SYSTEM_EVENTS SET COMP_NAME='EmpSeparationEJB',COMP_TYPE='EJB',SERVICE_CODE='poic_emp_separation' WHERE OBJ_NAME='emp_separation' AND EVENT_CODE='post_item_change';

UPDATE SYSTEM_EVENTS SET COMP_NAME='EmpSeparationEJB',COMP_TYPE='EJB',SERVICE_CODE='prv_emp_separation' WHERE OBJ_NAME='emp_separation' AND EVENT_CODE='pre_validate';

UPDATE SYSTEM_EVENTS SET COMP_NAME='EmpSeparationCnc',COMP_TYPE='EJB',SERVICE_CODE='acancel_emp_separation' WHERE OBJ_NAME='emp_separation' AND EVENT_CODE='act_cancel';

UPDATE SYSTEM_EVENTS SET COMP_NAME='nvo_business_object_adm_emp_sep',COMP_TYPE='WSR',SERVICE_CODE='prcm_adm_default_1' WHERE OBJ_NAME='emp_separation' AND EVENT_CODE='pre_confirm';

UPDATE SYSTEM_EVENTS SET COMP_NAME='nvo_business_object_adm_empstat_relieve',COMP_TYPE='WSR',SERVICE_CODE='prcm_adm_default_1' WHERE OBJ_NAME='emp_separation' AND EVENT_CODE='pre_relieve';

COMMIT;


-- 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) 
VALUES ('poic_emp_separation','post item change default','http://localhost:9090/axis/services/ValidatorService','Base Information','itemChanged','String','S',null,null,FN_SYSDATE(),'BASE','BASE');
COMMIT;

INSERT INTO SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM) 
VALUES ('prv_emp_separation','val data default','http://localhost:9090/axis/services/ValidatorService','Base Information','wfValData','String','S',null,null,FN_SYSDATE(),'BASE','BASE');
COMMIT;

INSERT INTO SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM) 
VALUES ('acancel_emp_separation','Action For Cancel','http://localhost:9090/axis/services/ActionHandlerService','Base Information','actionHandler','String','S',null,null,FN_SYSDATE(),'BASE','BASE');

INSERT INTO SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM)
VALUES ('project_audit_trail','calling audit log jsp','http://localhost:9090/ibase/webitm/jsp/ITMAuditForms.jsp',null,'doPost',null,null,null,null,FN_SYSDATE(),'BASE','BASE');

INSERT INTO SYSTEM_EVENT_SERVICES (SERVICE_CODE,SERVICE_DESCR,SERVICE_URI,SERVICE_PROVIDER,METHOD_NAME,RETURN_VALUE,RETURN_TYPE,RETURN_DESCR,RETURN_XFRM,CHG_DATE,CHG_USER,CHG_TERM)
VALUES ('post_gen_val','validation','http://localhost:9090/axis/services/ValidatorService','BASE Information','wfValData','String','S',null,null,FN_SYSDATE(),'BASE','BASE');

COMMIT;

-- 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 ('poic_emp_separation',1,'COMPONENT_TYPE','I',null,'S',null,FN_SYSDATE(),'BASE','BASE','EJB');
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('poic_emp_separation',2,'COMPONENT_NAME','I',null,'S',null,FN_SYSDATE(),'BASE','BASE','EmpSeparationEJB');
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_emp_separation',3,'XML_DATA','I',null,'S',null,FN_SYSDATE(),'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 ('poic_emp_separation',4,'XML_DATA_1','I',null,'S',null,FN_SYSDATE(),'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 ('poic_emp_separation',5,'XML_DATA_ALL','I',null,'S',null,FN_SYSDATE(),'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 ('poic_emp_separation',6,'OBJ_CONTEXT','I',null,'S',null,FN_SYSDATE(),'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 ('poic_emp_separation',7,'FOCUSED_COLUMN','I',null,'S',null,FN_SYSDATE(),'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 ('poic_emp_separation',8,'EDIT_FLAG','I',null,'S',null,FN_SYSDATE(),'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 ('poic_emp_separation',9,'XTRA_PARAMS','I',null,'S',null,FN_SYSDATE(),'BASE','BASE',null);
COMMIT;

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_emp_separation',1,'COMPONENT_TYPE','I',null,'S',null,FN_SYSDATE(),'BASE','BASE','EJB');
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('prv_emp_separation',2,'COMPONENT_NAME','I',null,'S',null,FN_SYSDATE(),'BASE','BASE','EmpSeparationEJB');
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_emp_separation',3,'XML_DATA','I',null,'S',null,FN_SYSDATE(),'BASE','BASE',null);
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('prv_emp_separation',4,'XML_DATA_1','I',null,'S',null,FN_SYSDATE(),'BASE','BASE',null);
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('prv_emp_separation',5,'XML_DATA_ALL','I',null,'S',null,FN_SYSDATE(),'BASE','BASE',null);
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('prv_emp_separation',6,'OBJ_CONTEXT','I',null,'S',null,FN_SYSDATE(),'BASE','BASE',null);
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('prv_emp_separation',7,'EDIT_FLAG','I',null,'S',null,FN_SYSDATE(),'BASE','BASE',null);
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('prv_emp_separation',8,'XTRA_PARAMS','I',null,'S',null,FN_SYSDATE(),'BASE','BASE',null);
COMMIT;

INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('acancel_emp_separation',1,'COMPONENT_TYPE','I','Component Type','C.String',null,FN_SYSDATE(),'BASE','BASE','EJB');
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('acancel_emp_separation',2,'COMPONENT_NAME','I','Component Name','C.String',null,FN_SYSDATE(),'BASE','BASE','EmpSeparationCnc');
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE) 
VALUES ('acancel_emp_separation',3,'<emp_code>','I','tranID','B.String',null,FN_SYSDATE(),'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 ('acancel_emp_separation',4,'XTRA_PARAMS','I','Extra Arguments','S',null,FN_SYSDATE(),'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 ('acancel_emp_separation',5,'FORCED_FLAG','I','Forced Flag','S',null,FN_SYSDATE(),'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 ('post_gen_val',1,'COMPONENT_TYPE','I',null,'C.String',null,FN_SYSDATE(),'BASE','BASE','EJB');
INSERT INTO SYSTEM_SERVICE_ARGS (SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,ARG_XFRM,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
VALUES ('post_gen_val',2,'COMPONENT_NAME','I',null,'C.String',null,FN_SYSDATE(),'BASE','BASE','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,FN_SYSDATE(),'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 ('post_gen_val',4,'XML_DATA_ALL','I',null,'S',null,FN_SYSDATE(),'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 ('post_gen_val',5,'XML_DATA_ALL','I',null,'S',null,FN_SYSDATE(),'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 ('post_gen_val',6,'OBJ_CONTEXT','I',null,'S',null,FN_SYSDATE(),'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 ('post_gen_val',7,'WIN_NAME','I',null,'S',null,FN_SYSDATE(),'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 ('post_gen_val',8,'XTRA_PARAMS','I',null,'S',null,FN_SYSDATE(),'BASE','BASE',null);

COMMIT;

INSERT INTO MESSAGES 
(MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) 
VALUES ('VMEMP01','Invalid Employee Code!','Employee code can not be blank or null, please enter employee code','E','Y',NULL, NULL,NULL,FN_SYSDATE(),'BASE','BASE',NULL,NULL); 

INSERT INTO MESSAGES 
(MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) 
VALUES ('VMEMP02','Invalid Employee Code!','Specified employee code does not existing in system, please enter employee code which is existing in system','E','Y',NULL, NULL,NULL,FN_SYSDATE(),'BASE','BASE',NULL,NULL); 

INSERT INTO MESSAGES 
(MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) 
VALUES ('VTEMPSEP01','Invalid Resignation Date!','Resignation date is invalid,please enter valid resignation date','E','Y',NULL, NULL,NULL,FN_SYSDATE(),'BASE','BASE',NULL,NULL); 

INSERT INTO MESSAGES 
(MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,MSG_TIME,ALARM,ERR_SOURCE,CHG_DATE,CHG_USER,CHG_TERM,OVERRIDE_INPUT,MAIL_OPTION) 
VALUES ('VTEMPSEP02','Invalid Relieving Date!','Resignation date is invalid,please enter valid relieving date','E','Y',NULL, NULL,NULL,FN_SYSDATE(),'BASE','BASE',NULL,NULL); 

COMMIT;

--- EMP_SEPARATION - Itemchange and Valdata in java for Browser [A15JSUN006].End ---
