2494: ,p_legislation_code in varchar2
2495: ) return varchar2
2496: is
2497: --
2498: l_currency_code fnd_currencies.currency_code%type;
2499: --
2500: cursor csr_leg_rule is
2501: select rule_mode
2502: from pay_legislation_rules
2511: --
2512: begin
2513: select cu.currency_code
2514: into l_currency_code
2515: from fnd_currencies cu
2516: where cu.issuing_territory_code = p_legislation_code
2517: and cu.enabled_flag = 'Y';
2518: exception
2519: when too_many_rows then