The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml(p_rec in out nocopy pqh_atl_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'update_dml';
update pqh_attributes_tl
set
attribute_id = p_rec.attribute_id,
attribute_name = p_rec.attribute_name,
language = p_rec.language,
source_lang = p_rec.source_lang
where attribute_id = p_rec.attribute_id
and language = p_rec.language;
End update_dml;
Procedure pre_update(p_rec in pqh_atl_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update(p_rec in pqh_atl_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_update';
pqh_atl_rku.after_update
(
p_attribute_id =>p_rec.attribute_id
,p_attribute_name =>p_rec.attribute_name
,p_language =>p_rec.language
,p_source_lang =>p_rec.source_lang
,p_attribute_name_o =>pqh_atl_shd.g_old_rec.attribute_name
,p_language_o =>pqh_atl_shd.g_old_rec.language
,p_source_lang_o =>pqh_atl_shd.g_old_rec.source_lang
);
End post_update;
pqh_atl_bus.update_validate(p_rec);
pre_update(p_rec);
update_dml(p_rec);
post_update(p_rec);
select atl.language
from pqh_attributes_tl atl
where atl.attribute_id = p_attribute_id
AND p_language_code in (atl.language,atl.source_lang);
select attribute_id
from pqh_attributes
where key_column_name = p_att_col_name
and nvl(legislation_code,'$$$') = nvl(p_legislation_code,'$$$')
and nvl(master_table_route_id,-1) = nvl(p_table_id, -1);
select table_route_id
from pqh_table_route
where table_alias = p_table_alias;
X_LAST_UPDATE_DATE DATE;
X_LAST_UPDATED_BY NUMBER;
X_LAST_UPDATE_LOGIN NUMBER;
X_LAST_UPDATED_BY := -1;
X_LAST_UPDATED_BY := 0;
X_LAST_UPDATE_DATE := sysdate;
X_LAST_UPDATE_LOGIN := 0;
X_LAST_UPDATED_BY := fnd_load_util.owner_id(p_owner);
update pqh_attributes_tl
set attribute_name = p_attribute_name ,
last_update_date = X_LAST_UPDATE_DATE,
last_updated_by = X_LAST_UPDATED_BY,
last_update_login = X_LAST_UPDATE_LOGIN,
source_lang = USERENV('LANG')
where USERENV('LANG') in (language,source_lang)
and attribute_id = l_attribute_id ;