The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_insert_dml
(p_rec in out nocopy ben_cbp_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
--
-- Cursor to select 'old' created AOL who column values
--
Cursor C_Sel1 Is
select t.created_by,
t.creation_date
from ben_cmbn_ptip_f t
where t.cmbn_ptip_id = p_rec.cmbn_ptip_id
and t.effective_start_date =
ben_cbp_shd.g_old_rec.effective_start_date
and t.effective_end_date = (p_validation_start_date - 1);
l_proc varchar2(72) := g_package||'dt_insert_dml';
l_last_update_date ben_cmbn_ptip_f.last_update_date%TYPE;
l_last_updated_by ben_cmbn_ptip_f.last_updated_by%TYPE;
l_last_update_login ben_cmbn_ptip_f.last_update_login%TYPE;
If (p_datetrack_mode <> 'INSERT') then
hr_utility.set_location(l_proc, 10);
l_last_update_date := sysdate;
l_last_updated_by := fnd_global.user_id;
l_last_update_login := fnd_global.login_id;
insert into ben_cmbn_ptip_f
( cmbn_ptip_id,
effective_start_date,
effective_end_date,
name,
business_group_id,
cbp_attribute_category,
cbp_attribute1,
cbp_attribute2,
cbp_attribute3,
cbp_attribute4,
cbp_attribute5,
cbp_attribute6,
cbp_attribute7,
cbp_attribute8,
cbp_attribute9,
cbp_attribute10,
cbp_attribute11,
cbp_attribute12,
cbp_attribute13,
cbp_attribute14,
cbp_attribute15,
cbp_attribute16,
cbp_attribute17,
cbp_attribute18,
cbp_attribute19,
cbp_attribute20,
cbp_attribute21,
cbp_attribute22,
cbp_attribute23,
cbp_attribute24,
cbp_attribute25,
cbp_attribute26,
cbp_attribute27,
cbp_attribute28,
cbp_attribute29,
cbp_attribute30,
object_version_number,
pgm_id
, created_by,
creation_date,
last_update_date,
last_updated_by,
last_update_login
)
Values
( p_rec.cmbn_ptip_id,
p_rec.effective_start_date,
p_rec.effective_end_date,
p_rec.name,
p_rec.business_group_id,
p_rec.cbp_attribute_category,
p_rec.cbp_attribute1,
p_rec.cbp_attribute2,
p_rec.cbp_attribute3,
p_rec.cbp_attribute4,
p_rec.cbp_attribute5,
p_rec.cbp_attribute6,
p_rec.cbp_attribute7,
p_rec.cbp_attribute8,
p_rec.cbp_attribute9,
p_rec.cbp_attribute10,
p_rec.cbp_attribute11,
p_rec.cbp_attribute12,
p_rec.cbp_attribute13,
p_rec.cbp_attribute14,
p_rec.cbp_attribute15,
p_rec.cbp_attribute16,
p_rec.cbp_attribute17,
p_rec.cbp_attribute18,
p_rec.cbp_attribute19,
p_rec.cbp_attribute20,
p_rec.cbp_attribute21,
p_rec.cbp_attribute22,
p_rec.cbp_attribute23,
p_rec.cbp_attribute24,
p_rec.cbp_attribute25,
p_rec.cbp_attribute26,
p_rec.cbp_attribute27,
p_rec.cbp_attribute28,
p_rec.cbp_attribute29,
p_rec.cbp_attribute30,
p_rec.object_version_number,
p_rec.pgm_id
, l_created_by,
l_creation_date,
l_last_update_date,
l_last_updated_by,
l_last_update_login
);
End dt_insert_dml;
Procedure insert_dml
(p_rec in out nocopy ben_cbp_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||'insert_dml';
dt_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 insert_dml;
Procedure pre_insert
(p_rec in out nocopy ben_cbp_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_insert';
select ben_cmbn_ptip_f_s.nextval
from sys.dual;
End pre_insert;
Procedure post_insert
(p_rec in ben_cbp_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_insert';
ben_cbp_rki.after_insert
(
p_cmbn_ptip_id =>p_rec.cmbn_ptip_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_business_group_id =>p_rec.business_group_id
,p_cbp_attribute_category =>p_rec.cbp_attribute_category
,p_cbp_attribute1 =>p_rec.cbp_attribute1
,p_cbp_attribute2 =>p_rec.cbp_attribute2
,p_cbp_attribute3 =>p_rec.cbp_attribute3
,p_cbp_attribute4 =>p_rec.cbp_attribute4
,p_cbp_attribute5 =>p_rec.cbp_attribute5
,p_cbp_attribute6 =>p_rec.cbp_attribute6
,p_cbp_attribute7 =>p_rec.cbp_attribute7
,p_cbp_attribute8 =>p_rec.cbp_attribute8
,p_cbp_attribute9 =>p_rec.cbp_attribute9
,p_cbp_attribute10 =>p_rec.cbp_attribute10
,p_cbp_attribute11 =>p_rec.cbp_attribute11
,p_cbp_attribute12 =>p_rec.cbp_attribute12
,p_cbp_attribute13 =>p_rec.cbp_attribute13
,p_cbp_attribute14 =>p_rec.cbp_attribute14
,p_cbp_attribute15 =>p_rec.cbp_attribute15
,p_cbp_attribute16 =>p_rec.cbp_attribute16
,p_cbp_attribute17 =>p_rec.cbp_attribute17
,p_cbp_attribute18 =>p_rec.cbp_attribute18
,p_cbp_attribute19 =>p_rec.cbp_attribute19
,p_cbp_attribute20 =>p_rec.cbp_attribute20
,p_cbp_attribute21 =>p_rec.cbp_attribute21
,p_cbp_attribute22 =>p_rec.cbp_attribute22
,p_cbp_attribute23 =>p_rec.cbp_attribute23
,p_cbp_attribute24 =>p_rec.cbp_attribute24
,p_cbp_attribute25 =>p_rec.cbp_attribute25
,p_cbp_attribute26 =>p_rec.cbp_attribute26
,p_cbp_attribute27 =>p_rec.cbp_attribute27
,p_cbp_attribute28 =>p_rec.cbp_attribute28
,p_cbp_attribute29 =>p_rec.cbp_attribute29
,p_cbp_attribute30 =>p_rec.cbp_attribute30
,p_object_version_number =>p_rec.object_version_number
,p_pgm_id =>p_rec.pgm_id
,p_effective_date =>p_effective_date
,p_validation_start_date =>p_validation_start_date
,p_validation_end_date =>p_validation_end_date
);
End post_insert;
l_datetrack_mode varchar2(30) := 'INSERT';
ben_cbp_bus.insert_validate
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => l_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
pre_insert
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => l_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
insert_dml
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => l_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
post_insert
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => l_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);