DBA Data[Home] [Help]

APPS.LNS_UTILITY_PUB dependencies on GL_CURRENCY_API

Line 567: l_rate_exists := gl_currency_api.rate_exists(X_FROM_CURRENCY => p_from_currency

563: end if;
564:
565: else
566: l_exchange_type := p_exchange_type;
567: l_rate_exists := gl_currency_api.rate_exists(X_FROM_CURRENCY => p_from_currency
568: ,X_TO_CURRENCY => l_to_currency
569: ,X_CONVERSION_DATE => l_exchange_date
570: ,X_CONVERSION_TYPE => p_exchange_type);
571: if l_rate_exists = 'Y' then

Line 575: l_rate := gl_currency_api.get_rate(X_FROM_CURRENCY => p_from_currency,

571: if l_rate_exists = 'Y' then
572: -- rate exists
573:
574: /*
575: l_rate := gl_currency_api.get_rate(X_FROM_CURRENCY => p_from_currency,
576: X_TO_CURRENCY => p_to_currency,
577: X_CONVERSION_DATE => p_exchange_date,
578: X_CONVERSION_TYPE => p_exchange_type);
579: */

Line 587: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - calling gl_currency API....');

583: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - l_exchange_type ' || l_exchange_type);
584: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - p_exchange_date ' || p_exchange_date);
585: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - p_exchange_rate ' || p_exchange_rate);
586:
587: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - calling gl_currency API....');
588: l_convert_amount := gl_currency_api.convert_amount(X_FROM_CURRENCY => p_from_currency
589: ,X_TO_CURRENCY => l_to_currency
590: ,X_CONVERSION_DATE => l_exchange_date
591: ,X_CONVERSION_TYPE => l_exchange_type

Line 588: l_convert_amount := gl_currency_api.convert_amount(X_FROM_CURRENCY => p_from_currency

584: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - p_exchange_date ' || p_exchange_date);
585: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - p_exchange_rate ' || p_exchange_rate);
586:
587: logMessage(FND_LOG.LEVEL_PROCEDURE, G_PKG_NAME, l_api_name || ' - calling gl_currency API....');
588: l_convert_amount := gl_currency_api.convert_amount(X_FROM_CURRENCY => p_from_currency
589: ,X_TO_CURRENCY => l_to_currency
590: ,X_CONVERSION_DATE => l_exchange_date
591: ,X_CONVERSION_TYPE => l_exchange_type
592: ,X_AMOUNT => p_from_amount);

Line 638: l_rate := gl_currency_api.get_rate(X_FROM_CURRENCY => p_from_currency,

634: l_rate number;
635: begin
636:
637: begin
638: l_rate := gl_currency_api.get_rate(X_FROM_CURRENCY => p_from_currency,
639: X_TO_CURRENCY => p_to_currency,
640: X_CONVERSION_DATE => p_exchange_date,
641: X_CONVERSION_TYPE => p_exchange_type);
642: exception

Line 643: WHEN GL_CURRENCY_API.NO_RATE THEN

639: X_TO_CURRENCY => p_to_currency,
640: X_CONVERSION_DATE => p_exchange_date,
641: X_CONVERSION_TYPE => p_exchange_type);
642: exception
643: WHEN GL_CURRENCY_API.NO_RATE THEN
644: l_rate := -1;
645:
646: When others then
647: l_rate := -1;