The following lines contain the word 'select', 'insert', 'update' or 'delete':
select 'x' from
ben_pl_gd_r_svc_ctfn_f
where pl_gd_or_svc_id = p_pl_gd_or_svc_id
and p_effective_date between
effective_start_date and
effective_end_date ;
select 'x' from
ben_pl_gd_r_svc_ctfn_f pct,
ben_prtt_clm_gd_or_svc_typ pcg
where pcg.prtt_reimbmt_rqst_id = p_prtt_reimbmt_rqst_id
and pct.pl_gd_or_svc_id = pcg.pl_gd_or_svc_id
and p_effective_date between
pct.effective_start_date and
pct.effective_end_date ;
select 'x' from
ben_prtt_rmt_rqst_ctfn_prvdd_f
where prtt_clm_gd_or_svc_typ_id = p_prtt_clm_gd_or_svc_typ_id
and reimbmt_ctfn_recd_dt is null
and p_effective_date between
effective_start_date and
effective_end_date ;
select 'x' from
ben_prtt_rmt_rqst_ctfn_prvdd_f pqc,
ben_prtt_clm_gd_or_svc_typ pcg
where pcg.prtt_reimbmt_rqst_id = p_prtt_reimbmt_rqst_id
and pqc.prtt_clm_gd_or_svc_typ_id = pcg.prtt_clm_gd_or_svc_typ_id
and pqc.reimbmt_ctfn_recd_dt is null
and p_effective_date between
pqc.effective_start_date and
pqc.effective_end_date ;
select prc.pl_id,asg.assignment_id
from ben_prtt_reimbmt_rqst_f prc ,
per_all_assignments_f asg
where prc.prtt_reimbmt_rqst_id = p_prtt_reimbmt_rqst_id
and p_effective_date between
prc.effective_start_date and prc.effective_end_date
and asg.person_id = prc.submitter_person_id
and asg.assignment_type <> 'C'
and asg.primary_flag = 'Y'
and p_effective_date between
asg.effective_start_date and asg.effective_end_date ;
select 'x'
from ben_prtt_rmt_rqst_ctfn_prvdd_f
where prtt_clm_gd_or_svc_typ_id = p_prtt_clm_gd_or_svc_typ_id
and p_pl_gd_r_svc_ctfn_id = p_pl_gd_r_svc_ctfn_id
and nvl(reimbmt_ctfn_typ_cd,-1) = nvl(p_reimbmt_ctfn_typ_cd ,-1)
and p_effective_date between effective_start_date
and effective_end_Date ;
select * from
ben_pl_gd_r_svc_ctfn_f
where pl_gd_or_svc_id = p_pl_gd_or_svc_id
and p_effective_date between
effective_start_date and
effective_end_date ;
procedure update_PRTT_CLM_GD_R_SVC_TYP
(p_validate in boolean default false
,p_prtt_clm_gd_or_svc_typ_id in number
,p_prtt_reimbmt_rqst_id in number default hr_api.g_number
,p_gd_or_svc_typ_id in number default hr_api.g_number
,p_business_group_id in number default hr_api.g_number
,p_pcg_attribute_category in varchar2 default hr_api.g_varchar2
,p_pcg_attribute1 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute2 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute3 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute4 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute5 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute6 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute7 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute8 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute9 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute10 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute11 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute12 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute13 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute14 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute15 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute16 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute17 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute18 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute19 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute20 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute21 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute22 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute23 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute24 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute25 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute26 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute27 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute28 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute29 in varchar2 default hr_api.g_varchar2
,p_pcg_attribute30 in varchar2 default hr_api.g_varchar2
,p_object_version_number in out nocopy number
,p_pl_gd_or_svc_id in number default hr_api.g_number
,p_effective_date in date default null
) is
--
-- Declare cursors and local variables
--
l_proc varchar2(72) := g_package||'update_PRTT_CLM_GD_R_SVC_TYP';
select * from
ben_pl_gd_r_svc_ctfn_f
where pl_gd_or_svc_id = p_pl_gd_or_svc_id
and p_effective_date between
effective_start_date and
effective_end_date ;
savepoint update_PRTT_CLM_GD_R_SVC_TYP;
ben_PRTT_CLM_GD_R_SVC_TYP_bk2.update_PRTT_CLM_GD_R_SVC_TYP_b
(
p_prtt_clm_gd_or_svc_typ_id => p_prtt_clm_gd_or_svc_typ_id
,p_prtt_reimbmt_rqst_id => p_prtt_reimbmt_rqst_id
,p_gd_or_svc_typ_id => p_gd_or_svc_typ_id
,p_business_group_id => p_business_group_id
,p_pcg_attribute_category => p_pcg_attribute_category
,p_pcg_attribute1 => p_pcg_attribute1
,p_pcg_attribute2 => p_pcg_attribute2
,p_pcg_attribute3 => p_pcg_attribute3
,p_pcg_attribute4 => p_pcg_attribute4
,p_pcg_attribute5 => p_pcg_attribute5
,p_pcg_attribute6 => p_pcg_attribute6
,p_pcg_attribute7 => p_pcg_attribute7
,p_pcg_attribute8 => p_pcg_attribute8
,p_pcg_attribute9 => p_pcg_attribute9
,p_pcg_attribute10 => p_pcg_attribute10
,p_pcg_attribute11 => p_pcg_attribute11
,p_pcg_attribute12 => p_pcg_attribute12
,p_pcg_attribute13 => p_pcg_attribute13
,p_pcg_attribute14 => p_pcg_attribute14
,p_pcg_attribute15 => p_pcg_attribute15
,p_pcg_attribute16 => p_pcg_attribute16
,p_pcg_attribute17 => p_pcg_attribute17
,p_pcg_attribute18 => p_pcg_attribute18
,p_pcg_attribute19 => p_pcg_attribute19
,p_pcg_attribute20 => p_pcg_attribute20
,p_pcg_attribute21 => p_pcg_attribute21
,p_pcg_attribute22 => p_pcg_attribute22
,p_pcg_attribute23 => p_pcg_attribute23
,p_pcg_attribute24 => p_pcg_attribute24
,p_pcg_attribute25 => p_pcg_attribute25
,p_pcg_attribute26 => p_pcg_attribute26
,p_pcg_attribute27 => p_pcg_attribute27
,p_pcg_attribute28 => p_pcg_attribute28
,p_pcg_attribute29 => p_pcg_attribute29
,p_pcg_attribute30 => p_pcg_attribute30
,p_object_version_number => p_object_version_number
,p_pl_gd_or_svc_id => p_pl_gd_or_svc_id
);
(p_module_name => 'UPDATE_PRTT_CLM_GD_R_SVC_TYP'
,p_hook_type => 'BP'
);
ben_PRTT_CLM_GD_R_SVC_TYP_bk2.update_PRTT_CLM_GD_R_SVC_TYP_a
(
p_prtt_clm_gd_or_svc_typ_id => p_prtt_clm_gd_or_svc_typ_id
,p_prtt_reimbmt_rqst_id => p_prtt_reimbmt_rqst_id
,p_gd_or_svc_typ_id => p_gd_or_svc_typ_id
,p_business_group_id => p_business_group_id
,p_pcg_attribute_category => p_pcg_attribute_category
,p_pcg_attribute1 => p_pcg_attribute1
,p_pcg_attribute2 => p_pcg_attribute2
,p_pcg_attribute3 => p_pcg_attribute3
,p_pcg_attribute4 => p_pcg_attribute4
,p_pcg_attribute5 => p_pcg_attribute5
,p_pcg_attribute6 => p_pcg_attribute6
,p_pcg_attribute7 => p_pcg_attribute7
,p_pcg_attribute8 => p_pcg_attribute8
,p_pcg_attribute9 => p_pcg_attribute9
,p_pcg_attribute10 => p_pcg_attribute10
,p_pcg_attribute11 => p_pcg_attribute11
,p_pcg_attribute12 => p_pcg_attribute12
,p_pcg_attribute13 => p_pcg_attribute13
,p_pcg_attribute14 => p_pcg_attribute14
,p_pcg_attribute15 => p_pcg_attribute15
,p_pcg_attribute16 => p_pcg_attribute16
,p_pcg_attribute17 => p_pcg_attribute17
,p_pcg_attribute18 => p_pcg_attribute18
,p_pcg_attribute19 => p_pcg_attribute19
,p_pcg_attribute20 => p_pcg_attribute20
,p_pcg_attribute21 => p_pcg_attribute21
,p_pcg_attribute22 => p_pcg_attribute22
,p_pcg_attribute23 => p_pcg_attribute23
,p_pcg_attribute24 => p_pcg_attribute24
,p_pcg_attribute25 => p_pcg_attribute25
,p_pcg_attribute26 => p_pcg_attribute26
,p_pcg_attribute27 => p_pcg_attribute27
,p_pcg_attribute28 => p_pcg_attribute28
,p_pcg_attribute29 => p_pcg_attribute29
,p_pcg_attribute30 => p_pcg_attribute30
,p_object_version_number => l_object_version_number
,p_pl_gd_or_svc_id => p_pl_gd_or_svc_id
);
(p_module_name => 'UPDATE_PRTT_CLM_GD_R_SVC_TYP'
,p_hook_type => 'AP'
);
ROLLBACK TO update_PRTT_CLM_GD_R_SVC_TYP;
ROLLBACK TO update_PRTT_CLM_GD_R_SVC_TYP;
end update_PRTT_CLM_GD_R_SVC_TYP;
procedure delete_PRTT_CLM_GD_R_SVC_TYP
(p_validate in boolean default false
,p_prtt_clm_gd_or_svc_typ_id in number
,p_object_version_number in out nocopy number
,p_effective_date in date default null
) is
--
-- Declare cursors and local variables
--
l_proc varchar2(72) := g_package||'update_PRTT_CLM_GD_R_SVC_TYP';
savepoint delete_PRTT_CLM_GD_R_SVC_TYP;
ben_PRTT_CLM_GD_R_SVC_TYP_bk3.delete_PRTT_CLM_GD_R_SVC_TYP_b
(
p_prtt_clm_gd_or_svc_typ_id => p_prtt_clm_gd_or_svc_typ_id
,p_object_version_number => p_object_version_number
);
(p_module_name => 'DELETE_PRTT_CLM_GD_R_SVC_TYP'
,p_hook_type => 'BP'
);
ben_PRTT_CLM_GD_R_SVC_TYP_bk3.delete_PRTT_CLM_GD_R_SVC_TYP_a
(
p_prtt_clm_gd_or_svc_typ_id => p_prtt_clm_gd_or_svc_typ_id
,p_object_version_number => l_object_version_number
);
(p_module_name => 'DELETE_PRTT_CLM_GD_R_SVC_TYP'
,p_hook_type => 'AP'
);
ROLLBACK TO delete_PRTT_CLM_GD_R_SVC_TYP;
ROLLBACK TO delete_PRTT_CLM_GD_R_SVC_TYP;
end delete_PRTT_CLM_GD_R_SVC_TYP;