The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml(p_rec in out nocopy ben_egd_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ben_elig_dpnt
set
elig_dpnt_id = p_rec.elig_dpnt_id,
create_dt = p_rec.create_dt,
elig_strt_dt = p_rec.elig_strt_dt,
elig_thru_dt = p_rec.elig_thru_dt,
ovrdn_flag = p_rec.ovrdn_flag,
ovrdn_thru_dt = p_rec.ovrdn_thru_dt,
inelg_rsn_cd = p_rec.inelg_rsn_cd,
dpnt_inelig_flag = p_rec.dpnt_inelig_flag,
elig_per_elctbl_chc_id = p_rec.elig_per_elctbl_chc_id,
per_in_ler_id = p_rec.per_in_ler_id,
elig_per_id = p_rec.elig_per_id,
elig_per_opt_id = p_rec.elig_per_opt_id,
elig_cvrd_dpnt_id = p_rec.elig_cvrd_dpnt_id,
dpnt_person_id = p_rec.dpnt_person_id,
business_group_id = p_rec.business_group_id,
egd_attribute_category = p_rec.egd_attribute_category,
egd_attribute1 = p_rec.egd_attribute1,
egd_attribute2 = p_rec.egd_attribute2,
egd_attribute3 = p_rec.egd_attribute3,
egd_attribute4 = p_rec.egd_attribute4,
egd_attribute5 = p_rec.egd_attribute5,
egd_attribute6 = p_rec.egd_attribute6,
egd_attribute7 = p_rec.egd_attribute7,
egd_attribute8 = p_rec.egd_attribute8,
egd_attribute9 = p_rec.egd_attribute9,
egd_attribute10 = p_rec.egd_attribute10,
egd_attribute11 = p_rec.egd_attribute11,
egd_attribute12 = p_rec.egd_attribute12,
egd_attribute13 = p_rec.egd_attribute13,
egd_attribute14 = p_rec.egd_attribute14,
egd_attribute15 = p_rec.egd_attribute15,
egd_attribute16 = p_rec.egd_attribute16,
egd_attribute17 = p_rec.egd_attribute17,
egd_attribute18 = p_rec.egd_attribute18,
egd_attribute19 = p_rec.egd_attribute19,
egd_attribute20 = p_rec.egd_attribute20,
egd_attribute21 = p_rec.egd_attribute21,
egd_attribute22 = p_rec.egd_attribute22,
egd_attribute23 = p_rec.egd_attribute23,
egd_attribute24 = p_rec.egd_attribute24,
egd_attribute25 = p_rec.egd_attribute25,
egd_attribute26 = p_rec.egd_attribute26,
egd_attribute27 = p_rec.egd_attribute27,
egd_attribute28 = p_rec.egd_attribute28,
egd_attribute29 = p_rec.egd_attribute29,
egd_attribute30 = p_rec.egd_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 elig_dpnt_id = p_rec.elig_dpnt_id;
End update_dml;
Procedure pre_update(p_rec in ben_egd_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update(
p_effective_date in date,p_rec in ben_egd_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_update';
ben_egd_rku.after_update
(
p_elig_dpnt_id =>p_rec.elig_dpnt_id
,p_create_dt =>p_rec.create_dt
,p_elig_strt_dt =>p_rec.elig_strt_dt
,p_elig_thru_dt =>p_rec.elig_thru_dt
,p_ovrdn_flag =>p_rec.ovrdn_flag
,p_ovrdn_thru_dt =>p_rec.ovrdn_thru_dt
,p_inelg_rsn_cd =>p_rec.inelg_rsn_cd
,p_dpnt_inelig_flag =>p_rec.dpnt_inelig_flag
,p_elig_per_elctbl_chc_id =>p_rec.elig_per_elctbl_chc_id
,p_per_in_ler_id =>p_rec.per_in_ler_id
,p_elig_per_id =>p_rec.elig_per_id
,p_elig_per_opt_id =>p_rec.elig_per_opt_id
,p_elig_cvrd_dpnt_id =>p_rec.elig_cvrd_dpnt_id
,p_dpnt_person_id =>p_rec.dpnt_person_id
,p_business_group_id =>p_rec.business_group_id
,p_egd_attribute_category =>p_rec.egd_attribute_category
,p_egd_attribute1 =>p_rec.egd_attribute1
,p_egd_attribute2 =>p_rec.egd_attribute2
,p_egd_attribute3 =>p_rec.egd_attribute3
,p_egd_attribute4 =>p_rec.egd_attribute4
,p_egd_attribute5 =>p_rec.egd_attribute5
,p_egd_attribute6 =>p_rec.egd_attribute6
,p_egd_attribute7 =>p_rec.egd_attribute7
,p_egd_attribute8 =>p_rec.egd_attribute8
,p_egd_attribute9 =>p_rec.egd_attribute9
,p_egd_attribute10 =>p_rec.egd_attribute10
,p_egd_attribute11 =>p_rec.egd_attribute11
,p_egd_attribute12 =>p_rec.egd_attribute12
,p_egd_attribute13 =>p_rec.egd_attribute13
,p_egd_attribute14 =>p_rec.egd_attribute14
,p_egd_attribute15 =>p_rec.egd_attribute15
,p_egd_attribute16 =>p_rec.egd_attribute16
,p_egd_attribute17 =>p_rec.egd_attribute17
,p_egd_attribute18 =>p_rec.egd_attribute18
,p_egd_attribute19 =>p_rec.egd_attribute19
,p_egd_attribute20 =>p_rec.egd_attribute20
,p_egd_attribute21 =>p_rec.egd_attribute21
,p_egd_attribute22 =>p_rec.egd_attribute22
,p_egd_attribute23 =>p_rec.egd_attribute23
,p_egd_attribute24 =>p_rec.egd_attribute24
,p_egd_attribute25 =>p_rec.egd_attribute25
,p_egd_attribute26 =>p_rec.egd_attribute26
,p_egd_attribute27 =>p_rec.egd_attribute27
,p_egd_attribute28 =>p_rec.egd_attribute28
,p_egd_attribute29 =>p_rec.egd_attribute29
,p_egd_attribute30 =>p_rec.egd_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_create_dt_o =>ben_egd_shd.g_old_rec.create_dt
,p_elig_strt_dt_o =>ben_egd_shd.g_old_rec.elig_strt_dt
,p_elig_thru_dt_o =>ben_egd_shd.g_old_rec.elig_thru_dt
,p_ovrdn_flag_o =>ben_egd_shd.g_old_rec.ovrdn_flag
,p_ovrdn_thru_dt_o =>ben_egd_shd.g_old_rec.ovrdn_thru_dt
,p_inelg_rsn_cd_o =>ben_egd_shd.g_old_rec.inelg_rsn_cd
,p_dpnt_inelig_flag_o =>ben_egd_shd.g_old_rec.dpnt_inelig_flag
,p_elig_per_elctbl_chc_id_o =>ben_egd_shd.g_old_rec.elig_per_elctbl_chc_id
,p_per_in_ler_id_o =>ben_egd_shd.g_old_rec.per_in_ler_id
,p_elig_per_id_o =>ben_egd_shd.g_old_rec.elig_per_id
,p_elig_per_opt_id_o =>ben_egd_shd.g_old_rec.elig_per_opt_id
,p_elig_cvrd_dpnt_id_o =>ben_egd_shd.g_old_rec.elig_cvrd_dpnt_id
,p_dpnt_person_id_o =>ben_egd_shd.g_old_rec.dpnt_person_id
,p_business_group_id_o =>ben_egd_shd.g_old_rec.business_group_id
,p_egd_attribute_category_o =>ben_egd_shd.g_old_rec.egd_attribute_category
,p_egd_attribute1_o =>ben_egd_shd.g_old_rec.egd_attribute1
,p_egd_attribute2_o =>ben_egd_shd.g_old_rec.egd_attribute2
,p_egd_attribute3_o =>ben_egd_shd.g_old_rec.egd_attribute3
,p_egd_attribute4_o =>ben_egd_shd.g_old_rec.egd_attribute4
,p_egd_attribute5_o =>ben_egd_shd.g_old_rec.egd_attribute5
,p_egd_attribute6_o =>ben_egd_shd.g_old_rec.egd_attribute6
,p_egd_attribute7_o =>ben_egd_shd.g_old_rec.egd_attribute7
,p_egd_attribute8_o =>ben_egd_shd.g_old_rec.egd_attribute8
,p_egd_attribute9_o =>ben_egd_shd.g_old_rec.egd_attribute9
,p_egd_attribute10_o =>ben_egd_shd.g_old_rec.egd_attribute10
,p_egd_attribute11_o =>ben_egd_shd.g_old_rec.egd_attribute11
,p_egd_attribute12_o =>ben_egd_shd.g_old_rec.egd_attribute12
,p_egd_attribute13_o =>ben_egd_shd.g_old_rec.egd_attribute13
,p_egd_attribute14_o =>ben_egd_shd.g_old_rec.egd_attribute14
,p_egd_attribute15_o =>ben_egd_shd.g_old_rec.egd_attribute15
,p_egd_attribute16_o =>ben_egd_shd.g_old_rec.egd_attribute16
,p_egd_attribute17_o =>ben_egd_shd.g_old_rec.egd_attribute17
,p_egd_attribute18_o =>ben_egd_shd.g_old_rec.egd_attribute18
,p_egd_attribute19_o =>ben_egd_shd.g_old_rec.egd_attribute19
,p_egd_attribute20_o =>ben_egd_shd.g_old_rec.egd_attribute20
,p_egd_attribute21_o =>ben_egd_shd.g_old_rec.egd_attribute21
,p_egd_attribute22_o =>ben_egd_shd.g_old_rec.egd_attribute22
,p_egd_attribute23_o =>ben_egd_shd.g_old_rec.egd_attribute23
,p_egd_attribute24_o =>ben_egd_shd.g_old_rec.egd_attribute24
,p_egd_attribute25_o =>ben_egd_shd.g_old_rec.egd_attribute25
,p_egd_attribute26_o =>ben_egd_shd.g_old_rec.egd_attribute26
,p_egd_attribute27_o =>ben_egd_shd.g_old_rec.egd_attribute27
,p_egd_attribute28_o =>ben_egd_shd.g_old_rec.egd_attribute28
,p_egd_attribute29_o =>ben_egd_shd.g_old_rec.egd_attribute29
,p_egd_attribute30_o =>ben_egd_shd.g_old_rec.egd_attribute30
,p_request_id_o =>ben_egd_shd.g_old_rec.request_id
,p_program_application_id_o =>ben_egd_shd.g_old_rec.program_application_id
,p_program_id_o =>ben_egd_shd.g_old_rec.program_id
,p_program_update_date_o =>ben_egd_shd.g_old_rec.program_update_date
,p_object_version_number_o =>ben_egd_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_egd_shd.g_old_rec.program_update_date;
ben_egd_bus.update_validate(p_rec
,p_effective_date);
pre_update(p_rec);
update_dml(p_rec);
post_update(
p_effective_date,p_rec);
p_program_update_date in date default hr_api.g_date,
p_object_version_number in out nocopy number
) is
--
l_rec ben_egd_shd.g_rec_type;
p_program_update_date,
p_object_version_number
);