191:
192:
193: Cursor C_asg_posn is
194: select asg1.assignment_id
195: from per_all_assignments_f asg1,
196: per_all_assignments_f asg
197: where asg.person_id = l_person_id
198: and asg1.person_id <> l_person_id
199: and p_effective_date
192:
193: Cursor C_asg_posn is
194: select asg1.assignment_id
195: from per_all_assignments_f asg1,
196: per_all_assignments_f asg
197: where asg.person_id = l_person_id
198: and asg1.person_id <> l_person_id
199: and p_effective_date
200: between asg.effective_start_date and asg.effective_end_date