The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_pnd_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_pl_dpnt_cvg_ctfn_f
set
pl_dpnt_cvg_ctfn_id = p_rec.pl_dpnt_cvg_ctfn_id,
pl_id = p_rec.pl_id,
pfd_flag = p_rec.pfd_flag,
ctfn_rqd_when_rl = p_rec.ctfn_rqd_when_rl,
lack_ctfn_sspnd_enrt_flag = p_rec.lack_ctfn_sspnd_enrt_flag,
dpnt_cvg_ctfn_typ_cd = p_rec.dpnt_cvg_ctfn_typ_cd,
rqd_flag = p_rec.rqd_flag,
rlshp_typ_cd = p_rec.rlshp_typ_cd,
business_group_id = p_rec.business_group_id,
pnd_attribute_category = p_rec.pnd_attribute_category,
pnd_attribute1 = p_rec.pnd_attribute1,
pnd_attribute2 = p_rec.pnd_attribute2,
pnd_attribute3 = p_rec.pnd_attribute3,
pnd_attribute4 = p_rec.pnd_attribute4,
pnd_attribute5 = p_rec.pnd_attribute5,
pnd_attribute6 = p_rec.pnd_attribute6,
pnd_attribute7 = p_rec.pnd_attribute7,
pnd_attribute8 = p_rec.pnd_attribute8,
pnd_attribute9 = p_rec.pnd_attribute9,
pnd_attribute10 = p_rec.pnd_attribute10,
pnd_attribute11 = p_rec.pnd_attribute11,
pnd_attribute12 = p_rec.pnd_attribute12,
pnd_attribute13 = p_rec.pnd_attribute13,
pnd_attribute14 = p_rec.pnd_attribute14,
pnd_attribute15 = p_rec.pnd_attribute15,
pnd_attribute16 = p_rec.pnd_attribute16,
pnd_attribute17 = p_rec.pnd_attribute17,
pnd_attribute18 = p_rec.pnd_attribute18,
pnd_attribute19 = p_rec.pnd_attribute19,
pnd_attribute20 = p_rec.pnd_attribute20,
pnd_attribute21 = p_rec.pnd_attribute21,
pnd_attribute22 = p_rec.pnd_attribute22,
pnd_attribute23 = p_rec.pnd_attribute23,
pnd_attribute24 = p_rec.pnd_attribute24,
pnd_attribute25 = p_rec.pnd_attribute25,
pnd_attribute26 = p_rec.pnd_attribute26,
pnd_attribute27 = p_rec.pnd_attribute27,
pnd_attribute28 = p_rec.pnd_attribute28,
pnd_attribute29 = p_rec.pnd_attribute29,
pnd_attribute30 = p_rec.pnd_attribute30,
request_id = p_rec.request_id,
program_application_id = p_rec.program_application_id,
program_id = p_rec.program_id,
program_update_date = p_rec.program_update_date,
object_version_number = p_rec.object_version_number
where pl_dpnt_cvg_ctfn_id = p_rec.pl_dpnt_cvg_ctfn_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_pnd_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_pnd_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_pnd_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_pnd_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_pnd_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_pnd_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_pnd_rku.after_update
(
p_pl_dpnt_cvg_ctfn_id =>p_rec.pl_dpnt_cvg_ctfn_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_pl_id =>p_rec.pl_id
,p_pfd_flag =>p_rec.pfd_flag
,p_ctfn_rqd_when_rl =>p_rec.ctfn_rqd_when_rl
,p_lack_ctfn_sspnd_enrt_flag =>p_rec.lack_ctfn_sspnd_enrt_flag
,p_dpnt_cvg_ctfn_typ_cd =>p_rec.dpnt_cvg_ctfn_typ_cd
,p_rqd_flag =>p_rec.rqd_flag
,p_rlshp_typ_cd =>p_rec.rlshp_typ_cd
,p_business_group_id =>p_rec.business_group_id
,p_pnd_attribute_category =>p_rec.pnd_attribute_category
,p_pnd_attribute1 =>p_rec.pnd_attribute1
,p_pnd_attribute2 =>p_rec.pnd_attribute2
,p_pnd_attribute3 =>p_rec.pnd_attribute3
,p_pnd_attribute4 =>p_rec.pnd_attribute4
,p_pnd_attribute5 =>p_rec.pnd_attribute5
,p_pnd_attribute6 =>p_rec.pnd_attribute6
,p_pnd_attribute7 =>p_rec.pnd_attribute7
,p_pnd_attribute8 =>p_rec.pnd_attribute8
,p_pnd_attribute9 =>p_rec.pnd_attribute9
,p_pnd_attribute10 =>p_rec.pnd_attribute10
,p_pnd_attribute11 =>p_rec.pnd_attribute11
,p_pnd_attribute12 =>p_rec.pnd_attribute12
,p_pnd_attribute13 =>p_rec.pnd_attribute13
,p_pnd_attribute14 =>p_rec.pnd_attribute14
,p_pnd_attribute15 =>p_rec.pnd_attribute15
,p_pnd_attribute16 =>p_rec.pnd_attribute16
,p_pnd_attribute17 =>p_rec.pnd_attribute17
,p_pnd_attribute18 =>p_rec.pnd_attribute18
,p_pnd_attribute19 =>p_rec.pnd_attribute19
,p_pnd_attribute20 =>p_rec.pnd_attribute20
,p_pnd_attribute21 =>p_rec.pnd_attribute21
,p_pnd_attribute22 =>p_rec.pnd_attribute22
,p_pnd_attribute23 =>p_rec.pnd_attribute23
,p_pnd_attribute24 =>p_rec.pnd_attribute24
,p_pnd_attribute25 =>p_rec.pnd_attribute25
,p_pnd_attribute26 =>p_rec.pnd_attribute26
,p_pnd_attribute27 =>p_rec.pnd_attribute27
,p_pnd_attribute28 =>p_rec.pnd_attribute28
,p_pnd_attribute29 =>p_rec.pnd_attribute29
,p_pnd_attribute30 =>p_rec.pnd_attribute30
,p_request_id =>p_rec.request_id
,p_program_application_id =>p_rec.program_application_id
,p_program_id =>p_rec.program_id
,p_program_update_date =>p_rec.program_update_date
,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_pnd_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_pnd_shd.g_old_rec.effective_end_date
,p_pl_id_o =>ben_pnd_shd.g_old_rec.pl_id
,p_pfd_flag_o =>ben_pnd_shd.g_old_rec.pfd_flag
,p_ctfn_rqd_when_rl_o =>ben_pnd_shd.g_old_rec.ctfn_rqd_when_rl
,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pnd_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
,p_dpnt_cvg_ctfn_typ_cd_o =>ben_pnd_shd.g_old_rec.dpnt_cvg_ctfn_typ_cd
,p_rqd_flag_o =>ben_pnd_shd.g_old_rec.rqd_flag
,p_rlshp_typ_cd_o =>ben_pnd_shd.g_old_rec.rlshp_typ_cd
,p_business_group_id_o =>ben_pnd_shd.g_old_rec.business_group_id
,p_pnd_attribute_category_o =>ben_pnd_shd.g_old_rec.pnd_attribute_category
,p_pnd_attribute1_o =>ben_pnd_shd.g_old_rec.pnd_attribute1
,p_pnd_attribute2_o =>ben_pnd_shd.g_old_rec.pnd_attribute2
,p_pnd_attribute3_o =>ben_pnd_shd.g_old_rec.pnd_attribute3
,p_pnd_attribute4_o =>ben_pnd_shd.g_old_rec.pnd_attribute4
,p_pnd_attribute5_o =>ben_pnd_shd.g_old_rec.pnd_attribute5
,p_pnd_attribute6_o =>ben_pnd_shd.g_old_rec.pnd_attribute6
,p_pnd_attribute7_o =>ben_pnd_shd.g_old_rec.pnd_attribute7
,p_pnd_attribute8_o =>ben_pnd_shd.g_old_rec.pnd_attribute8
,p_pnd_attribute9_o =>ben_pnd_shd.g_old_rec.pnd_attribute9
,p_pnd_attribute10_o =>ben_pnd_shd.g_old_rec.pnd_attribute10
,p_pnd_attribute11_o =>ben_pnd_shd.g_old_rec.pnd_attribute11
,p_pnd_attribute12_o =>ben_pnd_shd.g_old_rec.pnd_attribute12
,p_pnd_attribute13_o =>ben_pnd_shd.g_old_rec.pnd_attribute13
,p_pnd_attribute14_o =>ben_pnd_shd.g_old_rec.pnd_attribute14
,p_pnd_attribute15_o =>ben_pnd_shd.g_old_rec.pnd_attribute15
,p_pnd_attribute16_o =>ben_pnd_shd.g_old_rec.pnd_attribute16
,p_pnd_attribute17_o =>ben_pnd_shd.g_old_rec.pnd_attribute17
,p_pnd_attribute18_o =>ben_pnd_shd.g_old_rec.pnd_attribute18
,p_pnd_attribute19_o =>ben_pnd_shd.g_old_rec.pnd_attribute19
,p_pnd_attribute20_o =>ben_pnd_shd.g_old_rec.pnd_attribute20
,p_pnd_attribute21_o =>ben_pnd_shd.g_old_rec.pnd_attribute21
,p_pnd_attribute22_o =>ben_pnd_shd.g_old_rec.pnd_attribute22
,p_pnd_attribute23_o =>ben_pnd_shd.g_old_rec.pnd_attribute23
,p_pnd_attribute24_o =>ben_pnd_shd.g_old_rec.pnd_attribute24
,p_pnd_attribute25_o =>ben_pnd_shd.g_old_rec.pnd_attribute25
,p_pnd_attribute26_o =>ben_pnd_shd.g_old_rec.pnd_attribute26
,p_pnd_attribute27_o =>ben_pnd_shd.g_old_rec.pnd_attribute27
,p_pnd_attribute28_o =>ben_pnd_shd.g_old_rec.pnd_attribute28
,p_pnd_attribute29_o =>ben_pnd_shd.g_old_rec.pnd_attribute29
,p_pnd_attribute30_o =>ben_pnd_shd.g_old_rec.pnd_attribute30
,p_request_id_o =>ben_pnd_shd.g_old_rec.request_id
,p_program_application_id_o =>ben_pnd_shd.g_old_rec.program_application_id
,p_program_id_o =>ben_pnd_shd.g_old_rec.program_id
,p_program_update_date_o =>ben_pnd_shd.g_old_rec.program_update_date
,p_object_version_number_o =>ben_pnd_shd.g_old_rec.object_version_number
);
End post_update;
If (p_rec.program_update_date = hr_api.g_date) then
p_rec.program_update_date :=
ben_pnd_shd.g_old_rec.program_update_date;
ben_pnd_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);
p_program_update_date in date default hr_api.g_date,
p_object_version_number in out nocopy number,
p_effective_date in date,
p_datetrack_mode in varchar2
) is
--
l_rec ben_pnd_shd.g_rec_type;
p_program_update_date,
p_object_version_number
);