The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure check_delete(p_person_id number default null
,p_organization_id number default null
,p_job_id number default null
,p_position_id number default null
,p_address_id number default null
,p_analysis_criteria_id number default null
) is
--
l_proc varchar2(72) := g_package||'check_delete';
select null
from ota_activity_versions
where controlling_person_id = p_person_id;
select null
from ota_activity_versions
where developer_organization_id = p_organization_id;
select null
from ota_delegate_bookings
where delegate_person_id = p_person_id;
select null
from ota_delegate_bookings
where sponsor_person_id = p_person_id;
select null
from ota_delegate_bookings
where organization_id = p_organization_id;
select null
from ota_delegate_bookings
where person_address_id = p_address_id;
select null
from ota_events
where organization_id = p_organization_id;
select null
from ota_event_associations
where organization_id = p_organization_id;
select null
from ota_event_associations
where job_id = p_job_id;
select null
from ota_event_associations
where position_id = p_position_id;
select null
from ota_finance_headers
where organization_id = p_organization_id;
select null
from ota_skill_provisions
where analysis_criteria_id = p_analysis_criteria_id;
fnd_message.set_name('OTA','OTA_13546_PERSON_DELETE');
fnd_message.set_name('OTA','OTA_13546_PERSON_DELETE');
fnd_message.set_name('OTA','OTA_13546_PERSON_DELETE');
fnd_message.set_name('OTA','OTA_13547_ORGANIZATION_DELETE');
fnd_message.set_name('OTA','OTA_13547_ORGANIZATION_DELETE');
fnd_message.set_name('OTA','OTA_13547_ORGANIZATION_DELETE');
fnd_message.set_name('OTA','OTA_13547_ORGANIZATION_DELETE');
fnd_message.set_name('OTA','OTA_13547_ORGANIZATION_DELETE');
fnd_message.set_name('OTA','OTA_13548_JOB_DELETE');
fnd_message.set_name('OTA','OTA_13549_POSITION_DELETE');
fnd_message.set_name('OTA','OTA_13550_ADDRESS_DELETE');
fnd_message.set_name('OTA','OTA_13551_ANAL_CRIT_DELETE');