The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_insert_dml
(p_rec in out nocopy ben_dpnt_edc_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_dpnt_eligy_crit_values_f t
where t.dpnt_eligy_crit_values_id = p_rec.dpnt_eligy_crit_values_id
and t.effective_start_date = ben_dpnt_edc_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_dpnt_eligy_crit_values_f.last_update_date%TYPE;
l_last_updated_by ben_dpnt_eligy_crit_values_f.last_updated_by%TYPE;
l_last_update_login ben_dpnt_eligy_crit_values_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_dpnt_eligy_crit_values_f
(
dpnt_eligy_crit_values_id,
dpnt_cvg_eligy_prfl_id,
eligy_criteria_dpnt_id,
effective_start_date,
effective_end_date,
ordr_num,
number_value1,
number_value2,
char_value1,
char_value2,
date_value1,
date_value2,
excld_flag,
business_group_id,
edc_attribute_category,
edc_attribute1,
edc_attribute2,
edc_attribute3,
edc_attribute4,
edc_attribute5,
edc_attribute6,
edc_attribute7,
edc_attribute8,
edc_attribute9,
edc_attribute10,
edc_attribute11,
edc_attribute12,
edc_attribute13,
edc_attribute14,
edc_attribute15,
edc_attribute16,
edc_attribute17,
edc_attribute18,
edc_attribute19,
edc_attribute20,
edc_attribute21,
edc_attribute22,
edc_attribute23,
edc_attribute24,
edc_attribute25,
edc_attribute26,
edc_attribute27,
edc_attribute28,
edc_attribute29,
edc_attribute30,
object_version_number,
created_by,
creation_date,
last_update_date,
last_updated_by,
last_update_login,
char_value3,
char_value4,
number_value3,
number_value4,
date_value3,
date_value4
)
values
(
p_rec.dpnt_eligy_crit_values_id,
p_rec.dpnt_cvg_eligy_prfl_id,
p_rec.eligy_criteria_dpnt_id,
p_rec.effective_start_date,
p_rec.effective_end_date,
p_rec.ordr_num,
p_rec.number_value1,
p_rec.number_value2,
p_rec.char_value1,
p_rec.char_value2,
p_rec.date_value1,
p_rec.date_value2,
p_rec.excld_flag,
p_rec.business_group_id,
p_rec.edc_attribute_category,
p_rec.edc_attribute1,
p_rec.edc_attribute2,
p_rec.edc_attribute3,
p_rec.edc_attribute4,
p_rec.edc_attribute5,
p_rec.edc_attribute6,
p_rec.edc_attribute7,
p_rec.edc_attribute8,
p_rec.edc_attribute9,
p_rec.edc_attribute10,
p_rec.edc_attribute11,
p_rec.edc_attribute12,
p_rec.edc_attribute13,
p_rec.edc_attribute14,
p_rec.edc_attribute15,
p_rec.edc_attribute16,
p_rec.edc_attribute17,
p_rec.edc_attribute18,
p_rec.edc_attribute19,
p_rec.edc_attribute20,
p_rec.edc_attribute21,
p_rec.edc_attribute22,
p_rec.edc_attribute23,
p_rec.edc_attribute24,
p_rec.edc_attribute25,
p_rec.edc_attribute26,
p_rec.edc_attribute27,
p_rec.edc_attribute28,
p_rec.edc_attribute29,
p_rec.edc_attribute30,
p_rec.object_version_number,
l_created_by,
l_creation_date,
l_last_update_date,
l_last_updated_by,
l_last_update_login,
p_rec.char_value3,
p_rec.char_value4,
p_rec.number_value3,
p_rec.number_value4,
p_rec.date_value3,
p_rec.date_value4
);
End dt_insert_dml;
Procedure insert_dml
(p_rec in out nocopy ben_dpnt_edc_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_dpnt_edc_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_dpnt_eligy_crit_values_f_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert
(p_rec in ben_dpnt_edc_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_dpnt_edc_rki.after_insert
(
p_dpnt_eligy_crit_values_id => p_rec.dpnt_eligy_crit_values_id
,p_dpnt_cvg_eligy_prfl_id => p_rec.dpnt_cvg_eligy_prfl_id
,p_eligy_criteria_dpnt_id => p_rec.eligy_criteria_dpnt_id
,p_effective_start_date => p_rec.effective_start_date
,p_effective_end_date => p_rec.effective_end_date
,p_ordr_num => p_rec.ordr_num
,p_number_value1 => p_rec.number_value1
,p_number_value2 => p_rec.number_value2
,p_char_value1 => p_rec.char_value1
,p_char_value2 => p_rec.char_value2
,p_date_value1 => p_rec.date_value1
,p_date_value2 => p_rec.date_value2
,p_excld_flag => p_rec.excld_flag
,p_business_group_id => p_rec.business_group_id
,p_edc_attribute_category => p_rec.edc_attribute_category
,p_edc_attribute1 => p_rec.edc_attribute1
,p_edc_attribute2 => p_rec.edc_attribute2
,p_edc_attribute3 => p_rec.edc_attribute3
,p_edc_attribute4 => p_rec.edc_attribute4
,p_edc_attribute5 => p_rec.edc_attribute5
,p_edc_attribute6 => p_rec.edc_attribute6
,p_edc_attribute7 => p_rec.edc_attribute7
,p_edc_attribute8 => p_rec.edc_attribute8
,p_edc_attribute9 => p_rec.edc_attribute9
,p_edc_attribute10 => p_rec.edc_attribute10
,p_edc_attribute11 => p_rec.edc_attribute11
,p_edc_attribute12 => p_rec.edc_attribute12
,p_edc_attribute13 => p_rec.edc_attribute13
,p_edc_attribute14 => p_rec.edc_attribute14
,p_edc_attribute15 => p_rec.edc_attribute15
,p_edc_attribute16 => p_rec.edc_attribute16
,p_edc_attribute17 => p_rec.edc_attribute17
,p_edc_attribute18 => p_rec.edc_attribute18
,p_edc_attribute19 => p_rec.edc_attribute19
,p_edc_attribute20 => p_rec.edc_attribute20
,p_edc_attribute21 => p_rec.edc_attribute21
,p_edc_attribute22 => p_rec.edc_attribute22
,p_edc_attribute23 => p_rec.edc_attribute23
,p_edc_attribute24 => p_rec.edc_attribute24
,p_edc_attribute25 => p_rec.edc_attribute25
,p_edc_attribute26 => p_rec.edc_attribute26
,p_edc_attribute27 => p_rec.edc_attribute27
,p_edc_attribute28 => p_rec.edc_attribute28
,p_edc_attribute29 => p_rec.edc_attribute29
,p_edc_attribute30 => p_rec.edc_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
,p_char_value3 => p_rec.char_value3
,p_char_value4 => p_rec.char_value4
,p_number_value3 => p_rec.number_value3
,p_number_value4 => p_rec.number_value4
,p_date_value3 => p_rec.date_value3
,p_date_value4 => p_rec.date_value4
);
End post_insert;
l_datetrack_mode varchar2(30) := 'INSERT';
ben_dpnt_edc_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);