The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_pbb_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_per_bnfts_bal_f
set
per_bnfts_bal_id = p_rec.per_bnfts_bal_id,
val = p_rec.val,
bnfts_bal_id = p_rec.bnfts_bal_id,
person_id = p_rec.person_id,
business_group_id = p_rec.business_group_id,
pbb_attribute_category = p_rec.pbb_attribute_category,
pbb_attribute1 = p_rec.pbb_attribute1,
pbb_attribute2 = p_rec.pbb_attribute2,
pbb_attribute3 = p_rec.pbb_attribute3,
pbb_attribute4 = p_rec.pbb_attribute4,
pbb_attribute5 = p_rec.pbb_attribute5,
pbb_attribute6 = p_rec.pbb_attribute6,
pbb_attribute7 = p_rec.pbb_attribute7,
pbb_attribute8 = p_rec.pbb_attribute8,
pbb_attribute9 = p_rec.pbb_attribute9,
pbb_attribute10 = p_rec.pbb_attribute10,
pbb_attribute11 = p_rec.pbb_attribute11,
pbb_attribute12 = p_rec.pbb_attribute12,
pbb_attribute13 = p_rec.pbb_attribute13,
pbb_attribute14 = p_rec.pbb_attribute14,
pbb_attribute15 = p_rec.pbb_attribute15,
pbb_attribute16 = p_rec.pbb_attribute16,
pbb_attribute17 = p_rec.pbb_attribute17,
pbb_attribute18 = p_rec.pbb_attribute18,
pbb_attribute19 = p_rec.pbb_attribute19,
pbb_attribute20 = p_rec.pbb_attribute20,
pbb_attribute21 = p_rec.pbb_attribute21,
pbb_attribute22 = p_rec.pbb_attribute22,
pbb_attribute23 = p_rec.pbb_attribute23,
pbb_attribute24 = p_rec.pbb_attribute24,
pbb_attribute25 = p_rec.pbb_attribute25,
pbb_attribute26 = p_rec.pbb_attribute26,
pbb_attribute27 = p_rec.pbb_attribute27,
pbb_attribute28 = p_rec.pbb_attribute28,
pbb_attribute29 = p_rec.pbb_attribute29,
pbb_attribute30 = p_rec.pbb_attribute30,
object_version_number = p_rec.object_version_number
where per_bnfts_bal_id = p_rec.per_bnfts_bal_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_pbb_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_pbb_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_pbb_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_pbb_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_pbb_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';
select rowid, effective_start_date, effective_end_date
from ben_per_bnfts_bal_f
where per_bnfts_bal_id = p_rec.per_bnfts_bal_id
and p_effective_date between
effective_start_date and effective_end_date;
select rowid
from ben_per_bnfts_bal_f
where per_bnfts_bal_id = p_rec.per_bnfts_bal_id
and p_effective_date -1 between
effective_start_date and effective_end_date;
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_pbb_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_pbb_rku.after_update
(
p_per_bnfts_bal_id =>p_rec.per_bnfts_bal_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_val =>p_rec.val
,p_bnfts_bal_id =>p_rec.bnfts_bal_id
,p_person_id =>p_rec.person_id
,p_business_group_id =>p_rec.business_group_id
,p_pbb_attribute_category =>p_rec.pbb_attribute_category
,p_pbb_attribute1 =>p_rec.pbb_attribute1
,p_pbb_attribute2 =>p_rec.pbb_attribute2
,p_pbb_attribute3 =>p_rec.pbb_attribute3
,p_pbb_attribute4 =>p_rec.pbb_attribute4
,p_pbb_attribute5 =>p_rec.pbb_attribute5
,p_pbb_attribute6 =>p_rec.pbb_attribute6
,p_pbb_attribute7 =>p_rec.pbb_attribute7
,p_pbb_attribute8 =>p_rec.pbb_attribute8
,p_pbb_attribute9 =>p_rec.pbb_attribute9
,p_pbb_attribute10 =>p_rec.pbb_attribute10
,p_pbb_attribute11 =>p_rec.pbb_attribute11
,p_pbb_attribute12 =>p_rec.pbb_attribute12
,p_pbb_attribute13 =>p_rec.pbb_attribute13
,p_pbb_attribute14 =>p_rec.pbb_attribute14
,p_pbb_attribute15 =>p_rec.pbb_attribute15
,p_pbb_attribute16 =>p_rec.pbb_attribute16
,p_pbb_attribute17 =>p_rec.pbb_attribute17
,p_pbb_attribute18 =>p_rec.pbb_attribute18
,p_pbb_attribute19 =>p_rec.pbb_attribute19
,p_pbb_attribute20 =>p_rec.pbb_attribute20
,p_pbb_attribute21 =>p_rec.pbb_attribute21
,p_pbb_attribute22 =>p_rec.pbb_attribute22
,p_pbb_attribute23 =>p_rec.pbb_attribute23
,p_pbb_attribute24 =>p_rec.pbb_attribute24
,p_pbb_attribute25 =>p_rec.pbb_attribute25
,p_pbb_attribute26 =>p_rec.pbb_attribute26
,p_pbb_attribute27 =>p_rec.pbb_attribute27
,p_pbb_attribute28 =>p_rec.pbb_attribute28
,p_pbb_attribute29 =>p_rec.pbb_attribute29
,p_pbb_attribute30 =>p_rec.pbb_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_pbb_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_pbb_shd.g_old_rec.effective_end_date
,p_val_o =>ben_pbb_shd.g_old_rec.val
,p_bnfts_bal_id_o =>ben_pbb_shd.g_old_rec.bnfts_bal_id
,p_person_id_o =>ben_pbb_shd.g_old_rec.person_id
,p_business_group_id_o =>ben_pbb_shd.g_old_rec.business_group_id
,p_pbb_attribute_category_o =>ben_pbb_shd.g_old_rec.pbb_attribute_category
,p_pbb_attribute1_o =>ben_pbb_shd.g_old_rec.pbb_attribute1
,p_pbb_attribute2_o =>ben_pbb_shd.g_old_rec.pbb_attribute2
,p_pbb_attribute3_o =>ben_pbb_shd.g_old_rec.pbb_attribute3
,p_pbb_attribute4_o =>ben_pbb_shd.g_old_rec.pbb_attribute4
,p_pbb_attribute5_o =>ben_pbb_shd.g_old_rec.pbb_attribute5
,p_pbb_attribute6_o =>ben_pbb_shd.g_old_rec.pbb_attribute6
,p_pbb_attribute7_o =>ben_pbb_shd.g_old_rec.pbb_attribute7
,p_pbb_attribute8_o =>ben_pbb_shd.g_old_rec.pbb_attribute8
,p_pbb_attribute9_o =>ben_pbb_shd.g_old_rec.pbb_attribute9
,p_pbb_attribute10_o =>ben_pbb_shd.g_old_rec.pbb_attribute10
,p_pbb_attribute11_o =>ben_pbb_shd.g_old_rec.pbb_attribute11
,p_pbb_attribute12_o =>ben_pbb_shd.g_old_rec.pbb_attribute12
,p_pbb_attribute13_o =>ben_pbb_shd.g_old_rec.pbb_attribute13
,p_pbb_attribute14_o =>ben_pbb_shd.g_old_rec.pbb_attribute14
,p_pbb_attribute15_o =>ben_pbb_shd.g_old_rec.pbb_attribute15
,p_pbb_attribute16_o =>ben_pbb_shd.g_old_rec.pbb_attribute16
,p_pbb_attribute17_o =>ben_pbb_shd.g_old_rec.pbb_attribute17
,p_pbb_attribute18_o =>ben_pbb_shd.g_old_rec.pbb_attribute18
,p_pbb_attribute19_o =>ben_pbb_shd.g_old_rec.pbb_attribute19
,p_pbb_attribute20_o =>ben_pbb_shd.g_old_rec.pbb_attribute20
,p_pbb_attribute21_o =>ben_pbb_shd.g_old_rec.pbb_attribute21
,p_pbb_attribute22_o =>ben_pbb_shd.g_old_rec.pbb_attribute22
,p_pbb_attribute23_o =>ben_pbb_shd.g_old_rec.pbb_attribute23
,p_pbb_attribute24_o =>ben_pbb_shd.g_old_rec.pbb_attribute24
,p_pbb_attribute25_o =>ben_pbb_shd.g_old_rec.pbb_attribute25
,p_pbb_attribute26_o =>ben_pbb_shd.g_old_rec.pbb_attribute26
,p_pbb_attribute27_o =>ben_pbb_shd.g_old_rec.pbb_attribute27
,p_pbb_attribute28_o =>ben_pbb_shd.g_old_rec.pbb_attribute28
,p_pbb_attribute29_o =>ben_pbb_shd.g_old_rec.pbb_attribute29
,p_pbb_attribute30_o =>ben_pbb_shd.g_old_rec.pbb_attribute30
,p_object_version_number_o =>ben_pbb_shd.g_old_rec.object_version_number
);
End post_update;
ben_pbb_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);