469: -- Declare cursor
470: --
471: cursor csr_leg_code is
472: select a.legislation_code
473: from per_business_groups a,
474: ben_ext_rslt_dtl b
475: where b.ext_rslt_dtl_id = p_ext_rslt_dtl_id
476: and a.business_group_id = b.business_group_id;
477: --
476: and a.business_group_id = b.business_group_id;
477: --
478: -- Declare local variables
479: --
480: l_legislation_code per_business_groups.legislation_code%type ;
481: l_proc varchar2(72) := g_package||'return_legislation_code';
482: --
483: begin
484: --