24: -- Declare cursor
25: --
26: cursor csr_sec_grp is
27: select pbg.security_group_id
28: from per_business_groups pbg
29: , per_org_structure_elements ose
30: where ose.org_structure_element_id = p_org_structure_element_id
31: and pbg.business_group_id = ose.business_group_id;
32: --
84: -- Declare cursor
85: --
86: cursor csr_leg_code is
87: select pbg.legislation_code
88: from per_business_groups pbg
89: , per_org_structure_elements ose
90: where ose.org_structure_element_id = p_org_structure_element_id
91: and pbg.business_group_id (+) = ose.business_group_id;
92: --