The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ghr_cad_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ghr_compl_adrs
set
compl_adr_id = p_rec.compl_adr_id
,complaint_id = p_rec.complaint_id
,stage = p_rec.stage
,start_date = p_rec.start_date
,end_date = p_rec.end_date
,adr_resource = p_rec.adr_resource
,technique = p_rec.technique
,outcome = p_rec.outcome
,adr_offered = p_rec.adr_offered
,date_accepted = p_rec.date_accepted
,object_version_number = p_rec.object_version_number
where compl_adr_id = p_rec.compl_adr_id;
End update_dml;
Procedure pre_update
(p_rec in ghr_cad_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_cad_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ghr_cad_rku.after_update
(p_effective_date => p_effective_date
,p_compl_adr_id => p_rec.compl_adr_id
,p_complaint_id => p_rec.complaint_id
,p_stage => p_rec.stage
,p_start_date => p_rec.start_date
,p_end_date => p_rec.end_date
,p_adr_resource => p_rec.adr_resource
,p_technique => p_rec.technique
,p_outcome => p_rec.outcome
,p_adr_offered => p_rec.adr_offered
,p_date_accepted => p_rec.date_accepted
,p_object_version_number => p_rec.object_version_number
,p_complaint_id_o => ghr_cad_shd.g_old_rec.complaint_id
,p_stage_o => ghr_cad_shd.g_old_rec.stage
,p_start_date_o => ghr_cad_shd.g_old_rec.start_date
,p_end_date_o => ghr_cad_shd.g_old_rec.end_date
,p_adr_resource_o => ghr_cad_shd.g_old_rec.adr_resource
,p_technique_o => ghr_cad_shd.g_old_rec.technique
,p_outcome_o => ghr_cad_shd.g_old_rec.outcome
,p_adr_offered_o => ghr_cad_shd.g_old_rec.adr_offered
,p_date_accepted_o => ghr_cad_shd.g_old_rec.date_accepted
,p_object_version_number_o => ghr_cad_shd.g_old_rec.object_version_number
);
End post_update;
ghr_cad_bus.update_validate
(p_effective_date
,p_rec
);
ghr_cad_upd.pre_update(p_rec);
ghr_cad_upd.update_dml(p_rec);
ghr_cad_upd.post_update
(p_effective_date
,p_rec
);