The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_delete_dml
(p_rec in out nocopy ben_shr_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_schedd_hrs_rt_f
where schedd_hrs_rt_id = p_rec.schedd_hrs_rt_id
and effective_start_date = p_validation_start_date;
delete from ben_schedd_hrs_rt_f
where schedd_hrs_rt_id = p_rec.schedd_hrs_rt_id
and effective_start_date >= p_validation_start_date;
End dt_delete_dml;
Procedure delete_dml
(p_rec in out nocopy ben_shr_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_shr_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_shr_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_shr_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_shr_rkd.after_delete
(
p_schedd_hrs_rt_id =>p_rec.schedd_hrs_rt_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_shr_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_shr_shd.g_old_rec.effective_end_date
,p_vrbl_rt_prfl_id_o =>ben_shr_shd.g_old_rec.vrbl_rt_prfl_id
,p_excld_flag_o =>ben_shr_shd.g_old_rec.excld_flag
,p_ordr_num_o =>ben_shr_shd.g_old_rec.ordr_num
,p_freq_cd_o =>ben_shr_shd.g_old_rec.freq_cd
,p_hrs_num_o =>ben_shr_shd.g_old_rec.hrs_num
,p_max_hrs_num_o =>ben_shr_shd.g_old_rec.max_hrs_num
,p_schedd_hrs_rl_o =>ben_shr_shd.g_old_rec.schedd_hrs_rl
,p_determination_cd_o =>ben_shr_shd.g_old_rec.determination_cd
,p_determination_rl_o =>ben_shr_shd.g_old_rec.determination_rl
,p_rounding_cd_o =>ben_shr_shd.g_old_rec.rounding_cd
,p_rounding_rl_o =>ben_shr_shd.g_old_rec.rounding_rl
,p_business_group_id_o =>ben_shr_shd.g_old_rec.business_group_id
,p_shr_attribute_category_o =>ben_shr_shd.g_old_rec.shr_attribute_category
,p_shr_attribute1_o =>ben_shr_shd.g_old_rec.shr_attribute1
,p_shr_attribute2_o =>ben_shr_shd.g_old_rec.shr_attribute2
,p_shr_attribute3_o =>ben_shr_shd.g_old_rec.shr_attribute3
,p_shr_attribute4_o =>ben_shr_shd.g_old_rec.shr_attribute4
,p_shr_attribute5_o =>ben_shr_shd.g_old_rec.shr_attribute5
,p_shr_attribute6_o =>ben_shr_shd.g_old_rec.shr_attribute6
,p_shr_attribute7_o =>ben_shr_shd.g_old_rec.shr_attribute7
,p_shr_attribute8_o =>ben_shr_shd.g_old_rec.shr_attribute8
,p_shr_attribute9_o =>ben_shr_shd.g_old_rec.shr_attribute9
,p_shr_attribute10_o =>ben_shr_shd.g_old_rec.shr_attribute10
,p_shr_attribute11_o =>ben_shr_shd.g_old_rec.shr_attribute11
,p_shr_attribute12_o =>ben_shr_shd.g_old_rec.shr_attribute12
,p_shr_attribute13_o =>ben_shr_shd.g_old_rec.shr_attribute13
,p_shr_attribute14_o =>ben_shr_shd.g_old_rec.shr_attribute14
,p_shr_attribute15_o =>ben_shr_shd.g_old_rec.shr_attribute15
,p_shr_attribute16_o =>ben_shr_shd.g_old_rec.shr_attribute16
,p_shr_attribute17_o =>ben_shr_shd.g_old_rec.shr_attribute17
,p_shr_attribute18_o =>ben_shr_shd.g_old_rec.shr_attribute18
,p_shr_attribute19_o =>ben_shr_shd.g_old_rec.shr_attribute19
,p_shr_attribute20_o =>ben_shr_shd.g_old_rec.shr_attribute20
,p_shr_attribute21_o =>ben_shr_shd.g_old_rec.shr_attribute21
,p_shr_attribute22_o =>ben_shr_shd.g_old_rec.shr_attribute22
,p_shr_attribute23_o =>ben_shr_shd.g_old_rec.shr_attribute23
,p_shr_attribute24_o =>ben_shr_shd.g_old_rec.shr_attribute24
,p_shr_attribute25_o =>ben_shr_shd.g_old_rec.shr_attribute25
,p_shr_attribute26_o =>ben_shr_shd.g_old_rec.shr_attribute26
,p_shr_attribute27_o =>ben_shr_shd.g_old_rec.shr_attribute27
,p_shr_attribute28_o =>ben_shr_shd.g_old_rec.shr_attribute28
,p_shr_attribute29_o =>ben_shr_shd.g_old_rec.shr_attribute29
,p_shr_attribute30_o =>ben_shr_shd.g_old_rec.shr_attribute30
,p_object_version_number_o =>ben_shr_shd.g_old_rec.object_version_number
);
End post_delete;
ben_shr_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);