423: -- Declare cursor
424: --
425: cursor csr_leg_code is
426: select a.legislation_code
427: from per_business_groups a,
428: ben_ext_rslt b
429: where b.ext_rslt_id = p_ext_rslt_id
430: and a.business_group_id = b.business_group_id;
431: --
430: and a.business_group_id = b.business_group_id;
431: --
432: -- Declare local variables
433: --
434: l_legislation_code per_business_groups.legislation_code%type ;
435: l_proc varchar2(72) := g_package||'return_legislation_code';
436: --
437: begin
438: --