DBA Data[Home] [Help]

APPS.OKL_ACC_CALL_PVT dependencies on OKL_ACCOUNTING_UTIL

Line 839: l_sob_id := Okl_Accounting_Util.GET_SET_OF_BOOKS_ID;

835: -- *************************************
836: -- Get Set of Books and Currency_Code
837: -- *************************************
838: l_sob_id := NULL;
839: l_sob_id := Okl_Accounting_Util.GET_SET_OF_BOOKS_ID;
840:
841: l_curr_code := NULL;
842:
843: --Start code added by pgomes on 11/22/2002

Line 872: l_rounded_amount := okl_accounting_util.cross_currency_round_amount(p_amount => l_acct_call_rec.line_amount,

868: l_rounded_amount := ROUND (l_acct_call_rec.line_amount, l_precision);
869: END IF;*/
870:
871: --pgomes, 12/06/2002, code for rounding call
872: l_rounded_amount := okl_accounting_util.cross_currency_round_amount(p_amount => l_acct_call_rec.line_amount,
873: p_currency_code => l_curr_code);
874:
875:
876: -- *************************************

Line 907: IF (l_dist_info_rec.currency_code = okl_accounting_util.get_func_curr_code) THEN

903:
904:
905: --Uncommented the below block of code to handle currency conversion rate
906: IF (l_dist_info_rec.currency_conversion_type = 'User') THEN
907: IF (l_dist_info_rec.currency_code = okl_accounting_util.get_func_curr_code) THEN
908: l_dist_info_rec.currency_conversion_rate := 1;
909: ELSE
910: IF l_acct_call_rec.currency_conversion_rate IS NULL THEN
911: l_dist_info_rec.currency_conversion_rate := l_currency_conversion_rate;

Line 918: l_dist_info_rec.currency_conversion_rate := okl_accounting_util.get_curr_con_rate

914: END IF;
915: END IF;
916: --pgomes 01/10/2003 added below code to get curr conv rate
917: ELSIF (l_dist_info_rec.currency_conversion_type = 'Spot' OR l_dist_info_rec.currency_conversion_type = 'Corporate') THEN
918: l_dist_info_rec.currency_conversion_rate := okl_accounting_util.get_curr_con_rate
919: (p_from_curr_code => l_dist_info_rec.currency_code,
920: p_to_curr_code => okl_accounting_util.get_func_curr_code,
921: p_con_date => l_dist_info_rec.currency_conversion_date,
922: p_con_type => l_dist_info_rec.currency_conversion_type);

Line 920: p_to_curr_code => okl_accounting_util.get_func_curr_code,

916: --pgomes 01/10/2003 added below code to get curr conv rate
917: ELSIF (l_dist_info_rec.currency_conversion_type = 'Spot' OR l_dist_info_rec.currency_conversion_type = 'Corporate') THEN
918: l_dist_info_rec.currency_conversion_rate := okl_accounting_util.get_curr_con_rate
919: (p_from_curr_code => l_dist_info_rec.currency_code,
920: p_to_curr_code => okl_accounting_util.get_func_curr_code,
921: p_con_date => l_dist_info_rec.currency_conversion_date,
922: p_con_type => l_dist_info_rec.currency_conversion_type);
923: END IF;
924:

Line 1403: okl_accounting_util.cross_currency_round_amount

1399: -- Modified by dcshanmu for eBTax - modification end
1400:
1401: l_taxable_amount := orig_ttd_rec.taxable_amt * l_cm_ratio;
1402: lp_ttdv_tbl(l_ttdv_count).taxable_amt :=
1403: okl_accounting_util.cross_currency_round_amount
1404: (p_amount => l_taxable_amount,
1405: p_currency_code => l_curr_code);
1406:
1407: l_tax_amount := orig_ttd_rec.tax_amt * l_cm_ratio;

Line 1409: okl_accounting_util.cross_currency_round_amount

1405: p_currency_code => l_curr_code);
1406:
1407: l_tax_amount := orig_ttd_rec.tax_amt * l_cm_ratio;
1408: lp_ttdv_tbl(l_ttdv_count).tax_amt :=
1409: okl_accounting_util.cross_currency_round_amount
1410: (p_amount => l_tax_amount,
1411: p_currency_code => l_curr_code);
1412:
1413: END LOOP;

