94: -- the current business group context can be derived.
95: -- Remove this comment when the edit has been completed.
96: cursor csr_leg_code is
97: select pbg.legislation_code
98: from per_business_groups_perf pbg
99: , per_contact_relationships ctr
100: , per_contact_extra_info_f cei
101: where cei.contact_extra_info_id = p_contact_extra_info_id
102: and ctr.contact_relationship_id = cei.contact_relationship_id