DBA Data[Home] [Help]

APPS.AMS_UTILITY_PVT dependencies on GL_CURRENCY_API

Line 935: GL_Currency_API.Convert_Closest_Amount (

931: -- Get the currency conversion type from profile option
932: l_conversion_type := FND_PROFILE.Value (L_CONVERSION_TYPE_PROFILE);
933:
934: -- Call the proper GL API to convert the amount.
935: GL_Currency_API.Convert_Closest_Amount (
936: x_from_currency => p_from_currency,
937: x_to_currency => p_to_currency,
938: x_conversion_date => p_conv_date,
939: x_conversion_type => l_conversion_type,

Line 949: WHEN GL_Currency_API.NO_RATE THEN

945: x_numerator => l_numerator,
946: x_rate => l_rate
947: );
948: EXCEPTION
949: WHEN GL_Currency_API.NO_RATE THEN
950: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
951: FND_MESSAGE.Set_Name ('AMS', 'AMS_NO_RATE');
952: FND_MESSAGE.Set_Token ('CURRENCY_FROM', p_from_currency);
953: FND_MESSAGE.Set_Token ('CURRENCY_TO', p_to_currency);

Line 957: WHEN GL_Currency_API.INVALID_CURRENCY THEN

953: FND_MESSAGE.Set_Token ('CURRENCY_TO', p_to_currency);
954: FND_MSG_PUB.Add;
955: END IF;
956: x_return_status := FND_API.G_RET_STS_ERROR;
957: WHEN GL_Currency_API.INVALID_CURRENCY THEN
958: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_ERROR) THEN
959: FND_MESSAGE.Set_Name ('AMS', 'AMS_INVALID_CURR');
960: FND_MESSAGE.Set_Token ('CURRENCY_FROM', p_from_currency);
961: FND_MESSAGE.Set_Token ('CURRENCY_TO', p_to_currency);

Line 1990: gl_currency_api.convert_closest_amount(

1986: END IF;
1987: CLOSE c_get_gl_info;
1988:
1989: --
1990: gl_currency_api.convert_closest_amount(
1991: x_from_currency => p_from_currency
1992: ,x_to_currency => l_to_currency
1993: ,x_conversion_date => p_conversion_date
1994: ,x_conversion_type => p_conversion_type

Line 2007: WHEN gl_currency_api.no_rate THEN

2003:
2004: EXCEPTION
2005: WHEN fnd_api.g_exc_error THEN
2006: x_return_status := fnd_api.g_ret_sts_error;
2007: WHEN gl_currency_api.no_rate THEN
2008: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2009: fnd_message.set_name('AMS', 'AMS_NO_RATE');
2010: fnd_msg_pub.add;
2011: END IF;

Line 2014: WHEN gl_currency_api.invalid_currency THEN

2010: fnd_msg_pub.add;
2011: END IF;
2012:
2013: x_return_status := fnd_api.g_ret_sts_error;
2014: WHEN gl_currency_api.invalid_currency THEN
2015: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2016: fnd_message.set_name('AMS', 'AMS_INVALID_CURR');
2017: fnd_msg_pub.add;
2018: END IF;

Line 2222: gl_currency_api.convert_closest_amount(

2218: END IF;
2219:
2220: CLOSE c_get_gl_info;
2221: -- Call the proper GL API to convert the amount.
2222: gl_currency_api.convert_closest_amount(
2223: x_from_currency => p_tc_currency_code
2224: ,x_to_currency => x_fc_currency_code
2225: ,x_conversion_date => p_conv_date
2226: ,x_conversion_type => l_conversion_type

Line 2241: WHEN gl_currency_api.no_rate THEN

2237:
2238: EXCEPTION
2239: WHEN fnd_api.g_exc_error THEN
2240: x_return_status := fnd_api.g_ret_sts_error;
2241: WHEN gl_currency_api.no_rate THEN
2242: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2243: fnd_message.set_name('AMS', 'AMS_NO_RATE');
2244: fnd_msg_pub.add;
2245: END IF;

Line 2248: WHEN gl_currency_api.invalid_currency THEN

2244: fnd_msg_pub.add;
2245: END IF;
2246:
2247: x_return_status := fnd_api.g_ret_sts_error;
2248: WHEN gl_currency_api.invalid_currency THEN
2249: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2250: fnd_message.set_name('AMS', 'AMS_INVALID_CURR');
2251: fnd_msg_pub.add;
2252: END IF;

Line 2327: gl_currency_api.convert_closest_amount(

2323: l_conversion_type := p_conv_type;
2324: END IF;
2325:
2326: -- Call the proper GL API to convert the amount.
2327: gl_currency_api.convert_closest_amount(
2328: x_from_currency => p_from_currency
2329: ,x_to_currency => p_to_currency
2330: ,x_conversion_date => p_conv_date
2331: ,x_conversion_type => l_conversion_type

Line 2342: WHEN gl_currency_api.no_rate THEN

2338: ,x_rate => x_rate);
2339: --
2340:
2341: EXCEPTION
2342: WHEN gl_currency_api.no_rate THEN
2343: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2344: fnd_message.set_name('OZF', 'OZF_NO_RATE');
2345: fnd_msg_pub.add;
2346: END IF;

Line 2349: WHEN gl_currency_api.invalid_currency THEN

2345: fnd_msg_pub.add;
2346: END IF;
2347:
2348: x_return_status := fnd_api.g_ret_sts_error;
2349: WHEN gl_currency_api.invalid_currency THEN
2350: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_error) THEN
2351: fnd_message.set_name('OZF', 'OZF_INVALID_CURR');
2352: fnd_msg_pub.add;
2353: END IF;