126: l_legislation_code per_business_groups.legislation_code%type;
127: l_discard_varchar2 VARCHAR2(30);
128: --
129: CURSOR check_legislation
130: (c_person_id per_people_f.person_id%TYPE,
131: c_effective_date DATE
132: )
133: IS
134: select bgp.legislation_code
131: c_effective_date DATE
132: )
133: IS
134: select bgp.legislation_code
135: from per_people_f per,
136: per_business_groups bgp
137: where per.business_group_id = bgp.business_group_id
138: and per.person_id = c_person_id
139: and c_effective_date