The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_reg_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_regn_f
set
regn_id = p_rec.regn_id,
name = p_rec.name,
organization_id = p_rec.organization_id,
business_group_id = p_rec.business_group_id,
sttry_citn_name = p_rec.sttry_citn_name,
reg_attribute_category = p_rec.reg_attribute_category,
reg_attribute1 = p_rec.reg_attribute1,
reg_attribute2 = p_rec.reg_attribute2,
reg_attribute3 = p_rec.reg_attribute3,
reg_attribute4 = p_rec.reg_attribute4,
reg_attribute5 = p_rec.reg_attribute5,
reg_attribute6 = p_rec.reg_attribute6,
reg_attribute7 = p_rec.reg_attribute7,
reg_attribute8 = p_rec.reg_attribute8,
reg_attribute9 = p_rec.reg_attribute9,
reg_attribute10 = p_rec.reg_attribute10,
reg_attribute11 = p_rec.reg_attribute11,
reg_attribute12 = p_rec.reg_attribute12,
reg_attribute13 = p_rec.reg_attribute13,
reg_attribute14 = p_rec.reg_attribute14,
reg_attribute15 = p_rec.reg_attribute15,
reg_attribute16 = p_rec.reg_attribute16,
reg_attribute17 = p_rec.reg_attribute17,
reg_attribute18 = p_rec.reg_attribute18,
reg_attribute19 = p_rec.reg_attribute19,
reg_attribute20 = p_rec.reg_attribute20,
reg_attribute21 = p_rec.reg_attribute21,
reg_attribute22 = p_rec.reg_attribute22,
reg_attribute23 = p_rec.reg_attribute23,
reg_attribute24 = p_rec.reg_attribute24,
reg_attribute25 = p_rec.reg_attribute25,
reg_attribute26 = p_rec.reg_attribute26,
reg_attribute27 = p_rec.reg_attribute27,
reg_attribute28 = p_rec.reg_attribute28,
reg_attribute29 = p_rec.reg_attribute29,
reg_attribute30 = p_rec.reg_attribute30,
object_version_number = p_rec.object_version_number
where regn_id = p_rec.regn_id
and effective_start_date = p_validation_start_date
and effective_end_date = p_validation_end_date;
update ben_regn_f_tl
set name = p_rec.name,
sttry_citn_name = p_rec.sttry_citn_name,
last_update_date = sysdate,
last_updated_by = fnd_global.user_id,
last_update_login = fnd_global.login_id,
source_lang = userenv('LANG')
where regn_id = p_rec.regn_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_reg_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_reg_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_reg_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_reg_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_reg_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_reg_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_reg_rku.after_update
(
p_regn_id =>p_rec.regn_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_organization_id =>p_rec.organization_id
,p_business_group_id =>p_rec.business_group_id
,p_sttry_citn_name =>p_rec.sttry_citn_name
,p_reg_attribute_category =>p_rec.reg_attribute_category
,p_reg_attribute1 =>p_rec.reg_attribute1
,p_reg_attribute2 =>p_rec.reg_attribute2
,p_reg_attribute3 =>p_rec.reg_attribute3
,p_reg_attribute4 =>p_rec.reg_attribute4
,p_reg_attribute5 =>p_rec.reg_attribute5
,p_reg_attribute6 =>p_rec.reg_attribute6
,p_reg_attribute7 =>p_rec.reg_attribute7
,p_reg_attribute8 =>p_rec.reg_attribute8
,p_reg_attribute9 =>p_rec.reg_attribute9
,p_reg_attribute10 =>p_rec.reg_attribute10
,p_reg_attribute11 =>p_rec.reg_attribute11
,p_reg_attribute12 =>p_rec.reg_attribute12
,p_reg_attribute13 =>p_rec.reg_attribute13
,p_reg_attribute14 =>p_rec.reg_attribute14
,p_reg_attribute15 =>p_rec.reg_attribute15
,p_reg_attribute16 =>p_rec.reg_attribute16
,p_reg_attribute17 =>p_rec.reg_attribute17
,p_reg_attribute18 =>p_rec.reg_attribute18
,p_reg_attribute19 =>p_rec.reg_attribute19
,p_reg_attribute20 =>p_rec.reg_attribute20
,p_reg_attribute21 =>p_rec.reg_attribute21
,p_reg_attribute22 =>p_rec.reg_attribute22
,p_reg_attribute23 =>p_rec.reg_attribute23
,p_reg_attribute24 =>p_rec.reg_attribute24
,p_reg_attribute25 =>p_rec.reg_attribute25
,p_reg_attribute26 =>p_rec.reg_attribute26
,p_reg_attribute27 =>p_rec.reg_attribute27
,p_reg_attribute28 =>p_rec.reg_attribute28
,p_reg_attribute29 =>p_rec.reg_attribute29
,p_reg_attribute30 =>p_rec.reg_attribute30
,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_reg_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_reg_shd.g_old_rec.effective_end_date
,p_name_o =>ben_reg_shd.g_old_rec.name
,p_organization_id_o =>ben_reg_shd.g_old_rec.organization_id
,p_business_group_id_o =>ben_reg_shd.g_old_rec.business_group_id
,p_sttry_citn_name_o =>ben_reg_shd.g_old_rec.sttry_citn_name
,p_reg_attribute_category_o =>ben_reg_shd.g_old_rec.reg_attribute_category
,p_reg_attribute1_o =>ben_reg_shd.g_old_rec.reg_attribute1
,p_reg_attribute2_o =>ben_reg_shd.g_old_rec.reg_attribute2
,p_reg_attribute3_o =>ben_reg_shd.g_old_rec.reg_attribute3
,p_reg_attribute4_o =>ben_reg_shd.g_old_rec.reg_attribute4
,p_reg_attribute5_o =>ben_reg_shd.g_old_rec.reg_attribute5
,p_reg_attribute6_o =>ben_reg_shd.g_old_rec.reg_attribute6
,p_reg_attribute7_o =>ben_reg_shd.g_old_rec.reg_attribute7
,p_reg_attribute8_o =>ben_reg_shd.g_old_rec.reg_attribute8
,p_reg_attribute9_o =>ben_reg_shd.g_old_rec.reg_attribute9
,p_reg_attribute10_o =>ben_reg_shd.g_old_rec.reg_attribute10
,p_reg_attribute11_o =>ben_reg_shd.g_old_rec.reg_attribute11
,p_reg_attribute12_o =>ben_reg_shd.g_old_rec.reg_attribute12
,p_reg_attribute13_o =>ben_reg_shd.g_old_rec.reg_attribute13
,p_reg_attribute14_o =>ben_reg_shd.g_old_rec.reg_attribute14
,p_reg_attribute15_o =>ben_reg_shd.g_old_rec.reg_attribute15
,p_reg_attribute16_o =>ben_reg_shd.g_old_rec.reg_attribute16
,p_reg_attribute17_o =>ben_reg_shd.g_old_rec.reg_attribute17
,p_reg_attribute18_o =>ben_reg_shd.g_old_rec.reg_attribute18
,p_reg_attribute19_o =>ben_reg_shd.g_old_rec.reg_attribute19
,p_reg_attribute20_o =>ben_reg_shd.g_old_rec.reg_attribute20
,p_reg_attribute21_o =>ben_reg_shd.g_old_rec.reg_attribute21
,p_reg_attribute22_o =>ben_reg_shd.g_old_rec.reg_attribute22
,p_reg_attribute23_o =>ben_reg_shd.g_old_rec.reg_attribute23
,p_reg_attribute24_o =>ben_reg_shd.g_old_rec.reg_attribute24
,p_reg_attribute25_o =>ben_reg_shd.g_old_rec.reg_attribute25
,p_reg_attribute26_o =>ben_reg_shd.g_old_rec.reg_attribute26
,p_reg_attribute27_o =>ben_reg_shd.g_old_rec.reg_attribute27
,p_reg_attribute28_o =>ben_reg_shd.g_old_rec.reg_attribute28
,p_reg_attribute29_o =>ben_reg_shd.g_old_rec.reg_attribute29
,p_reg_attribute30_o =>ben_reg_shd.g_old_rec.reg_attribute30
,p_object_version_number_o =>ben_reg_shd.g_old_rec.object_version_number
);
End post_update;
ben_reg_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);