Delete from OBJ_LINKS
where obj_name ='wave_task'
and   Form_no ='1'
and   Field_name ='wave_id'
and   Target_obj_name ='wave_task_main'
and   Link_form_name ='wave_task_main'
and   Link_type ='5';
commit;

INSERT INTO obj_links (
	obj_name,
	form_no,
	field_name,
	target_obj_name,
	link_form_name,
	link_title,
	link_uri,
	link_type,
	link_arg,
	update_flag,
	link_name,
	rights_char,
	image)
VALUES (
	'wave_task',
	'1',
	'wave_id',
	'wave_task_summary',
	'wave_task_summary',
	'View Wave Task Report',
	NULL,
	'5',
	'wave_id.String:p_wave_id',
	'0',
	NULL,
	'S',
	NULL);
commit;