1153: l_split_trx_flag VARCHAR2(1);
1154: l_accrual_rec OKL_GENERATE_ACCRUALS_PVT.adjust_accrual_rec_type;
1155: l_stream_tbl OKL_GENERATE_ACCRUALS_PVT.stream_tbl_type;
1156: l_chr_secure VARCHAR2(3) := OKL_API.G_FALSE;
1157: l_inv_agmt_chr_id_tbl OKL_SECURITIZATION_PVT.inv_agmt_chr_id_tbl_type;
1158: l_inv_accrual_rec OKL_GENERATE_ACCRUALS_PVT.adjust_accrual_rec_type;
1159: l_inv_stream_tbl OKL_GENERATE_ACCRUALS_PVT.stream_tbl_type;
1160: l_trxv_rec trxv_rec_type;
1161: lx_trxv_rec trxv_rec_type;
1160: l_trxv_rec trxv_rec_type;
1161: lx_trxv_rec trxv_rec_type;
1162: l_split_trans_id OKL_TRX_ASSETS.ID%TYPE;
1163: l_trx_number OKL_TRX_CONTRACTS.TRX_NUMBER%TYPE := null; -- MGAAP
1164: l_trx_reason_asset_split VARCHAR2(20) := OKL_SECURITIZATION_PVT.G_TRX_REASON_ASSET_SPLIT;
1165:
1166: --Cursor to check whether split asset transaction is in progress for the contract
1167: CURSOR check_split_trx_csr IS
1168: SELECT tas.id
1358: END IF;
1359: END IF;
1360: -- MGAAP end 7263041
1361:
1362: okl_securitization_pvt.check_khr_securitized(
1363: p_api_version => p_api_version,
1364: p_init_msg_list => p_init_msg_list,
1365: x_return_status => x_return_status,
1366: x_msg_count => x_msg_count,
1376: END IF;
1377:
1378: --Bug# 6788253
1379: IF l_chr_secure = OKL_API.G_TRUE THEN
1380: OKL_SECURITIZATION_PVT.modify_pool_contents(
1381: p_api_version => p_api_version,
1382: p_init_msg_list => p_init_msg_list,
1383: p_transaction_reason => l_trx_reason_asset_split,
1384: p_khr_id => p_chr_id,
1881:
1882: l_valid_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date( p_gl_date => l_transaction_date);
1883:
1884: --For special accounting treatment : Review whether it is required or not
1885: OKL_SECURITIZATION_PVT.Check_Khr_ia_associated(
1886: p_api_version => p_api_version,
1887: p_init_msg_list => p_init_msg_list,
1888: x_return_status => x_return_status,
1889: x_msg_count => x_msg_count,
14866: --------------------------------------
14867: --Bug# : 11.5.10 : Securitization impact
14868: -------------------------------------
14869: l_is_asset_securitized VARCHAR2(1);
14870: l_inv_agmt_chr_id_tbl okl_securitization_pvt.inv_agmt_chr_id_tbl_type;
14871: l_trx_reason_asset_split VARCHAR2(20) := okl_securitization_pvt.g_trx_reason_Asset_split;
14872: --------------------------------------
14873: --Bug# : 11.5.10 : Securitization impact
14874: -------------------------------------
14867: --Bug# : 11.5.10 : Securitization impact
14868: -------------------------------------
14869: l_is_asset_securitized VARCHAR2(1);
14870: l_inv_agmt_chr_id_tbl okl_securitization_pvt.inv_agmt_chr_id_tbl_type;
14871: l_trx_reason_asset_split VARCHAR2(20) := okl_securitization_pvt.g_trx_reason_Asset_split;
14872: --------------------------------------
14873: --Bug# : 11.5.10 : Securitization impact
14874: -------------------------------------
14875:
15804: END IF;
15805:
15806: --Bug# 6788253
15807: --call API check if asset is securitized
15808: OKL_SECURITIZATION_PVT.check_kle_securitized(
15809: p_api_version => p_api_version,
15810: p_init_msg_list => p_init_msg_list,
15811: x_return_status => x_return_status,
15812: x_msg_count => x_msg_count,
15824:
15825: IF l_is_asset_securitized = OKL_API.G_TRUE THEN
15826: --call API to modify pool contents
15827:
15828: OKL_SECURITIZATION_PVT.modify_pool_contents(
15829: p_api_version => p_api_version,
15830: p_init_msg_list => p_init_msg_list,
15831: x_return_status => x_return_status,
15832: x_msg_count => x_msg_count,