SET DEFINE OFF;

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 ('payr_voucher','post_save','1','pos_payr_voucher',null,'0',FN_SYSDATE(),'BASE','BASE','2','EJB','PayrVoucherPos',null);
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 ('pos_payr_voucher','postSave','http://localhost:9090/axis/services/ValidatorService',null,'postSave','String','S',null,null,FN_SYSDATE(),'BASE','BASE');

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 ('pos_payr_voucher',1,'COMPONENT_TYPE','I','Component Type','S',null,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 ('pos_payr_voucher',2,'COMPONENT_NAME','I','Component Name','S',null,SYSDATE,'BASE','BASE','PayrVoucherPos');
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 ('pos_payr_voucher',3,'XML_DATA_ALL','I',null,'S',null,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 ('pos_payr_voucher',4,'EDIT_FLAG','I',null,'S',null,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 ('pos_payr_voucher',5,'XTRA_PARAMS','I','Extra Arguments','S',null,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 ('pos_payr_voucher',6,'DB_CONN','I',null,'S.Connection',null,SYSDATE,'BASE','BASE',null);

COMMIT;
