DBA Data[Home] [Help]

APPS.OKL_CS_PRINCIPAL_PAYDOWN_PVT dependencies on OKL_ACCOUNTING_UTIL

Line 2008: l_ppd_for_asset := Okl_Accounting_Util.ROUND_AMOUNT(

2004: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
2005: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'raw ppd for asset'||l_raw_ppd_for_asset);
2006: END IF;
2007:
2008: l_ppd_for_asset := Okl_Accounting_Util.ROUND_AMOUNT(
2009: p_amount => l_raw_ppd_for_asset,
2010: p_currency_code => l_currency_code);
2011: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
2012: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'PPD for Asset : '|| l_ppd_for_asset);

Line 2042: --l_ppd_amount := Okl_Accounting_Util.ROUND_AMOUNT(

2038: --PPD amount for the asset = Principal Balance on asset
2039: -- - Pro rated ppd for this asset.
2040: --dkagrawa commented the following code for bug#5203265
2041: --l_raw_ppd_amount := nvl(l_total_princ_balance,0) - nvl(l_ppd_for_asset,0);
2042: --l_ppd_amount := Okl_Accounting_Util.ROUND_AMOUNT(
2043: -- p_amount => l_raw_ppd_amount,
2044: -- p_currency_code => l_currency_code);
2045: --Bug# 5203265 end
2046:

Line 2819: l_ppd_for_asset := Okl_Accounting_Util.ROUND_AMOUNT(

2815: --Pro rate the ppd amt for this line
2816: l_raw_ppd_for_asset := (l_asset_cost/l_total_k_cost)
2817: * x_trqv_tbl(1).payment_amount;
2818:
2819: l_ppd_for_asset := Okl_Accounting_Util.ROUND_AMOUNT(
2820: p_amount => l_raw_ppd_for_asset,
2821: p_currency_code => l_currency_code);
2822: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
2823: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'PPD for Asset : '|| l_ppd_for_asset);

Line 2851: l_ppd_amount := Okl_Accounting_Util.ROUND_AMOUNT(

2847:
2848: --PPD amount for the asset = Principal Balance on asset
2849: -- - Pro rated ppd for this asset.
2850: l_raw_ppd_amount := nvl(l_total_princ_balance,0) - nvl(l_ppd_for_asset,0);
2851: l_ppd_amount := Okl_Accounting_Util.ROUND_AMOUNT(
2852: p_amount => l_raw_ppd_amount,
2853: p_currency_code => l_currency_code);
2854:
2855: --Get the iir for this line

Line 4978: l_ppd_for_asset := Okl_Accounting_Util.ROUND_AMOUNT(

4974: --Pro rate the ppd amt for this line
4975: l_raw_ppd_for_asset := (l_asset_cost/l_total_k_cost)
4976: * l_trqv_rec.payment_amount;
4977:
4978: l_ppd_for_asset := Okl_Accounting_Util.ROUND_AMOUNT(
4979: p_amount => l_raw_ppd_for_asset,
4980: p_currency_code => l_currency_code);
4981: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
4982: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'PPD for Asset : '|| l_ppd_for_asset);

Line 5433: l_stub_amount := Okl_Accounting_Util.ROUND_AMOUNT(

5429: lp_cflv_rec := NULL;
5430: lp_cflv_rec.caf_id := l_caf_id;
5431:
5432: IF p_payment_tbl(i).stub_days IS NOT NULL THEN --STUB DAYS
5433: l_stub_amount := Okl_Accounting_Util.ROUND_AMOUNT(
5434: p_amount => p_payment_tbl(i).stub_amount, --stub amount
5435: p_currency_code => l_currency_code);
5436: lp_cflv_rec.stub_days := p_payment_tbl(i).stub_days;
5437: lp_cflv_rec.stub_amount := l_stub_amount;

Line 5443: /*l_amount := Okl_Accounting_Util.ROUND_AMOUNT(

5439: --rkuttiya commetning out rounding for amount
5440: --for bug:4905281
5441: --because mass rebook fails in the qa checker when principal payments defined on the contract
5442: -- if the amounts are not accurate.
5443: /*l_amount := Okl_Accounting_Util.ROUND_AMOUNT(
5444: p_amount => p_payment_tbl(i).amount, --amount
5445: p_currency_code => l_currency_code);*/
5446: l_amount := p_payment_tbl(i).amount;
5447:

Line 5479: l_stub_amount := Okl_Accounting_Util.ROUND_AMOUNT(

5475: lp_cflv_rec := NULL;
5476: lp_cflv_rec.caf_id := l_caf_id;
5477:
5478: IF p_payment_tbl(i).stub_days IS NOT NULL THEN --STUB DAYS
5479: l_stub_amount := Okl_Accounting_Util.ROUND_AMOUNT(
5480: p_amount => p_payment_tbl(i).stub_amount, --stub amount
5481: p_currency_code => l_currency_code);
5482: lp_cflv_rec.stub_days := p_payment_tbl(i).stub_days;
5483: lp_cflv_rec.stub_amount := l_stub_amount;

Line 5485: /*l_amount := Okl_Accounting_Util.ROUND_AMOUNT(

5481: p_currency_code => l_currency_code);
5482: lp_cflv_rec.stub_days := p_payment_tbl(i).stub_days;
5483: lp_cflv_rec.stub_amount := l_stub_amount;
5484: ELSE
5485: /*l_amount := Okl_Accounting_Util.ROUND_AMOUNT(
5486: p_amount => p_payment_tbl(i).amount, --amount
5487: p_currency_code => l_currency_code); */
5488: l_amount := p_payment_tbl(i).amount;
5489:

Line 5950: l_stub_amount := Okl_Accounting_Util.ROUND_AMOUNT(

5946: lp_cflv_rec := NULL;
5947: lp_cflv_rec.caf_id := l_caf_id;
5948:
5949: IF p_payment_structure(i).rule_information7 IS NOT NULL THEN --STUB DAYS
5950: l_stub_amount := Okl_Accounting_Util.ROUND_AMOUNT(
5951: p_amount => p_payment_structure(i).rule_information8,
5952: p_currency_code => l_currency_code);
5953: lp_cflv_rec.stub_days := p_payment_structure(i).rule_information7;
5954: lp_cflv_rec.stub_amount := l_stub_amount;

Line 5956: l_amount:= Okl_Accounting_Util.ROUND_AMOUNT(

5952: p_currency_code => l_currency_code);
5953: lp_cflv_rec.stub_days := p_payment_structure(i).rule_information7;
5954: lp_cflv_rec.stub_amount := l_stub_amount;
5955: ELSE
5956: l_amount:= Okl_Accounting_Util.ROUND_AMOUNT(
5957: p_amount => p_payment_structure(i).rule_information6, --amount
5958: p_currency_code => l_currency_code);
5959:
5960: lp_cflv_rec.amount := l_amount;

Line 5995: l_stub_amount := Okl_Accounting_Util.ROUND_AMOUNT(

5991: lp_cflv_rec := NULL;
5992: lp_cflv_rec.caf_id := l_caf_id;
5993:
5994: IF p_payment_structure(i).rule_information7 IS NOT NULL THEN --STUB DAYS
5995: l_stub_amount := Okl_Accounting_Util.ROUND_AMOUNT(
5996: p_amount => p_payment_structure(i).rule_information8,
5997: p_currency_code => l_currency_code);
5998: lp_cflv_rec.stub_days := p_payment_structure(i).rule_information7;
5999: lp_cflv_rec.stub_amount := l_stub_amount;

Line 6001: l_amount:= Okl_Accounting_Util.ROUND_AMOUNT(

5997: p_currency_code => l_currency_code);
5998: lp_cflv_rec.stub_days := p_payment_structure(i).rule_information7;
5999: lp_cflv_rec.stub_amount := l_stub_amount;
6000: ELSE
6001: l_amount:= Okl_Accounting_Util.ROUND_AMOUNT(
6002: p_amount => p_payment_structure(i).rule_information6, --amount
6003: p_currency_code => l_currency_code);
6004:
6005: lp_cflv_rec.amount := l_amount;

Line 6389: l_ppd_for_asset := Okl_Accounting_Util.ROUND_AMOUNT(

6385: --Pro rate the ppd amt for this line
6386: l_raw_ppd_for_asset := (l_asset_cost/l_total_k_cost)
6387: * l_trqv_rec.payment_amount;
6388:
6389: l_ppd_for_asset := Okl_Accounting_Util.ROUND_AMOUNT(
6390: p_amount => l_raw_ppd_for_asset,
6391: p_currency_code => l_currency_code);
6392: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
6393: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE,'PPD for Asset : '|| l_ppd_for_asset);