The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.legislation_code
from per_business_groups pbg,
per_salary_survey_mappings ssm
where ssm.salary_survey_mapping_id = p_salary_survey_mapping_id
and pbg.business_group_id = ssm.business_group_id;
Procedure chk_non_updateable_args(p_rec in per_ssm_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'chk_non_updateable_args';
end chk_non_updateable_args;
select start_date
from per_salary_survey_lines ssl
where ssl.salary_survey_line_id = p_salary_survey_line_id;
select nvl(end_date,hr_api.g_eot)
from per_salary_survey_lines ssl
where ssl.salary_survey_line_id = p_salary_survey_line_id;
select 'Y'
from per_salary_survey_lines ssl
where ssl.salary_survey_line_id = p_salary_survey_line_id;
select j.business_group_id, date_from, nvl(date_to,hr_api.g_eot)
from per_jobs j
where j.job_id = p_parent_id;
select p.business_group_id,date_effective,
nvl(hr_general.get_position_date_end(p.position_id),hr_general.end_of_time)
from hr_positions_f p
where p.position_id = p_parent_id
and effective_end_date = hr_general.end_of_time;
select p.business_group_id,effective_start_date,
effective_end_date
from per_all_assignments_f p
where p.assignment_id = p_parent_id
and effective_end_date = hr_general.end_of_time;
select 'Y'
from per_salary_survey_mappings ssm
where ssm.parent_id = p_parent_id
and ssm.parent_table_name = p_parent_table_name
and ssm.salary_survey_line_id = p_salary_survey_line_id
and ssm.grade_id = p_grade_id
and ssm.location_id = p_location_id
and ssm.company_organization_id = p_company_organization_id
and ssm.company_age_code = p_company_age_code;
select inactive_date
from hr_locations loc
where loc.location_id = p_location_id and loc.location_use = 'HR'
;
select g.business_group_id, g.date_from, nvl(g.date_to,hr_api.g_eot)
from per_grades g
where g.grade_id = p_grade_id;
select business_group_id
from per_salary_survey_mappings
where salary_survey_mapping_id = p_salary_survey_mapping_id;
select o.business_group_id, o.date_from, nvl(o.date_to,hr_api.g_eot)
from hr_all_organization_units o
where o.organization_id = p_company_organization_id;
select business_group_id
from per_salary_survey_mappings
where salary_survey_mapping_id = p_salary_survey_mapping_id;
select 'Y'
from hr_lookups l
where l.lookup_code = p_company_age_code
and l.lookup_type = 'COMPANY_AGE'
and l.enabled_flag = 'Y';
Procedure insert_validate(p_rec in per_ssm_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 per_ssm_shd.g_rec_type
,p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args(p_rec);
End update_validate;
Procedure delete_validate(p_rec in per_ssm_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;