The following lines contain the word 'select', 'insert', 'update' or 'delete':
select organization_structure_id, business_group_id
from per_organization_structures
where name = p_name;
select 'I'
into l_hr_installed
from sys.dual
where exists (select 'I'
from fnd_product_installations
where application_id between 800 and 899
and status = 'I');
select count(*)
into l_count
from PER_ORG_STRUCTURE_VERSIONS
where ORGANIZATION_STRUCTURE_ID = p_organization_Structure_Id;
select count(*)
into l_count
from per_security_profiles
where organization_structure_id = p_organization_structure_id;
select organization_structure_id,business_group_id
from per_organization_structures
where position_control_structure_flg = 'Y'
and business_group_id = p_business_group_id;
select organization_structure_id,business_group_id
from per_organization_structures
where primary_structure_flag = 'Y';
select pbg.security_group_id
from per_business_groups pbg
, per_organization_structures ors
where ors.organization_structure_id = p_organization_structure_id
and pbg.business_group_id = ors.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, per_organization_structures ors
where ors.organization_structure_id = p_organization_structure_id
and pbg.business_group_id (+) = ors.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in per_ors_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 per_ors_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in per_ors_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_effective_date => p_effective_date
,p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in per_ors_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;