The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_cct_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_cm_typ_f
set
cm_typ_id = p_rec.cm_typ_id,
name = p_rec.name,
desc_txt = p_rec.desc_txt,
cm_typ_rl = p_rec.cm_typ_rl,
cm_usg_cd = p_rec.cm_usg_cd,
whnvr_trgrd_flag = p_rec.whnvr_trgrd_flag,
shrt_name = p_rec.shrt_name,
pc_kit_cd = p_rec.pc_kit_cd,
trk_mlg_flag = p_rec.trk_mlg_flag,
mx_num_avlbl_val = p_rec.mx_num_avlbl_val,
to_be_sent_dt_cd = p_rec.to_be_sent_dt_cd,
to_be_sent_dt_rl = p_rec.to_be_sent_dt_rl,
inspn_rqd_flag = p_rec.inspn_rqd_flag,
inspn_rqd_rl = p_rec.inspn_rqd_rl,
rcpent_cd = p_rec.rcpent_cd,
parnt_cm_typ_id = p_rec.parnt_cm_typ_id,
business_group_id = p_rec.business_group_id,
cct_attribute_category = p_rec.cct_attribute_category,
cct_attribute1 = p_rec.cct_attribute1,
cct_attribute10 = p_rec.cct_attribute10,
cct_attribute11 = p_rec.cct_attribute11,
cct_attribute12 = p_rec.cct_attribute12,
cct_attribute13 = p_rec.cct_attribute13,
cct_attribute14 = p_rec.cct_attribute14,
cct_attribute15 = p_rec.cct_attribute15,
cct_attribute16 = p_rec.cct_attribute16,
cct_attribute17 = p_rec.cct_attribute17,
cct_attribute18 = p_rec.cct_attribute18,
cct_attribute19 = p_rec.cct_attribute19,
cct_attribute2 = p_rec.cct_attribute2,
cct_attribute20 = p_rec.cct_attribute20,
cct_attribute21 = p_rec.cct_attribute21,
cct_attribute22 = p_rec.cct_attribute22,
cct_attribute23 = p_rec.cct_attribute23,
cct_attribute24 = p_rec.cct_attribute24,
cct_attribute25 = p_rec.cct_attribute25,
cct_attribute26 = p_rec.cct_attribute26,
cct_attribute27 = p_rec.cct_attribute27,
cct_attribute28 = p_rec.cct_attribute28,
cct_attribute29 = p_rec.cct_attribute29,
cct_attribute3 = p_rec.cct_attribute3,
cct_attribute30 = p_rec.cct_attribute30,
cct_attribute4 = p_rec.cct_attribute4,
cct_attribute5 = p_rec.cct_attribute5,
cct_attribute6 = p_rec.cct_attribute6,
cct_attribute7 = p_rec.cct_attribute7,
cct_attribute8 = p_rec.cct_attribute8,
cct_attribute9 = p_rec.cct_attribute9,
object_version_number = p_rec.object_version_number
where cm_typ_id = p_rec.cm_typ_id
and effective_start_date = p_validation_start_date
and effective_end_date = p_validation_end_date;
update ben_cm_typ_f_tl
set shrt_name = p_rec.shrt_name,
name = p_rec.name,
last_update_date = sysdate,
last_updated_by = fnd_global.user_id,
last_update_login = fnd_global.login_id,
source_lang = userenv('LANG')
where cm_typ_id = p_rec.cm_typ_id
and effective_start_date = p_validation_start_date
and effective_end_date = p_validation_end_date
and userenv('LANG') in (language, source_lang);
End dt_update_dml;
Procedure update_dml
(p_rec in out nocopy ben_cct_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_cct_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_cct_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_cct_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_cct_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_cct_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_cct_rku.after_update
(p_cm_typ_id =>p_rec.cm_typ_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_desc_txt =>p_rec.desc_txt
,p_cm_typ_rl =>p_rec.cm_typ_rl
,p_cm_usg_cd =>p_rec.cm_usg_cd
,p_whnvr_trgrd_flag =>p_rec.whnvr_trgrd_flag
,p_shrt_name =>p_rec.shrt_name
,p_pc_kit_cd =>p_rec.pc_kit_cd
,p_trk_mlg_flag =>p_rec.trk_mlg_flag
,p_mx_num_avlbl_val =>p_rec.mx_num_avlbl_val
,p_to_be_sent_dt_cd =>p_rec.to_be_sent_dt_cd
,p_to_be_sent_dt_rl =>p_rec.to_be_sent_dt_rl
,p_inspn_rqd_flag =>p_rec.inspn_rqd_flag
,p_inspn_rqd_rl =>p_rec.inspn_rqd_rl
,p_rcpent_cd =>p_rec.rcpent_cd
,p_parnt_cm_typ_id =>p_rec.parnt_cm_typ_id
,p_business_group_id =>p_rec.business_group_id
,p_cct_attribute_category =>p_rec.cct_attribute_category
,p_cct_attribute1 =>p_rec.cct_attribute1
,p_cct_attribute10 =>p_rec.cct_attribute10
,p_cct_attribute11 =>p_rec.cct_attribute11
,p_cct_attribute12 =>p_rec.cct_attribute12
,p_cct_attribute13 =>p_rec.cct_attribute13
,p_cct_attribute14 =>p_rec.cct_attribute14
,p_cct_attribute15 =>p_rec.cct_attribute15
,p_cct_attribute16 =>p_rec.cct_attribute16
,p_cct_attribute17 =>p_rec.cct_attribute17
,p_cct_attribute18 =>p_rec.cct_attribute18
,p_cct_attribute19 =>p_rec.cct_attribute19
,p_cct_attribute2 =>p_rec.cct_attribute2
,p_cct_attribute20 =>p_rec.cct_attribute20
,p_cct_attribute21 =>p_rec.cct_attribute21
,p_cct_attribute22 =>p_rec.cct_attribute22
,p_cct_attribute23 =>p_rec.cct_attribute23
,p_cct_attribute24 =>p_rec.cct_attribute24
,p_cct_attribute25 =>p_rec.cct_attribute25
,p_cct_attribute26 =>p_rec.cct_attribute26
,p_cct_attribute27 =>p_rec.cct_attribute27
,p_cct_attribute28 =>p_rec.cct_attribute28
,p_cct_attribute29 =>p_rec.cct_attribute29
,p_cct_attribute3 =>p_rec.cct_attribute3
,p_cct_attribute30 =>p_rec.cct_attribute30
,p_cct_attribute4 =>p_rec.cct_attribute4
,p_cct_attribute5 =>p_rec.cct_attribute5
,p_cct_attribute6 =>p_rec.cct_attribute6
,p_cct_attribute7 =>p_rec.cct_attribute7
,p_cct_attribute8 =>p_rec.cct_attribute8
,p_cct_attribute9 =>p_rec.cct_attribute9
,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_cct_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_cct_shd.g_old_rec.effective_end_date
,p_name_o =>ben_cct_shd.g_old_rec.name
,p_desc_txt_o =>ben_cct_shd.g_old_rec.desc_txt
,p_cm_typ_rl_o =>ben_cct_shd.g_old_rec.cm_typ_rl
,p_cm_usg_cd_o =>ben_cct_shd.g_old_rec.cm_usg_cd
,p_whnvr_trgrd_flag_o =>ben_cct_shd.g_old_rec.whnvr_trgrd_flag
,p_shrt_name_o =>ben_cct_shd.g_old_rec.shrt_name
,p_pc_kit_cd_o =>ben_cct_shd.g_old_rec.pc_kit_cd
,p_trk_mlg_flag_o =>ben_cct_shd.g_old_rec.trk_mlg_flag
,p_mx_num_avlbl_val_o =>ben_cct_shd.g_old_rec.mx_num_avlbl_val
,p_to_be_sent_dt_cd_o =>ben_cct_shd.g_old_rec.to_be_sent_dt_cd
,p_to_be_sent_dt_rl_o =>ben_cct_shd.g_old_rec.to_be_sent_dt_rl
,p_inspn_rqd_flag_o =>ben_cct_shd.g_old_rec.inspn_rqd_flag
,p_inspn_rqd_rl_o =>ben_cct_shd.g_old_rec.inspn_rqd_rl
,p_rcpent_cd_o =>ben_cct_shd.g_old_rec.rcpent_cd
,p_parnt_cm_typ_id_o =>ben_cct_shd.g_old_rec.parnt_cm_typ_id
,p_business_group_id_o =>ben_cct_shd.g_old_rec.business_group_id
,p_cct_attribute_category_o =>ben_cct_shd.g_old_rec.cct_attribute_category
,p_cct_attribute1_o =>ben_cct_shd.g_old_rec.cct_attribute1
,p_cct_attribute10_o =>ben_cct_shd.g_old_rec.cct_attribute10
,p_cct_attribute11_o =>ben_cct_shd.g_old_rec.cct_attribute11
,p_cct_attribute12_o =>ben_cct_shd.g_old_rec.cct_attribute12
,p_cct_attribute13_o =>ben_cct_shd.g_old_rec.cct_attribute13
,p_cct_attribute14_o =>ben_cct_shd.g_old_rec.cct_attribute14
,p_cct_attribute15_o =>ben_cct_shd.g_old_rec.cct_attribute15
,p_cct_attribute16_o =>ben_cct_shd.g_old_rec.cct_attribute16
,p_cct_attribute17_o =>ben_cct_shd.g_old_rec.cct_attribute17
,p_cct_attribute18_o =>ben_cct_shd.g_old_rec.cct_attribute18
,p_cct_attribute19_o =>ben_cct_shd.g_old_rec.cct_attribute19
,p_cct_attribute2_o =>ben_cct_shd.g_old_rec.cct_attribute2
,p_cct_attribute20_o =>ben_cct_shd.g_old_rec.cct_attribute20
,p_cct_attribute21_o =>ben_cct_shd.g_old_rec.cct_attribute21
,p_cct_attribute22_o =>ben_cct_shd.g_old_rec.cct_attribute22
,p_cct_attribute23_o =>ben_cct_shd.g_old_rec.cct_attribute23
,p_cct_attribute24_o =>ben_cct_shd.g_old_rec.cct_attribute24
,p_cct_attribute25_o =>ben_cct_shd.g_old_rec.cct_attribute25
,p_cct_attribute26_o =>ben_cct_shd.g_old_rec.cct_attribute26
,p_cct_attribute27_o =>ben_cct_shd.g_old_rec.cct_attribute27
,p_cct_attribute28_o =>ben_cct_shd.g_old_rec.cct_attribute28
,p_cct_attribute29_o =>ben_cct_shd.g_old_rec.cct_attribute29
,p_cct_attribute3_o =>ben_cct_shd.g_old_rec.cct_attribute3
,p_cct_attribute30_o =>ben_cct_shd.g_old_rec.cct_attribute30
,p_cct_attribute4_o =>ben_cct_shd.g_old_rec.cct_attribute4
,p_cct_attribute5_o =>ben_cct_shd.g_old_rec.cct_attribute5
,p_cct_attribute6_o =>ben_cct_shd.g_old_rec.cct_attribute6
,p_cct_attribute7_o =>ben_cct_shd.g_old_rec.cct_attribute7
,p_cct_attribute8_o =>ben_cct_shd.g_old_rec.cct_attribute8
,p_cct_attribute9_o =>ben_cct_shd.g_old_rec.cct_attribute9
,p_object_version_number_o =>ben_cct_shd.g_old_rec.object_version_number);
End post_update;
ben_cct_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);