INSERT INTO system_events (
	obj_name ,
	event_code ,
	event_context,
	service_code ,
	chg_date ,
	chg_user ,
	chg_term ,
	result_handle ,
	overwrite_core ,
	comp_type ,
	comp_name )
VALUES (
	'shipment',
	'post_save',
	'2',
	'pos_shipment',
	 fn_sysdate(),
	'Base',
	'Base',
	'2',
	'0',
	'EJB',
	'ShipmentPos');
INSERT INTO system_event_services (
	service_code ,
	service_descr ,
	service_uri ,
	service_provider ,
	method_name ,
	return_value ,
	return_type ,	
	chg_date ,
	chg_user ,
	chg_term ) 
VALUES (
	'pos_shipment',
	'postSave',
	'http://localhost:9090/axis/services/ValidatorService',
	'BASE',
	'postSave',
	'String',
	'S',
	fn_sysdate(),
	'Base',
	'Base');
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_shipment',
	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 (
	'pos_shipment',
	2,
	'COMPONENT_NAME',
	'I',
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'Base',
	'Base',
	'ShipmentPos');

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_shipment',
	3,
	'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 (
	'pos_shipment',
	4,
	'<tran_id>',
	'I',
	NULL,
	'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 (
	'pos_shipment',
	5,
	'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 (
	'pos_shipment',
	6,
	'XTRA_PARAMS',
	'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 (
	'pos_shipment',
	7,
	'DB_CONN',
	'I',
	NULL,
	'S.Connection',
	NULL,
	fn_sysdate(),
	'Base',
	'Base',
	NULL);
commit;	
	
