DBA Data[Home] [Help]

APPS.OKL_SEEDED_FUNCTIONS_PVT dependencies on OKL_ACCOUNTING_UTIL

Line 6434: okl_accounting_util.convert_to_contract_currency(

6430: OPEN contract_start_date_csr(p_contract_id);
6431: FETCH contract_start_date_csr INTO p_contract_start_date;
6432: CLOSE contract_start_date_csr;
6433:
6434: okl_accounting_util.convert_to_contract_currency(
6435: p_khr_id => p_contract_id,
6436: p_from_currency => NULL,
6437: p_transaction_date => p_contract_start_date,
6438: p_amount => l_depreciation,

Line 6473: okl_accounting_util.convert_to_contract_currency(

6469: OPEN contract_start_date_csr(p_contract_id);
6470: FETCH contract_start_date_csr INTO p_contract_start_date;
6471: CLOSE contract_start_date_csr;
6472:
6473: okl_accounting_util.convert_to_contract_currency(
6474: p_khr_id => p_contract_id,
6475: p_from_currency => NULL,
6476: p_transaction_date => p_contract_start_date,
6477: p_amount => l_depn_contract,

Line 7062: okl_accounting_util.convert_to_contract_currency(

7058: OPEN contract_start_date_csr(p_contract_id);
7059: FETCH contract_start_date_csr INTO p_contract_start_date;
7060: CLOSE contract_start_date_csr;
7061:
7062: okl_accounting_util.convert_to_contract_currency(
7063: p_khr_id => p_contract_id,
7064: p_from_currency => NULL,
7065: p_transaction_date => p_contract_start_date,
7066: p_amount => l_depreciation,

Line 7102: okl_accounting_util.convert_to_contract_currency(

7098: FETCH contract_start_date_csr INTO p_contract_start_date;
7099: CLOSE contract_start_date_csr;
7100:
7101: --rkuttiya modified for bug#4367682 changed l_depreciation to l_depn_contract
7102: okl_accounting_util.convert_to_contract_currency(
7103: p_khr_id => p_contract_id,
7104: p_from_currency => NULL,
7105: p_transaction_date => p_contract_start_date,
7106: p_amount => l_depn_contract,

Line 7392: RETURN OKL_ACCOUNTING_UTIL.round_amount(l_total_rent,l_currency);

7388: l_total_rent := l_total_rent + NVL(x_pv_amount,0);
7389: END IF;
7390:
7391: --Round the amount before returning it.
7392: RETURN OKL_ACCOUNTING_UTIL.round_amount(l_total_rent,l_currency);
7393:
7394:
7395: EXCEPTION
7396: WHEN OKL_API.G_EXCEPTION_ERROR THEN

Line 11900: l_book_type_code := OKL_ACCOUNTING_UTIL.get_fa_reporting_book(

11896: IF (l_streams_repo_policy = 'PRIMARY') THEN
11897: l_book_class := 'CORPORATE';
11898: ELSE
11899: l_book_class := 'TAX';
11900: l_book_type_code := OKL_ACCOUNTING_UTIL.get_fa_reporting_book(
11901: p_kle_id => p_contract_line_id);
11902: END IF;
11903: -- rmunjulu 4042892
11904: IF Okl_Execute_Formula_Pub.G_ADDITIONAL_PARAMETERS.COUNT > 0 THEN

Line 12039: OKL_ACCOUNTING_UTIL.CONVERT_TO_CONTRACT_CURRENCY(

12035: FETCH contract_start_date_csr INTO l_contract_start_date;
12036: CLOSE contract_start_date_csr;
12037:
12038: l_converted_amount := 0;
12039: OKL_ACCOUNTING_UTIL.CONVERT_TO_CONTRACT_CURRENCY(
12040: p_khr_id => p_contract_id,
12041: p_from_currency => NULL,
12042: p_transaction_date => l_contract_start_date,
12043: p_amount => l_asset_fin_rec.cost,

Line 12190: l_book_type_code := OKL_ACCOUNTING_UTIL.get_fa_reporting_book(

12186: IF (l_streams_repo_policy = 'PRIMARY') THEN
12187: l_book_class := 'CORPORATE';
12188: ELSE
12189: l_book_class := 'TAX';
12190: l_book_type_code := OKL_ACCOUNTING_UTIL.get_fa_reporting_book(
12191: p_kle_id => p_contract_line_id);
12192: END IF;
12193: -- rmunjulu 4042892
12194: IF Okl_Execute_Formula_Pub.G_ADDITIONAL_PARAMETERS.COUNT > 0 THEN

Line 12261: OKL_ACCOUNTING_UTIL.CONVERT_TO_CONTRACT_CURRENCY(

12257: FETCH contract_start_date_csr INTO l_contract_start_date;
12258: CLOSE contract_start_date_csr;
12259:
12260: l_converted_amount := 0;
12261: OKL_ACCOUNTING_UTIL.CONVERT_TO_CONTRACT_CURRENCY(
12262: p_khr_id => p_contract_id,
12263: p_from_currency => NULL,
12264: p_transaction_date => l_contract_start_date,
12265: p_amount => l_asset_deprn_rec.deprn_reserve,

Line 13105: okl_accounting_util.round_amount(

13101: LOOP
13102: --prorate the amount, to derive the parent stream amount
13103: l_parent_strm_amt := stream_element_rec.amount * l_proration_factor;
13104: --round amount with streams option for paren stream element amounts
13105: okl_accounting_util.round_amount(
13106: p_api_version => l_api_version,
13107: p_init_msg_list => l_init_msg_list,
13108: x_return_status => l_return_status,
13109: x_msg_count => l_msg_count,

Line 13456: okl_accounting_util.get_period_info(l_term_date,l_period_name, l_start_date,l_end_date);

13452:
13453: -- asahoo bug 13259692 derive the period in which termination is falling first and then
13454: -- derive the prior or current period based on Check_Accrual_Till_Previous_Month flag
13455:
13456: okl_accounting_util.get_period_info(l_term_date,l_period_name, l_start_date,l_end_date);
13457:
13458: -- asahoo bug 13259692 now that we have derived the GL Period use the GL Period Start Date or End Date to derive the Future Income
13459:
13460: IF nvl(l_accrual_previous_mnth_yn,'N') = 'N' THEN

Line 13471: --okl_accounting_util.get_period_info(l_accrual_adjst_date,l_period_name, l_start_date,l_end_date); -- asahoo bug 13259692 moved above

13467: l_accrual_adjst_date := l_start_date - 1; -- asahoo bug 13259692
13468: END IF;
13469:
13470: -- asahoo bug 13259692 Now start using Accrual Adjust Date
13471: --okl_accounting_util.get_period_info(l_accrual_adjst_date,l_period_name, l_start_date,l_end_date); -- asahoo bug 13259692 moved above
13472: -- gboomina Bug 5215019 - End
13473:
13474: --check if streams required for reporting product
13475: IF l_rep_prod_streams_yn = 'Y' THEN

Line 13510: okl_accounting_util.round_amount(

13506: LOOP
13507: --prorate the amount, to derive the parent stream amount
13508: l_parent_strm_amt := stream_element_rec.amount * l_proration_factor;
13509: --round amount with streams option for paren stream element amounts
13510: okl_accounting_util.round_amount(
13511: p_api_version => l_api_version,
13512: p_init_msg_list => l_init_msg_list,
13513: x_return_status => l_return_status,
13514: x_msg_count => l_msg_count,

Line 14210: OKL_ACCOUNTING_UTIL.convert_to_contract_currency(

14206: -- Get the contract currency code
14207: l_currency_code := OKL_AM_UTIL_PVT.get_chr_currency(p_khr_id);
14208:
14209: -- Convert sales_proceeds from functional_currency to contract_currency
14210: OKL_ACCOUNTING_UTIL.convert_to_contract_currency(
14211: p_khr_id => p_khr_id,
14212: p_from_currency => l_currency_code,
14213: p_transaction_date => sysdate,
14214: p_amount => l_sales_proceeds,

Line 15305: l_book_type_code := OKL_ACCOUNTING_UTIL.get_fa_reporting_book(

15301: IF (l_streams_repo_policy = 'PRIMARY') THEN
15302: l_book_class := 'CORPORATE';
15303: ELSE
15304: l_book_class := 'TAX';
15305: l_book_type_code := OKL_ACCOUNTING_UTIL.get_fa_reporting_book(
15306: p_kle_id => p_contract_line_id);
15307: END IF;
15308:
15309: OPEN l_asset_csr(p_chr_id => p_contract_id,

Line 15353: OKL_ACCOUNTING_UTIL.CONVERT_TO_CONTRACT_CURRENCY(

15349: FETCH contract_start_date_csr INTO l_contract_start_date;
15350: CLOSE contract_start_date_csr;
15351:
15352: l_converted_amount := 0;
15353: OKL_ACCOUNTING_UTIL.CONVERT_TO_CONTRACT_CURRENCY(
15354: p_khr_id => p_contract_id,
15355: p_from_currency => NULL,
15356: p_transaction_date => l_contract_start_date,
15357: p_amount => l_asset_deprn_rec.deprn_reserve,