The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_jrt_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_job_rt_f
set
job_rt_id = p_rec.job_rt_id
,job_id = p_rec.job_id
,excld_flag = p_rec.excld_flag
,business_group_id = p_rec.business_group_id
,vrbl_rt_prfl_id = p_rec.vrbl_rt_prfl_id
,object_version_number = p_rec.object_version_number
,ordr_num = p_rec.ordr_num
,jrt_attribute_category = p_rec.jrt_attribute_category
,jrt_attribute1 = p_rec.jrt_attribute1
,jrt_attribute2 = p_rec.jrt_attribute2
,jrt_attribute3 = p_rec.jrt_attribute3
,jrt_attribute4 = p_rec.jrt_attribute4
,jrt_attribute5 = p_rec.jrt_attribute5
,jrt_attribute6 = p_rec.jrt_attribute6
,jrt_attribute7 = p_rec.jrt_attribute7
,jrt_attribute8 = p_rec.jrt_attribute8
,jrt_attribute9 = p_rec.jrt_attribute9
,jrt_attribute10 = p_rec.jrt_attribute10
,jrt_attribute11 = p_rec.jrt_attribute11
,jrt_attribute12 = p_rec.jrt_attribute12
,jrt_attribute13 = p_rec.jrt_attribute13
,jrt_attribute14 = p_rec.jrt_attribute14
,jrt_attribute15 = p_rec.jrt_attribute15
,jrt_attribute16 = p_rec.jrt_attribute16
,jrt_attribute17 = p_rec.jrt_attribute17
,jrt_attribute18 = p_rec.jrt_attribute18
,jrt_attribute19 = p_rec.jrt_attribute19
,jrt_attribute20 = p_rec.jrt_attribute20
,jrt_attribute21 = p_rec.jrt_attribute21
,jrt_attribute22 = p_rec.jrt_attribute22
,jrt_attribute23 = p_rec.jrt_attribute23
,jrt_attribute24 = p_rec.jrt_attribute24
,jrt_attribute25 = p_rec.jrt_attribute25
,jrt_attribute26 = p_rec.jrt_attribute26
,jrt_attribute27 = p_rec.jrt_attribute27
,jrt_attribute28 = p_rec.jrt_attribute28
,jrt_attribute29 = p_rec.jrt_attribute29
,jrt_attribute30 = p_rec.jrt_attribute30
where job_rt_id = p_rec.job_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_jrt_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';
ben_jrt_upd.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_jrt_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 = hr_api.g_update_override) then
--
-- As the datetrack mode is 'UPDATE_OVERRIDE' then we must
-- delete any future rows
--
ben_jrt_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_jrt_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_jrt_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_jrt_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_jrt_rku.after_update
(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_job_rt_id
=> p_rec.job_rt_id
,p_effective_start_date
=> p_rec.effective_start_date
,p_effective_end_date
=> p_rec.effective_end_date
,p_job_id
=> p_rec.job_id
,p_excld_flag
=> p_rec.excld_flag
,p_business_group_id
=> p_rec.business_group_id
,p_vrbl_rt_prfl_id
=> p_rec.vrbl_rt_prfl_id
,p_object_version_number
=> p_rec.object_version_number
,p_ordr_num
=> p_rec.ordr_num
,p_jrt_attribute_category
=> p_rec.jrt_attribute_category
,p_jrt_attribute1
=> p_rec.jrt_attribute1
,p_jrt_attribute2
=> p_rec.jrt_attribute2
,p_jrt_attribute3
=> p_rec.jrt_attribute3
,p_jrt_attribute4
=> p_rec.jrt_attribute4
,p_jrt_attribute5
=> p_rec.jrt_attribute5
,p_jrt_attribute6
=> p_rec.jrt_attribute6
,p_jrt_attribute7
=> p_rec.jrt_attribute7
,p_jrt_attribute8
=> p_rec.jrt_attribute8
,p_jrt_attribute9
=> p_rec.jrt_attribute9
,p_jrt_attribute10
=> p_rec.jrt_attribute10
,p_jrt_attribute11
=> p_rec.jrt_attribute11
,p_jrt_attribute12
=> p_rec.jrt_attribute12
,p_jrt_attribute13
=> p_rec.jrt_attribute13
,p_jrt_attribute14
=> p_rec.jrt_attribute14
,p_jrt_attribute15
=> p_rec.jrt_attribute15
,p_jrt_attribute16
=> p_rec.jrt_attribute16
,p_jrt_attribute17
=> p_rec.jrt_attribute17
,p_jrt_attribute18
=> p_rec.jrt_attribute18
,p_jrt_attribute19
=> p_rec.jrt_attribute19
,p_jrt_attribute20
=> p_rec.jrt_attribute20
,p_jrt_attribute21
=> p_rec.jrt_attribute21
,p_jrt_attribute22
=> p_rec.jrt_attribute22
,p_jrt_attribute23
=> p_rec.jrt_attribute23
,p_jrt_attribute24
=> p_rec.jrt_attribute24
,p_jrt_attribute25
=> p_rec.jrt_attribute25
,p_jrt_attribute26
=> p_rec.jrt_attribute26
,p_jrt_attribute27
=> p_rec.jrt_attribute27
,p_jrt_attribute28
=> p_rec.jrt_attribute28
,p_jrt_attribute29
=> p_rec.jrt_attribute29
,p_jrt_attribute30
=> p_rec.jrt_attribute30
,p_effective_start_date_o
=> ben_jrt_shd.g_old_rec.effective_start_date
,p_effective_end_date_o
=> ben_jrt_shd.g_old_rec.effective_end_date
,p_job_id_o
=> ben_jrt_shd.g_old_rec.job_id
,p_excld_flag_o
=> ben_jrt_shd.g_old_rec.excld_flag
,p_business_group_id_o
=> ben_jrt_shd.g_old_rec.business_group_id
,p_vrbl_rt_prfl_id_o
=> ben_jrt_shd.g_old_rec.vrbl_rt_prfl_id
,p_object_version_number_o
=> ben_jrt_shd.g_old_rec.object_version_number
,p_ordr_num_o
=> ben_jrt_shd.g_old_rec.ordr_num
,p_jrt_attribute_category_o
=> ben_jrt_shd.g_old_rec.jrt_attribute_category
,p_jrt_attribute1_o
=> ben_jrt_shd.g_old_rec.jrt_attribute1
,p_jrt_attribute2_o
=> ben_jrt_shd.g_old_rec.jrt_attribute2
,p_jrt_attribute3_o
=> ben_jrt_shd.g_old_rec.jrt_attribute3
,p_jrt_attribute4_o
=> ben_jrt_shd.g_old_rec.jrt_attribute4
,p_jrt_attribute5_o
=> ben_jrt_shd.g_old_rec.jrt_attribute5
,p_jrt_attribute6_o
=> ben_jrt_shd.g_old_rec.jrt_attribute6
,p_jrt_attribute7_o
=> ben_jrt_shd.g_old_rec.jrt_attribute7
,p_jrt_attribute8_o
=> ben_jrt_shd.g_old_rec.jrt_attribute8
,p_jrt_attribute9_o
=> ben_jrt_shd.g_old_rec.jrt_attribute9
,p_jrt_attribute10_o
=> ben_jrt_shd.g_old_rec.jrt_attribute10
,p_jrt_attribute11_o
=> ben_jrt_shd.g_old_rec.jrt_attribute11
,p_jrt_attribute12_o
=> ben_jrt_shd.g_old_rec.jrt_attribute12
,p_jrt_attribute13_o
=> ben_jrt_shd.g_old_rec.jrt_attribute13
,p_jrt_attribute14_o
=> ben_jrt_shd.g_old_rec.jrt_attribute14
,p_jrt_attribute15_o
=> ben_jrt_shd.g_old_rec.jrt_attribute15
,p_jrt_attribute16_o
=> ben_jrt_shd.g_old_rec.jrt_attribute16
,p_jrt_attribute17_o
=> ben_jrt_shd.g_old_rec.jrt_attribute17
,p_jrt_attribute18_o
=> ben_jrt_shd.g_old_rec.jrt_attribute18
,p_jrt_attribute19_o
=> ben_jrt_shd.g_old_rec.jrt_attribute19
,p_jrt_attribute20_o
=> ben_jrt_shd.g_old_rec.jrt_attribute20
,p_jrt_attribute21_o
=> ben_jrt_shd.g_old_rec.jrt_attribute21
,p_jrt_attribute22_o
=> ben_jrt_shd.g_old_rec.jrt_attribute22
,p_jrt_attribute23_o
=> ben_jrt_shd.g_old_rec.jrt_attribute23
,p_jrt_attribute24_o
=> ben_jrt_shd.g_old_rec.jrt_attribute24
,p_jrt_attribute25_o
=> ben_jrt_shd.g_old_rec.jrt_attribute25
,p_jrt_attribute26_o
=> ben_jrt_shd.g_old_rec.jrt_attribute26
,p_jrt_attribute27_o
=> ben_jrt_shd.g_old_rec.jrt_attribute27
,p_jrt_attribute28_o
=> ben_jrt_shd.g_old_rec.jrt_attribute28
,p_jrt_attribute29_o
=> ben_jrt_shd.g_old_rec.jrt_attribute29
,p_jrt_attribute30_o
=> ben_jrt_shd.g_old_rec.jrt_attribute30
);
End post_update;
ben_jrt_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
);