DBA Data[Home] [Help]

APPS.OKL_AM_ASSET_DISPOSE_PVT dependencies on FND_API

Line 913: p_commit => FND_API.G_FALSE,

909:
910: fa_adjustment_pub.do_adjustment(
911: p_api_version => p_api_version,
912: p_init_msg_list => OKC_API.G_FALSE,
913: p_commit => FND_API.G_FALSE,
914: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
915: p_calling_fn => NULL,
916: x_return_status => x_return_status,
917: x_msg_count => x_msg_count,

Line 914: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

910: fa_adjustment_pub.do_adjustment(
911: p_api_version => p_api_version,
912: p_init_msg_list => OKC_API.G_FALSE,
913: p_commit => FND_API.G_FALSE,
914: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
915: p_calling_fn => NULL,
916: x_return_status => x_return_status,
917: x_msg_count => x_msg_count,
918: x_msg_data => x_msg_data,

Line 1009: l_asset_retire_rec.calculate_gain_loss := FND_API.G_FALSE;

1005: l_asset_retire_rec.proceeds_of_sale := p_proceeds_of_sale;
1006: l_asset_retire_rec.cost_of_removal := 0;
1007: l_asset_retire_rec.retirement_type_code := 'SALE';
1008: l_asset_retire_rec.trade_in_asset_id := NULL;
1009: l_asset_retire_rec.calculate_gain_loss := FND_API.G_FALSE;
1010: --SECHAWLA 13-JAN-03 Bug # 2701440 : calculate gain and loss should be set to TRUE if multiple partial retirements are performed on the same asset in the same period
1011: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1012:
1013: -- p_user_id must be properly set to run calc gain/loss

Line 1011: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;

1007: l_asset_retire_rec.retirement_type_code := 'SALE';
1008: l_asset_retire_rec.trade_in_asset_id := NULL;
1009: l_asset_retire_rec.calculate_gain_loss := FND_API.G_FALSE;
1010: --SECHAWLA 13-JAN-03 Bug # 2701440 : calculate gain and loss should be set to TRUE if multiple partial retirements are performed on the same asset in the same period
1011: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1012:
1013: -- p_user_id must be properly set to run calc gain/loss
1014: --fnd_profile.put('USER_ID',p_user_id);
1015:

Line 1020: p_commit => FND_API.G_FALSE,

1016: l_asset_dist_tbl.DELETE;
1017:
1018: FA_RETIREMENT_PUB.do_retirement( p_api_version => p_api_version,
1019: p_init_msg_list => OKC_API.G_FALSE,
1020: p_commit => FND_API.G_FALSE,
1021: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1022: p_calling_fn => NULL,
1023: x_return_status => x_return_status,
1024: x_msg_count => x_msg_count,

Line 1021: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

1017:
1018: FA_RETIREMENT_PUB.do_retirement( p_api_version => p_api_version,
1019: p_init_msg_list => OKC_API.G_FALSE,
1020: p_commit => FND_API.G_FALSE,
1021: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1022: p_calling_fn => NULL,
1023: x_return_status => x_return_status,
1024: x_msg_count => x_msg_count,
1025: x_msg_data => x_msg_data,

Line 1201: p_commit => FND_API.G_FALSE,

1197:
1198: fa_adjustment_pub.do_adjustment(
1199: p_api_version => p_api_version,
1200: p_init_msg_list => OKC_API.G_FALSE,
1201: p_commit => FND_API.G_FALSE,
1202: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1203: p_calling_fn => NULL,
1204: x_return_status => x_return_status,
1205: x_msg_count => x_msg_count,

Line 1202: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

1198: fa_adjustment_pub.do_adjustment(
1199: p_api_version => p_api_version,
1200: p_init_msg_list => OKC_API.G_FALSE,
1201: p_commit => FND_API.G_FALSE,
1202: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1203: p_calling_fn => NULL,
1204: x_return_status => x_return_status,
1205: x_msg_count => x_msg_count,
1206: x_msg_data => x_msg_data,

Line 1289: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;

1285: l_asset_retire_rec.retirement_type_code := 'SALE';
1286: l_asset_retire_rec.trade_in_asset_id := NULL;
1287: --akrangan changed calculate_gain_loss flag from FALSE to TRUE
1288: --to address FA enhancement beign
1289: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1290: --akrangan changed ends here
1291: --SECHAWLA 13-JAN-03 Bug # 2701440 : calculate gain and loss should be set to TRUE if multiple partial retirements are performed on the same asset in the same period
1292: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1293:

Line 1292: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;

1288: --to address FA enhancement beign
1289: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1290: --akrangan changed ends here
1291: --SECHAWLA 13-JAN-03 Bug # 2701440 : calculate gain and loss should be set to TRUE if multiple partial retirements are performed on the same asset in the same period
1292: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1293:
1294: -- p_user_id must be properly set to run calc gain/loss
1295: --fnd_profile.put('USER_ID',p_user_id);
1296:

Line 1303: p_commit => FND_API.G_FALSE,

1299:
1300:
1301: FA_RETIREMENT_PUB.do_retirement( p_api_version => p_api_version,
1302: p_init_msg_list => OKC_API.G_FALSE,
1303: p_commit => FND_API.G_FALSE,
1304: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1305: p_calling_fn => NULL,
1306: x_return_status => x_return_status,
1307: x_msg_count => x_msg_count,

Line 1304: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

1300:
1301: FA_RETIREMENT_PUB.do_retirement( p_api_version => p_api_version,
1302: p_init_msg_list => OKC_API.G_FALSE,
1303: p_commit => FND_API.G_FALSE,
1304: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1305: p_calling_fn => NULL,
1306: x_return_status => x_return_status,
1307: x_msg_count => x_msg_count,
1308: x_msg_data => x_msg_data,

Line 1483: p_commit => FND_API.G_FALSE,

1479:
1480: fa_adjustment_pub.do_adjustment(
1481: p_api_version => p_api_version,
1482: p_init_msg_list => OKC_API.G_FALSE,
1483: p_commit => FND_API.G_FALSE,
1484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1485: p_calling_fn => NULL,
1486: x_return_status => x_return_status,
1487: x_msg_count => x_msg_count,

Line 1484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

1480: fa_adjustment_pub.do_adjustment(
1481: p_api_version => p_api_version,
1482: p_init_msg_list => OKC_API.G_FALSE,
1483: p_commit => FND_API.G_FALSE,
1484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1485: p_calling_fn => NULL,
1486: x_return_status => x_return_status,
1487: x_msg_count => x_msg_count,
1488: x_msg_data => x_msg_data,

Line 1568: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;

1564: l_asset_retire_rec.retirement_type_code := 'SALE';
1565: l_asset_retire_rec.trade_in_asset_id := NULL;
1566: --akrangan changed calculate_gain_loss flag from FALSE to TRUE
1567: --to address FA enhancement beign
1568: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1569: --akrangan changed ends here
1570: --SECHAWLA 13-JAN-03 Bug # 2701440 : calculate gain and loss should be set to TRUE if multiple partial retirements are performed on the same asset in the same period
1571: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1572:

Line 1571: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;

1567: --to address FA enhancement beign
1568: l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1569: --akrangan changed ends here
1570: --SECHAWLA 13-JAN-03 Bug # 2701440 : calculate gain and loss should be set to TRUE if multiple partial retirements are performed on the same asset in the same period
1571: --l_asset_retire_rec.calculate_gain_loss := FND_API.G_TRUE;
1572:
1573: -- p_user_id must be properly set to run calc gain/loss
1574: --fnd_profile.put('USER_ID',p_user_id);
1575:

Line 1599: p_commit => FND_API.G_FALSE,

1595:
1596:
1597: FA_RETIREMENT_PUB.do_retirement( p_api_version => p_api_version,
1598: p_init_msg_list => OKC_API.G_FALSE,
1599: p_commit => FND_API.G_FALSE,
1600: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1601: p_calling_fn => NULL,
1602: x_return_status => x_return_status,
1603: x_msg_count => x_msg_count,

Line 1600: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

1596:
1597: FA_RETIREMENT_PUB.do_retirement( p_api_version => p_api_version,
1598: p_init_msg_list => OKC_API.G_FALSE,
1599: p_commit => FND_API.G_FALSE,
1600: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
1601: p_calling_fn => NULL,
1602: x_return_status => x_return_status,
1603: x_msg_count => x_msg_count,
1604: x_msg_data => x_msg_data,

Line 5297: p_commit => FND_API.G_FALSE,

5293:
5294:
5295: FA_RETIREMENT_PUB.undo_retirement( p_api_version => p_api_version,
5296: p_init_msg_list => OKC_API.G_FALSE,
5297: p_commit => FND_API.G_FALSE,
5298: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5299: p_calling_fn => NULL,
5300: x_return_status => x_return_status,
5301: x_msg_count => x_msg_count,

Line 5298: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

5294:
5295: FA_RETIREMENT_PUB.undo_retirement( p_api_version => p_api_version,
5296: p_init_msg_list => OKC_API.G_FALSE,
5297: p_commit => FND_API.G_FALSE,
5298: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5299: p_calling_fn => NULL,
5300: x_return_status => x_return_status,
5301: x_msg_count => x_msg_count,
5302: x_msg_data => x_msg_data,

Line 5425: l_msg_count NUMBER := FND_API.G_MISS_NUM;

5421: l_overall_status VARCHAR2(1) := OKL_API.G_RET_STS_SUCCESS;
5422:
5423: l_api_name CONSTANT VARCHAR2(30) := 'expire_item';
5424: l_api_version CONSTANT NUMBER := 1;
5425: l_msg_count NUMBER := FND_API.G_MISS_NUM;
5426: l_msg_data VARCHAR2(2000);
5427:
5428: BEGIN
5429:

Line 5457: p_commit => FND_API.G_FALSE,

5453: l_instance_query_rec.instance_id := p_instance_id;
5454:
5455: csi_item_instance_pub.get_item_instances (
5456: p_api_version => l_api_version,
5457: p_commit => FND_API.G_FALSE,
5458: p_init_msg_list => FND_API.G_FALSE,
5459: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5460: p_instance_query_rec => l_instance_query_rec,
5461: p_party_query_rec => l_party_query_rec,

Line 5458: p_init_msg_list => FND_API.G_FALSE,

5454:
5455: csi_item_instance_pub.get_item_instances (
5456: p_api_version => l_api_version,
5457: p_commit => FND_API.G_FALSE,
5458: p_init_msg_list => FND_API.G_FALSE,
5459: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5460: p_instance_query_rec => l_instance_query_rec,
5461: p_party_query_rec => l_party_query_rec,
5462: p_account_query_rec => l_account_query_rec,

Line 5459: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

5455: csi_item_instance_pub.get_item_instances (
5456: p_api_version => l_api_version,
5457: p_commit => FND_API.G_FALSE,
5458: p_init_msg_list => FND_API.G_FALSE,
5459: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5460: p_instance_query_rec => l_instance_query_rec,
5461: p_party_query_rec => l_party_query_rec,
5462: p_account_query_rec => l_account_query_rec,
5463: p_transaction_id => NULL,

Line 5464: p_resolve_id_columns => FND_API.G_FALSE,

5460: p_instance_query_rec => l_instance_query_rec,
5461: p_party_query_rec => l_party_query_rec,
5462: p_account_query_rec => l_account_query_rec,
5463: p_transaction_id => NULL,
5464: p_resolve_id_columns => FND_API.G_FALSE,
5465: p_active_instance_only => FND_API.G_TRUE,
5466: x_instance_header_tbl => l_instance_header_tbl,
5467: x_return_status => l_return_status,
5468: x_msg_count => l_msg_count,

Line 5465: p_active_instance_only => FND_API.G_TRUE,

5461: p_party_query_rec => l_party_query_rec,
5462: p_account_query_rec => l_account_query_rec,
5463: p_transaction_id => NULL,
5464: p_resolve_id_columns => FND_API.G_FALSE,
5465: p_active_instance_only => FND_API.G_TRUE,
5466: x_instance_header_tbl => l_instance_header_tbl,
5467: x_return_status => l_return_status,
5468: x_msg_count => l_msg_count,
5469: x_msg_data => l_msg_data);

Line 5497: p_commit => FND_API.G_FALSE,

5493: -- **************************************
5494:
5495: csi_item_instance_pub.expire_item_instance (
5496: p_api_version => l_api_version,
5497: p_commit => FND_API.G_FALSE,
5498: p_init_msg_list => FND_API.G_FALSE,
5499: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5500: p_instance_rec => l_instance_rec,
5501: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339

Line 5498: p_init_msg_list => FND_API.G_FALSE,

5494:
5495: csi_item_instance_pub.expire_item_instance (
5496: p_api_version => l_api_version,
5497: p_commit => FND_API.G_FALSE,
5498: p_init_msg_list => FND_API.G_FALSE,
5499: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5500: p_instance_rec => l_instance_rec,
5501: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339
5502: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent

Line 5499: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

5495: csi_item_instance_pub.expire_item_instance (
5496: p_api_version => l_api_version,
5497: p_commit => FND_API.G_FALSE,
5498: p_init_msg_list => FND_API.G_FALSE,
5499: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5500: p_instance_rec => l_instance_rec,
5501: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339
5502: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent
5503: p_txn_rec => l_txn_rec,

Line 5501: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339

5497: p_commit => FND_API.G_FALSE,
5498: p_init_msg_list => FND_API.G_FALSE,
5499: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5500: p_instance_rec => l_instance_rec,
5501: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339
5502: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent
5503: p_txn_rec => l_txn_rec,
5504: x_instance_id_lst => l_instance_id_lst,
5505: x_return_status => l_return_status,

Line 5502: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent

5498: p_init_msg_list => FND_API.G_FALSE,
5499: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5500: p_instance_rec => l_instance_rec,
5501: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339
5502: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent
5503: p_txn_rec => l_txn_rec,
5504: x_instance_id_lst => l_instance_id_lst,
5505: x_return_status => l_return_status,
5506: x_msg_count => l_msg_count,