312: will be held for which business groups.
313: Definitely isn't ideal and needs performance testing.
314: */
315: --
316: l_rate_type := hr_currency_pkg.get_rate_type (
317: p_business_group_id => p_business_group_id
318: , p_conversion_date => p_conversion_date
319: , p_processing_type => p_processing_type);
320:
318: , p_conversion_date => p_conversion_date
319: , p_processing_type => p_processing_type);
320:
321:
322: l_amount := hr_currency_pkg.convert_amount
323: ( p_from_currency => p_from_currency
324: ,p_to_currency => p_to_currency
325: ,p_conversion_date => p_conversion_date
326: , p_amount => p_amount