DBA Data[Home] [Help]

APPS.OZF_UTILITY_PVT dependencies on GL_CURRENCY_API

Line 972: GL_Currency_API.Convert_Closest_Amount (

968: -- Get the currency conversion type from profile option
969: l_conversion_type := FND_PROFILE.Value (L_CONVERSION_TYPE_PROFILE);
970:
971: -- Call the proper GL API to convert the amount.
972: GL_Currency_API.Convert_Closest_Amount (
973: x_from_currency => p_from_currency,
974: x_to_currency => p_to_currency,
975: x_conversion_date => p_conv_date,
976: x_conversion_type => l_conversion_type,

Line 986: WHEN GL_Currency_API.NO_RATE THEN

982: x_numerator => l_numerator,
983: x_rate => l_rate
984: );
985: EXCEPTION
986: WHEN GL_Currency_API.NO_RATE THEN
987: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
988: FND_MESSAGE.Set_Name ('OZF', 'OZF_NO_RATE');
989: FND_MESSAGE.Set_Token ('CURRENCY_FROM', p_from_currency);
990: FND_MESSAGE.Set_Token ('CURRENCY_TO', p_to_currency);

Line 994: WHEN GL_Currency_API.INVALID_CURRENCY THEN

990: FND_MESSAGE.Set_Token ('CURRENCY_TO', p_to_currency);
991: FND_MSG_PUB.Add;
992: END IF;
993: x_return_status := FND_API.G_RET_STS_ERROR;
994: WHEN GL_Currency_API.INVALID_CURRENCY THEN
995: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
996: FND_MESSAGE.Set_Name ('OZF', 'OZF_INVALID_CURR');
997: FND_MESSAGE.Set_Token ('CURRENCY_FROM', p_from_currency);
998: FND_MESSAGE.Set_Token ('CURRENCY_TO', p_to_currency);

Line 2034: gl_currency_api.convert_closest_amount(

2030: END IF;
2031: CLOSE c_get_gl_info;
2032:
2033: --
2034: gl_currency_api.convert_closest_amount(
2035: x_from_currency => p_from_currency
2036: ,x_to_currency => l_to_currency
2037: ,x_conversion_date => p_conversion_date
2038: ,x_conversion_type => p_conversion_type

Line 2051: WHEN gl_currency_api.no_rate THEN

2047:
2048: EXCEPTION
2049: WHEN fnd_api.g_exc_error THEN
2050: x_return_status := fnd_api.g_ret_sts_error;
2051: WHEN gl_currency_api.no_rate THEN
2052: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2053: fnd_message.set_name('OZF', 'OZF_NO_RATE');
2054: fnd_msg_pub.add;
2055: END IF;

Line 2058: WHEN gl_currency_api.invalid_currency THEN

2054: fnd_msg_pub.add;
2055: END IF;
2056:
2057: x_return_status := fnd_api.g_ret_sts_error;
2058: WHEN gl_currency_api.invalid_currency THEN
2059: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2060: fnd_message.set_name('OZF', 'OZF_INVALID_CURR');
2061: fnd_msg_pub.add;
2062: END IF;

Line 2261: gl_currency_api.convert_closest_amount(

2257: END IF;
2258:
2259: CLOSE c_get_gl_info;
2260: -- Call the proper GL API to convert the amount.
2261: gl_currency_api.convert_closest_amount(
2262: x_from_currency => p_tc_currency_code
2263: ,x_to_currency => x_fc_currency_code
2264: ,x_conversion_date => p_conv_date
2265: ,x_conversion_type => l_conversion_type

Line 2280: WHEN gl_currency_api.no_rate THEN

2276:
2277: EXCEPTION
2278: WHEN fnd_api.g_exc_error THEN
2279: x_return_status := fnd_api.g_ret_sts_error;
2280: WHEN gl_currency_api.no_rate THEN
2281: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2282: fnd_message.set_name('OZF', 'OZF_NO_RATE');
2283: fnd_msg_pub.add;
2284: END IF;

Line 2287: WHEN gl_currency_api.invalid_currency THEN

2283: fnd_msg_pub.add;
2284: END IF;
2285:
2286: x_return_status := fnd_api.g_ret_sts_error;
2287: WHEN gl_currency_api.invalid_currency THEN
2288: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2289: fnd_message.set_name('OZF', 'OZF_INVALID_CURR');
2290: fnd_msg_pub.add;
2291: END IF;

Line 2612: gl_currency_api.convert_closest_amount(

2608: FETCH c_get_gl_info INTO x_fc_currency_code;
2609: CLOSE c_get_gl_info;
2610:
2611: -- Call the proper GL API to convert the amount.
2612: gl_currency_api.convert_closest_amount(
2613: x_from_currency => p_tc_currency_code
2614: ,x_to_currency => x_fc_currency_code
2615: ,x_conversion_date => p_conv_date
2616: ,x_conversion_type => l_conversion_type

Line 2630: WHEN gl_currency_api.no_rate THEN

2626:
2627: EXCEPTION
2628: WHEN fnd_api.g_exc_error THEN
2629: x_return_status := fnd_api.g_ret_sts_error;
2630: WHEN gl_currency_api.no_rate THEN
2631: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2632: fnd_message.set_name('OZF', 'OZF_NO_RATE');
2633: fnd_msg_pub.add;
2634: END IF;

Line 2637: WHEN gl_currency_api.invalid_currency THEN

2633: fnd_msg_pub.add;
2634: END IF;
2635:
2636: x_return_status := fnd_api.g_ret_sts_error;
2637: WHEN gl_currency_api.invalid_currency THEN
2638: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2639: fnd_message.set_name('OZF', 'OZF_INVALID_CURR');
2640: fnd_msg_pub.add;
2641: END IF;

Line 2716: gl_currency_api.convert_closest_amount(

2712: l_conversion_type := p_conv_type;
2713: END IF;
2714:
2715: -- Call the proper GL API to convert the amount.
2716: gl_currency_api.convert_closest_amount(
2717: x_from_currency => p_from_currency
2718: ,x_to_currency => p_to_currency
2719: ,x_conversion_date => p_conv_date
2720: ,x_conversion_type => l_conversion_type

Line 2731: WHEN gl_currency_api.no_rate THEN

2727: ,x_rate => x_rate);
2728: --
2729:
2730: EXCEPTION
2731: WHEN gl_currency_api.no_rate THEN
2732: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2733: fnd_message.set_name('OZF', 'OZF_NO_RATE');
2734: fnd_msg_pub.add;
2735: END IF;

Line 2738: WHEN gl_currency_api.invalid_currency THEN

2734: fnd_msg_pub.add;
2735: END IF;
2736:
2737: x_return_status := fnd_api.g_ret_sts_error;
2738: WHEN gl_currency_api.invalid_currency THEN
2739: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2740: fnd_message.set_name('OZF', 'OZF_INVALID_CURR');
2741: fnd_msg_pub.add;
2742: END IF;