DBA Data[Home] [Help]

APPS.OKL_PRICING_PVT dependencies on OKL_PRICING_UTILS_PVT

Line 370: OKL_PRICING_UTILS_PVT.get_day_convention(

366: CLOSE c_rent_slls;
367:
368: l_start_date := l_rent_sll.start_date;
369: -- Fetch the day convention ..
370: OKL_PRICING_UTILS_PVT.get_day_convention(
371: p_id => p_khr_id,
372: p_source => 'ISG',
373: x_days_in_month => l_day_convention_month,
374: x_days_in_year => l_day_convention_year,

Line 395: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

391:
392: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
393: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE, l_prog_name || 'rent flow start date ' || l_rent_flow.se_date );
394: END IF;
395: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
396: p_days_in_month => l_day_convention_month,
397: p_days_in_year => l_day_convention_year,
398: p_end_date => l_rent_flow.se_date,
399: p_arrears => l_rent_flow.se_arrears,

Line 424: l_interim_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_asset_start_date,

420: End If;
421:
422: END LOOP;
423:
424: l_interim_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_asset_start_date,
425: p_end_date => l_rent_sll.start_date,
426: p_days_in_month => l_day_convention_month,
427: p_days_in_year => l_day_convention_year,
428: p_arrears => 'N',

Line 670: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

666: IF TRUNC(LAST_DAY(l_se_date)) <> TRUNC(LAST_DAY(l_start_date)) THEN -- NON payment month
667:
668: l_end_date := LAST_DAY(l_start_date);
669:
670: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
671: p_days_in_month => l_day_convention_month,
672: p_days_in_year => l_day_convention_year,
673: p_end_date => l_end_date,
674: p_arrears => 'Y',

Line 710: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

706: -- first half of payment month
707:
708: l_end_date := l_se_date;
709:
710: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
711: p_days_in_month => l_day_convention_month,
712: p_days_in_year => l_day_convention_year,
713: p_end_date => l_end_date,
714: p_arrears => l_rent_sll.arrears_yn,

Line 767: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

763: ELSE
764: l_end_date := l_k_end_date;
765: END IF;
766:
767: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
768: p_days_in_month => l_day_convention_month,
769: p_days_in_year => l_day_convention_year,
770: p_end_date => l_end_date,
771: p_arrears => 'Y',

Line 842: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

838: l_start_date := TRUNC(l_end_date);
839: l_end_date := TRUNC(NVL(l_sll_start_date,l_end_Date));
840: l_se_date := TRUNC(NVL(l_sll_start_date,l_end_Date));
841:
842: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
843: p_days_in_month => l_day_convention_month,
844: p_days_in_year => l_day_convention_year,
845: p_end_date => l_end_date,
846: p_arrears => l_rent_sll.arrears_yn,

Line 886: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

882: l_end_date := LAST_DAY(l_start_date);
883: ELSE
884: l_end_date := l_k_end_date;
885: END IF;
886: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
887: p_days_in_month => l_day_convention_month,
888: p_days_in_year => l_day_convention_year,
889: p_end_date => l_end_date,
890: p_arrears => 'Y',

Line 943: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

939: l_start_date := TRUNC(l_end_date);
940: l_end_date := TRUNC(asset_rents(k).se_date);
941: l_se_date := TRUNC(asset_rents(k).se_date);
942:
943: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
944: p_days_in_month => l_day_convention_month,
945: p_days_in_year => l_day_convention_year,
946: p_end_date => l_end_date,
947: p_arrears => l_rent_sll.arrears_yn,

Line 996: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

992: ELSE
993: l_end_date := l_k_end_date;
994: END IF;
995:
996: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
997: p_days_in_month => l_day_convention_month,
998: p_days_in_year => l_day_convention_year,
999: p_end_date => l_end_date,
1000: p_arrears => 'Y',

Line 1511: OKL_PRICING_UTILS_PVT.get_day_convention(

1507: FETCH fee_type_csr INTO fee_type_rec;
1508: CLOSE fee_type_csr;
1509:
1510: -- Fetch the day convention ..
1511: OKL_PRICING_UTILS_PVT.get_day_convention(
1512: p_id => p_khr_id,
1513: p_source => 'ISG',
1514: x_days_in_month => l_day_convention_month,
1515: x_days_in_year => l_day_convention_year,

Line 1587: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

1583: -- Bug 6274342 DJANASWA end
1584:
1585:
1586: -- print( l_prog_name, 'rent flow start date ' || l_rent_flow.se_date );
1587: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
1588: p_days_in_month => l_day_convention_month,
1589: p_days_in_year => l_day_convention_year,
1590: p_end_date => l_rent_flow.se_date,
1591: p_arrears => l_rent_flow.se_arrears,

Line 1626: l_interim_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_asset_start_date,

1622: End If;
1623:
1624: END LOOP;
1625:
1626: l_interim_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_asset_start_date,
1627: p_days_in_month => l_day_convention_month,
1628: p_days_in_year => l_day_convention_year,
1629: p_end_date => l_rent_sll.start_date,
1630: p_arrears => 'N',

Line 1678: l_days := OKL_PRICING_UTILS_PVT.get_day_count(

1674:
1675: -- udhenuko Bug 5046430 Fix -start for get_loan_amortization
1676: -- terminal value of the asset considered in the calculation of IIR
1677: l_payment := l_residual_value;
1678: l_days := OKL_PRICING_UTILS_PVT.get_day_count(
1679: p_start_date => asset_rents(asset_rents.LAST).se_date,
1680: p_days_in_month => l_day_convention_month,
1681: p_days_in_year => l_day_convention_year,
1682: p_end_date => l_k_end_date,

Line 1914: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

1910: IF TRUNC(LAST_DAY(l_se_date)) <> TRUNC(LAST_DAY(l_start_date)) THEN -- NON payment month
1911:
1912: l_end_date := LAST_DAY(l_start_date);
1913:
1914: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
1915: p_days_in_month => l_day_convention_month,
1916: p_days_in_year => l_day_convention_year,
1917: p_end_date => l_end_date,
1918: p_arrears => 'Y',

Line 1955: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

1951: -- first half of payment month
1952:
1953: l_end_date := l_se_date;
1954:
1955: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
1956: p_days_in_month => l_day_convention_month,
1957: p_days_in_year => l_day_convention_year,
1958: p_end_date => l_end_date,
1959: p_arrears => l_rent_sll.arrears_yn,

Line 2015: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

2011: ELSE
2012: l_end_date := l_k_end_date;
2013: END IF;
2014:
2015: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
2016: p_days_in_month => l_day_convention_month,
2017: p_days_in_year => l_day_convention_year,
2018: p_end_date => l_end_date,
2019: p_arrears => 'Y',

Line 2107: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

2103: l_start_date := TRUNC(l_end_date);
2104: l_end_date := TRUNC(NVL(l_sll_start_date,l_end_Date));
2105: l_se_date := TRUNC(NVL(l_sll_start_date,l_end_Date));
2106:
2107: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
2108: p_days_in_month => l_day_convention_month,
2109: p_days_in_year => l_day_convention_year,
2110: p_end_date => l_end_date,
2111: p_arrears => l_rent_sll.arrears_yn,

Line 2155: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

2151: l_end_date := LAST_DAY(l_start_date);
2152: ELSE
2153: l_end_date := l_k_end_date;
2154: END IF;
2155: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
2156: p_days_in_month => l_day_convention_month,
2157: p_days_in_year => l_day_convention_year,
2158: p_end_date => l_end_date,
2159: p_arrears => 'Y',

Line 2215: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

2211: l_start_date := TRUNC(l_end_date);
2212: l_end_date := TRUNC(asset_rents(k).se_date);
2213: l_se_date := TRUNC(asset_rents(k).se_date);
2214:
2215: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
2216: p_days_in_month => l_day_convention_month,
2217: p_days_in_year => l_day_convention_year,
2218: p_end_date => l_end_date,
2219: p_arrears => l_rent_sll.arrears_yn,

Line 2272: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

2268: ELSE
2269: l_end_date := l_k_end_date;
2270: END IF;
2271:
2272: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
2273: p_days_in_month => l_day_convention_month,
2274: p_days_in_year => l_day_convention_year,
2275: p_end_date => l_end_date,
2276: p_arrears => 'Y',

Line 2332: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

2328: l_start_date := TRUNC(l_end_date);
2329: l_end_date := TRUNC(asset_rents(k).se_date);
2330: l_se_date := TRUNC(asset_rents(k).se_date);
2331:
2332: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
2333: p_days_in_month => l_day_convention_month,
2334: p_days_in_year => l_day_convention_year,
2335: p_end_date => l_end_date,
2336: p_arrears => l_rent_sll.arrears_yn,

Line 2387: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

2383: ELSE
2384: l_end_date := l_k_end_date;
2385: END IF;
2386:
2387: l_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
2388: p_days_in_month => l_day_convention_month,
2389: p_days_in_year => l_day_convention_year,
2390: p_end_date => l_end_date,
2391: p_arrears => 'Y',

Line 2837: OKL_PRICING_UTILS_PVT.get_day_convention(

2833: l_line_type := 'SO_PAYMENT';
2834: End If;
2835:
2836: -- Fetch the day convention ..
2837: OKL_PRICING_UTILS_PVT.get_day_convention(
2838: p_id => p_khr_id,
2839: p_source => 'ISG',
2840: x_days_in_month => l_day_convention_month,
2841: x_days_in_year => l_day_convention_year,

Line 2880: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(

2876: FOR l_rent_flow IN c_rent_flows(p_khr_id => p_khr_id,
2877: p_kle_id => p_kle_id,
2878: p_line_type => l_line_type) LOOP
2879: k := k + 1;
2880: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(
2881: p_start_date => l_start_date,
2882: p_days_in_month => l_day_convention_month,
2883: p_days_in_year => l_day_convention_year,
2884: p_end_date => l_rent_flow.se_date,

Line 2959: l_days := OKL_PRICING_UTILS_PVT.get_day_count(

2955: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE, l_api_name || 'l_start_date '||TO_CHAR(l_start_date));
2956: END IF;
2957: IF LAST_DAY(l_se_date) <> LAST_DAY(l_start_date) THEN
2958: l_end_date := LAST_DAY(l_start_date);
2959: l_days := OKL_PRICING_UTILS_PVT.get_day_count(
2960: p_start_date => l_start_date,
2961: p_days_in_month => l_day_convention_month,
2962: p_days_in_year => l_day_convention_year,
2963: p_end_date => l_end_date,

Line 2984: l_days := OKL_PRICING_UTILS_PVT.get_day_count(

2980: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
2981: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE, l_api_name || ' Status 6 '||x_return_status);
2982: END IF;
2983: l_end_date := l_se_date;
2984: l_days := OKL_PRICING_UTILS_PVT.get_day_count(
2985: p_start_date => l_start_date,
2986: p_days_in_month => l_day_convention_month,
2987: p_days_in_year => l_day_convention_year,
2988: p_end_date => l_end_date,

Line 3016: l_days := OKL_PRICING_UTILS_PVT.get_day_count(

3012: l_end_date := LAST_DAY(l_start_date);
3013: ELSE
3014: l_end_date := l_k_end_date;
3015: END IF;
3016: l_days := OKL_PRICING_UTILS_PVT.get_day_count(
3017: p_start_date => l_start_date,
3018: p_days_in_month => l_day_convention_month,
3019: p_days_in_year => l_day_convention_year,
3020: p_end_date => l_end_date,

Line 3058: l_days := OKL_PRICING_UTILS_PVT.get_day_count(

3054: LAST_DAY(asset_rents(k).se_date) = LAST_DAY(asset_rents(k+1).se_date) THEN
3055: k := k + 1;
3056: l_se_date := trunc(asset_rents(k).se_date);
3057: l_end_date := l_se_date;
3058: l_days := OKL_PRICING_UTILS_PVT.get_day_count(
3059: p_start_date => l_start_date,
3060: p_days_in_month => l_day_convention_month,
3061: p_days_in_year => l_day_convention_year,
3062: p_end_date => l_end_date,

Line 3657: OKL_PRICING_UTILS_PVT.get_day_convention(

3653: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
3654: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE, l_api_name || 'check if the target is correctly given - done');
3655: END IF;
3656: -- Fetch the day convention ..
3657: OKL_PRICING_UTILS_PVT.get_day_convention(
3658: p_id => p_khr_id,
3659: p_source => 'ISG',
3660: x_days_in_month => l_day_convention_month,
3661: x_days_in_year => l_day_convention_year,

Line 3748: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

3744: inflow_tbl(n).rate := l_inflow.rate;
3745: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
3746: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE, l_api_name || ' start date::end date ' || l_inflow.start_date || '::' || l_inflow.cf_date|| x_return_status);
3747: END IF;
3748: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
3749: p_start_date => l_inflow.start_date,
3750: p_days_in_month => l_day_convention_month,
3751: p_days_in_year => l_day_convention_year,
3752: p_end_date => l_inflow.cf_date,

Line 3786: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

3782: inflow_tbl(n).rate := l_inflow.rate;
3783: IF (G_IS_DEBUG_STATEMENT_ON = true) THEN
3784: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE, l_api_name || ' start date::end date ' || l_inflow.start_date || '::' || l_inflow.cf_date|| x_return_status);
3785: END IF;
3786: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
3787: p_start_date => l_inflow.start_date,
3788: p_days_in_month => l_day_convention_month,
3789: p_days_in_year => l_day_convention_year,
3790: p_end_date => l_inflow.cf_date,

Line 3863: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

3859: p_token1_value => 'Rate');
3860: x_return_status := OKL_API.G_RET_STS_ERROR;
3861: EXIT WHEN (x_return_status = OKL_API.G_RET_STS_ERROR);
3862: END IF;
3863: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
3864: p_start_date => ld_res_pay_start_date,
3865: p_days_in_month => l_day_convention_month,
3866: p_days_in_year => l_day_convention_year,
3867: p_end_date => rv_tbl(p).cf_date,

Line 3915: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

3911: p_token1_value => 'Rate');
3912: x_return_status := OKL_API.G_RET_STS_ERROR;
3913: EXIT WHEN (x_return_status = OKL_API.G_RET_STS_ERROR);
3914: END IF;
3915: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
3916: p_start_date => l_outflow.start_date,
3917: p_days_in_month => l_day_convention_month,
3918: p_days_in_year => l_day_convention_year,
3919: p_end_date => l_outflow.start_date,

Line 3978: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

3974: p_token1_value => 'Rate');
3975: x_return_status := OKL_API.G_RET_STS_ERROR;
3976: RAISE OKL_API.G_EXCEPTION_ERROR;
3977: END IF;
3978: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
3979: p_start_date => ld_asset_start_date,
3980: p_days_in_month => l_day_convention_month,
3981: p_days_in_year => l_day_convention_year,
3982: p_end_date => ld_asset_start_date,

Line 4014: pass_th_tbl(r).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

4010: p_token1_value => 'Rate');
4011: x_return_status := OKL_API.G_RET_STS_ERROR;
4012: EXIT WHEN (x_return_status = OKL_API.G_RET_STS_ERROR);
4013: END IF;
4014: pass_th_tbl(r).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
4015: p_start_date => l_pass_th.start_date,
4016: p_days_in_month => l_day_convention_month,
4017: p_days_in_year => l_day_convention_year,
4018: p_end_date => l_pass_th.cf_date,

Line 4064: rec_exp_tbl(s).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

4060: p_token1_value => 'Rate');
4061: x_return_status := OKL_API.G_RET_STS_ERROR;
4062: EXIT WHEN (x_return_status = OKL_API.G_RET_STS_ERROR);
4063: END IF;
4064: rec_exp_tbl(s).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
4065: p_start_date => l_rec_exp.start_date,
4066: p_days_in_month => l_day_convention_month,
4067: p_days_in_year => l_day_convention_year,
4068: p_end_date => rec_exp_tbl(s).cf_date,

Line 4272: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_khr_start_date,

4268: OPEN c_security_deposit;
4269: FETCH c_security_deposit INTO l_security_deposit;
4270: If ( c_security_deposit%FOUND ) Then
4271:
4272: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_khr_start_date,
4273: p_days_in_month => l_day_convention_month,
4274: p_days_in_year => l_day_convention_year,
4275: p_end_date => l_security_deposit.cf_date,
4276: p_arrears => 'N' ,

Line 4294: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_khr_start_date,

4290: l_npv_rate := l_npv_rate +
4291: (l_security_deposit.cf_amount / POWER((1 + l_irr/l_security_deposit.periods_per_year), l_periods));
4292: End If;
4293:
4294: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_khr_start_date,
4295: p_days_in_month => l_day_convention_month,
4296: p_days_in_year => l_day_convention_year,
4297: p_end_date => l_security_deposit.end_date,
4298: p_arrears => 'N' ,

Line 5050: OKL_PRICING_UTILS_PVT.get_day_convention(

5046: x_return_status := G_RET_STS_SUCCESS;
5047:
5048: lx_return_status := G_RET_STS_ERROR;
5049: -- Fetch the day convention ..
5050: OKL_PRICING_UTILS_PVT.get_day_convention(
5051: p_id => p_khr_id,
5052: p_source => 'ISG',
5053: x_days_in_month => l_day_convention_month,
5054: x_days_in_year => l_day_convention_year,

Line 5108: hdr_inflow_tbl(m).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5104: hdr_inflow_tbl(m).cf_purpose := l_hdr_inflow.cf_purpose;
5105: hdr_inflow_tbl(m).cf_dpp := l_hdr_inflow.days_per_period;
5106: hdr_inflow_tbl(m).cf_ppy := l_hdr_inflow.periods_per_year;
5107:
5108: hdr_inflow_tbl(m).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5109: p_days_in_month => l_day_convention_month,
5110: p_days_in_year => l_day_convention_year,
5111: p_end_date => l_hdr_inflow.cf_date,
5112: p_arrears => l_hdr_inflow.cf_arrear,

Line 5145: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5141: inflow_tbl(n).cf_purpose := l_inflow.cf_purpose;
5142: inflow_tbl(n).cf_dpp := l_inflow.days_per_period;
5143: inflow_tbl(n).cf_ppy := l_inflow.periods_per_year;
5144:
5145: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5146: p_days_in_month => l_day_convention_month,
5147: p_days_in_year => l_day_convention_year,
5148: p_end_date => l_inflow.cf_date,
5149: p_arrears => l_inflow.cf_arrear,

Line 5175: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5171: rv_tbl(p).cf_amount := OKL_AM_UTIL_PVT.get_actual_asset_residual(p_khr_id => p_khr_id,
5172: p_kle_id => l_asset_rv.id); --bug# 4184579
5173: rv_tbl(p).cf_date := l_asset_rv.date_terminated;
5174:
5175: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5176: p_days_in_month => l_day_convention_month,
5177: p_days_in_year => l_day_convention_year,
5178: p_end_date => l_asset_rv.date_terminated,
5179: p_arrears => 'Y',

Line 5192: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5188: Else
5189: rv_tbl(p).cf_amount := l_asset_rv.cf_amount;
5190: rv_tbl(p).cf_date := l_end_date;
5191:
5192: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5193: p_days_in_month => l_day_convention_month,
5194: p_days_in_year => l_day_convention_year,
5195: p_end_date => l_end_date,
5196: p_arrears => 'Y',

Line 5228: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5224: outflow_tbl(q).cf_date := l_outflow.start_date;
5225: outflow_tbl(q).cf_dpp := 1;
5226: outflow_tbl(q).cf_ppy := 360;
5227:
5228: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5229: p_days_in_month => l_day_convention_month,
5230: p_days_in_year => l_day_convention_year,
5231: p_end_date => l_outflow.start_date,
5232: p_arrears => 'N',

Line 5266: OKL_PRICING_UTILS_PVT.get_day_count(

5262: outflow_tbl(q).cf_date := nvl(l_outflow.date_funding_expected, l_outflow.start_date);
5263: outflow_tbl(q).cf_dpp := l_outflow.days_per_period;
5264: outflow_tbl(q).cf_ppy := l_outflow.periods_per_year;
5265: outflow_tbl(q).cf_days :=
5266: OKL_PRICING_UTILS_PVT.get_day_count(
5267: p_start_date => p_start_date,
5268: p_days_in_month => l_day_convention_month,
5269: p_days_in_year => l_day_convention_year,
5270: p_end_date => outflow_tbl(q).cf_date,

Line 5293: OKL_PRICING_UTILS_PVT.get_day_count(

5289: outflow_tbl(q).cf_date := l_outflow.date_funding_expected;
5290: outflow_tbl(q).cf_dpp := l_outflow.days_per_period;
5291: outflow_tbl(q).cf_ppy := l_outflow.periods_per_year;
5292: outflow_tbl(q).cf_days :=
5293: OKL_PRICING_UTILS_PVT.get_day_count(
5294: p_start_date => l_outflow.date_funding_expected,
5295: p_days_in_month => l_day_convention_month,
5296: p_days_in_year => l_day_convention_year,
5297: p_end_date => p_start_date,

Line 5341: subsidies_tbl(1).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5337: subsidies_tbl(1).cf_date := p_start_date;
5338: subsidies_tbl(1).cf_dpp := 1;
5339: subsidies_tbl(1).cf_ppy := 360;
5340:
5341: subsidies_tbl(1).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5342: p_days_in_month => l_day_convention_month,
5343: p_days_in_year => l_day_convention_year,
5344: p_end_date => p_start_date,
5345: p_arrears => 'N',

Line 5418: pass_th_tbl(r).cf_days :=OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5414: pass_th_tbl(r).cf_purpose := l_pass_th.cf_purpose;
5415: pass_th_tbl(r).cf_dpp := l_pass_th.days_per_period;
5416: pass_th_tbl(r).cf_ppy := l_pass_th.periods_per_year;
5417:
5418: pass_th_tbl(r).cf_days :=OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5419: p_days_in_month => l_day_convention_month,
5420: p_days_in_year => l_day_convention_year,
5421: p_end_date => l_pass_th.cf_date,
5422: p_arrears => l_pass_th.cf_arrear,

Line 5445: rec_exp_tbl(s).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5441: rec_exp_tbl(s).cf_date := ADD_MONTHS(l_rec_exp.start_date, (s1 -1)*l_rec_exp.cf_mpp);
5442: rec_exp_tbl(s).cf_dpp := l_rec_exp.cf_dpp;
5443: rec_exp_tbl(s).cf_ppy := l_rec_exp.cf_ppy;
5444:
5445: rec_exp_tbl(s).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5446: p_days_in_month => l_day_convention_month,
5447: p_days_in_year => l_day_convention_year,
5448: p_end_date => rec_exp_tbl(s).cf_date,
5449: p_arrears => 'N',

Line 5795: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5791: CLOSE c_deposit_date;
5792:
5793: IF l_deposit_date IS NOT NULL THEN
5794:
5795: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5796: p_days_in_month => l_day_convention_month,
5797: p_days_in_year => l_day_convention_year,
5798: p_end_date => l_deposit_date,
5799: p_arrears => l_cf_arrear,

Line 5810: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5806: END IF;
5807:
5808: ELSE
5809:
5810: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5811: p_days_in_month => l_day_convention_month,
5812: p_days_in_year => l_day_convention_year,
5813: p_end_date => l_end_date,
5814: p_arrears => l_cf_arrear,

Line 5892: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5888: CLOSE c_deposit_date;
5889:
5890: IF l_deposit_date IS NOT NULL THEN
5891:
5892: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5893: p_days_in_month => l_day_convention_month,
5894: p_days_in_year => l_day_convention_year,
5895: p_end_date => l_deposit_date,
5896: p_arrears => l_cf_arrear,

Line 5907: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

5903: END IF;
5904:
5905: ELSE
5906:
5907: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
5908: p_days_in_month => l_day_convention_month,
5909: p_days_in_year => l_day_convention_year,
5910: p_end_date => l_end_date,
5911: p_arrears => l_cf_arrear,

Line 6360: OKL_PRICING_UTILS_PVT.get_day_convention(

6356: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE, l_prog_name || 'begin' );
6357:
6358: END IF;
6359: -- Fetch the day convention ..
6360: OKL_PRICING_UTILS_PVT.get_day_convention(
6361: p_id => p_khr_id,
6362: p_source => 'ISG',
6363: x_days_in_month => l_day_convention_month,
6364: x_days_in_year => l_day_convention_year,

Line 6395: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

6391: FOR l_rent_flow IN c_rent_flows LOOP
6392:
6393: k := k + 1;
6394:
6395: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
6396: p_days_in_month => l_day_convention_month,
6397: p_days_in_year => l_day_convention_year,
6398: p_end_date => l_rent_flow.se_date,
6399: p_arrears => l_rent_flow.se_arrears,

Line 6420: l_interim_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_kle.start_date,

6416: END IF;
6417:
6418: END LOOP;
6419:
6420: l_interim_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_kle.start_date,
6421: p_days_in_month => l_day_convention_month,
6422: p_days_in_year => l_day_convention_year,
6423: p_end_date => l_rent_sll.start_date,
6424: p_arrears => 'N',

Line 6850: OKL_PRICING_UTILS_PVT.get_day_convention(

6846: OKL_DEBUG_PUB.LOG_DEBUG(FND_LOG.LEVEL_STATEMENT, G_MODULE, l_api_name || 'check if the target is correctly given' || ' ' || p_target );
6847:
6848: END IF;
6849: -- Fetch the day convention ..
6850: OKL_PRICING_UTILS_PVT.get_day_convention(
6851: p_id => p_khr_id,
6852: p_source => 'ISG',
6853: x_days_in_month => l_day_convention_month,
6854: x_days_in_year => l_day_convention_year,

Line 6937: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

6933: inflow_tbl(n).cf_purpose := l_inflow.cf_purpose;
6934: inflow_tbl(n).cf_dpp := l_inflow.days_per_period;
6935: inflow_tbl(n).cf_ppy := l_inflow.periods_per_year;
6936: inflow_tbl(n).rate := l_inflow.rate;
6937: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
6938: p_start_date => l_inflow.start_date,
6939: p_days_in_month => l_day_convention_month,
6940: p_days_in_year => l_day_convention_year,
6941: p_end_date => l_inflow.cf_date,

Line 7005: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

7001: p_token1_value => 'Rate');
7002: x_return_status := OKL_API.G_RET_STS_ERROR;
7003: EXIT WHEN (x_return_status = OKL_API.G_RET_STS_ERROR);
7004: END IF;
7005: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
7006: p_start_date => ld_res_pay_start_date,
7007: p_days_in_month => l_day_convention_month,
7008: p_days_in_year => l_day_convention_year,
7009: p_end_date => rv_tbl(p).cf_date,

Line 7067: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

7063: p_token1_value => 'Rate');
7064: x_return_status := OKL_API.G_RET_STS_ERROR;
7065: RAISE OKL_API.G_EXCEPTION_ERROR;
7066: END IF;
7067: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
7068: p_start_date => ld_asset_start_date,
7069: p_days_in_month => l_day_convention_month,
7070: p_days_in_year => l_day_convention_year,
7071: p_end_date => ld_asset_start_date,

Line 8336: OKL_PRICING_UTILS_PVT.get_day_convention(

8332: END IF;
8333: x_return_status := G_RET_STS_SUCCESS;
8334:
8335: -- Fetch the day convention ..
8336: OKL_PRICING_UTILS_PVT.get_day_convention(
8337: p_id => p_khr_id,
8338: p_source => 'ISG',
8339: x_days_in_month => l_day_convention_month,
8340: x_days_in_year => l_day_convention_year,

Line 8413: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_ppd_date,

8409: END IF;
8410:
8411: l_npv := l_npv - NVL(l_principal_balance, 0);
8412:
8413: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_ppd_date,
8414: p_days_in_month => l_day_convention_month,
8415: p_days_in_year => l_day_convention_year,
8416: p_end_date => p_pay_start_date,
8417: p_arrears => 'N',

Line 8465: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_ppd_date,

8461: END IF;
8462: FOR i in lx_selv_tbl.FIRST..lx_selv_tbl.LAST
8463: LOOP
8464:
8465: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_ppd_date,
8466: p_days_in_month => l_day_convention_month,
8467: p_days_in_year => l_day_convention_year,
8468: p_end_date => lx_selv_tbl(i).stream_element_date,
8469: p_arrears => p_arrears_yn,

Line 8941: OKL_PRICING_UTILS_PVT.get_day_convention(

8937: END IF;
8938: x_return_status := G_RET_STS_SUCCESS;
8939:
8940: -- Fetch the day convention ..
8941: OKL_PRICING_UTILS_PVT.get_day_convention(
8942: p_id => p_khr_id,
8943: p_source => 'ISG',
8944: x_days_in_month => l_day_convention_month,
8945: x_days_in_year => l_day_convention_year,

Line 8997: hdr_inflow_tbl(m).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

8993: hdr_inflow_tbl(m).cf_purpose := l_hdr_inflow.cf_purpose;
8994: hdr_inflow_tbl(m).cf_dpp := l_hdr_inflow.days_per_period;
8995: hdr_inflow_tbl(m).cf_ppy := l_hdr_inflow.periods_per_year;
8996:
8997: hdr_inflow_tbl(m).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
8998: p_days_in_month => l_day_convention_month,
8999: p_days_in_year => l_day_convention_year,
9000: p_end_date => l_hdr_inflow.cf_date,
9001: p_arrears => l_hdr_inflow.cf_arrear,

Line 9022: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9018: inflow_tbl(n).cf_date := l_inflow.cf_date;
9019: inflow_tbl(n).cf_purpose := l_inflow.cf_purpose;
9020: inflow_tbl(n).cf_dpp := l_inflow.days_per_period;
9021: inflow_tbl(n).cf_ppy := l_inflow.periods_per_year;
9022: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9023: p_days_in_month => l_day_convention_month,
9024: p_days_in_year => l_day_convention_year,
9025: p_end_date => l_inflow.cf_date,
9026: p_arrears => l_inflow.cf_arrear,

Line 9058: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9054: inflow_tbl(n).cf_purpose := l_fee_inflow.cf_purpose;
9055: inflow_tbl(n).cf_dpp := l_fee_inflow.days_per_period;
9056: inflow_tbl(n).cf_ppy := l_fee_inflow.periods_per_year;
9057:
9058: inflow_tbl(n).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9059: p_days_in_month => l_day_convention_month,
9060: p_days_in_year => l_day_convention_year,
9061: p_end_date => l_fee_inflow.cf_date,
9062: p_arrears => l_fee_inflow.cf_arrear,

Line 9089: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9085: If l_asset_rv.sts_code = 'TERMINATED' Then
9086: rv_tbl(p).cf_amount := OKL_AM_UTIL_PVT.get_actual_asset_residual(p_khr_id => p_khr_id,
9087: p_kle_id => l_asset_rv.id); --bug# 4184579
9088: rv_tbl(p).cf_date := l_asset_rv.date_terminated;
9089: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9090: p_days_in_month => l_day_convention_month,
9091: p_days_in_year => l_day_convention_year,
9092: p_end_date => l_asset_rv.date_terminated,
9093: p_arrears => 'Y',

Line 9104: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9100: ELSE
9101: rv_tbl(p).cf_amount := l_asset_rv.cf_amount;
9102: rv_tbl(p).cf_date := l_end_date;
9103:
9104: rv_tbl(p).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9105: p_days_in_month => l_day_convention_month,
9106: p_days_in_year => l_day_convention_year,
9107: p_end_date => l_end_date,
9108: p_arrears => 'Y',

Line 9146: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9142: outflow_tbl(q).cf_date := l_outflow.start_date;
9143: outflow_tbl(q).cf_dpp := 1;
9144: outflow_tbl(q).cf_ppy := 360;
9145:
9146: outflow_tbl(q).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9147: p_days_in_month => l_day_convention_month,
9148: p_days_in_year => l_day_convention_year,
9149: p_end_date => l_outflow.start_date,
9150: p_arrears => 'N',

Line 9184: OKL_PRICING_UTILS_PVT.get_day_count(

9180: outflow_tbl(q).cf_date := nvl(l_outflow.date_funding_expected, l_outflow.start_date);
9181: outflow_tbl(q).cf_dpp := l_outflow.days_per_period;
9182: outflow_tbl(q).cf_ppy := l_outflow.periods_per_year;
9183: outflow_tbl(q).cf_days :=
9184: OKL_PRICING_UTILS_PVT.get_day_count(
9185: p_start_date => p_start_date,
9186: p_days_in_month => l_day_convention_month,
9187: p_days_in_year => l_day_convention_year,
9188: p_end_date => outflow_tbl(q).cf_date,

Line 9211: OKL_PRICING_UTILS_PVT.get_day_count(

9207: outflow_tbl(q).cf_date := l_outflow.date_funding_expected;
9208: outflow_tbl(q).cf_dpp := l_outflow.days_per_period;
9209: outflow_tbl(q).cf_ppy := l_outflow.periods_per_year;
9210: outflow_tbl(q).cf_days :=
9211: OKL_PRICING_UTILS_PVT.get_day_count(
9212: p_start_date => l_outflow.date_funding_expected,
9213: p_days_in_month => l_day_convention_month,
9214: p_days_in_year => l_day_convention_year,
9215: p_end_date => p_start_date,

Line 9259: subsidies_tbl(1).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(

9255: subsidies_tbl(1).cf_date := p_start_date;
9256: subsidies_tbl(1).cf_dpp := 1;
9257: subsidies_tbl(1).cf_ppy := 360;
9258:
9259: subsidies_tbl(1).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(
9260: p_days_in_month => l_day_convention_month,
9261: p_days_in_year => l_day_convention_year,
9262: p_start_date => p_start_date,
9263: p_end_date => p_start_date,

Line 9290: rec_exp_tbl(s).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9286: rec_exp_tbl(s).cf_date := ADD_MONTHS(l_rec_exp.start_date, (s1 -1)*l_rec_exp.cf_mpp);
9287: rec_exp_tbl(s).cf_dpp := l_rec_exp.cf_dpp;
9288: rec_exp_tbl(s).cf_ppy := l_rec_exp.cf_ppy;
9289:
9290: rec_exp_tbl(s).cf_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9291: p_days_in_month => l_day_convention_month,
9292: p_days_in_year => l_day_convention_year,
9293: p_end_date => rec_exp_tbl(s).cf_date,
9294: p_arrears => 'N',

Line 9471: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9467: CLOSE c_deposit_date;
9468:
9469: IF l_deposit_date IS NOT NULL THEN
9470:
9471: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9472: p_days_in_month => l_day_convention_month,
9473: p_days_in_year => l_day_convention_year,
9474: p_end_date => l_deposit_date,
9475: p_arrears => l_cf_arrear,

Line 9486: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9482: END IF;
9483:
9484: ELSE
9485:
9486: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9487: p_days_in_month => l_day_convention_month,
9488: p_days_in_year => l_day_convention_year,
9489: p_end_date => l_end_date,
9490: p_arrears => l_cf_arrear,

Line 9560: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9556: CLOSE c_deposit_date;
9557:
9558: IF l_deposit_date IS NOT NULL THEN
9559:
9560: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9561: p_days_in_month => l_day_convention_month,
9562: p_days_in_year => l_day_convention_year,
9563: p_end_date => l_deposit_date,
9564: p_arrears => l_cf_arrear,

Line 9575: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,

9571: END IF;
9572:
9573: ELSE
9574:
9575: l_days_in_future := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => p_start_date,
9576: p_days_in_month => l_day_convention_month,
9577: p_days_in_year => l_day_convention_year,
9578: p_end_date => l_end_date,
9579: p_arrears => l_cf_arrear,

Line 10838: OKL_PRICING_UTILS_PVT.get_day_convention(

10834: ELSIF (x_return_status = okl_api.g_ret_sts_error) THEN
10835: RAISE okl_api.g_exception_error;
10836: END IF;
10837: -- Fetch the day convention ..
10838: OKL_PRICING_UTILS_PVT.get_day_convention(
10839: p_id => p_khr_id,
10840: p_source => 'ISG',
10841: x_days_in_month => l_day_convention_month,
10842: x_days_in_year => l_day_convention_year,

Line 10930: ln_int_ppd_days := OKL_PRICING_UTILS_PVT.get_day_count(

10926:
10927:
10928: FOR j IN l_selv_tbl.FIRST..l_selv_tbl.LAST LOOP
10929:
10930: ln_int_ppd_days := OKL_PRICING_UTILS_PVT.get_day_count(
10931: p_start_date => l_start_date,
10932: p_days_in_month => l_day_convention_month,
10933: p_days_in_year => l_day_convention_year,
10934: p_end_date => l_selv_tbl(j).stream_element_date,

Line 10967: l_intrm_days := OKL_PRICING_UTILS_PVT.get_day_count(

10963: l_pay_level(l_pay_level.FIRST).start_date <> okl_api.g_miss_date) AND
10964: (p_ppd_date IS NOT NULL OR
10965: p_ppd_date <> okl_api.g_miss_date) AND
10966: l_pay_level(l_pay_level.FIRST).start_date > p_ppd_date THEN
10967: l_intrm_days := OKL_PRICING_UTILS_PVT.get_day_count(
10968: p_start_date => p_ppd_date,
10969: p_days_in_month => l_day_convention_month,
10970: p_days_in_year => l_day_convention_year,
10971: p_end_date => l_pay_level(l_pay_level.FIRST).start_date,

Line 11298: OKL_PRICING_UTILS_PVT.get_day_convention(

11294: fetch get_precision into l_precision;
11295: close get_precision;
11296:
11297: -- Fetch the day convention ..
11298: OKL_PRICING_UTILS_PVT.get_day_convention(
11299: p_id => p_khr_id,
11300: p_source => 'ISG',
11301: x_days_in_month => l_day_convention_month,
11302: x_days_in_year => l_day_convention_year,

Line 11334: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,

11330: k := k + 1;
11331:
11332: print( l_prog_name, 'l_start_date :' || l_start_date );
11333:
11334: asset_rents(k).se_days := OKL_PRICING_UTILS_PVT.get_day_count(p_start_date => l_start_date,
11335: p_days_in_month => l_day_convention_month,
11336: p_days_in_year => l_day_convention_year,
11337: p_end_date => l_rent_flow.se_date,
11338: p_arrears => l_rent_flow.se_arrears,