[Home] [Help]
The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy ben_ccp_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_cvrd_dpnt_ctfn_prvdd_f
set
cvrd_dpnt_ctfn_prvdd_id = p_rec.cvrd_dpnt_ctfn_prvdd_id,
dpnt_dsgn_ctfn_typ_cd = p_rec.dpnt_dsgn_ctfn_typ_cd,
dpnt_dsgn_ctfn_rqd_flag = p_rec.dpnt_dsgn_ctfn_rqd_flag,
dpnt_dsgn_ctfn_recd_dt = p_rec.dpnt_dsgn_ctfn_recd_dt,
elig_cvrd_dpnt_id = p_rec.elig_cvrd_dpnt_id,
prtt_enrt_actn_id = p_rec.prtt_enrt_actn_id,
business_group_id = p_rec.business_group_id,
ccp_attribute_category = p_rec.ccp_attribute_category,
ccp_attribute1 = p_rec.ccp_attribute1,
ccp_attribute2 = p_rec.ccp_attribute2,
ccp_attribute3 = p_rec.ccp_attribute3,
ccp_attribute4 = p_rec.ccp_attribute4,
ccp_attribute5 = p_rec.ccp_attribute5,
ccp_attribute6 = p_rec.ccp_attribute6,
ccp_attribute7 = p_rec.ccp_attribute7,
ccp_attribute8 = p_rec.ccp_attribute8,
ccp_attribute9 = p_rec.ccp_attribute9,
ccp_attribute10 = p_rec.ccp_attribute10,
ccp_attribute11 = p_rec.ccp_attribute11,
ccp_attribute12 = p_rec.ccp_attribute12,
ccp_attribute13 = p_rec.ccp_attribute13,
ccp_attribute14 = p_rec.ccp_attribute14,
ccp_attribute15 = p_rec.ccp_attribute15,
ccp_attribute16 = p_rec.ccp_attribute16,
ccp_attribute17 = p_rec.ccp_attribute17,
ccp_attribute18 = p_rec.ccp_attribute18,
ccp_attribute19 = p_rec.ccp_attribute19,
ccp_attribute20 = p_rec.ccp_attribute20,
ccp_attribute21 = p_rec.ccp_attribute21,
ccp_attribute22 = p_rec.ccp_attribute22,
ccp_attribute23 = p_rec.ccp_attribute23,
ccp_attribute24 = p_rec.ccp_attribute24,
ccp_attribute25 = p_rec.ccp_attribute25,
ccp_attribute26 = p_rec.ccp_attribute26,
ccp_attribute27 = p_rec.ccp_attribute27,
ccp_attribute28 = p_rec.ccp_attribute28,
ccp_attribute29 = p_rec.ccp_attribute29,
ccp_attribute30 = p_rec.ccp_attribute30,
request_id = p_rec.request_id,
program_application_id = p_rec.program_application_id,
program_id = p_rec.program_id,
program_update_date = p_rec.program_update_date,
object_version_number = p_rec.object_version_number
where cvrd_dpnt_ctfn_prvdd_id = p_rec.cvrd_dpnt_ctfn_prvdd_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_ccp_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_ccp_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_ccp_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_ccp_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_ccp_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';
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_ccp_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_ccp_rku.after_update
(
p_cvrd_dpnt_ctfn_prvdd_id =>p_rec.cvrd_dpnt_ctfn_prvdd_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_dpnt_dsgn_ctfn_typ_cd =>p_rec.dpnt_dsgn_ctfn_typ_cd
,p_dpnt_dsgn_ctfn_rqd_flag =>p_rec.dpnt_dsgn_ctfn_rqd_flag
,p_dpnt_dsgn_ctfn_recd_dt =>p_rec.dpnt_dsgn_ctfn_recd_dt
,p_elig_cvrd_dpnt_id =>p_rec.elig_cvrd_dpnt_id
,p_prtt_enrt_actn_id =>p_rec.prtt_enrt_actn_id
,p_business_group_id =>p_rec.business_group_id
,p_ccp_attribute_category =>p_rec.ccp_attribute_category
,p_ccp_attribute1 =>p_rec.ccp_attribute1
,p_ccp_attribute2 =>p_rec.ccp_attribute2
,p_ccp_attribute3 =>p_rec.ccp_attribute3
,p_ccp_attribute4 =>p_rec.ccp_attribute4
,p_ccp_attribute5 =>p_rec.ccp_attribute5
,p_ccp_attribute6 =>p_rec.ccp_attribute6
,p_ccp_attribute7 =>p_rec.ccp_attribute7
,p_ccp_attribute8 =>p_rec.ccp_attribute8
,p_ccp_attribute9 =>p_rec.ccp_attribute9
,p_ccp_attribute10 =>p_rec.ccp_attribute10
,p_ccp_attribute11 =>p_rec.ccp_attribute11
,p_ccp_attribute12 =>p_rec.ccp_attribute12
,p_ccp_attribute13 =>p_rec.ccp_attribute13
,p_ccp_attribute14 =>p_rec.ccp_attribute14
,p_ccp_attribute15 =>p_rec.ccp_attribute15
,p_ccp_attribute16 =>p_rec.ccp_attribute16
,p_ccp_attribute17 =>p_rec.ccp_attribute17
,p_ccp_attribute18 =>p_rec.ccp_attribute18
,p_ccp_attribute19 =>p_rec.ccp_attribute19
,p_ccp_attribute20 =>p_rec.ccp_attribute20
,p_ccp_attribute21 =>p_rec.ccp_attribute21
,p_ccp_attribute22 =>p_rec.ccp_attribute22
,p_ccp_attribute23 =>p_rec.ccp_attribute23
,p_ccp_attribute24 =>p_rec.ccp_attribute24
,p_ccp_attribute25 =>p_rec.ccp_attribute25
,p_ccp_attribute26 =>p_rec.ccp_attribute26
,p_ccp_attribute27 =>p_rec.ccp_attribute27
,p_ccp_attribute28 =>p_rec.ccp_attribute28
,p_ccp_attribute29 =>p_rec.ccp_attribute29
,p_ccp_attribute30 =>p_rec.ccp_attribute30
,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_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_ccp_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>ben_ccp_shd.g_old_rec.effective_end_date
,p_dpnt_dsgn_ctfn_typ_cd_o =>ben_ccp_shd.g_old_rec.dpnt_dsgn_ctfn_typ_cd
,p_dpnt_dsgn_ctfn_rqd_flag_o =>ben_ccp_shd.g_old_rec.dpnt_dsgn_ctfn_rqd_flag
,p_dpnt_dsgn_ctfn_recd_dt_o =>ben_ccp_shd.g_old_rec.dpnt_dsgn_ctfn_recd_dt
,p_elig_cvrd_dpnt_id_o =>ben_ccp_shd.g_old_rec.elig_cvrd_dpnt_id
,p_prtt_enrt_actn_id_o =>ben_ccp_shd.g_old_rec.prtt_enrt_actn_id
,p_business_group_id_o =>ben_ccp_shd.g_old_rec.business_group_id
,p_ccp_attribute_category_o =>ben_ccp_shd.g_old_rec.ccp_attribute_category
,p_ccp_attribute1_o =>ben_ccp_shd.g_old_rec.ccp_attribute1
,p_ccp_attribute2_o =>ben_ccp_shd.g_old_rec.ccp_attribute2
,p_ccp_attribute3_o =>ben_ccp_shd.g_old_rec.ccp_attribute3
,p_ccp_attribute4_o =>ben_ccp_shd.g_old_rec.ccp_attribute4
,p_ccp_attribute5_o =>ben_ccp_shd.g_old_rec.ccp_attribute5
,p_ccp_attribute6_o =>ben_ccp_shd.g_old_rec.ccp_attribute6
,p_ccp_attribute7_o =>ben_ccp_shd.g_old_rec.ccp_attribute7
,p_ccp_attribute8_o =>ben_ccp_shd.g_old_rec.ccp_attribute8
,p_ccp_attribute9_o =>ben_ccp_shd.g_old_rec.ccp_attribute9
,p_ccp_attribute10_o =>ben_ccp_shd.g_old_rec.ccp_attribute10
,p_ccp_attribute11_o =>ben_ccp_shd.g_old_rec.ccp_attribute11
,p_ccp_attribute12_o =>ben_ccp_shd.g_old_rec.ccp_attribute12
,p_ccp_attribute13_o =>ben_ccp_shd.g_old_rec.ccp_attribute13
,p_ccp_attribute14_o =>ben_ccp_shd.g_old_rec.ccp_attribute14
,p_ccp_attribute15_o =>ben_ccp_shd.g_old_rec.ccp_attribute15
,p_ccp_attribute16_o =>ben_ccp_shd.g_old_rec.ccp_attribute16
,p_ccp_attribute17_o =>ben_ccp_shd.g_old_rec.ccp_attribute17
,p_ccp_attribute18_o =>ben_ccp_shd.g_old_rec.ccp_attribute18
,p_ccp_attribute19_o =>ben_ccp_shd.g_old_rec.ccp_attribute19
,p_ccp_attribute20_o =>ben_ccp_shd.g_old_rec.ccp_attribute20
,p_ccp_attribute21_o =>ben_ccp_shd.g_old_rec.ccp_attribute21
,p_ccp_attribute22_o =>ben_ccp_shd.g_old_rec.ccp_attribute22
,p_ccp_attribute23_o =>ben_ccp_shd.g_old_rec.ccp_attribute23
,p_ccp_attribute24_o =>ben_ccp_shd.g_old_rec.ccp_attribute24
,p_ccp_attribute25_o =>ben_ccp_shd.g_old_rec.ccp_attribute25
,p_ccp_attribute26_o =>ben_ccp_shd.g_old_rec.ccp_attribute26
,p_ccp_attribute27_o =>ben_ccp_shd.g_old_rec.ccp_attribute27
,p_ccp_attribute28_o =>ben_ccp_shd.g_old_rec.ccp_attribute28
,p_ccp_attribute29_o =>ben_ccp_shd.g_old_rec.ccp_attribute29
,p_ccp_attribute30_o =>ben_ccp_shd.g_old_rec.ccp_attribute30
,p_request_id_o =>ben_ccp_shd.g_old_rec.request_id
,p_program_application_id_o =>ben_ccp_shd.g_old_rec.program_application_id
,p_program_id_o =>ben_ccp_shd.g_old_rec.program_id
,p_program_update_date_o =>ben_ccp_shd.g_old_rec.program_update_date
,p_object_version_number_o =>ben_ccp_shd.g_old_rec.object_version_number
);
End post_update;
If (p_rec.program_update_date = hr_api.g_date) then
p_rec.program_update_date :=
ben_ccp_shd.g_old_rec.program_update_date;
ben_ccp_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);
p_program_update_date in date default hr_api.g_date,
p_object_version_number in out nocopy number,
p_effective_date in date,
p_datetrack_mode in varchar2
) is
--
l_rec ben_ccp_shd.g_rec_type;
p_program_update_date,
p_object_version_number
);