The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_insert_dml
(p_rec in out nocopy ben_ppe_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_prtt_prem_f t
where t.prtt_prem_id = p_rec.prtt_prem_id
and t.effective_start_date =
ben_ppe_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_prtt_prem_f.last_update_date%TYPE;
l_last_updated_by ben_prtt_prem_f.last_updated_by%TYPE;
l_last_update_login ben_prtt_prem_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_prtt_prem_f
( prtt_prem_id,
effective_start_date,
effective_end_date,
std_prem_uom,
std_prem_val,
actl_prem_id,
prtt_enrt_rslt_id,
per_in_ler_id,
business_group_id,
ppe_attribute_category,
ppe_attribute1,
ppe_attribute2,
ppe_attribute3,
ppe_attribute4,
ppe_attribute5,
ppe_attribute6,
ppe_attribute7,
ppe_attribute8,
ppe_attribute9,
ppe_attribute10,
ppe_attribute11,
ppe_attribute12,
ppe_attribute13,
ppe_attribute14,
ppe_attribute15,
ppe_attribute16,
ppe_attribute17,
ppe_attribute18,
ppe_attribute19,
ppe_attribute20,
ppe_attribute21,
ppe_attribute22,
ppe_attribute23,
ppe_attribute24,
ppe_attribute25,
ppe_attribute26,
ppe_attribute27,
ppe_attribute28,
ppe_attribute29,
ppe_attribute30,
object_version_number,
request_id,
program_application_id,
program_id,
program_update_date
, created_by,
creation_date,
last_update_date,
last_updated_by,
last_update_login
)
Values
( p_rec.prtt_prem_id,
p_rec.effective_start_date,
p_rec.effective_end_date,
p_rec.std_prem_uom,
p_rec.std_prem_val,
p_rec.actl_prem_id,
p_rec.prtt_enrt_rslt_id,
p_rec.per_in_ler_id,
p_rec.business_group_id,
p_rec.ppe_attribute_category,
p_rec.ppe_attribute1,
p_rec.ppe_attribute2,
p_rec.ppe_attribute3,
p_rec.ppe_attribute4,
p_rec.ppe_attribute5,
p_rec.ppe_attribute6,
p_rec.ppe_attribute7,
p_rec.ppe_attribute8,
p_rec.ppe_attribute9,
p_rec.ppe_attribute10,
p_rec.ppe_attribute11,
p_rec.ppe_attribute12,
p_rec.ppe_attribute13,
p_rec.ppe_attribute14,
p_rec.ppe_attribute15,
p_rec.ppe_attribute16,
p_rec.ppe_attribute17,
p_rec.ppe_attribute18,
p_rec.ppe_attribute19,
p_rec.ppe_attribute20,
p_rec.ppe_attribute21,
p_rec.ppe_attribute22,
p_rec.ppe_attribute23,
p_rec.ppe_attribute24,
p_rec.ppe_attribute25,
p_rec.ppe_attribute26,
p_rec.ppe_attribute27,
p_rec.ppe_attribute28,
p_rec.ppe_attribute29,
p_rec.ppe_attribute30,
p_rec.object_version_number,
p_rec.request_id,
p_rec.program_application_id,
p_rec.program_id,
p_rec.program_update_date
, 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_ppe_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_ppe_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_prtt_prem_f_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert
(p_rec in ben_ppe_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_ppe_rki.after_insert
(
p_prtt_prem_id =>p_rec.prtt_prem_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_std_prem_uom =>p_rec.std_prem_uom
,p_std_prem_val =>p_rec.std_prem_val
,p_actl_prem_id =>p_rec.actl_prem_id
,p_prtt_enrt_rslt_id =>p_rec.prtt_enrt_rslt_id
,p_per_in_ler_id =>p_rec.per_in_ler_id
,p_business_group_id =>p_rec.business_group_id
,p_ppe_attribute_category =>p_rec.ppe_attribute_category
,p_ppe_attribute1 =>p_rec.ppe_attribute1
,p_ppe_attribute2 =>p_rec.ppe_attribute2
,p_ppe_attribute3 =>p_rec.ppe_attribute3
,p_ppe_attribute4 =>p_rec.ppe_attribute4
,p_ppe_attribute5 =>p_rec.ppe_attribute5
,p_ppe_attribute6 =>p_rec.ppe_attribute6
,p_ppe_attribute7 =>p_rec.ppe_attribute7
,p_ppe_attribute8 =>p_rec.ppe_attribute8
,p_ppe_attribute9 =>p_rec.ppe_attribute9
,p_ppe_attribute10 =>p_rec.ppe_attribute10
,p_ppe_attribute11 =>p_rec.ppe_attribute11
,p_ppe_attribute12 =>p_rec.ppe_attribute12
,p_ppe_attribute13 =>p_rec.ppe_attribute13
,p_ppe_attribute14 =>p_rec.ppe_attribute14
,p_ppe_attribute15 =>p_rec.ppe_attribute15
,p_ppe_attribute16 =>p_rec.ppe_attribute16
,p_ppe_attribute17 =>p_rec.ppe_attribute17
,p_ppe_attribute18 =>p_rec.ppe_attribute18
,p_ppe_attribute19 =>p_rec.ppe_attribute19
,p_ppe_attribute20 =>p_rec.ppe_attribute20
,p_ppe_attribute21 =>p_rec.ppe_attribute21
,p_ppe_attribute22 =>p_rec.ppe_attribute22
,p_ppe_attribute23 =>p_rec.ppe_attribute23
,p_ppe_attribute24 =>p_rec.ppe_attribute24
,p_ppe_attribute25 =>p_rec.ppe_attribute25
,p_ppe_attribute26 =>p_rec.ppe_attribute26
,p_ppe_attribute27 =>p_rec.ppe_attribute27
,p_ppe_attribute28 =>p_rec.ppe_attribute28
,p_ppe_attribute29 =>p_rec.ppe_attribute29
,p_ppe_attribute30 =>p_rec.ppe_attribute30
,p_object_version_number =>p_rec.object_version_number
,p_request_id =>p_rec.request_id
,p_program_application_id =>p_rec.program_application_id
,p_program_id =>p_rec.program_id
,p_program_update_date =>p_rec.program_update_date
,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_ppe_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);
p_program_update_date in date default null,
p_effective_date in date
) is
--
l_rec ben_ppe_shd.g_rec_type;
p_program_update_date
);