DBA Data[Home] [Help]

APPS.AHL_PRD_WORKORDER_PVT dependencies on AHL_EAM_JOB_PVT

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

4273:
4274: IF ( p_wip_load_flag = 'Y' ) THEN
4275:
4276: IF ( G_DEBUG = 'Y' ) THEN
4277: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.create_eam_workorder' );
4278: END IF;
4279:
4280: AHL_EAM_JOB_PVT.create_eam_workorder
4281: (

Line 4280: AHL_EAM_JOB_PVT.create_eam_workorder

4276: IF ( G_DEBUG = 'Y' ) THEN
4277: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.create_eam_workorder' );
4278: END IF;
4279:
4280: AHL_EAM_JOB_PVT.create_eam_workorder
4281: (
4282: p_api_version => 1.0,
4283: p_init_msg_list => FND_API.G_TRUE,
4284: p_commit => FND_API.G_FALSE,

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

5704: -- Bug # 7643668 (FP for Bug # 6493302) -- end
5705: END LOOP;
5706:
5707: IF ( G_DEBUG = 'Y' ) THEN
5708: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.update_job_operations' );
5709: END IF;
5710:
5711: -- Fix for Bug # 8329755 (FP for Bug # 7697909) -- start
5712: -- Though resource requirements are added in call to AHL_PP_RESRC_REQUIRE_PVT.process_resrc_require

Line 5741: -- we are calling AHL_EAM_JOB_PVT.update_job_operations first and then move_workorder(If Start_date is changed)

5737: p_x_prd_workorder_rec.scheduled_end_date := l_temp_scheduled_end_date;
5738:
5739: --MANESING::Bug 13946377, 11-Apr-2012, moved following swap statements inside above IF condition
5740: -- To address the customer reopen issue. Expand workorder and then move workorder
5741: -- we are calling AHL_EAM_JOB_PVT.update_job_operations first and then move_workorder(If Start_date is changed)
5742: -- so keeping old scheduled_start_date to call update_job_operations() API.
5743: -- save scheduled_start_date in temp and then pass to move_workorder
5744: l_temp_scheduled_start_date := p_x_prd_workorder_rec.scheduled_start_date;
5745:

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

5755: END IF;
5756:
5757: IF ( G_DEBUG = 'Y' )
5758: THEN
5759: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.update_job_operations ' );
5760: END IF;
5761:
5762: AHL_EAM_JOB_PVT.update_job_operations
5763: (

Line 5762: AHL_EAM_JOB_PVT.update_job_operations

5758: THEN
5759: AHL_DEBUG_PUB.debug( l_api_name || ' - Before AHL_EAM_JOB_PVT.update_job_operations ' );
5760: END IF;
5761:
5762: AHL_EAM_JOB_PVT.update_job_operations
5763: (
5764: p_api_version => 1.0 ,
5765: p_init_msg_list => FND_API.G_TRUE ,
5766: p_commit => FND_API.G_FALSE ,

Line 5829: AHL_EAM_JOB_PVT.UPDATE_JOB_OPERATIONS

5825: L_X_PRD_WORKORDER_REC.SCHEDULED_START_DATE := CHILD_WO_REC.SCHEDULED_START_DATE;
5826: L_X_PRD_WORKORDER_REC.SCHEDULED_END_DATE := CHILD_WO_REC.SCHEDULED_COMPLETION_DATE;
5827: L_X_PRD_WORKORDER_REC.ORGANIZATION_ID := CHILD_WO_REC.ORGANIZATION_ID;
5828:
5829: AHL_EAM_JOB_PVT.UPDATE_JOB_OPERATIONS
5830: (
5831: P_API_VERSION => 1.0 ,
5832: P_INIT_MSG_LIST => FND_API.G_TRUE ,
5833: P_COMMIT => FND_API.G_FALSE ,

Line 5859: AHL_DEBUG_PUB.debug( l_api_name || ' - IN AHL_EAM_JOB_PVT.move_workorder ');

5855: --reverted the startdate.
5856: p_x_prd_workorder_rec.scheduled_start_date := l_temp_scheduled_start_date;
5857:
5858: IF ( G_DEBUG = 'Y' ) THEN
5859: AHL_DEBUG_PUB.debug( l_api_name || ' - IN AHL_EAM_JOB_PVT.move_workorder ');
5860: END IF;
5861:
5862: l_mo_wip_entity_id := p_x_prd_workorder_rec.wip_entity_id ;
5863: l_mo_scheduled_start_date := p_x_prd_workorder_rec.scheduled_start_date;

Line 5871: AHL_EAM_JOB_PVT.move_workorder

5867: --l_mo_schedule_method := NULL;
5868: l_mo_object_type_id := 1;
5869: l_mo_ignore_firm_flag := 'N' ;
5870:
5871: AHL_EAM_JOB_PVT.move_workorder
5872: (
5873: p_api_version => 1.0,
5874: p_init_msg_list => FND_API.G_TRUE,
5875: p_commit => FND_API.G_FALSE,

Line 5902: AHL_DEBUG_PUB.debug( l_api_name || ' - After AHL_EAM_JOB_PVT.update_job_operations or move ' );

5898: --Child wororders start date and End date
5899: Update_Master_Wo_Dates(p_x_prd_workorder_rec.workorder_id);
5900:
5901: IF ( G_DEBUG = 'Y' ) THEN
5902: AHL_DEBUG_PUB.debug( l_api_name || ' - After AHL_EAM_JOB_PVT.update_job_operations or move ' );
5903: END IF;
5904:
5905: --pekambar for ER # 9410221 --end
5906:

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

5934: RAISE FND_API.G_EXC_ERROR;
5935: END IF;
5936:
5937: IF ( G_DEBUG = 'Y' ) THEN
5938: AHL_DEBUG_PUB.debug( l_api_name || ' - AHL_EAM_JOB_PVT.update_job_operations succesful' );
5939: END IF;
5940:
5941: END IF; -- For WIP Load Flag
5942:

Line 6406: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rec

6402: END IF;
6403:
6404: -- Map all input AHL Job Header record attributes to the
6405: -- corresponding EAM Job Header record attributes.
6406: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rec
6407: (
6408: p_workorder_rec => p_x_prd_workorder_tbl(i),
6409: x_eam_wo_rec => l_eam_wo_tbl(i)
6410: );

Line 6427: AHL_EAM_JOB_PVT.map_ahl_eam_op_rec

6423: END IF;
6424:
6425: total_operations := total_operations + 1;
6426:
6427: AHL_EAM_JOB_PVT.map_ahl_eam_op_rec
6428: (
6429: p_operation_rec => l_operation_tbl(j),
6430: x_eam_op_rec => l_eam_op_tbl(total_operations)
6431: );

Line 6454: AHL_EAM_JOB_PVT.map_ahl_eam_mat_rec

6450: END IF;
6451:
6452: total_materials := total_materials + 1;
6453:
6454: AHL_EAM_JOB_PVT.map_ahl_eam_mat_rec
6455: (
6456: p_material_req_rec => l_material_tbl(j),
6457: x_eam_mat_req_rec => l_eam_mat_req_tbl(total_materials)
6458: );

Line 6482: AHL_EAM_JOB_PVT.map_ahl_eam_res_rec

6478: END IF;
6479:
6480: total_resources := total_resources + 1;
6481:
6482: AHL_EAM_JOB_PVT.map_ahl_eam_res_rec
6483: (
6484: p_resource_req_rec => l_resource_tbl(j),
6485: x_eam_res_rec => l_eam_res_req_tbl(total_resources)
6486: );

Line 6547: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rec

6543: END IF;
6544:
6545: -- Map all input AHL Job Header record attributes to the
6546: -- corresponding EAM Job Header record attributes.
6547: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rec
6548: (
6549: p_workorder_rec => p_x_prd_workorder_tbl(i),
6550: x_eam_wo_rec => l_eam_wo_tbl(i)
6551: );

Line 6591: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec

6587: END IF;
6588:
6589: -- Map all input AHL Workorder Relationship attributes to the
6590: -- corresponding EAM Workorder Relationship attributes.
6591: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec
6592: (
6593: p_workorder_rel_rec => p_prd_workorder_rel_tbl(i),
6594: x_eam_wo_relations_rec => l_eam_wo_relations_tbl(i)
6595: );

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

6600: END LOOP;
6601: END IF;
6602:
6603: IF ( G_DEBUG = 'Y' ) THEN
6604: AHL_DEBUG_PUB.debug( 'Invoking AHL_EAM_JOB_PVT.process_eam_workorders API');
6605: AHL_DEBUG_PUB.debug( 'Total Workorders : ' || l_eam_wo_tbl.COUNT);
6606: AHL_DEBUG_PUB.debug( 'Total Operations : ' || l_eam_op_tbl.COUNT);
6607: AHL_DEBUG_PUB.debug( 'Total Resources : ' || l_eam_res_req_tbl.COUNT);
6608: AHL_DEBUG_PUB.debug( 'Total Materials : ' || l_eam_mat_req_tbl.COUNT);

Line 6613: AHL_EAM_JOB_PVT.process_eam_workorders

6609: AHL_DEBUG_PUB.debug( 'Total Relationships : ' || l_eam_wo_relations_tbl.COUNT);
6610: END IF;
6611:
6612:
6613: AHL_EAM_JOB_PVT.process_eam_workorders
6614: (
6615: p_api_version => 1.0,
6616: p_init_msg_list => FND_API.G_TRUE,
6617: p_commit => FND_API.G_FALSE,

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

6630: IF ( l_return_status <> FND_API.G_RET_STS_SUCCESS ) THEN
6631: RAISE FND_API.G_EXC_ERROR;
6632: ELSE
6633: IF ( G_DEBUG = 'Y' ) THEN
6634: AHL_DEBUG_PUB.debug( 'AHL_EAM_JOB_PVT.process_eam_workorders API Success' );
6635: END IF;
6636:
6637: FOR i IN p_x_prd_workorder_tbl.FIRST..p_x_prd_workorder_tbl.LAST LOOP
6638:

Line 8835: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec

8831: FOR i IN l_workorder_rel_tbl.FIRST..l_workorder_rel_tbl.LAST LOOP
8832:
8833: -- Map all input AHL Workorder Relationship attributes to the
8834: -- corresponding EAM Workorder Relationship attributes.
8835: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec
8836: (
8837: p_workorder_rel_rec => l_workorder_rel_tbl(i),
8838: x_eam_wo_relations_rec => l_eam_wo_relations_tbl(i)
8839: );

Line 9299: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec

9295: FOR i IN l_workorder_rel_tbl.FIRST..l_workorder_rel_tbl.LAST LOOP
9296:
9297: -- Map all input AHL Workorder Relationship attributes to the
9298: -- corresponding EAM Workorder Relationship attributes.
9299: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec
9300: (
9301: p_workorder_rel_rec => l_workorder_rel_tbl(i),
9302: x_eam_wo_relations_rec => l_eam_wo_relations_tbl(i)
9303: );

Line 9520: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec

9516: FOR i IN l_workorder_rel_tbl.FIRST..l_workorder_rel_tbl.LAST LOOP
9517:
9518: -- Map all input AHL Workorder Relationship attributes to the
9519: -- corresponding EAM Workorder Relationship attributes.
9520: AHL_EAM_JOB_PVT.map_ahl_eam_wo_rel_rec
9521: (
9522: p_workorder_rel_rec => l_workorder_rel_tbl(i),
9523: x_eam_wo_relations_rec => l_eam_wo_relations_tbl(i)
9524: );

Line 9534: AHL_EAM_JOB_PVT.process_eam_workorders

9530: -- Bug 4094884
9531: -- Before cancelling the workorders
9532: -- delete the workorder completion dependencies
9533: IF l_eam_wo_relations_tbl.COUNT > 0 THEN
9534: AHL_EAM_JOB_PVT.process_eam_workorders
9535: (
9536: p_api_version => 1.0,
9537: p_init_msg_list => FND_API.G_TRUE,
9538: p_commit => FND_API.G_FALSE,

Line 11064: AHL_EAM_JOB_PVT.update_job_operations

11060: l_x_prd_workorder_rec.COMPLETION_SUBINVENTORY,
11061: l_x_prd_workorder_rec.COMPLETION_LOCATOR_ID
11062: );
11063:
11064: AHL_EAM_JOB_PVT.update_job_operations
11065: (
11066: p_api_version => 1.0 ,
11067: p_init_msg_list => FND_API.G_TRUE ,
11068: p_commit => FND_API.G_FALSE ,