DBA Data[Home] [Help]

APPS.OKL_CREATE_KLE_PVT dependencies on OKL_CONTRACT_PUB

Line 5227: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,

5223: p_token1_value => l_clev_rec.sts_code);
5224: RAISE OKL_API.G_EXCEPTION_ERROR;
5225: END IF;
5226:
5227: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,
5228: p_init_msg_list => p_init_msg_list,
5229: x_return_status => x_return_status,
5230: x_msg_count => x_msg_count,
5231: x_msg_data => x_msg_data,

Line 5302: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,

5298: ELSIF (x_return_status = OKL_API.G_RET_STS_ERROR) THEN
5299: RAISE OKL_API.G_EXCEPTION_ERROR;
5300: END IF;
5301: -- Calling the Process
5302: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,
5303: p_init_msg_list => p_init_msg_list,
5304: x_return_status => x_return_status,
5305: x_msg_count => x_msg_count,
5306: x_msg_data => x_msg_data,

Line 5373: l_klev_rec okl_contract_pub.klev_rec_type;

5369: and msi.inventory_item_id = p_inv_item_id;
5370:
5371: l_asset_category_id mtl_system_items.asset_category_id%TYPE default NULL;
5372: l_clev_rec okl_okc_migration_pvt.clev_rec_type;
5373: l_klev_rec okl_contract_pub.klev_rec_type;
5374: lx_clev_rec okl_okc_migration_pvt.clev_rec_type;
5375: lx_klev_rec okl_contract_pub.klev_rec_type;
5376:
5377:

Line 5375: lx_klev_rec okl_contract_pub.klev_rec_type;

5371: l_asset_category_id mtl_system_items.asset_category_id%TYPE default NULL;
5372: l_clev_rec okl_okc_migration_pvt.clev_rec_type;
5373: l_klev_rec okl_contract_pub.klev_rec_type;
5374: lx_clev_rec okl_okc_migration_pvt.clev_rec_type;
5375: lx_klev_rec okl_contract_pub.klev_rec_type;
5376:
5377:
5378: BEGIN
5379:

