The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml(p_rec in out nocopy hr_lot_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into hr_locations_all_tl
( location_id,
language,
source_lang,
location_code,
description
)
Values
( p_rec.location_id,
p_rec.language,
p_rec.source_lang,
p_rec.location_code,
p_rec.description
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy hr_lot_shd.g_rec_type,
p_location_id in number) is
--
l_proc varchar2(72) := g_package||'pre_insert';
End pre_insert;
Procedure post_insert(p_rec in hr_lot_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_insert';
hr_lot_rki.after_insert
(
p_location_id =>p_rec.location_id
,p_language =>p_rec.language
,p_source_lang =>p_rec.source_lang
,p_location_code =>p_rec.location_code
,p_description =>p_rec.description
);
End post_insert;
hr_lot_bus.insert_validate(p_rec, p_business_group_id);
pre_insert(p_rec, p_location_id);
insert_dml(p_rec);
post_insert(p_rec);
select l.language_code
from fnd_languages l
where l.installed_flag in ('I', 'B')
and not exists (select null
from hr_locations_all_tl lot
where lot.location_id = p_location_id
and lot.language = l.language_code);
l_inserted_anything boolean := false;
l_inserted_anything := true;
if not l_inserted_anything then
hr_utility.set_message(800, 'PER_52517_NO_MLS_INSERTS');