The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_comp_object_selection_rule ff_formulas_f.formula_name%type ;
l_person_selection_rule ff_formulas_f.formula_name%type ;
p_comp_object_selection_rule => L_COMP_OBJECT_SELECTION_RULE,
p_person_selection_rule => L_PERSON_SELECTION_RULE,
p_life_event_reason => L_LIFE_EVENT_REASON,
p_organization => L_ORGANIZATION,
p_postal_zip_range => L_POSTAL_ZIP_RANGE,
p_reporting_group => L_REPORTING_GROUP,
p_plan_type => L_PLAN_TYPE,
p_option => L_OPTION,
p_eligibility_profile => L_ELIGIBILITY_PROFILE,
p_variable_rate_profile => L_VARIABLE_RATE_PROFILE,
p_legal_entity => L_LEGAL_ENTITY,
p_payroll => L_PAYROLL,
p_status => L_STATUS);
CP_COMP_OBJECT_SELECTION_RULE := l_comp_object_selection_rule;
CP_PERSON_SELECTION_RULE := l_person_selection_rule;
select name into CP_PERSON_BNFT_GRP
from ben_benfts_grp a,
ben_benefit_actions b
where a.benfts_grp_id = b.benfts_grp_id
and b.request_id = P_CONCURRENT_REQUEST_ID;
select location_code into CP_LOCATION
from hr_locations a,
ben_benefit_actions b
where a.location_id = b.location_id
and b.request_id = P_CONCURRENT_REQUEST_ID;
select count(distinct related_person_id)
into CP_PARTICIPANTS_ENDED
from ben_reporting rpt,
ben_benefit_actions ba
where ba.request_id=P_CONCURRENT_REQUEST_ID and
ba.benefit_action_id=rpt.benefit_action_id and
rpt.rep_typ_cd='DSGENDED';
l_persons_selected varchar2(30);
p_persons_selected => L_PERSONS_SELECTED,
p_persons_processed => L_PERSONS_PROCESSED,
p_persons_unprocessed => L_PERSONS_UNPROCESSED,
p_persons_processed_succ => L_PERSONS_PROCESSED_SUCC,
p_persons_errored => L_PERSONS_ERRORED);
CP_PERSONS_SELECTED := l_persons_selected;
Function CP_COMP_OBJECT_SELECTION1 return varchar2 is
Begin
return CP_COMP_OBJECT_SELECTION_RULE;
Function CP_PERSON_SELECTION_RULE_p return varchar2 is
Begin
return CP_PERSON_SELECTION_RULE;
Function CP_PERSONS_SELECTED_p return number is
Begin
return CP_PERSONS_SELECTED;