Line 5409: okl_contract_pub.update_contract_line(

5405: l_clev_rec.id := p_cle_id;
5406: l_klev_rec.id := p_cle_id;
5407: l_klev_rec.item_insurance_category := l_asset_category_id;
5408:
5409: okl_contract_pub.update_contract_line(
5410: p_api_version => p_api_version,
5411: p_init_msg_list => p_init_msg_list,
5412: x_return_status => x_return_status,
5413: x_msg_count => x_msg_count,

Line 5594: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,

5590: END IF;
5591: END IF;
5592:
5593: -- Now the all the records are there we can create Model Line
5594: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,
5595: p_init_msg_list => p_init_msg_list,
5596: x_return_status => x_return_status,
5597: x_msg_count => x_msg_count,
5598: x_msg_data => x_msg_data,

Line 5753: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,

5749: RAISE OKL_API.G_EXCEPTION_ERROR;
5750: END IF;
5751: IF l_lty_code = G_FIN_LINE_LTY_CODE THEN
5752: -- Now the all the records are there we can create Model Line
5753: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,
5754: p_init_msg_list => p_init_msg_list,
5755: x_return_status => x_return_status,
5756: x_msg_count => x_msg_count,
5757: x_msg_data => x_msg_data,

Line 6009: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,

6005: RAISE OKL_API.G_EXCEPTION_ERROR;
6006: END IF;
6007: END IF;
6008: -- Now the all the records are there we can create Fixed Asset Line
6009: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,
6010: p_init_msg_list => p_init_msg_list,
6011: x_return_status => x_return_status,
6012: x_msg_count => x_msg_count,
6013: x_msg_data => x_msg_data,

Line 6252: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,

6248: END IF;
6249: -- since Fixed Assets Line is a sub line of Fin Asset line we have to check weather
6250: -- which line are creating under which line
6251: IF l_lty_code = G_FIN_LINE_LTY_CODE THEN
6252: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,
6253: p_init_msg_list => p_init_msg_list,
6254: x_return_status => x_return_status,
6255: x_msg_count => x_msg_count,
6256: x_msg_data => x_msg_data,

Line 6498: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,

6494: p_clev_rec.display_sequence = OKL_API.G_MISS_NUM) THEN
6495: r_clev_rec.display_sequence := ln_display_sequence + 1;
6496: END IF;
6497: -- Calling the Process
6498: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,
6499: p_init_msg_list => p_init_msg_list,
6500: x_return_status => x_return_status,
6501: x_msg_count => x_msg_count,
6502: x_msg_data => x_msg_data,

Line 6679: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,

6675: IF (p_clev_rec.display_sequence IS NULL OR
6676: p_clev_rec.display_sequence = OKL_API.G_MISS_NUM) THEN
6677: l_clev_rec.display_sequence := ln_display_sequence + 1;
6678: END IF;
6679: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,
6680: p_init_msg_list => p_init_msg_list,
6681: x_return_status => x_return_status,
6682: x_msg_count => x_msg_count,
6683: x_msg_data => x_msg_data,

Line 7321: OKL_CONTRACT_PUB.delete_contract_line(

7317: (l_delete_clev_rec.cle_id IS NOT NULL OR
7318: l_delete_clev_rec.cle_id <> OKL_API.G_MISS_NUM) AND
7319: l_lty_code = G_ADDON_LINE_LTY_CODE AND
7320: l_lse_type = G_SLS_TYPE THEN
7321: OKL_CONTRACT_PUB.delete_contract_line(
7322: p_api_version => p_api_version,
7323: p_init_msg_list => p_init_msg_list,
7324: x_return_status => x_return_status,
7325: x_msg_count => x_msg_count,

Line 7492: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,

7488: END IF;
7489: END IF;
7490:
7491: -- Now the all the records are there we can create Instance Line
7492: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,
7493: p_init_msg_list => p_init_msg_list,
7494: x_return_status => x_return_status,
7495: x_msg_count => x_msg_count,
7496: x_msg_data => x_msg_data,

Line 7588: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,

7584: -- since Fixed Assets Line is a sub line of Fin Asset line we have to check weather
7585: -- which line are creating under which line
7586: IF l_lty_code = G_FIN_LINE_LTY_CODE THEN
7587: -- Now the all the records are there we can create Instance Line
7588: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,
7589: p_init_msg_list => p_init_msg_list,
7590: x_return_status => x_return_status,
7591: x_msg_count => x_msg_count,
7592: x_msg_data => x_msg_data,

Line 7764: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,

7760: RAISE OKL_API.G_EXCEPTION_ERROR;
7761: END IF;
7762: END IF;
7763: -- Now the all the records are there we can create Instance Line
7764: OKL_CONTRACT_PUB.create_contract_line(p_api_version => p_api_version,
7765: p_init_msg_list => p_init_msg_list,
7766: x_return_status => x_return_status,
7767: x_msg_count => x_msg_count,
7768: x_msg_data => x_msg_data,

Line 8042: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,

8038: -- since IB Line is a sub line of instance line we have to check weather
8039: -- which line are creating under which line
8040: IF l_lty_code = G_INST_LINE_LTY_CODE THEN
8041: -- Now the all the records are there we can create Instance Line
8042: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,
8043: p_init_msg_list => p_init_msg_list,
8044: x_return_status => x_return_status,
8045: x_msg_count => x_msg_count,
8046: x_msg_data => x_msg_data,

Line 12937: OKL_CONTRACT_PUB.delete_contract_line

12933: p_chr_id => p_chr_id);
12934: Loop
12935: Fetch l_addonline_csr into l_addonline_id;
12936: Exit when l_addonline_csr%NOTFOUND;
12937: OKL_CONTRACT_PUB.delete_contract_line
12938: (p_api_version => p_api_version,
12939: p_init_msg_list => p_init_msg_list,
12940: x_return_status => x_return_status,
12941: x_msg_count => x_msg_count,

Line 12961: OKL_CONTRACT_PUB.delete_contract_line

12957: p_chr_id => p_chr_id);
12958: Loop
12959: Fetch l_subsidyline_csr into l_subsidyline_id;
12960: Exit when l_subsidyline_csr%NOTFOUND;
12961: OKL_CONTRACT_PUB.delete_contract_line
12962: (p_api_version => p_api_version,
12963: p_init_msg_list => p_init_msg_list,
12964: x_return_status => x_return_status,
12965: x_msg_count => x_msg_count,

Line 13004: okl_contract_pub.update_contract_line

13000: l_dt_clev_rec.start_date := l_hdr_rec.start_date;
13001: l_dt_clev_rec.end_date := l_hdr_rec.end_date;
13002: l_dt_clev_rec.sts_code := l_hdr_rec.sts_code;
13003:
13004: okl_contract_pub.update_contract_line
13005: (p_api_version => p_api_version,
13006: p_init_msg_list => p_init_msg_list,
13007: x_return_status => x_return_status,
13008: x_msg_count => x_msg_count,

Line 13230: okl_contract_pub.update_contract_line

13226: --BUG# End : 3569441
13227: l_cimv_rec.id := l_modelline_rec.model_cim_id;
13228: l_cimv_rec.number_of_items := l_corpbook_rec.current_units;
13229:
13230: okl_contract_pub.update_contract_line
13231: (p_api_version => p_api_version,
13232: p_init_msg_list => p_init_msg_list,
13233: x_return_status => x_return_status,
13234: x_msg_count => x_msg_count,

Line 13270: okl_contract_pub.update_contract_line

13266: --BUG : 3569441
13267: l_klev_rec.oec := l_nbv;
13268: --l_klev_rec.oec := l_corpbook_rec.depreciation_cost;
13269:
13270: okl_contract_pub.update_contract_line
13271: (p_api_version => p_api_version,
13272: p_init_msg_list => p_init_msg_list,
13273: x_return_status => x_return_status,
13274: x_msg_count => x_msg_count,

Line 14075: OKL_CONTRACT_PUB.delete_contract_line(

14071: Close l_lines_csr;
14072:
14073:
14074: --Delete old line
14075: OKL_CONTRACT_PUB.delete_contract_line(
14076: p_api_version => p_api_version,
14077: p_init_msg_list => p_init_msg_list,
14078: x_return_status => x_return_status,
14079: x_msg_count => x_msg_count,

Line 14637: OKL_CONTRACT_PUB.update_contract_line(

14633: close l_cleb_csr;
14634:
14635: If l_clev_price_tbl.COUNT > 0 then
14636:
14637: OKL_CONTRACT_PUB.update_contract_line(
14638: p_api_version => p_api_version,
14639: p_init_msg_list => p_init_msg_list,
14640: x_return_status => x_return_status,
14641: x_msg_count => x_msg_count,

Line 14766: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,

14762:
14763: l_clev_fa_rec.item_description := p_talv_fa_rec.description;
14764:
14765: l_klev_fa_rec.Year_Built := p_talv_fa_rec.year_manufactured;
14766: OKL_CONTRACT_PUB.update_contract_line(p_api_version => p_api_version,
14767: p_init_msg_list => p_init_msg_list,
14768: x_return_status => x_return_status,
14769: x_msg_count => x_msg_count,
14770: x_msg_data => x_msg_data,

Line 16383: l_klev_fin_rec2 okl_contract_pub.klev_rec_type;

16379: l_expected_cost number;
16380:
16381: l_clev_fin_rec2 okl_okc_migration_pvt.clev_rec_type;
16382: lx_clev_fin_rec2 okl_okc_migration_pvt.clev_rec_type;
16383: l_klev_fin_rec2 okl_contract_pub.klev_rec_type;
16384: lx_klev_fin_rec2 okl_contract_pub.klev_rec_type;
16385: --End Bug# 4631549
16386: BEGIN
16387:

Line 16384: lx_klev_fin_rec2 okl_contract_pub.klev_rec_type;

16380:
16381: l_clev_fin_rec2 okl_okc_migration_pvt.clev_rec_type;
16382: lx_clev_fin_rec2 okl_okc_migration_pvt.clev_rec_type;
16383: l_klev_fin_rec2 okl_contract_pub.klev_rec_type;
16384: lx_klev_fin_rec2 okl_contract_pub.klev_rec_type;
16385: --End Bug# 4631549
16386: BEGIN
16387:
16388: x_return_status := OKL_API.G_RET_STS_SUCCESS;

Line 16631: OKL_CONTRACT_PUB.update_contract_line

16627: l_clev_fin_rec2.id := x_clev_fin_rec.id;
16628: l_klev_fin_rec2.id := x_clev_fin_rec.id;
16629: l_klev_fin_rec2.expected_asset_cost := l_expected_cost;
16630:
16631: OKL_CONTRACT_PUB.update_contract_line
16632: (p_api_version => p_api_version,
16633: p_init_msg_list => p_init_msg_list,
16634: x_return_status => x_return_status,
16635: x_msg_count => x_msg_count,

Line 20051: OKL_CONTRACT_PUB.delete_contract_line(

20047: RAISE OKL_API.G_EXCEPTION_ERROR;
20048: END IF;
20049: --Bug# 5362977 end
20050:
20051: OKL_CONTRACT_PUB.delete_contract_line(
20052: p_api_version => p_api_version,
20053: p_init_msg_list => p_init_msg_list,
20054: x_return_status => x_return_status,
20055: x_msg_count => x_msg_count,