The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id,
pbg.legislation_code
from per_business_groups_perf pbg
, ota_resource_bookings trb
, ota_suppliable_resources tsr
where trb.resource_booking_id = p_resource_booking_id
and trb.supplied_resource_id = tsr.supplied_resource_id
and pbg.business_group_id = tsr.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_resource_bookings trb
, ota_suppliable_Resources tsr
where trb.resource_booking_id = p_resource_booking_id
and trb.supplied_resource_id = tsr.supplied_resource_id
and pbg.business_group_id = tsr.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_trb_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
Procedure insert_validate
(p_effective_date in date ,
p_rec in ota_trb_shd.g_rec_type ) is
--
l_proc varchar2(72) := g_package||'insert_validate';
select resource_type
from ota_suppliable_resources
where supplied_resource_id = p_rec.supplied_resource_id;
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in ota_trb_shd.g_rec_type
) is
--
l_supplied_resource_id_changed boolean :=
ota_general.value_changed(ota_trb_shd.g_old_rec.supplied_resource_id,
p_rec.supplied_resource_id);
l_proc varchar2(72) := g_package||'update_validate';
select resource_type
from ota_suppliable_resources
where supplied_resource_id = p_rec.supplied_resource_id;
chk_non_updateable_args
(p_effective_date => p_effective_date
,p_rec => p_rec
);
hr_utility.set_location(' Leaving:'||l_proc, 10); End update_validate;
Procedure delete_validate
(p_rec in ota_trb_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;