416: and nvl(date_to,trunc(sysdate))
417: and tax_unit_id = p_val;
418:
419: cursor c7 is SELECT full_name||' '||national_identifier
420: ||' '||employee_number from per_all_people_f
421: WHERE nvl(business_group_id,nvl(p_business_group_id,-1))
422: = nvl(p_business_group_id,-1)
423: and trunc(sysdate)
424: between nvl(effective_start_date,trunc(sysdate))
1181: and nvl(date_to,trunc(sysdate))
1182: and name = p_meaning ;
1183:
1184: cursor c7 is SELECT person_id
1185: from per_all_people_f
1186: WHERE nvl(business_group_id,nvl(p_business_group_id,-1))
1187: = nvl(p_business_group_id,-1)
1188: and trunc(sysdate)
1189: between nvl(effective_start_date,trunc(sysdate))