The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_pbm_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_r_oipl_prem_by_mo_f
set
pl_r_oipl_prem_by_mo_id = p_rec.pl_r_oipl_prem_by_mo_id,
mnl_adj_flag = p_rec.mnl_adj_flag,
mo_num = p_rec.mo_num,
yr_num = p_rec.yr_num,
val = p_rec.val,
uom = p_rec.uom,
prtts_num = p_rec.prtts_num,
actl_prem_id = p_rec.actl_prem_id,
cost_allocation_keyflex_id = p_rec.cost_allocation_keyflex_id,
business_group_id = p_rec.business_group_id,
pbm_attribute_category = p_rec.pbm_attribute_category,
pbm_attribute1 = p_rec.pbm_attribute1,
pbm_attribute2 = p_rec.pbm_attribute2,
pbm_attribute3 = p_rec.pbm_attribute3,
pbm_attribute4 = p_rec.pbm_attribute4,
pbm_attribute5 = p_rec.pbm_attribute5,
pbm_attribute6 = p_rec.pbm_attribute6,
pbm_attribute7 = p_rec.pbm_attribute7,
pbm_attribute8 = p_rec.pbm_attribute8,
pbm_attribute9 = p_rec.pbm_attribute9,
pbm_attribute10 = p_rec.pbm_attribute10,
pbm_attribute11 = p_rec.pbm_attribute11,
pbm_attribute12 = p_rec.pbm_attribute12,
pbm_attribute13 = p_rec.pbm_attribute13,
pbm_attribute14 = p_rec.pbm_attribute14,
pbm_attribute15 = p_rec.pbm_attribute15,
pbm_attribute16 = p_rec.pbm_attribute16,
pbm_attribute17 = p_rec.pbm_attribute17,
pbm_attribute18 = p_rec.pbm_attribute18,
pbm_attribute19 = p_rec.pbm_attribute19,
pbm_attribute20 = p_rec.pbm_attribute20,
pbm_attribute21 = p_rec.pbm_attribute21,
pbm_attribute22 = p_rec.pbm_attribute22,
pbm_attribute23 = p_rec.pbm_attribute23,
pbm_attribute24 = p_rec.pbm_attribute24,
pbm_attribute25 = p_rec.pbm_attribute25,
pbm_attribute26 = p_rec.pbm_attribute26,
pbm_attribute27 = p_rec.pbm_attribute27,
pbm_attribute28 = p_rec.pbm_attribute28,
pbm_attribute29 = p_rec.pbm_attribute29,
pbm_attribute30 = p_rec.pbm_attribute30,
object_version_number = p_rec.object_version_number,
request_id = p_rec.request_id,
program_id = p_rec.program_id,
program_application_id = p_rec.program_application_id,
program_update_date = p_rec.program_update_date
where pl_r_oipl_prem_by_mo_id = p_rec.pl_r_oipl_prem_by_mo_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_pbm_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_pbm_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_pbm_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_pbm_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_pbm_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_pbm_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_pbm_rku.after_update
(
p_pl_r_oipl_prem_by_mo_id =>p_rec.pl_r_oipl_prem_by_mo_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_mnl_adj_flag =>p_rec.mnl_adj_flag
,p_mo_num =>p_rec.mo_num
,p_yr_num =>p_rec.yr_num
,p_val =>p_rec.val
,p_uom =>p_rec.uom
,p_prtts_num =>p_rec.prtts_num
,p_actl_prem_id =>p_rec.actl_prem_id
,p_cost_allocation_keyflex_id => p_rec.cost_allocation_keyflex_id
,p_business_group_id =>p_rec.business_group_id
,p_pbm_attribute_category =>p_rec.pbm_attribute_category
,p_pbm_attribute1 =>p_rec.pbm_attribute1
,p_pbm_attribute2 =>p_rec.pbm_attribute2
,p_pbm_attribute3 =>p_rec.pbm_attribute3
,p_pbm_attribute4 =>p_rec.pbm_attribute4
,p_pbm_attribute5 =>p_rec.pbm_attribute5
,p_pbm_attribute6 =>p_rec.pbm_attribute6
,p_pbm_attribute7 =>p_rec.pbm_attribute7
,p_pbm_attribute8 =>p_rec.pbm_attribute8
,p_pbm_attribute9 =>p_rec.pbm_attribute9
,p_pbm_attribute10 =>p_rec.pbm_attribute10
,p_pbm_attribute11 =>p_rec.pbm_attribute11
,p_pbm_attribute12 =>p_rec.pbm_attribute12
,p_pbm_attribute13 =>p_rec.pbm_attribute13
,p_pbm_attribute14 =>p_rec.pbm_attribute14
,p_pbm_attribute15 =>p_rec.pbm_attribute15
,p_pbm_attribute16 =>p_rec.pbm_attribute16
,p_pbm_attribute17 =>p_rec.pbm_attribute17
,p_pbm_attribute18 =>p_rec.pbm_attribute18
,p_pbm_attribute19 =>p_rec.pbm_attribute19
,p_pbm_attribute20 =>p_rec.pbm_attribute20
,p_pbm_attribute21 =>p_rec.pbm_attribute21
,p_pbm_attribute22 =>p_rec.pbm_attribute22
,p_pbm_attribute23 =>p_rec.pbm_attribute23
,p_pbm_attribute24 =>p_rec.pbm_attribute24
,p_pbm_attribute25 =>p_rec.pbm_attribute25
,p_pbm_attribute26 =>p_rec.pbm_attribute26
,p_pbm_attribute27 =>p_rec.pbm_attribute27
,p_pbm_attribute28 =>p_rec.pbm_attribute28
,p_pbm_attribute29 =>p_rec.pbm_attribute29
,p_pbm_attribute30 =>p_rec.pbm_attribute30
,p_object_version_number =>p_rec.object_version_number
,p_request_id =>p_rec.request_id
,p_program_id =>p_rec.program_id
,p_program_application_id =>p_rec.program_application_id
,p_program_update_date =>p_rec.program_update_date
,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_pbm_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_pbm_shd.g_old_rec.effective_end_date
,p_mnl_adj_flag_o =>ben_pbm_shd.g_old_rec.mnl_adj_flag
,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
,p_val_o =>ben_pbm_shd.g_old_rec.val
,p_uom_o =>ben_pbm_shd.g_old_rec.uom
,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
,p_program_id_o =>ben_pbm_shd.g_old_rec.program_id
,p_program_application_id_o =>ben_pbm_shd.g_old_rec.program_application_id
,p_program_update_date_o =>ben_pbm_shd.g_old_rec.program_update_date
);
End post_update;
If (p_rec.program_update_date = hr_api.g_date) then
p_rec.program_update_date:=
ben_pbm_shd.g_old_rec.program_update_date;
ben_pbm_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_effective_date in date,
p_datetrack_mode in varchar2
) is
--
l_rec ben_pbm_shd.g_rec_type;
p_program_update_date
);