DBA Data[Home] [Help]

APPS.CST_PACEAMCOST_GRP dependencies on CST_PACEAMCOST_GRP

Line 1: PACKAGE BODY CST_PacEamCost_GRP AS

1: PACKAGE BODY CST_PacEamCost_GRP AS
2: /* $Header: CSTPPEAB.pls 120.12 2006/08/25 09:44:20 arathee noship $ */
3:
4: G_PKG_NAME CONSTANT VARCHAR2(30):='CST_PacEamCost_GRP';
5: G_LOG_LEVEL CONSTANT NUMBER := FND_LOG.G_CURRENT_RUNTIME_LEVEL;

Line 4: G_PKG_NAME CONSTANT VARCHAR2(30):='CST_PacEamCost_GRP';

1: PACKAGE BODY CST_PacEamCost_GRP AS
2: /* $Header: CSTPPEAB.pls 120.12 2006/08/25 09:44:20 arathee noship $ */
3:
4: G_PKG_NAME CONSTANT VARCHAR2(30):='CST_PacEamCost_GRP';
5: G_LOG_LEVEL CONSTANT NUMBER := FND_LOG.G_CURRENT_RUNTIME_LEVEL;
6:
7: -- Start of comments
8: -- API name : Estimate_PAC_WipJobs

Line 113: l_wip_entity_id_tab CST_PacEamCost_GRP.G_WIP_ENTITY_TYP;

109: PROCESS_ERROR EXCEPTION;
110:
111: l_conc_warning_flag VARCHAR2(1);
112:
113: l_wip_entity_id_tab CST_PacEamCost_GRP.G_WIP_ENTITY_TYP;
114: l_entity_id_tab CSTPECEP.wip_entity_id_type;
115:
116: return_val BOOLEAN;
117: phase VARCHAR2(300);

Line 149: l_api_message := 'CST_PacEamCost_GRP.Estimate_PAC_WipJobs() params:'

145: l_prog_app_id := FND_GLOBAL.prog_appl_id;
146: l_login_id := FND_GLOBAL.conc_login_id;
147: l_conc_program_id := FND_GLOBAL.conc_program_id;
148:
149: l_api_message := 'CST_PacEamCost_GRP.Estimate_PAC_WipJobs() params:'
150: || ' l_request_id ' || to_char(l_request_id)
151: || ' l_user_id ' || to_char(l_user_id)
152: || ' l_prog_id ' || to_char(l_prog_id)
153: || ' l_prog_app_id ' || to_char(l_prog_app_id)

Line 180: 'CST_PacEamCost_GRP.Estimate_PAC_WipJobs '

176: l_api_name,
177: l_api_message);
178:
179: CONC_STATUS := FND_CONCURRENT.SET_COMPLETION_STATUS('ERROR',
180: 'CST_PacEamCost_GRP.Estimate_PAC_WipJobs '
181: || l_api_message);
182:
183: ELSE -- All parameters are valid
184:

Line 427: l_api_message := 'CST_PacEamCost_GRP.delete_PacEamPerBal() failed';

423:
424: l_stmt_num := 65;
425:
426: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS ) THEN
427: l_api_message := 'CST_PacEamCost_GRP.delete_PacEamPerBal() failed';
428: l_msg_data := l_api_message;
429: FND_MSG_PUB.ADD_EXC_MSG(G_PKG_NAME,
430: l_api_name,
431: '('|| to_char(l_stmt_num) || '): '|| l_api_message);

Line 437: l_api_message := 'CST_PacEamCost_GRP.Estimate_PAC_WipJobs('

