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.13 2011/05/12 19:40:27 fayang ship $ */
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.13 2011/05/12 19:40:27 fayang ship $ */
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 3873: FND_MESSAGE.set_token('TEXT', 'CST_PacEamCost_GRP.Compute_PAC_JobActuals('

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

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

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

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

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

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

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

Line 4488: -- p_wip_entity_id_tab IN CST_PacEamCost_GRP.WIP_ENTITY_TYP,

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

Line 4504: p_wip_entity_id_tab IN CST_PacEamCost_GRP.G_WIP_ENTITY_TYP,

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

Line 4623: END CST_PacEamCost_GRP;

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