537:
538:
539: FUNCTION learner_belongs_to_child_org(p_org_structure_version_id IN ota_event_associations. org_structure_version_id%type,
540: p_organization_id IN ota_event_associations.organization_id%type,
541: p_person_id IN per_people_f.person_id%type)
542: RETURN VARCHAR2 IS
543:
544: /* CURSOR csr_lrnr_belongs_to_org IS
545: SELECT asg.assignment_id