DBA Data[Home] [Help]

APPS.OKL_AM_CNTRCT_LN_TRMNT_PVT dependencies on OKL_ACCOUNTING_UTIL

Line 3859: -- OKL_ACCOUNTING_UTIL.convert_to_functional_currency and get back

3855: l_currency_conversion_date DATE;
3856: l_converted_amount NUMBER;
3857: -- Since we do not use the amount or converted amount
3858: -- set a hardcoded value for the amount (and pass to to
3859: -- OKL_ACCOUNTING_UTIL.convert_to_functional_currency and get back
3860: -- conversion values )
3861: l_hard_coded_amount NUMBER := 100;
3862: -- Bug 2902876
3863: l_valid_gl_date DATE;

Line 4187: okl_accounting_util.get_valid_gl_date

4183: lip_tmpl_identify_rec.memo_yn := g_no;
4184: lip_tmpl_identify_rec.prior_year_yn := g_no;
4185: -- Bug 2902876 Added to get the valid GL date
4186: l_valid_gl_date :=
4187: okl_accounting_util.get_valid_gl_date
4188: (p_gl_date => l_quote_accpt_date);
4189: -- rmunjulu EDAT
4190:
4191: IF (is_debug_statement_on)

Line 4325: 'calling okl_accounting_util.convert_to_functional_currency'

4321: THEN
4322: okl_debug_pub.log_debug
4323: (g_level_statement,
4324: l_module_name,
4325: 'calling okl_accounting_util.convert_to_functional_currency'
4326: );
4327: END IF;
4328:
4329: okl_accounting_util.convert_to_functional_currency

Line 4329: okl_accounting_util.convert_to_functional_currency

