DBA Data[Home] [Help]

APPS.CST_PACEAMCOST_GRP dependencies on CST_EAMCOST_PUB

Line 498: CST_eamCost_PUB.Insert_tempEstimateDetails (

494:
495: /* Populate the Global Temp Table that replaces wip_eam_direct_items WEDIV
496: Thereafter in this file cst_eam_direct_items_temp CEDIT replaces WEDIV
497: This is done to improve the performance of the cursor queries in estimation*/
498: CST_eamCost_PUB.Insert_tempEstimateDetails (
499: p_api_version => 1.0,
500: x_return_status => l_return_status,
501: x_msg_count => l_msg_count,
502: x_msg_data => l_msg_data,

Line 508: l_api_message := 'Error: CST_eamCost_PUB.Insert_tempEstimateDetails()';

504: );
505:
506: IF l_return_status <> FND_API.g_ret_sts_success THEN
507:
508: l_api_message := 'Error: CST_eamCost_PUB.Insert_tempEstimateDetails()';
509:
510: FND_MSG_PUB.ADD_EXC_MSG('CSTPECEP', 'ESTIMATE_WORKORDER('
511: ||TO_CHAR(l_stmt_num)
512: ||'): ', l_api_message);

Line 519: l_api_message := 'CST_eamCost_PUB.Insert_tempEstimateDetails ('

515: END IF;
516:
517: -- statement level logging
518: IF (l_sLog) THEN
519: l_api_message := 'CST_eamCost_PUB.Insert_tempEstimateDetails ('
520: || to_char(l_stmt_num) || '): '
521: || 'Insert int CEDIV successful Insert_tempEstimateDetails';
522: FND_LOG.STRING(
523: FND_LOG.LEVEL_STATEMENT,

Line 1594: CST_EAMCOST_PUB.get_charge_asset (

1590: l_stmt_num := 210;
1591:
1592: -- Get charge asset using API
1593: BEGIN
1594: CST_EAMCOST_PUB.get_charge_asset (
1595: p_api_version => 1.0,
1596: p_wip_entity_id => p_wip_entity_id,
1597: x_inventory_item_id => l_asset_group_item_id,
1598: x_serial_number => l_asset_number,

Line 1605: l_msg_data := 'CST_EAMCOST_PUB.get_charge_asset() failed';

1601: x_msg_count => l_msg_count,
1602: x_msg_data => l_msg_data);
1603: EXCEPTION
1604: WHEN OTHERS THEN
1605: l_msg_data := 'CST_EAMCOST_PUB.get_charge_asset() failed';
1606: RAISE FND_API.G_EXC_ERROR;
1607: END;
1608:
1609: l_stmt_num := 215;

Line 1615: l_api_message := 'CST_EAMCOST_PUB.get_charge_asset() returned error ' || l_api_message;

1611: l_api_message := 'l_asset_group_item_id : '|| TO_CHAR(l_asset_group_item_id)
1612: || ' l_asset_number : '|| l_asset_number;
1613:
1614: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
1615: l_api_message := 'CST_EAMCOST_PUB.get_charge_asset() returned error ' || l_api_message;
1616: l_msg_data := l_api_message;
1617: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,
1618: l_api_name,
1619: '(' || TO_CHAR(l_stmt_num) || '): ' || l_api_message

Line 1765: CST_EAMCOST_PUB.Get_MaintCostCat(

1761:
1762: l_stmt_num := 255;
1763:
1764: -- get the maintenance cost category by callling the API
1765: CST_EAMCOST_PUB.Get_MaintCostCat(
1766: p_txn_mode => 2 ,
1767: p_wip_entity_id => p_wip_entity_id,
1768: p_opseq_num => c_wor_rec.operation_seq_num,
1769: p_resource_id => c_wor_rec.resource_id,

Line 1778: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';

1774: x_maint_cost_cat => l_maint_cost_category);
1775:
1776: l_stmt_num := 260;
1777: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1778: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';
1779: l_msg_data := l_api_message;
1780: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,
1781: l_api_name,
1782: '(' || TO_CHAR(l_stmt_num) || '): ' || l_api_message

Line 1788: l_eam_cost_element := CST_EAMCOST_PUB.Get_eamCostElement(

1784: RAISE FND_API.G_EXC_ERROR;
1785: END IF;
1786:
1787: -- Get the eAM cost element by calling API
1788: l_eam_cost_element := CST_EAMCOST_PUB.Get_eamCostElement(
1789: p_txn_mode => 2,
1790: p_org_id => l_organization_id,
1791: p_resource_id => c_wor_rec.resource_id);
1792:

Line 1796: l_api_message := 'CST_EAMCOST_PUB.Get_eamCostElement() returned error';

1792:
1793: l_stmt_num := 265;
1794:
1795: IF l_eam_cost_element = 0 THEN
1796: l_api_message := 'CST_EAMCOST_PUB.Get_eamCostElement() returned error';
1797: l_msg_data := l_api_message;
1798: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,
1799: l_api_name,
1800: '(' || TO_CHAR(l_stmt_num) || '): ' || l_api_message

Line 1893: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('

1889:
1890: IF l_return_status <> FND_API.g_ret_sts_success THEN
1891:
1892: l_api_message := 'Insert_PAC_eamBalAcct error';
1893: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('
1894: ||TO_CHAR(l_stmt_num)
1895: ||'): ', l_api_message);
1896: RAISE FND_API.g_exc_error;
1897:

Line 2000: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('

1996:
1997: IF l_return_status <> FND_API.g_ret_sts_success THEN
1998:
1999: l_api_message := 'Insert_PAC_eamBalAcct error';
2000: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('
2001: ||TO_CHAR(l_stmt_num)
2002: ||'): ', l_api_message);
2003: RAISE FND_API.g_exc_error;
2004:

Line 2027: CST_EAMCOST_PUB.Get_MaintCostCat(p_txn_mode => 1 ,

2023: -------------------------------------------------
2024: FOR c_wro_rec IN c_wro LOOP
2025:
2026: -- Get maint cost category for the material - call API
2027: CST_EAMCOST_PUB.Get_MaintCostCat(p_txn_mode => 1 ,
2028: p_wip_entity_id => p_wip_entity_id,
2029: p_opseq_num => c_wro_rec.operation_seq_num,
2030: x_return_status => l_return_status,
2031: x_operation_dept => l_operation_dept_id,

Line 2038: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';

2034:
2035: l_stmt_num := 290;
2036:
2037: IF l_return_status <> FND_API.g_ret_sts_success THEN
2038: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';
2039: l_msg_data := l_api_message;
2040: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,
2041: l_api_name,
2042: '(' || TO_CHAR(l_stmt_num) || '): ' || l_api_message

Line 2050: l_eam_cost_element := CST_EAMCOST_PUB.Get_eamCostElement(

2046:
2047: l_stmt_num := 295;
2048:
2049: -- Get eam cost element by calling API
2050: l_eam_cost_element := CST_EAMCOST_PUB.Get_eamCostElement(
2051: p_txn_mode => 1,
2052: p_org_id => l_organization_id);
2053:
2054: l_stmt_num := 300;

Line 2057: l_api_message := 'CST_EAMCOST_PUB.Get_eamCostElement() returned error';

2053:
2054: l_stmt_num := 300;
2055:
2056: IF l_eam_cost_element = 0 THEN
2057: l_api_message := 'CST_EAMCOST_PUB.Get_eamCostElement() returned error';
2058: l_msg_data := l_api_message;
2059: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,
2060: l_api_name,
2061: '(' || TO_CHAR(l_stmt_num) || '): ' || l_api_message

Line 2210: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('

2206:
2207: IF l_return_status <> FND_API.g_ret_sts_success THEN
2208:
2209: l_api_message := 'Insert_PAC_eamBalAcct error';
2210: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('
2211: ||TO_CHAR(l_stmt_num)
2212: ||'): ', l_api_message);
2213: RAISE FND_API.g_exc_error;
2214:

Line 2240: CST_EAMCOST_PUB.Get_MaintCostCat(

2236: FOR c_wrodi_rec IN c_wrodi LOOP
2237:
2238: l_stmt_num := 315;
2239:
2240: CST_EAMCOST_PUB.Get_MaintCostCat(
2241: p_txn_mode => 1 ,
2242: p_wip_entity_id => p_wip_entity_id,
2243: p_opseq_num => c_wrodi_rec.operation_seq_num,
2244: x_return_status => l_return_status,

Line 2252: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';

2248:
2249: l_stmt_num := 320;
2250:
2251: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2252: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';
2253: l_msg_data := l_api_message;
2254: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,
2255: l_api_name,
2256: '(' || TO_CHAR(l_stmt_num) || '): ' || l_api_message

Line 2381: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('

2377:
2378: IF l_return_status <> FND_API.g_ret_sts_success THEN
2379:
2380: l_api_message := 'Insert_PAC_eamBalAcct error';
2381: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('
2382: ||TO_CHAR(l_stmt_num)
2383: ||'): ', l_api_message);
2384: RAISE FND_API.g_exc_error;
2385:

Line 2409: CST_EAMCOST_PUB.Get_MaintCostCat(p_txn_mode => 1 ,

2405: FOR c_wedi_rec IN c_wedi LOOP
2406:
2407: l_stmt_num := 345;
2408:
2409: CST_EAMCOST_PUB.Get_MaintCostCat(p_txn_mode => 1 ,
2410: p_wip_entity_id => p_wip_entity_id,
2411: p_opseq_num => c_wedi_rec.operation_seq_num,
2412: x_return_status => l_return_status,
2413: x_operation_dept => l_operation_dept_id,

Line 2420: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';

2416:
2417: l_stmt_num := 350;
2418:
2419: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2420: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';
2421: l_msg_data := l_api_message;
2422: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,
2423: l_api_name,
2424: '(' || TO_CHAR(l_stmt_num) || '): ' || l_api_message

Line 2536: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('

2532:
2533: IF l_return_status <> FND_API.g_ret_sts_success THEN
2534:
2535: l_api_message := 'Insert_PAC_eamBalAcct error';
2536: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('
2537: ||TO_CHAR(l_stmt_num)
2538: ||'): ', l_api_message);
2539: RAISE FND_API.g_exc_error;
2540:

Line 2572: CST_EAMCOST_PUB.Get_MaintCostCat(p_txn_mode => 1 ,

2568: AND wo.operation_seq_num = c_pda_rec.operation_seq_num;
2569:
2570: l_stmt_num := 375;
2571:
2572: CST_EAMCOST_PUB.Get_MaintCostCat(p_txn_mode => 1 ,
2573: p_wip_entity_id => p_wip_entity_id,
2574: p_opseq_num => c_pda_rec.operation_seq_num,
2575: x_return_status => l_return_status,
2576: x_operation_dept => l_operation_dept_id,

Line 2583: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';

2579:
2580: l_stmt_num := 380;
2581:
2582: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2583: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat() returned error';
2584: l_msg_data := l_api_message;
2585: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,
2586: l_api_name,
2587: '(' || TO_CHAR(l_stmt_num) || '): ' || l_api_message

Line 2700: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('

2696:
2697: IF l_return_status <> FND_API.g_ret_sts_success THEN
2698:
2699: l_api_message := 'Insert_PAC_eamBalAcct error';
2700: FND_MSG_PUB.ADD_EXC_MSG('CST_EAMCOST_PUB', 'Insert_PAC_eamBalAcct('
2701: ||TO_CHAR(l_stmt_num)
2702: ||'): ', l_api_message);
2703: RAISE FND_API.g_exc_error;
2704:

Line 3857: CST_EAMCOST_PUB.GET_CHARGE_ASSET (

3853: RAISE FND_API.G_EXC_ERROR;
3854: END IF;
3855:
3856: -- Get the associated asset item
3857: CST_EAMCOST_PUB.GET_CHARGE_ASSET (
3858: p_api_version => 1.0,
3859: p_wip_entity_id => p_wip_entity_id,
3860: x_inventory_item_id => l_asset_group_item_id,
3861: x_serial_number => l_asset_number,

Line 3870: l_api_message := 'CST_EAMCOST_PUB.GET_CHARGE_ASSET() returned error';

3866:
3867: l_stmt_num := 10;
3868:
3869: IF (L_RETURN_STATUS <> FND_API.G_RET_STS_SUCCESS) THEN
3870: l_api_message := 'CST_EAMCOST_PUB.GET_CHARGE_ASSET() returned error';
3871: l_msg_data := l_api_message;
3872: FND_MESSAGE.SET_NAME ('BOM', 'CST_API_MESSAGE');
3873: FND_MESSAGE.set_token('TEXT', 'CST_PacEamCost_GRP.Compute_PAC_JobActuals('
3874: || to_char(l_stmt_num) || '): '|| l_api_message);

Line 3907: CST_EAMCOST_PUB.Get_MaintCostCat(

3903: 'Processing for Direct Item');
3904: END IF;
3905:
3906: -- Get the associated maintainence cost category set by the user
3907: CST_EAMCOST_PUB.Get_MaintCostCat(
3908: p_txn_mode => 1,
3909: p_wip_entity_id => p_wip_entity_id,
3910: p_opseq_num => p_op_seq,
3911: p_resource_id => p_resource_id,

Line 3921: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat returned error';

3917:
3918: l_stmt_num := 20;
3919:
3920: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3921: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat returned error';
3922: l_msg_data := l_api_message;
3923: FND_MSG_PUB.ADD_EXC_MSG(G_PKG_NAME,
3924: l_api_name,
3925: '(' || TO_CHAR(l_stmt_num) ||'): ' || l_api_message);

Line 3931: CST_EAMCOST_PUB.get_CostEle_for_DirectItem (

3927: END IF;
3928:
3929:
3930: -- Get direct item cost element
3931: CST_EAMCOST_PUB.get_CostEle_for_DirectItem (
3932: p_api_version => 1.0,
3933: p_init_msg_list => p_init_msg_list,
3934: p_commit => p_commit,
3935: p_validation_level => p_validation_level,

Line 3947: l_api_message := 'CST_EAMCOST_PUB.get_CostEle_for_DirectItem returned error';

3943:
3944: l_stmt_num := 25;
3945:
3946: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS) then
3947: l_api_message := 'CST_EAMCOST_PUB.get_CostEle_for_DirectItem returned error';
3948: l_msg_data := l_api_message;
3949: FND_MESSAGE.set_name('BOM','CST_API_MESSAGE');
3950: FND_MESSAGE.set_token('TEXT', 'CST_PacEamCost_GRP.Compute_PAC_JobActuals('
3951: || to_char(l_stmt_num) || '): ' || l_api_message);

Line 3975: CST_EAMCOST_PUB.Get_MaintCostCat(

3971: 'Not a Direct Item');
3972: END IF;
3973:
3974: -- Get the associated maintainence cost category set by the user
3975: CST_EAMCOST_PUB.Get_MaintCostCat(
3976: p_txn_mode => p_txn_mode ,
3977: p_wip_entity_id => p_wip_entity_id,
3978: p_opseq_num => p_op_seq,
3979: p_resource_id => p_resource_id,

Line 3989: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat returned error';

3985:
3986: l_stmt_num := 20;
3987:
3988: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3989: l_api_message := 'CST_EAMCOST_PUB.Get_MaintCostCat returned error';
3990: l_msg_data := l_api_message;
3991: FND_MSG_PUB.ADD_EXC_MSG(G_PKG_NAME,
3992: l_api_name,
3993: '(' || TO_CHAR(l_stmt_num) ||'): ' || l_api_message);

Line 3998: l_eam_cost_element := CST_EAMCOST_PUB.Get_eamCostElement(

3994: RAISE FND_API.G_EXC_ERROR;
3995: END IF;
3996:
3997: -- Get eam cost element
3998: l_eam_cost_element := CST_EAMCOST_PUB.Get_eamCostElement(
3999: p_txn_mode => p_txn_mode,
4000: p_org_id => p_organization_id,
4001: p_resource_id => p_resource_id);
4002:

Line 4297: 'CST_eamCost_PUB')

4293: -- Standard call to check for call compatibility.
4294: IF NOT FND_API.Compatible_API_Call ( l_api_version,
4295: p_api_version,
4296: l_api_name ,
4297: 'CST_eamCost_PUB')
4298: THEN
4299: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
4300: END IF;
4301: -- Initialize message list if p_init_msg_list is set to TRUE.

Line 4457: ( 'CST_eamCost_PUB' ,

4453: IF FND_MSG_PUB.Check_Msg_Level
4454: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4455: THEN
4456: FND_MSG_PUB.Add_Exc_Msg
4457: ( 'CST_eamCost_PUB' ,
4458: l_api_name
4459: );
4460: END IF;
4461: FND_MSG_PUB.Count_And_Get

Line 4529: 'CST_eamCost_PUB')

4525: -- Standard call to check for call compatibility.
4526: IF NOT FND_API.Compatible_API_Call (l_api_version,
4527: p_api_version,
4528: l_api_name ,
4529: 'CST_eamCost_PUB')
4530: THEN
4531: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
4532: END IF;
4533: -- Initialize message list if p_init_msg_list is set to TRUE.

Line 4613: ( 'CST_eamCost_PUB' ,

4609: IF FND_MSG_PUB.Check_Msg_Level
4610: (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4611: THEN
4612: FND_MSG_PUB.Add_Exc_Msg
4613: ( 'CST_eamCost_PUB' ,
4614: l_api_name
4615: );
4616: END IF;
4617: FND_MSG_PUB.Count_And_Get