433: END IF;
434:
435: -- statement level logging
436: IF (l_sLog) THEN
437: l_api_message := 'CST_PacEamCost_GRP.Estimate_PAC_WipJobs('
438: || to_char(l_stmt_num) || '): '
439: || 'Delete/Update successful in delete_eamperbal';
440: FND_LOG.STRING(
441: FND_LOG.LEVEL_STATEMENT,

Line 465: l_api_message := 'CST_PacEamCost_GRP.delete_PAC_EamBalAcct() failed';

461:
462: l_stmt_num := 66;
463:
464: IF(l_return_status <> FND_API.G_RET_STS_SUCCESS ) THEN
465: l_api_message := 'CST_PacEamCost_GRP.delete_PAC_EamBalAcct() failed';
466: l_msg_data := l_api_message;
467: FND_MSG_PUB.ADD_EXC_MSG(G_PKG_NAME,l_api_name,
468: '('|| to_char(l_stmt_num) || '): '|| l_api_message);
469: RAISE FND_API.G_EXC_UNEXPECTED_ERROR; -- ERROR rollback and exit

Line 474: l_api_message := 'CST_PacEamCost_GRP. delete_PAC_EamBalAcct ('

470: END IF;
471:
472: -- statement level logging
473: IF (l_sLog) THEN
474: l_api_message := 'CST_PacEamCost_GRP. delete_PAC_EamBalAcct ('
475: || to_char(l_stmt_num) || '): '
476: || 'Delete/Update successful in delete_pac_eambalacct';
477: FND_LOG.STRING(
478: FND_LOG.LEVEL_STATEMENT,

Line 553: CST_PacEamCost_GRP.Compute_PAC_JobEstimates(

549:
550: l_stmt_num := 75;
551:
552: -- Estimate the Job
553: CST_PacEamCost_GRP.Compute_PAC_JobEstimates(
554: p_api_version => 1.0,
555: x_return_status => l_return_status,
556: x_msg_count => l_msg_count,
557: x_msg_data => l_msg_data,

Line 572: l_api_message := 'CST_PacEamCost_GRP.Compute_PAC_JobEstimates failed';

568:
569: l_stmt_num := 80;
570:
571: IF (l_return_status <> FND_API.G_RET_STS_SUCCESS ) THEN
572: l_api_message := 'CST_PacEamCost_GRP.Compute_PAC_JobEstimates failed';
573: FND_MSG_PUB.ADD_EXC_MSG(G_PKG_NAME,
574: l_api_name,
575: '('|| to_char(l_stmt_num) || '): '|| l_api_message);
576: RAISE PROCESS_ERROR;

Line 708: 'CST_PacEamCost_GRP.Estimate_PAC_WipJobs ' ||l_api_message);

704: END IF;
705:
706: -- Set status of conc process to Error.
707: CONC_STATUS := FND_CONCURRENT.SET_COMPLETION_STATUS('ERROR',
708: 'CST_PacEamCost_GRP.Estimate_PAC_WipJobs ' ||l_api_message);
709:
710: COMMIT;
711:
712: END Estimate_PAC_WipJobs;

Line 739: -- p_wip_entity_id_tab IN CST_PacEamCost_GRP.G_WIP_ENTITY_TYP Required

735: -- p_legal_entity_id IN NUMBER Required
736: -- p_cost_group_id IN NUMBER Required
737: -- p_cost_type_id IN NUMBER Required
738: -- p_organization_id IN NUMBER Required
739: -- p_wip_entity_id_tab IN CST_PacEamCost_GRP.G_WIP_ENTITY_TYP Required
740: -- OUT : x_return_status OUT VARCHAR2(1)
741: -- x_msg_count OUT NUMBER
742: -- x_msg_data OUT VARCHAR2(2000)
743: -- Version : Current version 1.0

Line 761: p_wip_entity_id_tab IN CST_PacEamCost_GRP.G_WIP_ENTITY_TYP

757: x_msg_data OUT NOCOPY VARCHAR2,
758: p_legal_entity_id IN NUMBER,
759: p_cost_group_id IN NUMBER,
760: p_cost_type_id IN NUMBER,
761: p_wip_entity_id_tab IN CST_PacEamCost_GRP.G_WIP_ENTITY_TYP
762: ) IS
763:
764: l_api_name CONSTANT VARCHAR2(30) := 'Delete_PAC_EamPerBal';
765: l_api_version CONSTANT NUMBER := 1.0;

Line 2553: 'CST_PacEamCost_GRP.Compute_PAC_JobEstimatess(' || to_char(l_stmt_num)

2549: IF (l_sLog) THEN
2550: FND_LOG.STRING(
2551: FND_LOG.LEVEL_STATEMENT,
2552: l_module || '.' || l_stmt_num,
2553: 'CST_PacEamCost_GRP.Compute_PAC_JobEstimatess(' || to_char(l_stmt_num)
2554: || '): WEDI Cost Calc completed successfully');
2555: END IF;
2556:
2557: ----------------------------------------------

Line 2717: 'CST_PacEamCost_GRP.Compute_PAC_JobEstimatess(' || to_char(l_stmt_num)

2713: IF (l_sLog) THEN
2714: FND_LOG.STRING(
2715: FND_LOG.LEVEL_STATEMENT,
2716: l_module || '.' || l_stmt_num,
2717: 'CST_PacEamCost_GRP.Compute_PAC_JobEstimatess(' || to_char(l_stmt_num)
2718: || '): PO/REQ Cost Calc completed successfully');
2719: END IF;
2720:
2721: -- Standard check of p_commit

Line 3872: FND_MESSAGE.set_token('TEXT', 'CST_PacEamCost_GRP.Compute_PAC_JobActuals('

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);
3874: FND_MSG_PUB.ADD;
3875: RAISE FND_API.G_EXC_ERROR;
3876: END IF;

Line 3949: FND_MESSAGE.set_token('TEXT', 'CST_PacEamCost_GRP.Compute_PAC_JobActuals('

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);
3951: FND_MSG_PUB.ADD;
3952: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
3953: END IF;

Line 4152: -- Function : This API is called from CST_PacEamCost_GRP.Estimate_PAC_WipJobs.

4148:
4149: -- Start of comments
4150: -- API name : Insert_PAC_eamBalAcct
4151: -- Type : Public.
4152: -- Function : This API is called from CST_PacEamCost_GRP.Estimate_PAC_WipJobs.
4153: -- The procedure inserts/updates data into CST_PAC_EAM_BALANCE_BY_ACCTS
4154: -- table.
4155: -- Flow:
4156: -- |-- Verify if the estimation data already exists for the wip job

Line 4471: -- Function : This API is called from CST_PacEamCost_GRP.Estimate_PAC_WipJobs

4467:
4468: -- Start of comments
4469: -- API name : Delete_PAC_eamBalAcct
4470: -- Type : Public.
4471: -- Function : This API is called from CST_PacEamCost_GRP.Estimate_PAC_WipJobs
4472: -- Flow:
4473: -- |-- Delete estimation data from CST_EAM_BALANCE_BY_ACCTS table for the
4474: -- | given legal entity id, cost group, cost type and wip job
4475: --

Line 4487: -- p_wip_entity_id_tab IN CST_PacEamCost_GRP.WIP_ENTITY_TYP,

4483: -- p_legal_entity_id IN NUMBER,
4484: -- p_cost_group_id IN NUMBER,
4485: -- p_cost_type_id IN NUMBER,
4486: -- p_organization_id IN NUMBER,
4487: -- p_wip_entity_id_tab IN CST_PacEamCost_GRP.WIP_ENTITY_TYP,
4488: -- OUT : x_return_status OUT VARCHAR2(1)
4489: -- x_msg_count OUT NUMBER
4490: -- x_msg_data OUT VARCHAR2(2000)
4491: -- Version : Current version 1.0

Line 4503: p_wip_entity_id_tab IN CST_PacEamCost_GRP.G_WIP_ENTITY_TYP,

4499: p_validation_level IN NUMBER ,
4500: x_return_status OUT NOCOPY VARCHAR2,
4501: x_msg_count OUT NOCOPY VARCHAR2,
4502: x_msg_data OUT NOCOPY VARCHAR2,
4503: p_wip_entity_id_tab IN CST_PacEamCost_GRP.G_WIP_ENTITY_TYP,
4504: p_legal_entity_id IN NUMBER,
4505: p_cost_group_id IN NUMBER,
4506: p_cost_type_id IN NUMBER
4507:

Line 4622: END CST_PacEamCost_GRP;

4618: p_data => x_msg_data
4619: );
4620: END Delete_PAC_eamBalAcct;
4621:
4622: END CST_PacEamCost_GRP;