DBA Data[Home] [Help]

APPS.AHL_PRD_WORKORDER_PVT dependencies on AHL_EAM_JOB_PVT

Line 3232: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.create_eam_workorder' );

3228:
3229: IF ( p_wip_load_flag = 'Y' ) THEN
3230:
3231: IF ( G_DEBUG = 'Y' ) THEN
3232: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.create_eam_workorder' );
3233: END IF;
3234:
3235: AHL_EAM_JOB_PVT.create_eam_workorder
3236: (

Line 3235: AHL_EAM_JOB_PVT.create_eam_workorder

3231: IF ( G_DEBUG = 'Y' ) THEN
3232: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.create_eam_workorder' );
3233: END IF;
3234:
3235: AHL_EAM_JOB_PVT.create_eam_workorder
3236: (
3237: p_api_version => 1.0,
3238: p_init_msg_list => FND_API.G_TRUE,
3239: p_commit => FND_API.G_FALSE,

Line 4284: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.update_job_operations' );

4280: -- Bug # 7643668 (FP for Bug # 6493302) -- end
4281: END LOOP;
4282:
4283: IF ( G_DEBUG = 'Y' ) THEN
4284: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.update_job_operations' );
4285: END IF;
4286:
4287: AHL_EAM_JOB_PVT.update_job_operations
4288: (

Line 4287: AHL_EAM_JOB_PVT.update_job_operations

4283: IF ( G_DEBUG = 'Y' ) THEN
4284: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.update_job_operations' );
4285: END IF;
4286:
4287: AHL_EAM_JOB_PVT.update_job_operations
4288: (
4289: p_api_version => 1.0 ,
4290: p_init_msg_list => FND_API.G_TRUE ,
4291: p_commit => FND_API.G_FALSE ,

Line 4309: AHL_DEBUG_PUB.debug( l_api_name || ' - AHL_EAM_JOB_PVT.update_job_operations succesful' );

4305: RAISE FND_API.G_EXC_ERROR;
4306: END IF;
4307:
4308: IF ( G_DEBUG = 'Y' ) THEN
4309: AHL_DEBUG_PUB.debug( l_api_name || ' - AHL_EAM_JOB_PVT.update_job_operations succesful' );
4310: END IF;
4311:
4312: END IF; -- For WIP Load Flag
4313:

Line 4633: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rec

4629: END IF;
4630:
4631: -- Map all input AHL Job Header record attributes to the
4632: -- corresponding EAM Job Header record attributes.
4633: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rec
4634: (
4635: p_workorder_rec => p_x_prd_workorder_tbl(i),
4636: x_eam_wo_rec => l_eam_wo_tbl(i)
4637: );

Line 4654: AHL_EAM_JOB_PVT.map_ahl_eam_op_rec

4650: END IF;
4651:
4652: total_operations := total_operations + 1;
4653:
4654: AHL_EAM_JOB_PVT.map_ahl_eam_op_rec
4655: (
4656: p_operation_rec => l_operation_tbl(j),
4657: x_eam_op_rec => l_eam_op_tbl(total_operations)
4658: );

Line 4681: AHL_EAM_JOB_PVT.map_ahl_eam_mat_rec

4677: END IF;
4678:
4679: total_materials := total_materials + 1;
4680:
4681: AHL_EAM_JOB_PVT.map_ahl_eam_mat_rec
4682: (
4683: p_material_req_rec => l_material_tbl(j),
4684: x_eam_mat_req_rec => l_eam_mat_req_tbl(total_materials)
4685: );

Line 4709: AHL_EAM_JOB_PVT.map_ahl_eam_res_rec

4705: END IF;
4706:
4707: total_resources := total_resources + 1;
4708:
4709: AHL_EAM_JOB_PVT.map_ahl_eam_res_rec
4710: (
4711: p_resource_req_rec => l_resource_tbl(j),
4712: x_eam_res_rec => l_eam_res_req_tbl(total_resources)
4713: );

Line 4774: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rec

4770: END IF;
4771:
4772: -- Map all input AHL Job Header record attributes to the
4773: -- corresponding EAM Job Header record attributes.
4774: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rec
4775: (
4776: p_workorder_rec => p_x_prd_workorder_tbl(i),
4777: x_eam_wo_rec => l_eam_wo_tbl(i)
4778: );

Line 4797: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec

4793: END IF;
4794:
4795: -- Map all input AHL Workorder Relationship attributes to the
4796: -- corresponding EAM Workorder Relationship attributes.
4797: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec
4798: (
4799: p_workorder_rel_rec => p_prd_workorder_rel_tbl(i),
4800: x_eam_wo_relations_rec => l_eam_wo_relations_tbl(i)
4801: );

Line 4810: AHL_DEBUG_PUB.debug( 'Invoking AHL_EAM_JOB_PVT.process_eam_workorders API');

4806: END LOOP;
4807: END IF;
4808:
4809: IF ( G_DEBUG = 'Y' ) THEN
4810: AHL_DEBUG_PUB.debug( 'Invoking AHL_EAM_JOB_PVT.process_eam_workorders API');
4811: AHL_DEBUG_PUB.debug( 'Total Workorders : ' || l_eam_wo_tbl.COUNT);
4812: AHL_DEBUG_PUB.debug( 'Total Operations : ' || l_eam_op_tbl.COUNT);
4813: AHL_DEBUG_PUB.debug( 'Total Resources : ' || l_eam_res_req_tbl.COUNT);
4814: AHL_DEBUG_PUB.debug( 'Total Materials : ' || l_eam_mat_req_tbl.COUNT);

Line 4819: AHL_EAM_JOB_PVT.process_eam_workorders

4815: AHL_DEBUG_PUB.debug( 'Total Relationships : ' || l_eam_wo_relations_tbl.COUNT);
4816: END IF;
4817:
4818:
4819: AHL_EAM_JOB_PVT.process_eam_workorders
4820: (
4821: p_api_version => 1.0,
4822: p_init_msg_list => FND_API.G_TRUE,
4823: p_commit => FND_API.G_FALSE,

Line 4840: AHL_DEBUG_PUB.debug( 'AHL_EAM_JOB_PVT.process_eam_workorders API Success' );

4836: IF ( l_return_status <> FND_API.G_RET_STS_SUCCESS ) THEN
4837: RAISE FND_API.G_EXC_ERROR;
4838: ELSE
4839: IF ( G_DEBUG = 'Y' ) THEN
4840: AHL_DEBUG_PUB.debug( 'AHL_EAM_JOB_PVT.process_eam_workorders API Success' );
4841: END IF;
4842:
4843: FOR i IN p_x_prd_workorder_tbl.FIRST..p_x_prd_workorder_tbl.LAST LOOP
4844:

Line 6333: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec

6329: FOR i IN l_workorder_rel_tbl.FIRST..l_workorder_rel_tbl.LAST LOOP
6330:
6331: -- Map all input AHL Workorder Relationship attributes to the
6332: -- corresponding EAM Workorder Relationship attributes.
6333: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec
6334: (
6335: p_workorder_rel_rec => l_workorder_rel_tbl(i),
6336: x_eam_wo_relations_rec => l_eam_wo_relations_tbl(i)
6337: );

Line 6843: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec

6839: FOR i IN l_workorder_rel_tbl.FIRST..l_workorder_rel_tbl.LAST LOOP
6840:
6841: -- Map all input AHL Workorder Relationship attributes to the
6842: -- corresponding EAM Workorder Relationship attributes.
6843: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec
6844: (
6845: p_workorder_rel_rec => l_workorder_rel_tbl(i),
6846: x_eam_wo_relations_rec => l_eam_wo_relations_tbl(i)
6847: );

Line 7064: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec

7060: FOR i IN l_workorder_rel_tbl.FIRST..l_workorder_rel_tbl.LAST LOOP
7061:
7062: -- Map all input AHL Workorder Relationship attributes to the
7063: -- corresponding EAM Workorder Relationship attributes.
7064: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec
7065: (
7066: p_workorder_rel_rec => l_workorder_rel_tbl(i),
7067: x_eam_wo_relations_rec => l_eam_wo_relations_tbl(i)
7068: );

Line 7078: AHL_EAM_JOB_PVT.process_eam_workorders

7074: -- Bug 4094884
7075: -- Before cancelling the workorders
7076: -- delete the workorder completion dependencies
7077: IF l_eam_wo_relations_tbl.COUNT > 0 THEN
7078: AHL_EAM_JOB_PVT.process_eam_workorders
7079: (
7080: p_api_version => 1.0,
7081: p_init_msg_list => FND_API.G_TRUE,
7082: p_commit => FND_API.G_FALSE,