DBA Data[Home] [Help]

APPS.EAM_WO_UTILITY_PVT dependencies on EAM_PROCESS_WO_PVT

Line 249: x_return_status := EAM_PROCESS_WO_PVT.G_RECORD_FOUND;

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

Line 254: x_return_status := EAM_PROCESS_WO_PVT.G_RECORD_NOT_FOUND;

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

Line 286: 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;

282: l_asset_ops_return_status VARCHAR2(1);
283:
284: BEGIN
285:
286: 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;
287:
288: -- bug no 3444091
289: if p_eam_wo_rec.scheduled_start_date > p_eam_wo_rec.scheduled_completion_date then
290: x_return_status := fnd_api.g_ret_sts_error;

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

599: x_msg_data => l_asset_ops_msg_data
600: );
601:
602:
603: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('Creating new Work Order') ; END IF;
604: x_return_status := FND_API.G_RET_STS_SUCCESS;
605:
606:
607: EXCEPTION

Line 637: 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;

633: IS
634: BEGIN
635:
636:
637: 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;
638:
639: -- bug no 3444091
640: if p_eam_wo_rec.scheduled_start_date > p_eam_wo_rec.scheduled_completion_date then
641: x_return_status := fnd_api.g_ret_sts_error;

Line 800: IF p_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

796: l_Mesg_Token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
797: l_return_status VARCHAR2(1):= FND_API.G_RET_STS_SUCCESS;
798: BEGIN
799:
800: IF p_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
801: THEN
802: Insert_Row
803: ( p_eam_wo_rec => p_eam_wo_rec
804: , x_mesg_token_Tbl => l_mesg_token_tbl

Line 807: ELSIF p_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_UPDATE

803: ( p_eam_wo_rec => p_eam_wo_rec
804: , x_mesg_token_Tbl => l_mesg_token_tbl
805: , x_return_Status => l_return_status
806: );
807: ELSIF p_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_UPDATE
808: THEN
809: Update_Row
810: ( p_eam_wo_rec => p_eam_wo_rec
811: , x_mesg_token_Tbl => l_mesg_token_tbl