The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_pst_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_update_dml';
update ben_pstn_rt_f
set
pstn_rt_id = p_rec.pstn_rt_id,
excld_flag = p_rec.excld_flag,
ordr_num = p_rec.ordr_num,
position_id = p_rec.position_id,
vrbl_rt_prfl_id = p_rec.vrbl_rt_prfl_id,
business_group_id = p_rec.business_group_id,
pst_attribute_category = p_rec.pst_attribute_category,
pst_attribute1 = p_rec.pst_attribute1,
pst_attribute2 = p_rec.pst_attribute2,
pst_attribute3 = p_rec.pst_attribute3,
pst_attribute4 = p_rec.pst_attribute4,
pst_attribute5 = p_rec.pst_attribute5,
pst_attribute6 = p_rec.pst_attribute6,
pst_attribute7 = p_rec.pst_attribute7,
pst_attribute8 = p_rec.pst_attribute8,
pst_attribute9 = p_rec.pst_attribute9,
pst_attribute10 = p_rec.pst_attribute10,
pst_attribute11 = p_rec.pst_attribute11,
pst_attribute12 = p_rec.pst_attribute12,
pst_attribute13 = p_rec.pst_attribute13,
pst_attribute14 = p_rec.pst_attribute14,
pst_attribute15 = p_rec.pst_attribute15,
pst_attribute16 = p_rec.pst_attribute16,
pst_attribute17 = p_rec.pst_attribute17,
pst_attribute18 = p_rec.pst_attribute18,
pst_attribute19 = p_rec.pst_attribute19,
pst_attribute20 = p_rec.pst_attribute20,
pst_attribute21 = p_rec.pst_attribute21,
pst_attribute22 = p_rec.pst_attribute22,
pst_attribute23 = p_rec.pst_attribute23,
pst_attribute24 = p_rec.pst_attribute24,
pst_attribute25 = p_rec.pst_attribute25,
pst_attribute26 = p_rec.pst_attribute26,
pst_attribute27 = p_rec.pst_attribute27,
pst_attribute28 = p_rec.pst_attribute28,
pst_attribute29 = p_rec.pst_attribute29,
pst_attribute30 = p_rec.pst_attribute30,
object_version_number = p_rec.object_version_number
where pstn_rt_id = p_rec.pstn_rt_id
and effective_start_date = p_validation_start_date
and effective_end_date = p_validation_end_date;
End dt_update_dml;
Procedure update_dml
(p_rec in out nocopy ben_pst_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||'update_dml';
dt_update_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 update_dml;
Procedure dt_pre_update
(p_rec in out nocopy ben_pst_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_update';
If (p_datetrack_mode = 'UPDATE_OVERRIDE') then
hr_utility.set_location(l_proc, 15);
ben_pst_del.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);
ben_pst_ins.insert_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 dt_pre_update;
Procedure pre_update
(p_rec in out nocopy ben_pst_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_update';
dt_pre_update
(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_update;
Procedure post_update
(p_rec in ben_pst_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_update';
ben_pst_rku.after_update
(
p_pstn_rt_id =>p_rec.pstn_rt_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_excld_flag =>p_rec.excld_flag
,p_ordr_num =>p_rec.ordr_num
,p_position_id =>p_rec.position_id
,p_vrbl_rt_prfl_id =>p_rec.vrbl_rt_prfl_id
,p_business_group_id =>p_rec.business_group_id
,p_pst_attribute_category =>p_rec.pst_attribute_category
,p_pst_attribute1 =>p_rec.pst_attribute1
,p_pst_attribute2 =>p_rec.pst_attribute2
,p_pst_attribute3 =>p_rec.pst_attribute3
,p_pst_attribute4 =>p_rec.pst_attribute4
,p_pst_attribute5 =>p_rec.pst_attribute5
,p_pst_attribute6 =>p_rec.pst_attribute6
,p_pst_attribute7 =>p_rec.pst_attribute7
,p_pst_attribute8 =>p_rec.pst_attribute8
,p_pst_attribute9 =>p_rec.pst_attribute9
,p_pst_attribute10 =>p_rec.pst_attribute10
,p_pst_attribute11 =>p_rec.pst_attribute11
,p_pst_attribute12 =>p_rec.pst_attribute12
,p_pst_attribute13 =>p_rec.pst_attribute13
,p_pst_attribute14 =>p_rec.pst_attribute14
,p_pst_attribute15 =>p_rec.pst_attribute15
,p_pst_attribute16 =>p_rec.pst_attribute16
,p_pst_attribute17 =>p_rec.pst_attribute17
,p_pst_attribute18 =>p_rec.pst_attribute18
,p_pst_attribute19 =>p_rec.pst_attribute19
,p_pst_attribute20 =>p_rec.pst_attribute20
,p_pst_attribute21 =>p_rec.pst_attribute21
,p_pst_attribute22 =>p_rec.pst_attribute22
,p_pst_attribute23 =>p_rec.pst_attribute23
,p_pst_attribute24 =>p_rec.pst_attribute24
,p_pst_attribute25 =>p_rec.pst_attribute25
,p_pst_attribute26 =>p_rec.pst_attribute26
,p_pst_attribute27 =>p_rec.pst_attribute27
,p_pst_attribute28 =>p_rec.pst_attribute28
,p_pst_attribute29 =>p_rec.pst_attribute29
,p_pst_attribute30 =>p_rec.pst_attribute30
,p_object_version_number =>p_rec.object_version_number
,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
,p_effective_start_date_o =>ben_pst_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_pst_shd.g_old_rec.effective_end_date
,p_excld_flag_o =>ben_pst_shd.g_old_rec.excld_flag
,p_ordr_num_o =>ben_pst_shd.g_old_rec.ordr_num
,p_position_id_o =>ben_pst_shd.g_old_rec.position_id
,p_vrbl_rt_prfl_id_o =>ben_pst_shd.g_old_rec.vrbl_rt_prfl_id
,p_business_group_id_o =>ben_pst_shd.g_old_rec.business_group_id
,p_pst_attribute_category_o =>ben_pst_shd.g_old_rec.pst_attribute_category
,p_pst_attribute1_o =>ben_pst_shd.g_old_rec.pst_attribute1
,p_pst_attribute2_o =>ben_pst_shd.g_old_rec.pst_attribute2
,p_pst_attribute3_o =>ben_pst_shd.g_old_rec.pst_attribute3
,p_pst_attribute4_o =>ben_pst_shd.g_old_rec.pst_attribute4
,p_pst_attribute5_o =>ben_pst_shd.g_old_rec.pst_attribute5
,p_pst_attribute6_o =>ben_pst_shd.g_old_rec.pst_attribute6
,p_pst_attribute7_o =>ben_pst_shd.g_old_rec.pst_attribute7
,p_pst_attribute8_o =>ben_pst_shd.g_old_rec.pst_attribute8
,p_pst_attribute9_o =>ben_pst_shd.g_old_rec.pst_attribute9
,p_pst_attribute10_o =>ben_pst_shd.g_old_rec.pst_attribute10
,p_pst_attribute11_o =>ben_pst_shd.g_old_rec.pst_attribute11
,p_pst_attribute12_o =>ben_pst_shd.g_old_rec.pst_attribute12
,p_pst_attribute13_o =>ben_pst_shd.g_old_rec.pst_attribute13
,p_pst_attribute14_o =>ben_pst_shd.g_old_rec.pst_attribute14
,p_pst_attribute15_o =>ben_pst_shd.g_old_rec.pst_attribute15
,p_pst_attribute16_o =>ben_pst_shd.g_old_rec.pst_attribute16
,p_pst_attribute17_o =>ben_pst_shd.g_old_rec.pst_attribute17
,p_pst_attribute18_o =>ben_pst_shd.g_old_rec.pst_attribute18
,p_pst_attribute19_o =>ben_pst_shd.g_old_rec.pst_attribute19
,p_pst_attribute20_o =>ben_pst_shd.g_old_rec.pst_attribute20
,p_pst_attribute21_o =>ben_pst_shd.g_old_rec.pst_attribute21
,p_pst_attribute22_o =>ben_pst_shd.g_old_rec.pst_attribute22
,p_pst_attribute23_o =>ben_pst_shd.g_old_rec.pst_attribute23
,p_pst_attribute24_o =>ben_pst_shd.g_old_rec.pst_attribute24
,p_pst_attribute25_o =>ben_pst_shd.g_old_rec.pst_attribute25
,p_pst_attribute26_o =>ben_pst_shd.g_old_rec.pst_attribute26
,p_pst_attribute27_o =>ben_pst_shd.g_old_rec.pst_attribute27
,p_pst_attribute28_o =>ben_pst_shd.g_old_rec.pst_attribute28
,p_pst_attribute29_o =>ben_pst_shd.g_old_rec.pst_attribute29
,p_pst_attribute30_o =>ben_pst_shd.g_old_rec.pst_attribute30
,p_object_version_number_o =>ben_pst_shd.g_old_rec.object_version_number
);
End post_update;
ben_pst_bus.update_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_update
(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);
update_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_update
(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);