The following lines contain the word 'select', 'insert', 'update' or 'delete':
FUNCTION update_task_notif_subs(p_subscription_guid IN RAW, p_event IN OUT NOCOPY wf_event_t)
RETURN VARCHAR2 IS
l_task_id jtf_tasks_b.task_id%TYPE;
SELECT new_task_type_id
, old_task_type_id
, new_task_status_id
, old_task_status_id
, new_description
, old_description
, new_task_priority_id
, old_task_priority_id
, new_planned_start_date
, old_planned_start_date
, new_planned_end_date
, old_planned_end_date
, new_scheduled_start_date
, old_scheduled_start_date
, new_scheduled_end_date
, old_scheduled_end_date
, new_actual_start_date
, old_actual_start_date
, new_actual_end_date
, old_actual_end_date
, new_owner_id
, old_owner_id
, new_owner_type_code
, old_owner_type_code
FROM jtf_task_audits_vl
WHERE task_audit_id = b_task_audit_id;
wf_core.CONTEXT('jtf_task_wf_subscribe_pvt', 'update_task_notif_subs', p_event.event_name, p_subscription_guid);
wf_core.CONTEXT('jtf_task_wf_subscribe_pvt', 'update_task_notif_subs', p_event.event_name, p_subscription_guid);
END update_task_notif_subs;
FUNCTION delete_task_notif_subs(p_subscription_guid IN RAW, p_event IN OUT NOCOPY wf_event_t)
RETURN VARCHAR2 IS
l_task_id jtf_tasks_b.task_id%TYPE;
p_event => 'DELETE_TASK'
, p_task_id => l_task_id
, p_abort_workflow => l_abort_workflow
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
);
wf_core.CONTEXT('jtf_task_wf_subscribe_pvt', 'delete_task_notif_subs', p_event.event_name, p_subscription_guid);
wf_core.CONTEXT('jtf_task_wf_subscribe_pvt', 'delete_task_notif_subs', p_event.event_name, p_subscription_guid);
END delete_task_notif_subs;
FUNCTION update_assg_notif_subs(p_subscription_guid IN RAW, p_event IN OUT NOCOPY wf_event_t)
RETURN VARCHAR2 IS
l_enable_workflow VARCHAR2(1);
wf_core.CONTEXT('jtf_task_wf_subscribe_pvt', 'update_assg_notif_subs', p_event.event_name, p_subscription_guid);
wf_core.CONTEXT('jtf_task_wf_subscribe_pvt', 'update_assg_notif_subs', p_event.event_name, p_subscription_guid);
END update_assg_notif_subs;
FUNCTION delete_assg_notif_subs(p_subscription_guid IN RAW, p_event IN OUT NOCOPY wf_event_t)
RETURN VARCHAR2 IS
l_enable_workflow VARCHAR2(1);
p_event => 'DELETE_ASSIGNEE'
, p_task_id => l_task_id
, p_old_assignee_id => l_resource_id
, p_old_assignee_code => l_resource_type_code
, p_abort_workflow => l_abort_workflow
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
);
wf_core.CONTEXT('jtf_task_wf_subscribe_pvt', 'delete_assg_notif_subs', p_event.event_name, p_subscription_guid);
wf_core.CONTEXT('jtf_task_wf_subscribe_pvt', 'delete_assg_notif_subs', p_event.event_name, p_subscription_guid);
END delete_assg_notif_subs;