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
, pqh_criteria_rate_factors crf
where crf.criteria_rate_factor_id = p_criteria_rate_factor_id
and pbg.business_group_id (+) = crf.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, pqh_criteria_rate_factors crf
where crf.criteria_rate_factor_id = p_criteria_rate_factor_id
and pbg.business_group_id (+) = crf.business_group_id;
Procedure chk_non_updateable_args
(p_rec in pqh_crf_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
(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
-- EDIT_HERE: The following call should be edited if certain types of rows
-- are not permitted.
IF (p_insert) THEN
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 null from PQH_CRITERIA_RATE_DEFN a
where a.criteria_rate_defn_id = p_criteria_rate_defn_id;
select null from BEN_PL_F a
where a.pl_id = p_parent_rate_matrix_id;
select null from HR_ALL_ORGANIZATION_UNITS a
where a.business_group_id = p_business_group_id;
Procedure insert_validate
(p_rec in pqh_crf_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_rec in pqh_crf_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in pqh_crf_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;