The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_opt_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_opt_f
set
opt_id = p_rec.opt_id,
name = p_rec.name,
cmbn_ptip_opt_id = p_rec.cmbn_ptip_opt_id,
business_group_id = p_rec.business_group_id,
opt_attribute_category = p_rec.opt_attribute_category,
opt_attribute1 = p_rec.opt_attribute1,
opt_attribute2 = p_rec.opt_attribute2,
opt_attribute3 = p_rec.opt_attribute3,
opt_attribute4 = p_rec.opt_attribute4,
opt_attribute5 = p_rec.opt_attribute5,
opt_attribute6 = p_rec.opt_attribute6,
opt_attribute7 = p_rec.opt_attribute7,
opt_attribute8 = p_rec.opt_attribute8,
opt_attribute9 = p_rec.opt_attribute9,
opt_attribute10 = p_rec.opt_attribute10,
opt_attribute11 = p_rec.opt_attribute11,
opt_attribute12 = p_rec.opt_attribute12,
opt_attribute13 = p_rec.opt_attribute13,
opt_attribute14 = p_rec.opt_attribute14,
opt_attribute15 = p_rec.opt_attribute15,
opt_attribute16 = p_rec.opt_attribute16,
opt_attribute17 = p_rec.opt_attribute17,
opt_attribute18 = p_rec.opt_attribute18,
opt_attribute19 = p_rec.opt_attribute19,
opt_attribute20 = p_rec.opt_attribute20,
opt_attribute21 = p_rec.opt_attribute21,
opt_attribute22 = p_rec.opt_attribute22,
opt_attribute23 = p_rec.opt_attribute23,
opt_attribute24 = p_rec.opt_attribute24,
opt_attribute25 = p_rec.opt_attribute25,
opt_attribute26 = p_rec.opt_attribute26,
opt_attribute27 = p_rec.opt_attribute27,
opt_attribute28 = p_rec.opt_attribute28,
opt_attribute29 = p_rec.opt_attribute29,
opt_attribute30 = p_rec.opt_attribute30,
object_version_number = p_rec.object_version_number,
rqd_perd_enrt_nenrt_uom = p_rec.rqd_perd_enrt_nenrt_uom,
rqd_perd_enrt_nenrt_val = p_rec.rqd_perd_enrt_nenrt_val,
rqd_perd_enrt_nenrt_rl = p_rec.rqd_perd_enrt_nenrt_rl,
invk_wv_opt_flag = p_rec.invk_wv_opt_flag ,
short_name = p_rec.short_name,
short_code = p_rec.short_code,
legislation_code = p_rec.legislation_code,
legislation_subgroup = p_rec.legislation_subgroup,
group_opt_id = p_rec.group_opt_id,
component_reason = p_rec.component_reason,
mapping_table_name = p_rec.mapping_table_name,
mapping_table_pk_id = p_rec.mapping_table_pk_id
where opt_id = p_rec.opt_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_opt_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_opt_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_opt_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_opt_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_opt_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_opt_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_opt_rku.after_update
(
p_opt_id =>p_rec.opt_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_name =>p_rec.name
,p_cmbn_ptip_opt_id =>p_rec.cmbn_ptip_opt_id
,p_business_group_id =>p_rec.business_group_id
,p_opt_attribute_category =>p_rec.opt_attribute_category
,p_opt_attribute1 =>p_rec.opt_attribute1
,p_opt_attribute2 =>p_rec.opt_attribute2
,p_opt_attribute3 =>p_rec.opt_attribute3
,p_opt_attribute4 =>p_rec.opt_attribute4
,p_opt_attribute5 =>p_rec.opt_attribute5
,p_opt_attribute6 =>p_rec.opt_attribute6
,p_opt_attribute7 =>p_rec.opt_attribute7
,p_opt_attribute8 =>p_rec.opt_attribute8
,p_opt_attribute9 =>p_rec.opt_attribute9
,p_opt_attribute10 =>p_rec.opt_attribute10
,p_opt_attribute11 =>p_rec.opt_attribute11
,p_opt_attribute12 =>p_rec.opt_attribute12
,p_opt_attribute13 =>p_rec.opt_attribute13
,p_opt_attribute14 =>p_rec.opt_attribute14
,p_opt_attribute15 =>p_rec.opt_attribute15
,p_opt_attribute16 =>p_rec.opt_attribute16
,p_opt_attribute17 =>p_rec.opt_attribute17
,p_opt_attribute18 =>p_rec.opt_attribute18
,p_opt_attribute19 =>p_rec.opt_attribute19
,p_opt_attribute20 =>p_rec.opt_attribute20
,p_opt_attribute21 =>p_rec.opt_attribute21
,p_opt_attribute22 =>p_rec.opt_attribute22
,p_opt_attribute23 =>p_rec.opt_attribute23
,p_opt_attribute24 =>p_rec.opt_attribute24
,p_opt_attribute25 =>p_rec.opt_attribute25
,p_opt_attribute26 =>p_rec.opt_attribute26
,p_opt_attribute27 =>p_rec.opt_attribute27
,p_opt_attribute28 =>p_rec.opt_attribute28
,p_opt_attribute29 =>p_rec.opt_attribute29
,p_opt_attribute30 =>p_rec.opt_attribute30
,p_object_version_number =>p_rec.object_version_number
,p_rqd_perd_enrt_nenrt_uom =>p_rec.rqd_perd_enrt_nenrt_uom
,p_rqd_perd_enrt_nenrt_val =>p_rec.rqd_perd_enrt_nenrt_val
,p_rqd_perd_enrt_nenrt_rl =>p_rec.rqd_perd_enrt_nenrt_rl
,p_invk_wv_opt_flag =>p_rec.invk_wv_opt_flag
,p_short_name =>p_rec.short_name
,p_short_code =>p_rec.short_code
,p_legislation_code =>p_rec.legislation_code
,p_legislation_subgroup =>p_rec.legislation_subgroup
,p_group_opt_id =>p_rec.group_opt_id
,p_component_reason =>p_rec.component_reason
,p_mapping_table_name =>p_rec.mapping_table_name
,p_mapping_table_pk_id =>p_rec.mapping_table_pk_id
,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_opt_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_opt_shd.g_old_rec.effective_end_date
,p_name_o =>ben_opt_shd.g_old_rec.name
,p_cmbn_ptip_opt_id_o =>ben_opt_shd.g_old_rec.cmbn_ptip_opt_id
,p_business_group_id_o =>ben_opt_shd.g_old_rec.business_group_id
,p_opt_attribute_category_o =>ben_opt_shd.g_old_rec.opt_attribute_category
,p_opt_attribute1_o =>ben_opt_shd.g_old_rec.opt_attribute1
,p_opt_attribute2_o =>ben_opt_shd.g_old_rec.opt_attribute2
,p_opt_attribute3_o =>ben_opt_shd.g_old_rec.opt_attribute3
,p_opt_attribute4_o =>ben_opt_shd.g_old_rec.opt_attribute4
,p_opt_attribute5_o =>ben_opt_shd.g_old_rec.opt_attribute5
,p_opt_attribute6_o =>ben_opt_shd.g_old_rec.opt_attribute6
,p_opt_attribute7_o =>ben_opt_shd.g_old_rec.opt_attribute7
,p_opt_attribute8_o =>ben_opt_shd.g_old_rec.opt_attribute8
,p_opt_attribute9_o =>ben_opt_shd.g_old_rec.opt_attribute9
,p_opt_attribute10_o =>ben_opt_shd.g_old_rec.opt_attribute10
,p_opt_attribute11_o =>ben_opt_shd.g_old_rec.opt_attribute11
,p_opt_attribute12_o =>ben_opt_shd.g_old_rec.opt_attribute12
,p_opt_attribute13_o =>ben_opt_shd.g_old_rec.opt_attribute13
,p_opt_attribute14_o =>ben_opt_shd.g_old_rec.opt_attribute14
,p_opt_attribute15_o =>ben_opt_shd.g_old_rec.opt_attribute15
,p_opt_attribute16_o =>ben_opt_shd.g_old_rec.opt_attribute16
,p_opt_attribute17_o =>ben_opt_shd.g_old_rec.opt_attribute17
,p_opt_attribute18_o =>ben_opt_shd.g_old_rec.opt_attribute18
,p_opt_attribute19_o =>ben_opt_shd.g_old_rec.opt_attribute19
,p_opt_attribute20_o =>ben_opt_shd.g_old_rec.opt_attribute20
,p_opt_attribute21_o =>ben_opt_shd.g_old_rec.opt_attribute21
,p_opt_attribute22_o =>ben_opt_shd.g_old_rec.opt_attribute22
,p_opt_attribute23_o =>ben_opt_shd.g_old_rec.opt_attribute23
,p_opt_attribute24_o =>ben_opt_shd.g_old_rec.opt_attribute24
,p_opt_attribute25_o =>ben_opt_shd.g_old_rec.opt_attribute25
,p_opt_attribute26_o =>ben_opt_shd.g_old_rec.opt_attribute26
,p_opt_attribute27_o =>ben_opt_shd.g_old_rec.opt_attribute27
,p_opt_attribute28_o =>ben_opt_shd.g_old_rec.opt_attribute28
,p_opt_attribute29_o =>ben_opt_shd.g_old_rec.opt_attribute29
,p_opt_attribute30_o =>ben_opt_shd.g_old_rec.opt_attribute30
,p_object_version_number_o =>ben_opt_shd.g_old_rec.object_version_number
,p_rqd_perd_enrt_nenrt_uom_o =>ben_opt_shd.g_old_rec.rqd_perd_enrt_nenrt_uom
,p_rqd_perd_enrt_nenrt_val_o =>ben_opt_shd.g_old_rec.rqd_perd_enrt_nenrt_val
,p_rqd_perd_enrt_nenrt_rl_o =>ben_opt_shd.g_old_rec.rqd_perd_enrt_nenrt_rl
,p_invk_wv_opt_flag_o =>ben_opt_shd.g_old_rec.invk_wv_opt_flag
,p_short_name_o =>ben_opt_shd.g_old_rec.short_name
,p_short_code_o =>ben_opt_shd.g_old_rec.short_code
,p_legislation_code_o =>ben_opt_shd.g_old_rec.legislation_code
,p_legislation_subgroup_o =>ben_opt_shd.g_old_rec.legislation_subgroup
,p_group_opt_id_o =>ben_opt_shd.g_old_rec.group_opt_id
,p_component_reason_o =>ben_opt_shd.g_old_rec.component_reason
,p_mapping_table_name_o =>ben_opt_shd.g_old_rec.mapping_table_name
,p_mapping_table_pk_id_o =>ben_opt_shd.g_old_rec.mapping_table_pk_id
);
End post_update;
ben_opt_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);