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 5282: p_commit => FND_API.G_FALSE,

5278:
5279:
5280: FA_RETIREMENT_PUB.undo_retirement( p_api_version => p_api_version,
5281: p_init_msg_list => OKC_API.G_FALSE,
5282: p_commit => FND_API.G_FALSE,
5283: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5284: p_calling_fn => NULL,
5285: x_return_status => x_return_status,
5286: x_msg_count => x_msg_count,

Line 5283: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

5279:
5280: FA_RETIREMENT_PUB.undo_retirement( p_api_version => p_api_version,
5281: p_init_msg_list => OKC_API.G_FALSE,
5282: p_commit => FND_API.G_FALSE,
5283: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5284: p_calling_fn => NULL,
5285: x_return_status => x_return_status,
5286: x_msg_count => x_msg_count,
5287: x_msg_data => x_msg_data,

Line 5410: l_msg_count NUMBER := FND_API.G_MISS_NUM;

5406: l_overall_status VARCHAR2(1) := OKL_API.G_RET_STS_SUCCESS;
5407:
5408: l_api_name CONSTANT VARCHAR2(30) := 'expire_item';
5409: l_api_version CONSTANT NUMBER := 1;
5410: l_msg_count NUMBER := FND_API.G_MISS_NUM;
5411: l_msg_data VARCHAR2(2000);
5412:
5413: BEGIN
5414:

Line 5442: p_commit => FND_API.G_FALSE,

5438: l_instance_query_rec.instance_id := p_instance_id;
5439:
5440: csi_item_instance_pub.get_item_instances (
5441: p_api_version => l_api_version,
5442: p_commit => FND_API.G_FALSE,
5443: p_init_msg_list => FND_API.G_FALSE,
5444: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5445: p_instance_query_rec => l_instance_query_rec,
5446: p_party_query_rec => l_party_query_rec,

Line 5443: p_init_msg_list => FND_API.G_FALSE,

5439:
5440: csi_item_instance_pub.get_item_instances (
5441: p_api_version => l_api_version,
5442: p_commit => FND_API.G_FALSE,
5443: p_init_msg_list => FND_API.G_FALSE,
5444: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5445: p_instance_query_rec => l_instance_query_rec,
5446: p_party_query_rec => l_party_query_rec,
5447: p_account_query_rec => l_account_query_rec,

Line 5444: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

5440: csi_item_instance_pub.get_item_instances (
5441: p_api_version => l_api_version,
5442: p_commit => FND_API.G_FALSE,
5443: p_init_msg_list => FND_API.G_FALSE,
5444: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5445: p_instance_query_rec => l_instance_query_rec,
5446: p_party_query_rec => l_party_query_rec,
5447: p_account_query_rec => l_account_query_rec,
5448: p_transaction_id => NULL,

Line 5449: p_resolve_id_columns => FND_API.G_FALSE,

5445: p_instance_query_rec => l_instance_query_rec,
5446: p_party_query_rec => l_party_query_rec,
5447: p_account_query_rec => l_account_query_rec,
5448: p_transaction_id => NULL,
5449: p_resolve_id_columns => FND_API.G_FALSE,
5450: p_active_instance_only => FND_API.G_TRUE,
5451: x_instance_header_tbl => l_instance_header_tbl,
5452: x_return_status => l_return_status,
5453: x_msg_count => l_msg_count,

Line 5450: p_active_instance_only => FND_API.G_TRUE,

5446: p_party_query_rec => l_party_query_rec,
5447: p_account_query_rec => l_account_query_rec,
5448: p_transaction_id => NULL,
5449: p_resolve_id_columns => FND_API.G_FALSE,
5450: p_active_instance_only => FND_API.G_TRUE,
5451: x_instance_header_tbl => l_instance_header_tbl,
5452: x_return_status => l_return_status,
5453: x_msg_count => l_msg_count,
5454: x_msg_data => l_msg_data);

Line 5482: p_commit => FND_API.G_FALSE,

5478: -- **************************************
5479:
5480: csi_item_instance_pub.expire_item_instance (
5481: p_api_version => l_api_version,
5482: p_commit => FND_API.G_FALSE,
5483: p_init_msg_list => FND_API.G_FALSE,
5484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5485: p_instance_rec => l_instance_rec,
5486: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339

Line 5483: p_init_msg_list => FND_API.G_FALSE,

5479:
5480: csi_item_instance_pub.expire_item_instance (
5481: p_api_version => l_api_version,
5482: p_commit => FND_API.G_FALSE,
5483: p_init_msg_list => FND_API.G_FALSE,
5484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5485: p_instance_rec => l_instance_rec,
5486: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339
5487: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent

Line 5484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,

5480: csi_item_instance_pub.expire_item_instance (
5481: p_api_version => l_api_version,
5482: p_commit => FND_API.G_FALSE,
5483: p_init_msg_list => FND_API.G_FALSE,
5484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5485: p_instance_rec => l_instance_rec,
5486: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339
5487: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent
5488: p_txn_rec => l_txn_rec,

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

5482: p_commit => FND_API.G_FALSE,
5483: p_init_msg_list => FND_API.G_FALSE,
5484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5485: p_instance_rec => l_instance_rec,
5486: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339
5487: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent
5488: p_txn_rec => l_txn_rec,
5489: x_instance_id_lst => l_instance_id_lst,
5490: x_return_status => l_return_status,

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

5483: p_init_msg_list => FND_API.G_FALSE,
5484: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
5485: p_instance_rec => l_instance_rec,
5486: --p_expire_children => FND_API.G_FALSE, -- 10-AUG-04 SECHAWLA 3819339
5487: p_expire_children => FND_API.G_TRUE, -- 10-AUG-04 SECHAWLA 3819339 Expire all child instances before expiring parent
5488: p_txn_rec => l_txn_rec,
5489: x_instance_id_lst => l_instance_id_lst,
5490: x_return_status => l_return_status,
5491: x_msg_count => l_msg_count,