The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_insert_dml
(p_rec in out nocopy ben_cgp_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_cntng_prtn_elig_prfl_f t
where t.cntng_prtn_elig_prfl_id = p_rec.cntng_prtn_elig_prfl_id
and t.effective_start_date =
ben_cgp_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_cntng_prtn_elig_prfl_f.last_update_date%TYPE;
l_last_updated_by ben_cntng_prtn_elig_prfl_f.last_updated_by%TYPE;
l_last_update_login ben_cntng_prtn_elig_prfl_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_cntng_prtn_elig_prfl_f
( cntng_prtn_elig_prfl_id,
effective_start_date,
effective_end_date,
business_group_id,
eligy_prfl_id,
name,
pymt_must_be_rcvd_uom,
pymt_must_be_rcvd_num,
pymt_must_be_rcvd_rl,
cgp_attribute_category,
cgp_attribute1,
cgp_attribute2,
cgp_attribute3,
cgp_attribute4,
cgp_attribute5,
cgp_attribute6,
cgp_attribute7,
cgp_attribute8,
cgp_attribute9,
cgp_attribute10,
cgp_attribute11,
cgp_attribute12,
cgp_attribute13,
cgp_attribute14,
cgp_attribute15,
cgp_attribute16,
cgp_attribute17,
cgp_attribute18,
cgp_attribute19,
cgp_attribute20,
cgp_attribute21,
cgp_attribute22,
cgp_attribute23,
cgp_attribute24,
cgp_attribute25,
cgp_attribute26,
cgp_attribute27,
cgp_attribute28,
cgp_attribute29,
cgp_attribute30,
object_version_number
, created_by,
creation_date,
last_update_date,
last_updated_by,
last_update_login
)
Values
( p_rec.cntng_prtn_elig_prfl_id,
p_rec.effective_start_date,
p_rec.effective_end_date,
p_rec.business_group_id,
p_rec.eligy_prfl_id,
p_rec.name,
p_rec.pymt_must_be_rcvd_uom,
p_rec.pymt_must_be_rcvd_num,
p_rec.pymt_must_be_rcvd_rl,
p_rec.cgp_attribute_category,
p_rec.cgp_attribute1,
p_rec.cgp_attribute2,
p_rec.cgp_attribute3,
p_rec.cgp_attribute4,
p_rec.cgp_attribute5,
p_rec.cgp_attribute6,
p_rec.cgp_attribute7,
p_rec.cgp_attribute8,
p_rec.cgp_attribute9,
p_rec.cgp_attribute10,
p_rec.cgp_attribute11,
p_rec.cgp_attribute12,
p_rec.cgp_attribute13,
p_rec.cgp_attribute14,
p_rec.cgp_attribute15,
p_rec.cgp_attribute16,
p_rec.cgp_attribute17,
p_rec.cgp_attribute18,
p_rec.cgp_attribute19,
p_rec.cgp_attribute20,
p_rec.cgp_attribute21,
p_rec.cgp_attribute22,
p_rec.cgp_attribute23,
p_rec.cgp_attribute24,
p_rec.cgp_attribute25,
p_rec.cgp_attribute26,
p_rec.cgp_attribute27,
p_rec.cgp_attribute28,
p_rec.cgp_attribute29,
p_rec.cgp_attribute30,
p_rec.object_version_number
, 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_cgp_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_cgp_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';
Cursor C_Sel1 is select ben_cntng_prtn_elig_prfl_f_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert
(p_rec in ben_cgp_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_cgp_rki.after_insert
(
p_cntng_prtn_elig_prfl_id =>p_rec.cntng_prtn_elig_prfl_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_business_group_id =>p_rec.business_group_id
,p_eligy_prfl_id =>p_rec.eligy_prfl_id
,p_name =>p_rec.name
,p_pymt_must_be_rcvd_uom =>p_rec.pymt_must_be_rcvd_uom
,p_pymt_must_be_rcvd_num =>p_rec.pymt_must_be_rcvd_num
,p_pymt_must_be_rcvd_rl =>p_rec.pymt_must_be_rcvd_rl
,p_cgp_attribute_category =>p_rec.cgp_attribute_category
,p_cgp_attribute1 =>p_rec.cgp_attribute1
,p_cgp_attribute2 =>p_rec.cgp_attribute2
,p_cgp_attribute3 =>p_rec.cgp_attribute3
,p_cgp_attribute4 =>p_rec.cgp_attribute4
,p_cgp_attribute5 =>p_rec.cgp_attribute5
,p_cgp_attribute6 =>p_rec.cgp_attribute6
,p_cgp_attribute7 =>p_rec.cgp_attribute7
,p_cgp_attribute8 =>p_rec.cgp_attribute8
,p_cgp_attribute9 =>p_rec.cgp_attribute9
,p_cgp_attribute10 =>p_rec.cgp_attribute10
,p_cgp_attribute11 =>p_rec.cgp_attribute11
,p_cgp_attribute12 =>p_rec.cgp_attribute12
,p_cgp_attribute13 =>p_rec.cgp_attribute13
,p_cgp_attribute14 =>p_rec.cgp_attribute14
,p_cgp_attribute15 =>p_rec.cgp_attribute15
,p_cgp_attribute16 =>p_rec.cgp_attribute16
,p_cgp_attribute17 =>p_rec.cgp_attribute17
,p_cgp_attribute18 =>p_rec.cgp_attribute18
,p_cgp_attribute19 =>p_rec.cgp_attribute19
,p_cgp_attribute20 =>p_rec.cgp_attribute20
,p_cgp_attribute21 =>p_rec.cgp_attribute21
,p_cgp_attribute22 =>p_rec.cgp_attribute22
,p_cgp_attribute23 =>p_rec.cgp_attribute23
,p_cgp_attribute24 =>p_rec.cgp_attribute24
,p_cgp_attribute25 =>p_rec.cgp_attribute25
,p_cgp_attribute26 =>p_rec.cgp_attribute26
,p_cgp_attribute27 =>p_rec.cgp_attribute27
,p_cgp_attribute28 =>p_rec.cgp_attribute28
,p_cgp_attribute29 =>p_rec.cgp_attribute29
,p_cgp_attribute30 =>p_rec.cgp_attribute30
,p_object_version_number =>p_rec.object_version_number
,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_cgp_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);