The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ghr_cst_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ghr_compl_agency_costs
set
compl_agency_cost_id = p_rec.compl_agency_cost_id
,complaint_id = p_rec.complaint_id
,phase = p_rec.phase
,stage = p_rec.stage
,category = p_rec.category
,amount = p_rec.amount
,cost_date = p_rec.cost_date
,description = p_rec.description
,object_version_number = p_rec.object_version_number
where compl_agency_cost_id = p_rec.compl_agency_cost_id;
End update_dml;
Procedure pre_update
(p_rec in ghr_cst_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_cst_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ghr_cst_rku.after_update
(p_effective_date => p_effective_date
,p_compl_agency_cost_id => p_rec.compl_agency_cost_id
,p_complaint_id => p_rec.complaint_id
,p_phase => p_rec.phase
,p_stage => p_rec.stage
,p_category => p_rec.category
,p_amount => p_rec.amount
,p_cost_date => p_rec.cost_date
,p_description => p_rec.description
,p_object_version_number => p_rec.object_version_number
,p_complaint_id_o => ghr_cst_shd.g_old_rec.complaint_id
,p_phase_o => ghr_cst_shd.g_old_rec.phase
,p_stage_o => ghr_cst_shd.g_old_rec.stage
,p_category_o => ghr_cst_shd.g_old_rec.category
,p_amount_o => ghr_cst_shd.g_old_rec.amount
,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date
,p_description_o => ghr_cst_shd.g_old_rec.description
,p_object_version_number_o => ghr_cst_shd.g_old_rec.object_version_number
);
End post_update;
ghr_cst_bus.update_validate
(p_effective_date
,p_rec
);
ghr_cst_upd.pre_update(p_rec);
ghr_cst_upd.update_dml(p_rec);
ghr_cst_upd.post_update
(p_effective_date
,p_rec
);