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_rate_element_relations rer
where rer.rate_element_relation_id = p_rate_element_relation_id
and pbg.business_group_id (+) = rer.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, pqh_rate_element_relations rer
where rer.rate_element_relation_id = p_rate_element_relation_id
and pbg.business_group_id (+) = rer.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in pqh_rer_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_ELEMENTS a
where a.criteria_rate_element_id = p_criteria_rate_element_id;
select null from PAY_ELEMENT_TYPES_F a
where a.element_type_id = p_rel_element_type_id;
select null from PAY_INPUT_VALUES_F a
where a.input_value_id = p_rel_input_value_id;
select null from HR_ALL_ORGANIZATION_UNITS a
where a.business_group_id = p_business_group_id ;
Procedure insert_validate
(p_effective_date in date
,p_rec in pqh_rer_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 pqh_rer_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 pqh_rer_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;