The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_delete_dml
(p_rec in out nocopy ben_dce_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_dpnt_cvg_eligy_prfl_f
where dpnt_cvg_eligy_prfl_id = p_rec.dpnt_cvg_eligy_prfl_id
and effective_start_date = p_validation_start_date;
delete from ben_dpnt_cvg_eligy_prfl_f
where dpnt_cvg_eligy_prfl_id = p_rec.dpnt_cvg_eligy_prfl_id
and effective_start_date >= p_validation_start_date;
End dt_delete_dml;
Procedure delete_dml
(p_rec in out nocopy ben_dce_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_dce_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_dce_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_dce_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_dce_rkd.after_delete
(
p_dpnt_cvg_eligy_prfl_id =>p_rec.dpnt_cvg_eligy_prfl_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_end_date_o =>ben_dce_shd.g_old_rec.effective_end_date
,p_effective_start_date_o =>ben_dce_shd.g_old_rec.effective_start_date
,p_business_group_id_o =>ben_dce_shd.g_old_rec.business_group_id
,p_regn_id_o =>ben_dce_shd.g_old_rec.regn_id
,p_name_o =>ben_dce_shd.g_old_rec.name
,p_dpnt_cvg_eligy_prfl_stat_c_o =>ben_dce_shd.g_old_rec.dpnt_cvg_eligy_prfl_stat_cd
,p_dce_desc_o =>ben_dce_shd.g_old_rec.dce_desc
-- ,p_military_status_rqmt_ind_o =>ben_dce_shd.g_old_rec.military_status_rqmt_ind
,p_dpnt_cvg_elig_det_rl_o =>ben_dce_shd.g_old_rec.dpnt_cvg_elig_det_rl
,p_dce_attribute_category_o =>ben_dce_shd.g_old_rec.dce_attribute_category
,p_dce_attribute1_o =>ben_dce_shd.g_old_rec.dce_attribute1
,p_dce_attribute2_o =>ben_dce_shd.g_old_rec.dce_attribute2
,p_dce_attribute3_o =>ben_dce_shd.g_old_rec.dce_attribute3
,p_dce_attribute4_o =>ben_dce_shd.g_old_rec.dce_attribute4
,p_dce_attribute5_o =>ben_dce_shd.g_old_rec.dce_attribute5
,p_dce_attribute6_o =>ben_dce_shd.g_old_rec.dce_attribute6
,p_dce_attribute7_o =>ben_dce_shd.g_old_rec.dce_attribute7
,p_dce_attribute8_o =>ben_dce_shd.g_old_rec.dce_attribute8
,p_dce_attribute9_o =>ben_dce_shd.g_old_rec.dce_attribute9
,p_dce_attribute10_o =>ben_dce_shd.g_old_rec.dce_attribute10
,p_dce_attribute11_o =>ben_dce_shd.g_old_rec.dce_attribute11
,p_dce_attribute12_o =>ben_dce_shd.g_old_rec.dce_attribute12
,p_dce_attribute13_o =>ben_dce_shd.g_old_rec.dce_attribute13
,p_dce_attribute14_o =>ben_dce_shd.g_old_rec.dce_attribute14
,p_dce_attribute15_o =>ben_dce_shd.g_old_rec.dce_attribute15
,p_dce_attribute16_o =>ben_dce_shd.g_old_rec.dce_attribute16
,p_dce_attribute17_o =>ben_dce_shd.g_old_rec.dce_attribute17
,p_dce_attribute18_o =>ben_dce_shd.g_old_rec.dce_attribute18
,p_dce_attribute19_o =>ben_dce_shd.g_old_rec.dce_attribute19
,p_dce_attribute20_o =>ben_dce_shd.g_old_rec.dce_attribute20
,p_dce_attribute21_o =>ben_dce_shd.g_old_rec.dce_attribute21
,p_dce_attribute22_o =>ben_dce_shd.g_old_rec.dce_attribute22
,p_dce_attribute23_o =>ben_dce_shd.g_old_rec.dce_attribute23
,p_dce_attribute24_o =>ben_dce_shd.g_old_rec.dce_attribute24
,p_dce_attribute25_o =>ben_dce_shd.g_old_rec.dce_attribute25
,p_dce_attribute26_o =>ben_dce_shd.g_old_rec.dce_attribute26
,p_dce_attribute27_o =>ben_dce_shd.g_old_rec.dce_attribute27
,p_dce_attribute28_o =>ben_dce_shd.g_old_rec.dce_attribute28
,p_dce_attribute29_o =>ben_dce_shd.g_old_rec.dce_attribute29
,p_dce_attribute30_o =>ben_dce_shd.g_old_rec.dce_attribute30
,p_object_version_number_o =>ben_dce_shd.g_old_rec.object_version_number
,p_dpnt_rlshp_flag_o =>ben_dce_shd.g_old_rec.dpnt_rlshp_flag
,p_dpnt_age_flag_o =>ben_dce_shd.g_old_rec.dpnt_age_flag
,p_dpnt_stud_flag_o =>ben_dce_shd.g_old_rec.dpnt_stud_flag
,p_dpnt_dsbld_flag_o =>ben_dce_shd.g_old_rec.dpnt_dsbld_flag
,p_dpnt_mrtl_flag_o =>ben_dce_shd.g_old_rec.dpnt_mrtl_flag
,p_dpnt_mltry_flag_o =>ben_dce_shd.g_old_rec.dpnt_mltry_flag
,p_dpnt_pstl_flag_o =>ben_dce_shd.g_old_rec.dpnt_pstl_flag
,p_dpnt_cvrd_in_anthr_pl_flag_o =>ben_dce_shd.g_old_rec.dpnt_cvrd_in_anthr_pl_flag
,p_dpnt_dsgnt_crntly_enrld_fl_o =>ben_dce_shd.g_old_rec.dpnt_dsgnt_crntly_enrld_flag
,p_dpnt_crit_flag_o =>ben_dce_shd.g_old_rec.dpnt_crit_flag
);
End post_delete;
ben_dce_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);