DBA Data[Home] [Help]

APPS.DPP_UTILITY_PVT dependencies on GL_CURRENCY_API

Line 2565: gl_currency_api.convert_closest_amount(

2561: l_conversion_type := p_conv_type;
2562: END IF;
2563:
2564: -- Call the proper GL API to convert the amount.
2565: gl_currency_api.convert_closest_amount(
2566: x_from_currency => p_from_currency
2567: ,x_to_currency => p_to_currency
2568: ,x_conversion_date => p_conv_date
2569: ,x_conversion_type => l_conversion_type

Line 2580: WHEN gl_currency_api.no_rate THEN

2576: ,x_rate => x_rate);
2577: --
2578:
2579: EXCEPTION
2580: WHEN gl_currency_api.no_rate THEN
2581: fnd_message.set_name('DPP', 'DPP_NO_RATE');
2582: fnd_message.set_token('CURRENCY_FROM', p_from_currency);
2583: fnd_message.set_token('CURRENCY_TO', p_to_currency);
2584: fnd_msg_pub.add;

Line 2587: WHEN gl_currency_api.invalid_currency THEN

2583: fnd_message.set_token('CURRENCY_TO', p_to_currency);
2584: fnd_msg_pub.add;
2585:
2586: x_return_status := fnd_api.g_ret_sts_error;
2587: WHEN gl_currency_api.invalid_currency THEN
2588: fnd_message.set_name('DPP', 'DPP_INVALID_CURR');
2589: fnd_message.set_token('CURRENCY_FROM', p_from_currency);
2590: fnd_message.set_token('CURRENCY_TO', p_to_currency);
2591: fnd_msg_pub.add;

Line 2701: gl_currency_api.convert_closest_amount(

2697: END IF;
2698:
2699: CLOSE c_get_gl_info;
2700: -- Call the proper GL API to convert the amount.
2701: gl_currency_api.convert_closest_amount(
2702: x_from_currency => p_tc_currency_code
2703: ,x_to_currency => x_fc_currency_code
2704: ,x_conversion_date => p_conv_date
2705: ,x_conversion_type => l_conversion_type

Line 2720: WHEN gl_currency_api.no_rate THEN

2716:
2717: EXCEPTION
2718: WHEN fnd_api.g_exc_error THEN
2719: x_return_status := fnd_api.g_ret_sts_error;
2720: WHEN gl_currency_api.no_rate THEN
2721: fnd_message.set_name('DPP', 'DPP_NO_RATE');
2722: fnd_msg_pub.add;
2723:
2724: x_return_status := fnd_api.g_ret_sts_error;

Line 2725: WHEN gl_currency_api.invalid_currency THEN

2721: fnd_message.set_name('DPP', 'DPP_NO_RATE');
2722: fnd_msg_pub.add;
2723:
2724: x_return_status := fnd_api.g_ret_sts_error;
2725: WHEN gl_currency_api.invalid_currency THEN
2726: fnd_message.set_name('DPP', 'DPP_INVALID_CURR');
2727: fnd_msg_pub.add;
2728:
2729: x_return_status := fnd_api.g_ret_sts_error;