DBA Data[Home] [Help]

APPS.OKL_AM_CALCULATE_QUOTE_PVT dependencies on OKL_ACCOUNTING_UTIL

Line 309: l_amount := okl_accounting_util.round_amount(p_amount => l_amount,

305: IF (p_asset_qty IS NOT NULL AND p_asset_qty <> G_MISS_NUM ) AND (p_quote_qty IS NOT NULL AND p_quote_qty <> G_MISS_NUM) THEN
306: l_amount := (l_amount / p_asset_qty) * p_quote_qty;
307: -- bug 5480622 -- start
308: l_contract_curr_code := okl_am_util_pvt.get_chr_currency( p_chr_id => p_qtev_rec.khr_id);
309: l_amount := okl_accounting_util.round_amount(p_amount => l_amount,
310: p_currency_code => l_contract_curr_code);
311: -- bug 5480622 --end
312: END IF;
313: END IF;

Line 328: 'before OKL_AM_CALCULATE_QUOTE_PVT.append_quote_line calls okl_accounting_util.convert_to_functional_currency'||l_return_status);

324: -- convert amount to functional currency
325:
326: IF (is_debug_statement_on) THEN
327: OKL_DEBUG_PUB.LOG_DEBUG(G_LEVEL_STATEMENT,L_MODULE_NAME,
328: 'before OKL_AM_CALCULATE_QUOTE_PVT.append_quote_line calls okl_accounting_util.convert_to_functional_currency'||l_return_status);
329: END IF;
330:
331:
332: okl_accounting_util.convert_to_functional_currency(

Line 332: okl_accounting_util.convert_to_functional_currency(

328: 'before OKL_AM_CALCULATE_QUOTE_PVT.append_quote_line calls okl_accounting_util.convert_to_functional_currency'||l_return_status);
329: END IF;
330:
331:
332: okl_accounting_util.convert_to_functional_currency(
333: p_khr_id => p_qtev_rec.khr_id,
334: p_to_currency => l_func_curr_code,
335: p_transaction_date => G_SYSDATE,
336: p_amount => l_amount,

Line 346: 'After OKL_AM_CALCULATE_QUOTE_PVT.append_quote_line calls okl_accounting_util.convert_to_functional_currency'||l_return_status);

342: x_converted_amount => lx_converted_amount );
343:
344: IF (is_debug_statement_on) THEN
345: OKL_DEBUG_PUB.LOG_DEBUG(G_LEVEL_STATEMENT,L_MODULE_NAME,
346: 'After OKL_AM_CALCULATE_QUOTE_PVT.append_quote_line calls okl_accounting_util.convert_to_functional_currency'||l_return_status);
347: END IF;
348:
349:
350: IF (l_return_status = OKL_API.G_RET_STS_SUCCESS) THEN

Line 2038: okl_accounting_util.convert_to_contract_currency

2034:
2035: -- get the contract currency
2036: l_lease_contract_curr_code := okl_am_util_pvt.get_chr_currency( p_chr_id => p_qtev_rec.khr_id);
2037: IF l_vendor_program_curr_code <> l_lease_contract_curr_code THEN
2038: okl_accounting_util.convert_to_contract_currency
2039: (
2040: p_khr_id => p_qtev_rec.khr_id,
2041: p_from_currency => l_vendor_program_curr_code,
2042: p_transaction_date => G_SYSDATE,

Line 2054: 'after call to okl_accounting_util.convert_to_contract_currency:'||l_return_status);

2050: );
2051:
2052: IF (is_debug_statement_on) THEN
2053: OKL_DEBUG_PUB.LOG_DEBUG(G_LEVEL_STATEMENT,L_MODULE_NAME,
2054: 'after call to okl_accounting_util.convert_to_contract_currency:'||l_return_status);
2055: END IF;
2056:
2057: IF (l_return_status = OKL_API.G_RET_STS_SUCCESS) THEN
2058: l_rule_value := lx_converted_amount ;

Line 5302: -- OKL_ACCOUNTING_UTIL.convert_to_functional_currency and get back

5298: l_converted_amount NUMBER;
5299:
5300: -- Since we do not use the amount or converted amount in TRX_Quotes table
5301: -- set a hardcoded value for the amount (and pass to to
5302: -- OKL_ACCOUNTING_UTIL.convert_to_functional_currency and get back
5303: -- conversion values )
5304: l_hard_coded_amount NUMBER := 100;
5305:
5306: lp_qabv_tbl OKL_TXD_QTE_ANTCPT_BILL_PUB.qabv_tbl_type;

Line 5382: OKL_ACCOUNTING_UTIL.convert_to_functional_currency(

5378: x_org_id => l_org_id,
5379: x_currency_code => l_functional_currency_code);
5380:
5381: -- Get the currency conversion details from ACCOUNTING_Util
5382: OKL_ACCOUNTING_UTIL.convert_to_functional_currency(
5383: p_khr_id => p_qtev_rec.khr_id,
5384: p_to_currency => l_functional_currency_code,
5385: p_transaction_date => p_qtev_rec.date_effective_from,
5386: p_amount => l_hard_coded_amount,

Line 5396: 'after call to OKL_ACCOUNTING_UTIL.convert_to_functional_currency :'||l_return_status);

5392: x_converted_amount => l_converted_amount);
5393:
5394: IF (is_debug_statement_on) THEN
5395: OKL_DEBUG_PUB.LOG_DEBUG(G_LEVEL_STATEMENT,L_MODULE_NAME,
5396: 'after call to OKL_ACCOUNTING_UTIL.convert_to_functional_currency :'||l_return_status);
5397: END IF;
5398:
5399: -- raise exception if error
5400: IF (l_return_status = OKL_API.G_RET_STS_UNEXP_ERROR) THEN