DBA Data[Home] [Help]

APPS.CSTPLVCP dependencies on GL_CURRENCY_API

Line 2347: /* --- replacing gl table hit by gl currency api

2343:
2344: if (l_rcv_curr <> l_snd_curr) then
2345: l_stmt_num := 60;
2346:
2347: /* --- replacing gl table hit by gl currency api
2348:
2349: select conversion_rate, conversion_date
2350: into l_conv_rate, l_conv_date
2351: from gl_daily_conversion_rates

Line 2364: l_conv_rate := gl_currency_api.get_rate(l_rcv_sob_id,l_snd_curr,l_txn_date,

2360: and conversion_type = l_curr_type
2361: and conversion_date <= l_txn_date);
2362: -------------------------------------------------------------*/
2363:
2364: l_conv_rate := gl_currency_api.get_rate(l_rcv_sob_id,l_snd_curr,l_txn_date,
2365: l_curr_type);
2366: else
2367: l_conv_rate := 1;
2368: end if;

Line 2380: when gl_currency_api.NO_RATE then

2376: o_conv_date := l_conv_date;
2377:
2378: EXCEPTION
2379:
2380: when gl_currency_api.NO_RATE then
2381: rollback;
2382: O_err_num := 9999;
2383: O_err_code := 'CST_NO_GL_RATE';
2384: FND_MESSAGE.set_name('BOM', 'CST_NO_GL_RATE');