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 3856: CST_EAMCOST_PUB.GET_CHARGE_ASSET (

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

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

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

Line 3906: CST_EAMCOST_PUB.Get_MaintCostCat(

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

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

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

Line 3930: CST_EAMCOST_PUB.get_CostEle_for_DirectItem (

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

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

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

Line 3974: CST_EAMCOST_PUB.Get_MaintCostCat(

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

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

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

Line 3997: l_eam_cost_element := CST_EAMCOST_PUB.Get_eamCostElement(

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

Line 4296: 'CST_eamCost_PUB')

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

Line 4456: ( 'CST_eamCost_PUB' ,

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

Line 4528: 'CST_eamCost_PUB')

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

Line 4612: ( 'CST_eamCost_PUB' ,

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