The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ghr_cpl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ghr_compl_people
set
compl_person_id = p_rec.compl_person_id
,person_id = p_rec.person_id
,complaint_id = p_rec.complaint_id
,role_code = p_rec.role_code
,start_date = p_rec.start_date
,end_date = p_rec.end_date
,object_version_number = p_rec.object_version_number
where compl_person_id = p_rec.compl_person_id;
End update_dml;
Procedure pre_update
(p_rec in ghr_cpl_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 ghr_cpl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ghr_cpl_rku.after_update
(p_effective_date => p_effective_date
,p_compl_person_id => p_rec.compl_person_id
,p_person_id => p_rec.person_id
,p_complaint_id => p_rec.complaint_id
,p_role_code => p_rec.role_code
,p_start_date => p_rec.start_date
,p_end_date => p_rec.end_date
,p_object_version_number => p_rec.object_version_number
,p_person_id_o => ghr_cpl_shd.g_old_rec.person_id
,p_complaint_id_o => ghr_cpl_shd.g_old_rec.complaint_id
,p_role_code_o => ghr_cpl_shd.g_old_rec.role_code
,p_start_date_o => ghr_cpl_shd.g_old_rec.start_date
,p_end_date_o => ghr_cpl_shd.g_old_rec.end_date
,p_object_version_number_o => ghr_cpl_shd.g_old_rec.object_version_number
);
End post_update;
ghr_cpl_bus.update_validate
(p_effective_date
,p_rec
);
ghr_cpl_upd.pre_update(p_rec);
ghr_cpl_upd.update_dml(p_rec);
ghr_cpl_upd.post_update
(p_effective_date
,p_rec
);