4325: 'calling okl_accounting_util.convert_to_functional_currency'
4326: );
4327: END IF;
4328:
4329: okl_accounting_util.convert_to_functional_currency
4330: (p_khr_id => p_term_rec.p_contract_id,
4331: p_to_currency => l_functional_currency_code,
4332: p_transaction_date => l_quote_accpt_date,
4333: -- rmunjulu EDAT

Line 4348: 'called okl_accounting_util.convert_to_functional_currency , return status: '

4344: THEN
4345: okl_debug_pub.log_debug
4346: (g_level_statement,
4347: l_module_name,
4348: 'called okl_accounting_util.convert_to_functional_currency , return status: '
4349: || l_return_status
4350: );
4351: okl_debug_pub.log_debug (g_level_statement,
4352: l_module_name,

Line 4378: -- If error from OKL_ACCOUNTING_UTIL

4374: || l_converted_amount
4375: );
4376: END IF;
4377:
4378: -- If error from OKL_ACCOUNTING_UTIL
4379: IF l_return_status <> okl_api.g_ret_sts_success
4380: THEN
4381: -- Error occurred when creating accounting entries for
4382: -- transaction TRX_TYPE.

Line 4720: okl_accounting_util.get_set_of_books_id

4716: lip_tcnv_rec := px_tcnv_rec;
4717: --set all the necessary attributes of the record type
4718: lip_tcnv_rec.amount := 0;
4719: lip_tcnv_rec.set_of_books_id :=
4720: okl_accounting_util.get_set_of_books_id
4721: ();
4722: lip_tcnv_rec.org_id := l_org_id;
4723: --akrangan bug 6147049 fix start
4724: lip_tcnv_rec.currency_conversion_rate := l_currency_conversion_rate;

Line 5342: 'calling okl_accounting_util.convert_to_functional_currency'

5338: THEN
5339: okl_debug_pub.log_debug
5340: (g_level_statement,
5341: l_module_name,
5342: 'calling okl_accounting_util.convert_to_functional_currency'
5343: );
5344: END IF;
5345:
5346: okl_accounting_util.convert_to_functional_currency

Line 5346: okl_accounting_util.convert_to_functional_currency

5342: 'calling okl_accounting_util.convert_to_functional_currency'
5343: );
5344: END IF;
5345:
5346: okl_accounting_util.convert_to_functional_currency
5347: (p_khr_id => p_term_rec.p_contract_id,
5348: p_to_currency => l_func_curr_code,
5349: p_transaction_date => p_sys_date,
5350: p_amount => l_proceeds_of_sale,

Line 5364: 'called okl_accounting_util.convert_to_functional_currency , return status: '

5360: THEN
5361: okl_debug_pub.log_debug
5362: (g_level_statement,
5363: l_module_name,
5364: 'called okl_accounting_util.convert_to_functional_currency , return status: '
5365: || x_return_status
5366: );
5367: okl_debug_pub.log_debug (g_level_statement,
5368: l_module_name,

Line 7199: -- OKL_ACCOUNTING_UTIL.convert_to_functional_currency and get back

7195: l_currency_conversion_date DATE;
7196: l_converted_amount NUMBER;
7197: -- Since we do not use the amount or converted amount
7198: -- set a hardcoded value for the amount (and pass to to
7199: -- OKL_ACCOUNTING_UTIL.convert_to_functional_currency and get back
7200: -- conversion values )
7201: l_hard_coded_amount NUMBER := 100;
7202: l_count NUMBER;
7203: BEGIN

Line 7446: 'calling OKL_ACCOUNTING_UTIL.convert_to_functional_currency'

7442: THEN
7443: okl_debug_pub.log_debug
7444: (g_level_statement,
7445: l_module_name,
7446: 'calling OKL_ACCOUNTING_UTIL.convert_to_functional_currency'
7447: );
7448: END IF;
7449:
7450: -- Get the currency conversion details from ACCOUNTING_Util

Line 7451: okl_accounting_util.convert_to_functional_currency

7447: );
7448: END IF;
7449:
7450: -- Get the currency conversion details from ACCOUNTING_Util
7451: okl_accounting_util.convert_to_functional_currency
7452: (p_khr_id => p_term_rec.p_contract_id,
7453: p_to_currency => l_functional_currency_code,
7454: p_transaction_date => p_sys_date,
7455: p_amount => l_hard_coded_amount,

Line 7469: 'called okl_accounting_util.convert_to_functional_currency , return status: '

7465: THEN
7466: okl_debug_pub.log_debug
7467: (g_level_statement,
7468: l_module_name,
7469: 'called okl_accounting_util.convert_to_functional_currency , return status: '
7470: || l_return_status
7471: );
7472: okl_debug_pub.log_debug (g_level_statement,
7473: l_module_name,

Line 7499: -- If error from OKL_ACCOUNTING_UTIL

7495: || l_converted_amount
7496: );
7497: END IF;
7498:
7499: -- If error from OKL_ACCOUNTING_UTIL
7500: IF l_return_status <> okl_api.g_ret_sts_success
7501: THEN
7502: -- Error occurred when creating accounting entries for
7503: -- transaction TRX_TYPE.

Line 7757: okl_accounting_util.format_amount (k_bal_lns_rec.amount,

7753: FOR k_bal_lns_rec IN k_bal_lns_csr (p_term_rec.p_contract_id)
7754: LOOP
7755: -- Format the adjustment amt
7756: l_formatted_adj_amt :=
7757: okl_accounting_util.format_amount (k_bal_lns_rec.amount,
7758: l_currency_code);
7759: -- Append adjustment amt with currency code
7760: l_formatted_adj_amt :=
7761: l_formatted_adj_amt || ' ' || l_currency_code;

Line 7794: okl_accounting_util.format_amount (l_total_amount_due,

7790: l_currency_code :=
7791: okl_am_util_pvt.get_chr_currency (p_term_rec.p_contract_id);
7792: -- Format the balance amt
7793: l_formatted_bal_amt :=
7794: okl_accounting_util.format_amount (l_total_amount_due,
7795: l_currency_code);
7796: -- Append balance amt with currency code
7797: l_formatted_bal_amt :=
7798: l_formatted_bal_amt || ' ' || l_currency_code;

Line 7801: okl_accounting_util.format_amount (l_tolerance_amt,

7797: l_formatted_bal_amt :=
7798: l_formatted_bal_amt || ' ' || l_currency_code;
7799: -- Format the tolerance amt
7800: l_formatted_tol_amt :=
7801: okl_accounting_util.format_amount (l_tolerance_amt,
7802: l_currency_code);
7803: -- Append tolerance amt with currency code
7804: l_formatted_tol_amt :=
7805: l_formatted_tol_amt || ' ' || l_currency_code;

Line 8793: okl_accounting_util.get_valid_gl_date (p_gl_date => p_sys_date);

8789: END IF;
8790:
8791: -- Bug 3097068 Added to get the valid GL date
8792: l_valid_gl_date :=
8793: okl_accounting_util.get_valid_gl_date (p_gl_date => p_sys_date);
8794: -- Set the l_catchup_rec rec type
8795: l_catchup_rec.contract_id := p_term_rec.p_contract_id;
8796: l_catchup_rec.accrual_date := l_valid_gl_date; -- RMUNJULU 3148215
8797: l_catchup_rec.contract_number := p_term_rec.p_contract_number;

Line 8865: l_sob_id_rep := Okl_Accounting_Util.GET_SET_OF_BOOKS_ID(

8861: -- Bug 7263041 start
8862:
8863: IF (l_multi_gaap_yn = 'Y') THEN
8864:
8865: l_sob_id_rep := Okl_Accounting_Util.GET_SET_OF_BOOKS_ID(
8866: p_representation_type => 'SECONDARY');
8867:
8868: l_valid_gl_date_rep :=
8869: okl_accounting_util.get_valid_gl_date (

Line 8869: okl_accounting_util.get_valid_gl_date (

8865: l_sob_id_rep := Okl_Accounting_Util.GET_SET_OF_BOOKS_ID(
8866: p_representation_type => 'SECONDARY');
8867:
8868: l_valid_gl_date_rep :=
8869: okl_accounting_util.get_valid_gl_date (
8870: p_gl_date => p_sys_date,
8871: p_ledger_id => l_sob_id_rep
8872: );
8873: l_catchup_rec.product_id := l_reporting_pdt_id;