The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy hr_ort_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update hr_all_organization_units_tl
set
organization_id = p_rec.organization_id
,language = p_rec.language
,source_lang = p_rec.source_lang
,name = p_rec.name
where organization_id = p_rec.organization_id
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in hr_ort_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_rec in hr_ort_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
hr_ort_rku.after_update
(p_organization_id
=> p_rec.organization_id
,p_language
=> p_rec.language
,p_source_lang
=> p_rec.source_lang
,p_name
=> p_rec.name
,p_source_lang_o
=> hr_ort_shd.g_old_rec.source_lang
,p_name_o
=> hr_ort_shd.g_old_rec.name
);
End post_update;
hr_ort_bus.update_validate
(p_rec
);
hr_ort_upd.pre_update(p_rec);
hr_ort_upd.update_dml(p_rec);
hr_ort_upd.post_update
(p_rec
);
select ort.language
from hr_all_organization_units_tl ort
where ort.organization_id = p_organization_id
and p_language_code in (ort.language
,ort.source_lang);