The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml(p_rec in out nocopy pqh_cef_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'update_dml';
update pqh_copy_entity_functions
set
copy_entity_function_id = p_rec.copy_entity_function_id,
table_route_id = p_rec.table_route_id,
function_type_cd = p_rec.function_type_cd,
pre_copy_function_name = p_rec.pre_copy_function_name,
copy_function_name = p_rec.copy_function_name,
post_copy_function_name = p_rec.post_copy_function_name,
object_version_number = p_rec.object_version_number,
context = p_rec.context
where copy_entity_function_id = p_rec.copy_entity_function_id;
End update_dml;
Procedure pre_update(p_rec in pqh_cef_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update(
p_effective_date in date,p_rec in pqh_cef_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_update';
pqh_cef_rku.after_update
(
p_copy_entity_function_id =>p_rec.copy_entity_function_id
,p_table_route_id =>p_rec.table_route_id
,p_function_type_cd =>p_rec.function_type_cd
,p_pre_copy_function_name =>p_rec.pre_copy_function_name
,p_copy_function_name =>p_rec.copy_function_name
,p_post_copy_function_name =>p_rec.post_copy_function_name
,p_object_version_number =>p_rec.object_version_number
,p_context =>p_rec.context
,p_effective_date =>p_effective_date
,p_table_route_id_o =>pqh_cef_shd.g_old_rec.table_route_id
,p_function_type_cd_o =>pqh_cef_shd.g_old_rec.function_type_cd
,p_pre_copy_function_name_o =>pqh_cef_shd.g_old_rec.pre_copy_function_name
,p_copy_function_name_o =>pqh_cef_shd.g_old_rec.copy_function_name
,p_post_copy_function_name_o =>pqh_cef_shd.g_old_rec.post_copy_function_name
,p_object_version_number_o =>pqh_cef_shd.g_old_rec.object_version_number
,p_context_o =>pqh_cef_shd.g_old_rec.context
);
End post_update;
pqh_cef_bus.update_validate(p_rec
,p_effective_date);
pre_update(p_rec);
update_dml(p_rec);
post_update(
p_effective_date,p_rec);