DBA Data[Home] [Help]

APPS.EAM_WO_UTILITY_PVT dependencies on EAM_PROCESS_WO_PVT

Line 251: x_return_status := EAM_PROCESS_WO_PVT.G_RECORD_FOUND;

247: AND wdj.wip_entity_id = ewod.wip_entity_id(+)
248: AND wdj.organization_id = ewod.organization_id(+);
249:
250:
251: x_return_status := EAM_PROCESS_WO_PVT.G_RECORD_FOUND;
252: x_eam_wo_rec := l_eam_wo_rec;
253:
254: EXCEPTION
255: WHEN NO_DATA_FOUND THEN

Line 256: x_return_status := EAM_PROCESS_WO_PVT.G_RECORD_NOT_FOUND;

252: x_eam_wo_rec := l_eam_wo_rec;
253:
254: EXCEPTION
255: WHEN NO_DATA_FOUND THEN
256: x_return_status := EAM_PROCESS_WO_PVT.G_RECORD_NOT_FOUND;
257: x_eam_wo_rec := l_eam_wo_rec;
258:
259: WHEN OTHERS THEN
260: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 288: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Writing EAM WO rec for ' || p_eam_wo_rec.wip_entity_name); END IF;

284: l_asset_ops_return_status VARCHAR2(1);
285:
286: BEGIN
287:
288: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Writing EAM WO rec for ' || p_eam_wo_rec.wip_entity_name); END IF;
289:
290: -- bug no 3444091
291: if p_eam_wo_rec.scheduled_start_date > p_eam_wo_rec.scheduled_completion_date then
292: x_return_status := fnd_api.g_ret_sts_error;

Line 607: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('Creating new Work Order') ; END IF;

603: x_msg_data => l_asset_ops_msg_data
604: );
605:
606:
607: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('Creating new Work Order') ; END IF;
608: x_return_status := FND_API.G_RET_STS_SUCCESS;
609:
610:
611: EXCEPTION

Line 641: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Updating EAM WO '|| p_eam_wo_rec.wip_entity_name); END IF;

637: IS
638: BEGIN
639:
640:
641: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Updating EAM WO '|| p_eam_wo_rec.wip_entity_name); END IF;
642:
643: -- bug no 3444091
644: if p_eam_wo_rec.scheduled_start_date > p_eam_wo_rec.scheduled_completion_date then
645: x_return_status := fnd_api.g_ret_sts_error;

Line 805: IF p_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

801: l_Mesg_Token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
802: l_return_status VARCHAR2(1):= FND_API.G_RET_STS_SUCCESS;
803: BEGIN
804:
805: IF p_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
806: THEN
807: Insert_Row
808: ( p_eam_wo_rec => p_eam_wo_rec
809: , x_mesg_token_Tbl => l_mesg_token_tbl

Line 812: ELSIF p_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_UPDATE

808: ( p_eam_wo_rec => p_eam_wo_rec
809: , x_mesg_token_Tbl => l_mesg_token_tbl
810: , x_return_Status => l_return_status
811: );
812: ELSIF p_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_UPDATE
813: THEN
814: Update_Row
815: ( p_eam_wo_rec => p_eam_wo_rec
816: , x_mesg_token_Tbl => l_mesg_token_tbl