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_factor_on_elmnts rfe
where rfe.rate_factor_on_elmnt_id = p_rate_factor_on_elmnt_id
and pbg.business_group_id (+) = rfe.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, pqh_rate_factor_on_elmnts rfe
where rfe.rate_factor_on_elmnt_id = p_rate_factor_on_elmnt_id
and pbg.business_group_id (+) = rfe.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in pqh_rfe_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 pqh_criteria_rate_factors a
where a.criteria_rate_factor_id = p_criteria_rate_factor_id;
select input_value_id from pqh_criteria_rate_elements a
where a.criteria_rate_element_id = p_criteria_rate_element_id;
select piv.input_value_id input_value_id from pay_input_values_f piv,pqh_criteria_rate_elements cre
where cre.criteria_rate_element_id = p_criteria_rate_element_id and piv.element_type_id = cre.element_type_id;
If the table selected in the previous column is pay_element_entry_values_f,
then an input_value_id for the Criteria_rate_element must be stored in this column.
If the table was selected as pay_element_entries_f , it should ensure that the column selected
to store the rate factors is attribute to attribute30*/
if LOWER(p_rate_factor_val_record_tbl) = 'pay_element_entries_f' then
if(LOWER(substr(p_rate_factor_val_record_col,1,9)) = 'attribute') then
if TO_NUMBER(substr(p_rate_factor_val_record_col,10)) >0 AND TO_NUMBER(substr(p_rate_factor_val_record_col,10)) < 31 then
l_success := true;
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_rfe_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_rfe_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_rfe_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;