The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_delete_dml
(p_rec in out nocopy ben_cbs_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'dt_delete_dml';
If (p_datetrack_mode = 'DELETE_NEXT_CHANGE') then
hr_utility.set_location(l_proc, 10);
delete from ben_prem_cstg_by_sgmt_f
where prem_cstg_by_sgmt_id = p_rec.prem_cstg_by_sgmt_id
and effective_start_date = p_validation_start_date;
delete from ben_prem_cstg_by_sgmt_f
where prem_cstg_by_sgmt_id = p_rec.prem_cstg_by_sgmt_id
and effective_start_date >= p_validation_start_date;
End dt_delete_dml;
Procedure delete_dml
(p_rec in out nocopy ben_cbs_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'delete_dml';
dt_delete_dml(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => p_validation_start_date,
p_validation_end_date => p_validation_end_date);
End delete_dml;
Procedure dt_pre_delete
(p_rec in out nocopy ben_cbs_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'dt_pre_delete';
If (p_datetrack_mode = 'DELETE') then
p_rec.effective_end_date := p_validation_start_date - 1;
End dt_pre_delete;
Procedure pre_delete
(p_rec in out nocopy ben_cbs_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'pre_delete';
dt_pre_delete
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => p_validation_start_date,
p_validation_end_date => p_validation_end_date);
End pre_delete;
Procedure post_delete
(p_rec in ben_cbs_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'post_delete';
ben_cbs_rkd.after_delete
(
p_prem_cstg_by_sgmt_id =>p_rec.prem_cstg_by_sgmt_id
,p_datetrack_mode =>p_datetrack_mode
,p_validation_start_date =>p_validation_start_date
,p_validation_end_date =>p_validation_end_date
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_effective_start_date_o =>ben_cbs_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_cbs_shd.g_old_rec.effective_end_date
,p_sgmt_num_o =>ben_cbs_shd.g_old_rec.sgmt_num
,p_sgmt_cstg_mthd_cd_o =>ben_cbs_shd.g_old_rec.sgmt_cstg_mthd_cd
,p_sgmt_cstg_mthd_rl_o =>ben_cbs_shd.g_old_rec.sgmt_cstg_mthd_rl
,p_business_group_id_o =>ben_cbs_shd.g_old_rec.business_group_id
,p_actl_prem_id_o =>ben_cbs_shd.g_old_rec.actl_prem_id
,p_cbs_attribute_category_o =>ben_cbs_shd.g_old_rec.cbs_attribute_category
,p_cbs_attribute1_o =>ben_cbs_shd.g_old_rec.cbs_attribute1
,p_cbs_attribute2_o =>ben_cbs_shd.g_old_rec.cbs_attribute2
,p_cbs_attribute3_o =>ben_cbs_shd.g_old_rec.cbs_attribute3
,p_cbs_attribute4_o =>ben_cbs_shd.g_old_rec.cbs_attribute4
,p_cbs_attribute5_o =>ben_cbs_shd.g_old_rec.cbs_attribute5
,p_cbs_attribute6_o =>ben_cbs_shd.g_old_rec.cbs_attribute6
,p_cbs_attribute7_o =>ben_cbs_shd.g_old_rec.cbs_attribute7
,p_cbs_attribute8_o =>ben_cbs_shd.g_old_rec.cbs_attribute8
,p_cbs_attribute9_o =>ben_cbs_shd.g_old_rec.cbs_attribute9
,p_cbs_attribute10_o =>ben_cbs_shd.g_old_rec.cbs_attribute10
,p_cbs_attribute11_o =>ben_cbs_shd.g_old_rec.cbs_attribute11
,p_cbs_attribute12_o =>ben_cbs_shd.g_old_rec.cbs_attribute12
,p_cbs_attribute13_o =>ben_cbs_shd.g_old_rec.cbs_attribute13
,p_cbs_attribute14_o =>ben_cbs_shd.g_old_rec.cbs_attribute14
,p_cbs_attribute15_o =>ben_cbs_shd.g_old_rec.cbs_attribute15
,p_cbs_attribute16_o =>ben_cbs_shd.g_old_rec.cbs_attribute16
,p_cbs_attribute17_o =>ben_cbs_shd.g_old_rec.cbs_attribute17
,p_cbs_attribute18_o =>ben_cbs_shd.g_old_rec.cbs_attribute18
,p_cbs_attribute19_o =>ben_cbs_shd.g_old_rec.cbs_attribute19
,p_cbs_attribute20_o =>ben_cbs_shd.g_old_rec.cbs_attribute20
,p_cbs_attribute21_o =>ben_cbs_shd.g_old_rec.cbs_attribute21
,p_cbs_attribute22_o =>ben_cbs_shd.g_old_rec.cbs_attribute22
,p_cbs_attribute23_o =>ben_cbs_shd.g_old_rec.cbs_attribute23
,p_cbs_attribute24_o =>ben_cbs_shd.g_old_rec.cbs_attribute24
,p_cbs_attribute25_o =>ben_cbs_shd.g_old_rec.cbs_attribute25
,p_cbs_attribute26_o =>ben_cbs_shd.g_old_rec.cbs_attribute26
,p_cbs_attribute27_o =>ben_cbs_shd.g_old_rec.cbs_attribute27
,p_cbs_attribute28_o =>ben_cbs_shd.g_old_rec.cbs_attribute28
,p_cbs_attribute29_o =>ben_cbs_shd.g_old_rec.cbs_attribute29
,p_cbs_attribute30_o =>ben_cbs_shd.g_old_rec.cbs_attribute30
,p_object_version_number_o =>ben_cbs_shd.g_old_rec.object_version_number
);
End post_delete;
ben_cbs_bus.delete_validate
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
pre_delete
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
delete_dml
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
post_delete
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);