The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_pcd_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_per_cm_prvdd_f
set
per_cm_prvdd_id = p_rec.per_cm_prvdd_id,
rqstd_flag = p_rec.rqstd_flag,
inspn_rqd_flag = p_rec.inspn_rqd_flag,
resnd_rsn_cd = p_rec.resnd_rsn_cd,
resnd_cmnt_txt = p_rec.resnd_cmnt_txt,
per_cm_prvdd_stat_cd = p_rec.per_cm_prvdd_stat_cd,
cm_dlvry_med_cd = p_rec.cm_dlvry_med_cd,
cm_dlvry_mthd_cd = p_rec.cm_dlvry_mthd_cd,
sent_dt = p_rec.sent_dt,
instnc_num = p_rec.instnc_num,
to_be_sent_dt = p_rec.to_be_sent_dt,
dlvry_instn_txt = p_rec.dlvry_instn_txt,
per_cm_id = p_rec.per_cm_id,
address_id = p_rec.address_id,
business_group_id = p_rec.business_group_id,
pcd_attribute_category = p_rec.pcd_attribute_category,
pcd_attribute1 = p_rec.pcd_attribute1,
pcd_attribute2 = p_rec.pcd_attribute2,
pcd_attribute3 = p_rec.pcd_attribute3,
pcd_attribute4 = p_rec.pcd_attribute4,
pcd_attribute5 = p_rec.pcd_attribute5,
pcd_attribute6 = p_rec.pcd_attribute6,
pcd_attribute7 = p_rec.pcd_attribute7,
pcd_attribute8 = p_rec.pcd_attribute8,
pcd_attribute9 = p_rec.pcd_attribute9,
pcd_attribute10 = p_rec.pcd_attribute10,
pcd_attribute11 = p_rec.pcd_attribute11,
pcd_attribute12 = p_rec.pcd_attribute12,
pcd_attribute13 = p_rec.pcd_attribute13,
pcd_attribute14 = p_rec.pcd_attribute14,
pcd_attribute15 = p_rec.pcd_attribute15,
pcd_attribute16 = p_rec.pcd_attribute16,
pcd_attribute17 = p_rec.pcd_attribute17,
pcd_attribute18 = p_rec.pcd_attribute18,
pcd_attribute19 = p_rec.pcd_attribute19,
pcd_attribute20 = p_rec.pcd_attribute20,
pcd_attribute21 = p_rec.pcd_attribute21,
pcd_attribute22 = p_rec.pcd_attribute22,
pcd_attribute23 = p_rec.pcd_attribute23,
pcd_attribute24 = p_rec.pcd_attribute24,
pcd_attribute25 = p_rec.pcd_attribute25,
pcd_attribute26 = p_rec.pcd_attribute26,
pcd_attribute27 = p_rec.pcd_attribute27,
pcd_attribute28 = p_rec.pcd_attribute28,
pcd_attribute29 = p_rec.pcd_attribute29,
pcd_attribute30 = p_rec.pcd_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 per_cm_prvdd_id = p_rec.per_cm_prvdd_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_pcd_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_pcd_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_pcd_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_pcd_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_pcd_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_pcd_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_pcd_rku.after_update
(
p_per_cm_prvdd_id =>p_rec.per_cm_prvdd_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_rqstd_flag =>p_rec.rqstd_flag
,p_inspn_rqd_flag =>p_rec.inspn_rqd_flag
,p_resnd_rsn_cd =>p_rec.resnd_rsn_cd
,p_resnd_cmnt_txt =>p_rec.resnd_cmnt_txt
,p_per_cm_prvdd_stat_cd =>p_rec.per_cm_prvdd_stat_cd
,p_cm_dlvry_med_cd =>p_rec.cm_dlvry_med_cd
,p_cm_dlvry_mthd_cd =>p_rec.cm_dlvry_mthd_cd
,p_sent_dt =>p_rec.sent_dt
,p_instnc_num =>p_rec.instnc_num
,p_to_be_sent_dt =>p_rec.to_be_sent_dt
,p_dlvry_instn_txt =>p_rec.dlvry_instn_txt
,p_per_cm_id =>p_rec.per_cm_id
,p_address_id =>p_rec.address_id
,p_business_group_id =>p_rec.business_group_id
,p_pcd_attribute_category =>p_rec.pcd_attribute_category
,p_pcd_attribute1 =>p_rec.pcd_attribute1
,p_pcd_attribute2 =>p_rec.pcd_attribute2
,p_pcd_attribute3 =>p_rec.pcd_attribute3
,p_pcd_attribute4 =>p_rec.pcd_attribute4
,p_pcd_attribute5 =>p_rec.pcd_attribute5
,p_pcd_attribute6 =>p_rec.pcd_attribute6
,p_pcd_attribute7 =>p_rec.pcd_attribute7
,p_pcd_attribute8 =>p_rec.pcd_attribute8
,p_pcd_attribute9 =>p_rec.pcd_attribute9
,p_pcd_attribute10 =>p_rec.pcd_attribute10
,p_pcd_attribute11 =>p_rec.pcd_attribute11
,p_pcd_attribute12 =>p_rec.pcd_attribute12
,p_pcd_attribute13 =>p_rec.pcd_attribute13
,p_pcd_attribute14 =>p_rec.pcd_attribute14
,p_pcd_attribute15 =>p_rec.pcd_attribute15
,p_pcd_attribute16 =>p_rec.pcd_attribute16
,p_pcd_attribute17 =>p_rec.pcd_attribute17
,p_pcd_attribute18 =>p_rec.pcd_attribute18
,p_pcd_attribute19 =>p_rec.pcd_attribute19
,p_pcd_attribute20 =>p_rec.pcd_attribute20
,p_pcd_attribute21 =>p_rec.pcd_attribute21
,p_pcd_attribute22 =>p_rec.pcd_attribute22
,p_pcd_attribute23 =>p_rec.pcd_attribute23
,p_pcd_attribute24 =>p_rec.pcd_attribute24
,p_pcd_attribute25 =>p_rec.pcd_attribute25
,p_pcd_attribute26 =>p_rec.pcd_attribute26
,p_pcd_attribute27 =>p_rec.pcd_attribute27
,p_pcd_attribute28 =>p_rec.pcd_attribute28
,p_pcd_attribute29 =>p_rec.pcd_attribute29
,p_pcd_attribute30 =>p_rec.pcd_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_pcd_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_pcd_shd.g_old_rec.effective_end_date
,p_rqstd_flag_o =>ben_pcd_shd.g_old_rec.rqstd_flag
,p_inspn_rqd_flag_o =>ben_pcd_shd.g_old_rec.inspn_rqd_flag
,p_resnd_rsn_cd_o =>ben_pcd_shd.g_old_rec.resnd_rsn_cd
,p_resnd_cmnt_txt_o =>ben_pcd_shd.g_old_rec.resnd_cmnt_txt
,p_per_cm_prvdd_stat_cd_o =>ben_pcd_shd.g_old_rec.per_cm_prvdd_stat_cd
,p_cm_dlvry_med_cd_o =>ben_pcd_shd.g_old_rec.cm_dlvry_med_cd
,p_cm_dlvry_mthd_cd_o =>ben_pcd_shd.g_old_rec.cm_dlvry_mthd_cd
,p_sent_dt_o =>ben_pcd_shd.g_old_rec.sent_dt
,p_instnc_num_o =>ben_pcd_shd.g_old_rec.instnc_num
,p_to_be_sent_dt_o =>ben_pcd_shd.g_old_rec.to_be_sent_dt
,p_dlvry_instn_txt_o =>ben_pcd_shd.g_old_rec.dlvry_instn_txt
,p_per_cm_id_o =>ben_pcd_shd.g_old_rec.per_cm_id
,p_address_id_o =>ben_pcd_shd.g_old_rec.address_id
,p_business_group_id_o =>ben_pcd_shd.g_old_rec.business_group_id
,p_pcd_attribute_category_o =>ben_pcd_shd.g_old_rec.pcd_attribute_category
,p_pcd_attribute1_o =>ben_pcd_shd.g_old_rec.pcd_attribute1
,p_pcd_attribute2_o =>ben_pcd_shd.g_old_rec.pcd_attribute2
,p_pcd_attribute3_o =>ben_pcd_shd.g_old_rec.pcd_attribute3
,p_pcd_attribute4_o =>ben_pcd_shd.g_old_rec.pcd_attribute4
,p_pcd_attribute5_o =>ben_pcd_shd.g_old_rec.pcd_attribute5
,p_pcd_attribute6_o =>ben_pcd_shd.g_old_rec.pcd_attribute6
,p_pcd_attribute7_o =>ben_pcd_shd.g_old_rec.pcd_attribute7
,p_pcd_attribute8_o =>ben_pcd_shd.g_old_rec.pcd_attribute8
,p_pcd_attribute9_o =>ben_pcd_shd.g_old_rec.pcd_attribute9
,p_pcd_attribute10_o =>ben_pcd_shd.g_old_rec.pcd_attribute10
,p_pcd_attribute11_o =>ben_pcd_shd.g_old_rec.pcd_attribute11
,p_pcd_attribute12_o =>ben_pcd_shd.g_old_rec.pcd_attribute12
,p_pcd_attribute13_o =>ben_pcd_shd.g_old_rec.pcd_attribute13
,p_pcd_attribute14_o =>ben_pcd_shd.g_old_rec.pcd_attribute14
,p_pcd_attribute15_o =>ben_pcd_shd.g_old_rec.pcd_attribute15
,p_pcd_attribute16_o =>ben_pcd_shd.g_old_rec.pcd_attribute16
,p_pcd_attribute17_o =>ben_pcd_shd.g_old_rec.pcd_attribute17
,p_pcd_attribute18_o =>ben_pcd_shd.g_old_rec.pcd_attribute18
,p_pcd_attribute19_o =>ben_pcd_shd.g_old_rec.pcd_attribute19
,p_pcd_attribute20_o =>ben_pcd_shd.g_old_rec.pcd_attribute20
,p_pcd_attribute21_o =>ben_pcd_shd.g_old_rec.pcd_attribute21
,p_pcd_attribute22_o =>ben_pcd_shd.g_old_rec.pcd_attribute22
,p_pcd_attribute23_o =>ben_pcd_shd.g_old_rec.pcd_attribute23
,p_pcd_attribute24_o =>ben_pcd_shd.g_old_rec.pcd_attribute24
,p_pcd_attribute25_o =>ben_pcd_shd.g_old_rec.pcd_attribute25
,p_pcd_attribute26_o =>ben_pcd_shd.g_old_rec.pcd_attribute26
,p_pcd_attribute27_o =>ben_pcd_shd.g_old_rec.pcd_attribute27
,p_pcd_attribute28_o =>ben_pcd_shd.g_old_rec.pcd_attribute28
,p_pcd_attribute29_o =>ben_pcd_shd.g_old_rec.pcd_attribute29
,p_pcd_attribute30_o =>ben_pcd_shd.g_old_rec.pcd_attribute30
,p_request_id_o =>ben_pcd_shd.g_old_rec.request_id
,p_program_application_id_o =>ben_pcd_shd.g_old_rec.program_application_id
,p_program_id_o =>ben_pcd_shd.g_old_rec.program_id
,p_program_update_date_o =>ben_pcd_shd.g_old_rec.program_update_date
,p_object_version_number_o =>ben_pcd_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_pcd_shd.g_old_rec.program_update_date;
ben_pcd_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_pcd_shd.g_rec_type;
p_program_update_date,
p_object_version_number
);