Line 2262: l_sob_id := Okl_Accounting_Util.GET_SET_OF_BOOKS_ID;

2258: -- *************************************
2259: -- Get Set of Books and Currency_Code
2260: -- *************************************
2261: l_sob_id := NULL;
2262: l_sob_id := Okl_Accounting_Util.GET_SET_OF_BOOKS_ID;
2263:
2264: l_curr_code := NULL;
2265:
2266: --Start code added by pgomes on 11/22/2002

Line 2295: l_rounded_amount := okl_accounting_util.cross_currency_round_amount(p_amount => l_acct_call_rec.line_amount,

2291: l_rounded_amount := ROUND (l_acct_call_rec.line_amount, l_precision);
2292: END IF;*/
2293:
2294: --pgomes, 12/06/2002, code for rounding call
2295: l_rounded_amount := okl_accounting_util.cross_currency_round_amount(p_amount => l_acct_call_rec.line_amount,
2296: p_currency_code => l_curr_code);
2297:
2298:
2299: -- *************************************

Line 2330: IF (l_dist_info_rec.currency_code = okl_accounting_util.get_func_curr_code) THEN

2326:
2327:
2328: --Uncommented the below block of code to handle currency conversion rate
2329: IF (l_dist_info_rec.currency_conversion_type = 'User') THEN
2330: IF (l_dist_info_rec.currency_code = okl_accounting_util.get_func_curr_code) THEN
2331: l_dist_info_rec.currency_conversion_rate := 1;
2332: ELSE
2333: IF l_acct_call_rec.currency_conversion_rate IS NULL THEN
2334: l_dist_info_rec.currency_conversion_rate := l_currency_conversion_rate;

Line 2341: l_dist_info_rec.currency_conversion_rate := okl_accounting_util.get_curr_con_rate

2337: END IF;
2338: END IF;
2339: --pgomes 01/10/2003 added below code to get curr conv rate
2340: ELSIF (l_dist_info_rec.currency_conversion_type = 'Spot' OR l_dist_info_rec.currency_conversion_type = 'Corporate') THEN
2341: l_dist_info_rec.currency_conversion_rate := okl_accounting_util.get_curr_con_rate
2342: (p_from_curr_code => l_dist_info_rec.currency_code,
2343: p_to_curr_code => okl_accounting_util.get_func_curr_code,
2344: p_con_date => l_dist_info_rec.currency_conversion_date,
2345: p_con_type => l_dist_info_rec.currency_conversion_type);

Line 2343: p_to_curr_code => okl_accounting_util.get_func_curr_code,

2339: --pgomes 01/10/2003 added below code to get curr conv rate
2340: ELSIF (l_dist_info_rec.currency_conversion_type = 'Spot' OR l_dist_info_rec.currency_conversion_type = 'Corporate') THEN
2341: l_dist_info_rec.currency_conversion_rate := okl_accounting_util.get_curr_con_rate
2342: (p_from_curr_code => l_dist_info_rec.currency_code,
2343: p_to_curr_code => okl_accounting_util.get_func_curr_code,
2344: p_con_date => l_dist_info_rec.currency_conversion_date,
2345: p_con_type => l_dist_info_rec.currency_conversion_type);
2346: END IF;
2347:

Line 2835: okl_accounting_util.cross_currency_round_amount

2831: -- Modified by dcshanmu for eBTax - modification end
2832:
2833: l_taxable_amount := orig_ttd_rec.taxable_amt * l_cm_ratio;
2834: lp_ttdv_tbl(l_ttdv_count).taxable_amt :=
2835: okl_accounting_util.cross_currency_round_amount
2836: (p_amount => l_taxable_amount,
2837: p_currency_code => l_curr_code);
2838:
2839: l_tax_amount := orig_ttd_rec.tax_amt * l_cm_ratio;

Line 2841: okl_accounting_util.cross_currency_round_amount

2837: p_currency_code => l_curr_code);
2838:
2839: l_tax_amount := orig_ttd_rec.tax_amt * l_cm_ratio;
2840: lp_ttdv_tbl(l_ttdv_count).tax_amt :=
2841: okl_accounting_util.cross_currency_round_amount
2842: (p_amount => l_tax_amount,
2843: p_currency_code => l_curr_code);
2844:
2845: END LOOP;