The following lines contain the word 'select', 'insert', 'update' or 'delete':
(p_insert IN boolean
,p_business_group_id IN number
,p_legislation_code IN varchar2
,p_legislation_subgroup IN varchar2 DEFAULT NULL) IS
--
BEGIN
--
-- Call the supporting procedure to check startup mode
--
IF (p_insert) THEN
--
-- Call procedure to check startup_action for inserts.
--
hr_startup_data_api_support.chk_startup_action
(p_generic_allowed => TRUE
,p_startup_allowed => TRUE
,p_user_allowed => TRUE
,p_business_group_id => p_business_group_id
,p_legislation_code => p_legislation_code
,p_legislation_subgroup => p_legislation_subgroup
);
select pbg.security_group_id
from per_business_groups pbg
, ben_ext_rcd xrc
where xrc.ext_rcd_id = p_ext_rcd_id
and pbg.business_group_id = xrc.business_group_id;
cursor c1 is select null
from ben_ext_rcd
Where ext_rcd_id <> nvl(p_ext_rcd_id,-1)
and name = p_name
and ((business_group_id is null and legislation_code is null)
or (legislation_code is not null
and business_group_id is null
and legislation_code = p_legislation_code)
or (business_group_id is not null
and business_group_id = p_business_group_id)
);
cursor c1 is select data_elmt_typ_cd, alwd_in_rcd_cd
from ben_ext_data_elmt a, ben_ext_fld b, ben_ext_data_elmt_in_rcd c
where a.ext_fld_id = b.ext_fld_id
and a.ext_data_elmt_id = c.ext_data_elmt_id
and c.ext_rcd_id = p_ext_rcd_id;
Procedure insert_validate(p_rec in ben_xrc_shd.g_rec_type
,p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate(p_rec in ben_xrc_shd.g_rec_type
,p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'update_validate';
End update_validate;
Procedure delete_validate(p_rec in ben_xrc_shd.g_rec_type
,p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;
select a.legislation_code
from per_business_groups a,
ben_ext_rcd b
where b.ext_rcd_id = p_ext_rcd_id
and a.business_group_id(+) = b.business_group_id;