The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
prtt_reimbmt_rqst_id,
effective_start_date,
effective_end_date,
incrd_from_dt,
incrd_to_dt,
rqst_num,
rqst_amt,
rqst_amt_uom,
rqst_btch_num,
prtt_reimbmt_rqst_stat_cd,
reimbmt_ctfn_typ_prvdd_cd,
rcrrg_cd,
submitter_person_id,
recipient_person_id,
provider_person_id,
provider_ssn_person_id,
pl_id,
gd_or_svc_typ_id,
contact_relationship_id,
business_group_id,
opt_id,
popl_yr_perd_id_1,
popl_yr_perd_id_2 ,
amt_year1 ,
amt_year2,
prc_attribute_category,
prc_attribute1,
prc_attribute2,
prc_attribute3,
prc_attribute4,
prc_attribute5,
prc_attribute6,
prc_attribute7,
prc_attribute8,
prc_attribute9,
prc_attribute10,
prc_attribute11,
prc_attribute12,
prc_attribute13,
prc_attribute14,
prc_attribute15,
prc_attribute16,
prc_attribute17,
prc_attribute18,
prc_attribute19,
prc_attribute20,
prc_attribute21,
prc_attribute22,
prc_attribute23,
prc_attribute24,
prc_attribute25,
prc_attribute26,
prc_attribute27,
prc_attribute28,
prc_attribute29,
prc_attribute30,
prtt_enrt_rslt_id ,
comment_id ,
object_version_number ,
stat_rsn_cd ,
pymt_stat_cd ,
pymt_stat_rsn_cd ,
stat_ovrdn_flag ,
stat_ovrdn_rsn_cd ,
stat_prr_to_ovrd ,
pymt_stat_ovrdn_flag ,
pymt_stat_ovrdn_rsn_cd ,
pymt_stat_prr_to_ovrd ,
adjmt_flag ,
submtd_dt ,
ttl_rqst_amt ,
aprvd_for_pymt_amt ,
null,
exp_incurd_dt
from ben_prtt_reimbmt_rqst_f
where prtt_reimbmt_rqst_id = p_prtt_reimbmt_rqst_id
and p_effective_date
between effective_start_date and effective_end_date;
p_delete out nocopy boolean,
p_future_change out nocopy boolean,
p_delete_next_change out nocopy boolean) is
--
l_proc varchar2(72) := g_package||'find_dt_del_modes';
select t.pl_id
from ben_prtt_reimbmt_rqst_f t
where t.prtt_reimbmt_rqst_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
p_delete => p_delete,
p_future_change => p_future_change,
p_delete_next_change => p_delete_next_change);
p_update out nocopy boolean,
p_update_override out nocopy boolean,
p_update_change_insert out nocopy boolean) is
--
l_proc varchar2(72) := g_package||'find_dt_upd_modes';
p_update => p_update,
p_update_override => p_update_override,
p_update_change_insert => p_update_change_insert);
update ben_prtt_reimbmt_rqst_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.prtt_reimbmt_rqst_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
prtt_reimbmt_rqst_id,
effective_start_date,
effective_end_date,
incrd_from_dt,
incrd_to_dt,
rqst_num,
rqst_amt,
rqst_amt_uom,
rqst_btch_num,
prtt_reimbmt_rqst_stat_cd,
reimbmt_ctfn_typ_prvdd_cd,
rcrrg_cd,
submitter_person_id,
recipient_person_id,
provider_person_id,
provider_ssn_person_id,
pl_id,
gd_or_svc_typ_id,
contact_relationship_id,
business_group_id,
opt_id,
popl_yr_perd_id_1,
popl_yr_perd_id_2 ,
amt_year1 ,
amt_year2,
prc_attribute_category,
prc_attribute1,
prc_attribute2,
prc_attribute3,
prc_attribute4,
prc_attribute5,
prc_attribute6,
prc_attribute7,
prc_attribute8,
prc_attribute9,
prc_attribute10,
prc_attribute11,
prc_attribute12,
prc_attribute13,
prc_attribute14,
prc_attribute15,
prc_attribute16,
prc_attribute17,
prc_attribute18,
prc_attribute19,
prc_attribute20,
prc_attribute21,
prc_attribute22,
prc_attribute23,
prc_attribute24,
prc_attribute25,
prc_attribute26,
prc_attribute27,
prc_attribute28,
prc_attribute29,
prc_attribute30,
prtt_enrt_rslt_id,
comment_id ,
object_version_number ,
stat_rsn_cd ,
pymt_stat_cd ,
pymt_stat_rsn_cd ,
stat_ovrdn_flag ,
stat_ovrdn_rsn_cd ,
stat_prr_to_ovrd ,
pymt_stat_ovrdn_flag ,
pymt_stat_ovrdn_rsn_cd ,
pymt_stat_prr_to_ovrd ,
adjmt_flag ,
submtd_dt ,
ttl_rqst_amt ,
aprvd_for_pymt_amt ,
null ,
exp_incurd_dt
from ben_prtt_reimbmt_rqst_f
where prtt_reimbmt_rqst_id = p_prtt_reimbmt_rqst_id
and p_effective_date
between effective_start_date and effective_end_date
for update nowait;
If (p_datetrack_mode <> 'INSERT') then
--
-- We must select and lock the current row.
--
Open C_Sel1;