DBA Data[Home] [Help]

APPS.AHL_PRD_WO_PUB dependencies on AHL_COMPLETIONS_PVT

Line 250: x_WO_DETAILS_REC.IsCompleteEnabled := AHL_COMPLETIONS_PVT.Is_Complete_Enabled(l_wo_details.WORKORDER_ID, NULL, NULL, 'T');

246: x_WO_DETAILS_REC.NonRoutineNumber := to_char(l_wo_details.service_request_number);
247: x_WO_DETAILS_REC.HoldReasonCode := l_wo_details.HOLD_REASON_CODE;
248: x_WO_DETAILS_REC.HoldReason := l_wo_details.HOLD_REASON;
249: x_WO_DETAILS_REC.IsUnitQuarantined := l_wo_details.UNIT_QUARANTINE_FLAG;
250: x_WO_DETAILS_REC.IsCompleteEnabled := AHL_COMPLETIONS_PVT.Is_Complete_Enabled(l_wo_details.WORKORDER_ID, NULL, NULL, 'T');
251: FND_MSG_PUB.Initialize;
252: x_WO_DETAILS_REC.IsPartsChangeEnabled := AHL_PRD_UTIL_PKG.Is_PartChange_Enabled(l_wo_details.WORKORDER_ID,'T');
253: FND_MSG_PUB.Initialize;
254:

Line 1647: AHL_COMPLETIONS_PVT.complete_workorder

1643: FND_MSG_PUB.ADD;
1644: RAISE FND_API.G_EXC_ERROR;
1645: END IF;
1646: -- complete job
1647: AHL_COMPLETIONS_PVT.complete_workorder
1648: (
1649: p_api_version => 1.0 ,
1650: p_init_msg_list => FND_API.G_TRUE,
1651: p_commit => FND_API.G_FALSE,

Line 1820: l_prd_comp_operation_tbl AHL_COMPLETIONS_PVT.operation_tbl_type;

1816: l_prd_operation_tbl AHL_PRD_OPERATIONS_PVT.PRD_OPERATION_TBL;
1817: l_Operations OP_TBL_TYPE;
1818: j INTEGER;
1819: x_msg_index_out NUMBER;
1820: l_prd_comp_operation_tbl AHL_COMPLETIONS_PVT.operation_tbl_type;
1821:
1822: Cursor get_op_status_code(p_status VARCHAR2) IS
1823: select lookup_code status_code
1824: from fnd_lookup_values_vl

Line 1924: AHL_COMPLETIONS_PVT.Get_Default_Op_Actual_Dates

1920: l_prd_operation_tbl(j).actual_end_date := l_Operations(0).ActualEndDate;
1921: IF(l_prd_operation_tbl(j).actual_start_date IS NULL AND l_prd_operation_tbl(j).actual_end_date IS NULL)THEN
1922: l_prd_comp_operation_tbl(0).workorder_id := l_Operations(0).WorkorderId;
1923: l_prd_comp_operation_tbl(0).operation_sequence_num := l_Operations(0).OperationSequenceNumber;
1924: AHL_COMPLETIONS_PVT.Get_Default_Op_Actual_Dates
1925: (
1926: x_return_status => x_return_status,
1927: x_msg_count => x_msg_count,
1928: x_msg_data => x_msg_data,