DBA Data[Home] [Help]

APPS.EAM_PROCESS_WO_PVT dependencies on EAM_ERROR_MESSAGE_PVT

Line 117: , x_mesg_token_tbl IN OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

113: ,p_approval_required IN BOOLEAN
114: ,p_new_system_status IN NUMBER
115: , p_workflow_name IN VARCHAR2
116: , p_workflow_process IN VARCHAR2
117: , x_mesg_token_tbl IN OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
118: , x_return_status IN OUT NOCOPY VARCHAR2
119: )
120: IS
121: l_create_event VARCHAR2(240);

Line 450: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

446: , p_resource_seq_num IN NUMBER := NULL
447: , p_eam_res_usage_tbl IN EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type
448: , x_bottomup_scheduled IN OUT NOCOPY NUMBER
449: , x_eam_res_usage_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type
450: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
451: , x_return_status OUT NOCOPY VARCHAR2
452: )
453: IS
454:

Line 477: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;

473: l_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
474: l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
475: l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
476: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
477: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
478:
479: /* Error Handling Variables */
480: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
481: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

Line 480: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

476: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
477: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
478:
479: /* Error Handling Variables */
480: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
481: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
482: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
483: l_other_message VARCHAR2(2000);
484: l_err_text VARCHAR2(2000);

Line 481: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

477: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
478:
479: /* Error Handling Variables */
480: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
481: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
482: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
483: l_other_message VARCHAR2(2000);
484: l_err_text VARCHAR2(2000);
485:

Line 482: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

478:
479: /* Error Handling Variables */
480: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
481: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
482: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
483: l_other_message VARCHAR2(2000);
484: l_err_text VARCHAR2(2000);
485:
486: /* Others */

Line 496: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.RESOURCE_USAGES : Start=== '||p_eam_res_usage_tbl.COUNT ||' records passed =======================') ; END IF ;

492:
493:
494: BEGIN
495:
496: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.RESOURCE_USAGES : Start=== '||p_eam_res_usage_tbl.COUNT ||' records passed =======================') ; END IF ;
497:
498: x_return_status := FND_API.G_RET_STS_SUCCESS;
499:
500: -- Init local table variables.

Line 509: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

505:
506: FOR I IN 1..l_eam_res_usage_tbl.COUNT LOOP
507: BEGIN
508:
509: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
510:
511: -- Load local records.
512: l_eam_res_usage_rec := l_eam_res_usage_tbl(I);
513:

Line 549: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;

545: )
546: )
547: THEN
548:
549: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;
550:
551:
552: l_return_status := FND_API.G_RET_STS_SUCCESS;
553: l_eam_res_usage_rec.return_status := FND_API.G_RET_STS_SUCCESS;

Line 565: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

561: );
562:
563: IF NOT l_valid_transaction
564: THEN
565: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
566: RAISE EXC_SEV_QUIT_RECORD ;
567: END IF ;
568:
569:

Line 576: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;

572: , x_return_status => l_return_status
573: , x_mesg_token_tbl => l_mesg_token_tbl
574: ) ;
575:
576: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
577:
578: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
579: THEN
580: IF l_eam_res_usage_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 578: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

574: ) ;
575:
576: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
577:
578: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
579: THEN
580: IF l_eam_res_usage_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
581: THEN
582: l_other_message := 'EAM_RU_REQ_CSEV_SKIP';

Line 589: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

585: RAISE EXC_SEV_SKIP_BRANCH ;
586: ELSE
587: RAISE EXC_SEV_QUIT_RECORD ;
588: END IF;
589: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
590: THEN
591: l_other_message := 'EAM_RU_REQ_UNEXP_SKIP';
592: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
593: l_other_token_tbl(1).token_value := l_eam_res_usage_rec.resource_seq_num ;

Line 604: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;

600: , x_return_status => l_return_status
601: , x_mesg_token_tbl => l_mesg_token_tbl
602: );
603:
604: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
605:
606: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
607: THEN
608: IF l_eam_res_usage_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 606: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

602: );
603:
604: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
605:
606: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
607: THEN
608: IF l_eam_res_usage_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
609: THEN
610: l_other_message := 'EAM_RU_ATTVAL_CSEV_SKIP';

Line 617: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

613: RAISE EXC_SEV_SKIP_BRANCH ;
614: ELSE
615: RAISE EXC_SEV_QUIT_RECORD ;
616: END IF;
617: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
618: THEN
619: l_other_message := 'EAM_RU_ATTVAL_UNEXP_SKIP';
620: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
621: l_other_token_tbl(1).token_value := l_eam_res_usage_rec.resource_seq_num ;

Line 626: EAM_ERROR_MESSAGE_PVT.Log_Error

622: RAISE EXC_UNEXP_SKIP_OBJECT ;
623: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
624: THEN
625: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
626: EAM_ERROR_MESSAGE_PVT.Log_Error
627: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
628: , p_mesg_token_tbl => l_mesg_token_tbl
629: , p_error_status => 'W'
630: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

Line 630: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

626: EAM_ERROR_MESSAGE_PVT.Log_Error
627: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
628: , p_mesg_token_tbl => l_mesg_token_tbl
629: , p_error_status => 'W'
630: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
631: , p_entity_index => I
632: , x_eam_wo_rec => l_eam_wo_rec
633: , x_eam_op_tbl => l_eam_op_tbl
634: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 656: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

652: , x_return_status => l_return_status
653: );
654:
655:
656: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
657: THEN
658: l_other_message := 'EAM_RU_WRITES_UNEXP_SKIP';
659: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
660: l_other_token_tbl(1).token_value := l_eam_res_usage_rec.resource_seq_num ;

Line 666: EAM_ERROR_MESSAGE_PVT.Log_Error

662: ELSIF l_return_status ='S' AND
663: l_mesg_token_tbl.COUNT <>0
664: THEN
665: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
666: EAM_ERROR_MESSAGE_PVT.Log_Error
667: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
668: , p_mesg_token_tbl => l_mesg_token_tbl
669: , p_error_status => 'W'
670: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

Line 670: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

666: EAM_ERROR_MESSAGE_PVT.Log_Error
667: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
668: , p_mesg_token_tbl => l_mesg_token_tbl
669: , p_error_status => 'W'
670: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
671: , p_entity_index => I
672: , x_eam_wo_rec => l_eam_wo_rec
673: , x_eam_op_tbl => l_eam_op_tbl
674: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 685: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;

681: );
682: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
683: END IF;
684:
685: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;
686: END IF ; -- bug 5224748. end of check for x_bottomup_scheduled = G_NON_FIRM_WORKORDER
687:
688: ELSE
689:

Line 690: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

686: END IF ; -- bug 5224748. end of check for x_bottomup_scheduled = G_NON_FIRM_WORKORDER
687:
688: ELSE
689:
690: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;
691:
692: END IF; -- END IF statement that checks RETURN STATUS
693:
694: --find if bottom up scheduler is to be called or not

Line 727: EAM_ERROR_MESSAGE_PVT.Log_Error

723:
724: EXCEPTION
725: WHEN EXC_SEV_QUIT_RECORD THEN
726: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
727: EAM_ERROR_MESSAGE_PVT.Log_Error
728: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
729: , p_mesg_token_tbl => l_mesg_token_tbl
730: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
731: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

Line 730: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

726: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
727: EAM_ERROR_MESSAGE_PVT.Log_Error
728: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
729: , p_mesg_token_tbl => l_mesg_token_tbl
730: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
731: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
732: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
733: , p_entity_index => I
734: , x_eam_wo_rec => l_eam_wo_rec

Line 731: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

727: EAM_ERROR_MESSAGE_PVT.Log_Error
728: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
729: , p_mesg_token_tbl => l_mesg_token_tbl
730: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
731: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
732: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
733: , p_entity_index => I
734: , x_eam_wo_rec => l_eam_wo_rec
735: , x_eam_op_tbl => l_eam_op_tbl

Line 732: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

728: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
729: , p_mesg_token_tbl => l_mesg_token_tbl
730: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
731: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
732: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
733: , p_entity_index => I
734: , x_eam_wo_rec => l_eam_wo_rec
735: , x_eam_op_tbl => l_eam_op_tbl
736: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 760: EAM_ERROR_MESSAGE_PVT.Log_Error

756:
757:
758: WHEN EXC_SEV_QUIT_BRANCH THEN
759: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
760: EAM_ERROR_MESSAGE_PVT.Log_Error
761: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
762: , p_mesg_token_tbl => l_mesg_token_tbl
763: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
764: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 763: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

759: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
760: EAM_ERROR_MESSAGE_PVT.Log_Error
761: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
762: , p_mesg_token_tbl => l_mesg_token_tbl
763: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
764: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
765: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
766: , p_other_message => l_other_message
767: , p_other_token_tbl => l_other_token_tbl

Line 764: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

760: EAM_ERROR_MESSAGE_PVT.Log_Error
761: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
762: , p_mesg_token_tbl => l_mesg_token_tbl
763: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
764: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
765: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
766: , p_other_message => l_other_message
767: , p_other_token_tbl => l_other_token_tbl
768: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

Line 765: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

761: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
762: , p_mesg_token_tbl => l_mesg_token_tbl
763: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
764: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
765: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
766: , p_other_message => l_other_message
767: , p_other_token_tbl => l_other_token_tbl
768: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
769: , p_entity_index => I

Line 768: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

764: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
765: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
766: , p_other_message => l_other_message
767: , p_other_token_tbl => l_other_token_tbl
768: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
769: , p_entity_index => I
770: , x_eam_wo_rec => l_eam_wo_rec
771: , x_eam_op_tbl => l_eam_op_tbl
772: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 796: EAM_ERROR_MESSAGE_PVT.Log_Error

792:
793:
794: WHEN EXC_SEV_SKIP_BRANCH THEN
795: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
796: EAM_ERROR_MESSAGE_PVT.Log_Error
797: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
798: , p_mesg_token_tbl => l_mesg_token_tbl
799: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
800: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 799: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

795: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
796: EAM_ERROR_MESSAGE_PVT.Log_Error
797: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
798: , p_mesg_token_tbl => l_mesg_token_tbl
799: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
800: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
801: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
802: , p_other_message => l_other_message
803: , p_other_token_tbl => l_other_token_tbl

Line 800: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

796: EAM_ERROR_MESSAGE_PVT.Log_Error
797: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
798: , p_mesg_token_tbl => l_mesg_token_tbl
799: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
800: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
801: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
802: , p_other_message => l_other_message
803: , p_other_token_tbl => l_other_token_tbl
804: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

Line 801: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

797: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
798: , p_mesg_token_tbl => l_mesg_token_tbl
799: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
800: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
801: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
802: , p_other_message => l_other_message
803: , p_other_token_tbl => l_other_token_tbl
804: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
805: , p_entity_index => I

Line 804: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

800: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
801: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
802: , p_other_message => l_other_message
803: , p_other_token_tbl => l_other_token_tbl
804: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
805: , p_entity_index => I
806: , x_eam_wo_rec => l_eam_wo_rec
807: , x_eam_op_tbl => l_eam_op_tbl
808: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 833: EAM_ERROR_MESSAGE_PVT.Log_Error

829:
830:
831: WHEN EXC_SEV_QUIT_SIBLINGS THEN
832: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
833: EAM_ERROR_MESSAGE_PVT.Log_Error
834: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
835: , p_mesg_token_tbl => l_mesg_token_tbl
836: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
837: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 836: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

832: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
833: EAM_ERROR_MESSAGE_PVT.Log_Error
834: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
835: , p_mesg_token_tbl => l_mesg_token_tbl
836: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
837: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
838: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
839: , p_other_message => l_other_message
840: , p_other_token_tbl => l_other_token_tbl

Line 837: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

833: EAM_ERROR_MESSAGE_PVT.Log_Error
834: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
835: , p_mesg_token_tbl => l_mesg_token_tbl
836: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
837: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
838: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
839: , p_other_message => l_other_message
840: , p_other_token_tbl => l_other_token_tbl
841: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

Line 838: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

834: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
835: , p_mesg_token_tbl => l_mesg_token_tbl
836: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
837: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
838: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
839: , p_other_message => l_other_message
840: , p_other_token_tbl => l_other_token_tbl
841: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
842: , p_entity_index => I

Line 841: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

837: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
838: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
839: , p_other_message => l_other_message
840: , p_other_token_tbl => l_other_token_tbl
841: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
842: , p_entity_index => I
843: , x_eam_wo_rec => l_eam_wo_rec
844: , x_eam_op_tbl => l_eam_op_tbl
845: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 869: EAM_ERROR_MESSAGE_PVT.Log_Error

865:
866:
867: WHEN EXC_FAT_QUIT_BRANCH THEN
868: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
869: EAM_ERROR_MESSAGE_PVT.Log_Error
870: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
871: , p_mesg_token_tbl => l_mesg_token_tbl
872: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
873: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 872: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

868: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
869: EAM_ERROR_MESSAGE_PVT.Log_Error
870: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
871: , p_mesg_token_tbl => l_mesg_token_tbl
872: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
873: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
874: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
875: , p_other_message => l_other_message
876: , p_other_token_tbl => l_other_token_tbl

Line 873: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

869: EAM_ERROR_MESSAGE_PVT.Log_Error
870: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
871: , p_mesg_token_tbl => l_mesg_token_tbl
872: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
873: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
874: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
875: , p_other_message => l_other_message
876: , p_other_token_tbl => l_other_token_tbl
877: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

Line 874: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

870: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
871: , p_mesg_token_tbl => l_mesg_token_tbl
872: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
873: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
874: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
875: , p_other_message => l_other_message
876: , p_other_token_tbl => l_other_token_tbl
877: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
878: , p_entity_index => I

Line 877: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

873: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
874: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
875: , p_other_message => l_other_message
876: , p_other_token_tbl => l_other_token_tbl
877: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
878: , p_entity_index => I
879: , x_eam_wo_rec => l_eam_wo_rec
880: , x_eam_op_tbl => l_eam_op_tbl
881: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 892: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

888: );
889: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
890:
891: l_process_children := FALSE ;
892: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
893: x_mesg_token_tbl := l_mesg_token_tbl ;
894: x_eam_res_usage_tbl := l_eam_res_usage_tbl;
895:
896:

Line 899: EAM_ERROR_MESSAGE_PVT.Log_Error

895:
896:
897: WHEN EXC_FAT_QUIT_SIBLINGS THEN
898: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
899: EAM_ERROR_MESSAGE_PVT.Log_Error
900: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
901: , p_mesg_token_tbl => l_mesg_token_tbl
902: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
903: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 902: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

898: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
899: EAM_ERROR_MESSAGE_PVT.Log_Error
900: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
901: , p_mesg_token_tbl => l_mesg_token_tbl
902: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
903: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
904: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
905: , p_other_message => l_other_message
906: , p_other_token_tbl => l_other_token_tbl

Line 903: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

899: EAM_ERROR_MESSAGE_PVT.Log_Error
900: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
901: , p_mesg_token_tbl => l_mesg_token_tbl
902: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
903: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
904: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
905: , p_other_message => l_other_message
906: , p_other_token_tbl => l_other_token_tbl
907: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

Line 904: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

900: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
901: , p_mesg_token_tbl => l_mesg_token_tbl
902: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
903: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
904: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
905: , p_other_message => l_other_message
906: , p_other_token_tbl => l_other_token_tbl
907: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
908: , p_entity_index => I

Line 907: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

903: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
904: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
905: , p_other_message => l_other_message
906: , p_other_token_tbl => l_other_token_tbl
907: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
908: , p_entity_index => I
909: , x_eam_wo_rec => l_eam_wo_rec
910: , x_eam_op_tbl => l_eam_op_tbl
911: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 922: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

918: );
919: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
920:
921: l_process_children := FALSE ;
922: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
923: x_mesg_token_tbl := l_mesg_token_tbl ;
924: x_eam_res_usage_tbl := l_eam_res_usage_tbl;
925:
926:

Line 929: EAM_ERROR_MESSAGE_PVT.Log_Error

925:
926:
927: WHEN EXC_UNEXP_SKIP_OBJECT THEN
928: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
929: EAM_ERROR_MESSAGE_PVT.Log_Error
930: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
931: , p_mesg_token_tbl => l_mesg_token_tbl
932: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
933: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

Line 932: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

928: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
929: EAM_ERROR_MESSAGE_PVT.Log_Error
930: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
931: , p_mesg_token_tbl => l_mesg_token_tbl
932: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
933: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
934: , p_other_message => l_other_message
935: , p_other_token_tbl => l_other_token_tbl
936: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

Line 933: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

929: EAM_ERROR_MESSAGE_PVT.Log_Error
930: ( p_eam_res_usage_tbl => l_eam_res_usage_tbl
931: , p_mesg_token_tbl => l_mesg_token_tbl
932: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
933: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
934: , p_other_message => l_other_message
935: , p_other_token_tbl => l_other_token_tbl
936: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
937: , x_eam_wo_rec => l_eam_wo_rec

Line 936: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL

932: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
933: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
934: , p_other_message => l_other_message
935: , p_other_token_tbl => l_other_token_tbl
936: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_USAGE_LEVEL
937: , x_eam_wo_rec => l_eam_wo_rec
938: , x_eam_op_tbl => l_eam_op_tbl
939: , x_eam_op_network_tbl => l_eam_op_network_tbl
940: , x_eam_res_tbl => l_eam_res_tbl

Line 965: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.RESOURCE_USAGES : End ==== Return status: '||NVL(l_return_status, 'S')||' =======================') ; END IF ;

961:
962:
963: END LOOP; -- END Resources processing loop
964:
965: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.RESOURCE_USAGES : End ==== Return status: '||NVL(l_return_status, 'S')||' =======================') ; END IF ;
966:
967: -- Load OUT parameters
968: IF NVL(l_return_status, 'S') <> 'S'
969: THEN

Line 1002: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

998: , p_eam_res_usage_tbl IN EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type
999: , x_bottomup_scheduled IN OUT NOCOPY NUMBER
1000: , x_eam_sub_res_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type
1001: , x_eam_res_usage_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type
1002: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
1003: , x_return_status OUT NOCOPY VARCHAR2
1004: )
1005: IS
1006:

Line 1028: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;

1024: l_out_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
1025: l_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
1026: l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
1027: l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
1028: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
1029: l_out_eam_sub_res_rec EAM_PROCESS_WO_PUB.eam_sub_res_rec_type;
1030:
1031: /* Error Handling Variables */
1032: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

Line 1032: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

1028: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
1029: l_out_eam_sub_res_rec EAM_PROCESS_WO_PUB.eam_sub_res_rec_type;
1030:
1031: /* Error Handling Variables */
1032: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1033: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
1034: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1035: l_other_message VARCHAR2(2000);
1036: l_err_text VARCHAR2(2000);

Line 1033: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

1029: l_out_eam_sub_res_rec EAM_PROCESS_WO_PUB.eam_sub_res_rec_type;
1030:
1031: /* Error Handling Variables */
1032: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1033: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
1034: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1035: l_other_message VARCHAR2(2000);
1036: l_err_text VARCHAR2(2000);
1037:

Line 1034: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

1030:
1031: /* Error Handling Variables */
1032: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1033: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
1034: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1035: l_other_message VARCHAR2(2000);
1036: l_err_text VARCHAR2(2000);
1037:
1038: /* Others */

Line 1048: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.SUB_RESOURCES : Start=== '||p_eam_sub_res_tbl.COUNT ||' records passed =======================') ; END IF ;

1044:
1045:
1046: BEGIN
1047:
1048: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.SUB_RESOURCES : Start=== '||p_eam_sub_res_tbl.COUNT ||' records passed =======================') ; END IF ;
1049:
1050: x_return_status := FND_API.G_RET_STS_SUCCESS;
1051:
1052: -- Init local table variables.

Line 1061: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

1057:
1058: FOR I IN 1..l_eam_sub_res_tbl.COUNT LOOP
1059: BEGIN
1060:
1061: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
1062:
1063: -- Load local records.
1064: l_eam_sub_res_rec := l_eam_sub_res_tbl(I);
1065:

Line 1100: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;

1096: )
1097: )
1098: THEN
1099:
1100: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;
1101:
1102:
1103: l_return_status := FND_API.G_RET_STS_SUCCESS;
1104: l_eam_sub_res_rec.return_status := FND_API.G_RET_STS_SUCCESS;

Line 1116: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

1112: );
1113:
1114: IF NOT l_valid_transaction
1115: THEN
1116: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
1117: RAISE EXC_SEV_QUIT_RECORD ;
1118: END IF ;
1119:
1120: EAM_SUB_RESOURCE_VALIDATE_PVT.Check_Existence

Line 1127: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;

1123: , x_mesg_token_tbl => l_mesg_token_tbl
1124: , x_return_status => l_return_status
1125: ) ;
1126:
1127: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
1128:
1129: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1130: THEN
1131: l_other_message := 'EAM_SR_EXS_SEV_SKIP';

Line 1129: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1125: ) ;
1126:
1127: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
1128:
1129: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1130: THEN
1131: l_other_message := 'EAM_SR_EXS_SEV_SKIP';
1132: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
1133: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num;

Line 1137: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1133: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num;
1134: l_other_token_tbl(2).token_name := 'WIP_ENTITY_ID';
1135: l_other_token_tbl(2).token_value := l_eam_sub_res_rec.wip_entity_id;
1136: RAISE EXC_SEV_QUIT_BRANCH;
1137: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1138: THEN
1139: l_other_message := 'EAM_SR_EXS_UNEXP_SKIP';
1140: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
1141: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num ;

Line 1157: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;

1153:
1154: IF l_eam_sub_res_rec.transaction_type IN (EAM_PROCESS_WO_PVT.G_OPR_UPDATE, EAM_PROCESS_WO_PVT.G_OPR_DELETE)
1155: THEN
1156:
1157: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;
1158: END IF ;
1159:
1160: l_out_eam_sub_res_rec := l_eam_sub_res_rec;
1161:

Line 1185: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug

1181: ) ;
1182:
1183: l_eam_sub_res_rec := l_out_eam_sub_res_rec;
1184:
1185: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug
1186: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
1187: END IF ;
1188:
1189:

Line 1190: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1186: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
1187: END IF ;
1188:
1189:
1190: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1191: THEN
1192: l_other_message := 'EAM_SR_ATTDEF_CSEV_SKIP';
1193: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
1194: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num ;

Line 1197: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1193: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
1194: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num ;
1195: RAISE EXC_SEV_SKIP_BRANCH ;
1196:
1197: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1198: THEN
1199: l_other_message := 'EAM_SR_ATTDEF_UNEXP_SKIP';
1200: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
1201: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num ;

Line 1207: EAM_ERROR_MESSAGE_PVT.Log_Error

1203: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
1204: THEN
1205: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1206: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1207: EAM_ERROR_MESSAGE_PVT.Log_Error
1208: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1209: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1210: , p_mesg_token_tbl => l_mesg_token_tbl
1211: , p_error_status => 'W'

Line 1212: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1208: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1209: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1210: , p_mesg_token_tbl => l_mesg_token_tbl
1211: , p_error_status => 'W'
1212: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1213: , p_entity_index => I
1214: , x_eam_wo_rec => l_eam_wo_rec
1215: , x_eam_op_tbl => l_eam_op_tbl
1216: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1236: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;

1232: , x_return_status => l_return_status
1233: , x_mesg_token_tbl => l_mesg_token_tbl
1234: ) ;
1235:
1236: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
1237:
1238:
1239: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1240: THEN

Line 1239: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1235:
1236: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
1237:
1238:
1239: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1240: THEN
1241: IF l_eam_sub_res_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
1242: THEN
1243: l_other_message := 'EAM_SR_REQ_CSEV_SKIP';

Line 1250: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1246: RAISE EXC_SEV_SKIP_BRANCH ;
1247: ELSE
1248: RAISE EXC_SEV_QUIT_RECORD ;
1249: END IF;
1250: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1251: THEN
1252: l_other_message := 'EAM_SR_REQ_UNEXP_SKIP';
1253: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
1254: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num ;

Line 1266: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;

1262: , x_return_status => l_return_status
1263: , x_mesg_token_tbl => l_mesg_token_tbl
1264: ) ;
1265:
1266: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
1267:
1268: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1269: THEN
1270: IF l_eam_sub_res_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 1268: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1264: ) ;
1265:
1266: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
1267:
1268: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1269: THEN
1270: IF l_eam_sub_res_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
1271: THEN
1272: l_other_message := 'EAM_SR_ATTVAL_CSEV_SKIP';

Line 1279: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1275: RAISE EXC_SEV_SKIP_BRANCH ;
1276: ELSE
1277: RAISE EXC_SEV_QUIT_RECORD ;
1278: END IF;
1279: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1280: THEN
1281: l_other_message := 'EAM_SR_ATTVAL_UNEXP_SKIP';
1282: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
1283: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num ;

Line 1289: EAM_ERROR_MESSAGE_PVT.Log_Error

1285: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
1286: THEN
1287: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1288: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1289: EAM_ERROR_MESSAGE_PVT.Log_Error
1290: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1291: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1292: , p_mesg_token_tbl => l_mesg_token_tbl
1293: , p_error_status => 'W'

Line 1294: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1290: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1291: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1292: , p_mesg_token_tbl => l_mesg_token_tbl
1293: , p_error_status => 'W'
1294: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1295: , p_entity_index => I
1296: , x_eam_wo_rec => l_eam_wo_rec
1297: , x_eam_op_tbl => l_eam_op_tbl
1298: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1318: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1314: , x_return_status => l_return_status
1315: ) ;
1316:
1317:
1318: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1319: THEN
1320: l_other_message := 'EAM_SR_WRITES_UNEXP_SKIP';
1321: l_other_token_tbl(1).token_name := 'RESOURCE_SEQ_NUM';
1322: l_other_token_tbl(1).token_value := l_eam_sub_res_rec.resource_seq_num ;

Line 1329: EAM_ERROR_MESSAGE_PVT.Log_Error

1325: l_mesg_token_tbl.COUNT <>0
1326: THEN
1327: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1328: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1329: EAM_ERROR_MESSAGE_PVT.Log_Error
1330: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1331: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1332: , p_mesg_token_tbl => l_mesg_token_tbl
1333: , p_error_status => 'W'

Line 1334: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1330: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1331: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1332: , p_mesg_token_tbl => l_mesg_token_tbl
1333: , p_error_status => 'W'
1334: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1335: , p_entity_index => I
1336: , x_eam_wo_rec => l_eam_wo_rec
1337: , x_eam_op_tbl => l_eam_op_tbl
1338: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1350: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;

1346: l_eam_sub_res_tbl := l_out_eam_sub_res_tbl;
1347: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
1348: END IF;
1349:
1350: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;
1351:
1352: ELSE
1353:
1354: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

Line 1354: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

1350: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;
1351:
1352: ELSE
1353:
1354: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;
1355:
1356: END IF; -- END IF statement that checks RETURN STATUS
1357:
1358: -- Load tables.

Line 1371: EAM_ERROR_MESSAGE_PVT.Log_Error

1367: EXCEPTION
1368: WHEN EXC_SEV_QUIT_RECORD THEN
1369: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1370: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1371: EAM_ERROR_MESSAGE_PVT.Log_Error
1372: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1373: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1374: , p_mesg_token_tbl => l_mesg_token_tbl
1375: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

Line 1375: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1371: EAM_ERROR_MESSAGE_PVT.Log_Error
1372: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1373: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1374: , p_mesg_token_tbl => l_mesg_token_tbl
1375: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1376: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
1377: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1378: , p_entity_index => I
1379: , x_eam_wo_rec => l_eam_wo_rec

Line 1376: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

1372: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1373: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1374: , p_mesg_token_tbl => l_mesg_token_tbl
1375: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1376: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
1377: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1378: , p_entity_index => I
1379: , x_eam_wo_rec => l_eam_wo_rec
1380: , x_eam_op_tbl => l_eam_op_tbl

Line 1377: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1373: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1374: , p_mesg_token_tbl => l_mesg_token_tbl
1375: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1376: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
1377: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1378: , p_entity_index => I
1379: , x_eam_wo_rec => l_eam_wo_rec
1380: , x_eam_op_tbl => l_eam_op_tbl
1381: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1407: EAM_ERROR_MESSAGE_PVT.Log_Error

1403:
1404: WHEN EXC_SEV_QUIT_BRANCH THEN
1405: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1406: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1407: EAM_ERROR_MESSAGE_PVT.Log_Error
1408: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1409: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1410: , p_mesg_token_tbl => l_mesg_token_tbl
1411: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

Line 1411: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1407: EAM_ERROR_MESSAGE_PVT.Log_Error
1408: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1409: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1410: , p_mesg_token_tbl => l_mesg_token_tbl
1411: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1412: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1413: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1414: , p_other_message => l_other_message
1415: , p_other_token_tbl => l_other_token_tbl

Line 1412: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

1408: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1409: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1410: , p_mesg_token_tbl => l_mesg_token_tbl
1411: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1412: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1413: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1414: , p_other_message => l_other_message
1415: , p_other_token_tbl => l_other_token_tbl
1416: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

Line 1413: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1409: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1410: , p_mesg_token_tbl => l_mesg_token_tbl
1411: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1412: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1413: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1414: , p_other_message => l_other_message
1415: , p_other_token_tbl => l_other_token_tbl
1416: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1417: , p_entity_index => I

Line 1416: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1412: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1413: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1414: , p_other_message => l_other_message
1415: , p_other_token_tbl => l_other_token_tbl
1416: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1417: , p_entity_index => I
1418: , x_eam_wo_rec => l_eam_wo_rec
1419: , x_eam_op_tbl => l_eam_op_tbl
1420: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1446: EAM_ERROR_MESSAGE_PVT.Log_Error

1442:
1443: WHEN EXC_SEV_SKIP_BRANCH THEN
1444: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1445: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1446: EAM_ERROR_MESSAGE_PVT.Log_Error
1447: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1448: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1449: , p_mesg_token_tbl => l_mesg_token_tbl
1450: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

Line 1450: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1446: EAM_ERROR_MESSAGE_PVT.Log_Error
1447: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1448: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1449: , p_mesg_token_tbl => l_mesg_token_tbl
1450: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1451: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1452: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
1453: , p_other_message => l_other_message
1454: , p_other_token_tbl => l_other_token_tbl

Line 1451: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

1447: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1448: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1449: , p_mesg_token_tbl => l_mesg_token_tbl
1450: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1451: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1452: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
1453: , p_other_message => l_other_message
1454: , p_other_token_tbl => l_other_token_tbl
1455: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

Line 1452: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

1448: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1449: , p_mesg_token_tbl => l_mesg_token_tbl
1450: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1451: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1452: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
1453: , p_other_message => l_other_message
1454: , p_other_token_tbl => l_other_token_tbl
1455: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1456: , p_entity_index => I

Line 1455: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1451: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1452: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
1453: , p_other_message => l_other_message
1454: , p_other_token_tbl => l_other_token_tbl
1455: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1456: , p_entity_index => I
1457: , x_eam_wo_rec => l_eam_wo_rec
1458: , x_eam_op_tbl => l_eam_op_tbl
1459: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1486: EAM_ERROR_MESSAGE_PVT.Log_Error

1482:
1483: WHEN EXC_SEV_QUIT_SIBLINGS THEN
1484: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1485: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1486: EAM_ERROR_MESSAGE_PVT.Log_Error
1487: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1488: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1489: , p_mesg_token_tbl => l_mesg_token_tbl
1490: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

Line 1490: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1486: EAM_ERROR_MESSAGE_PVT.Log_Error
1487: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1488: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1489: , p_mesg_token_tbl => l_mesg_token_tbl
1490: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1491: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
1492: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1493: , p_other_message => l_other_message
1494: , p_other_token_tbl => l_other_token_tbl

Line 1491: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

1487: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1488: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1489: , p_mesg_token_tbl => l_mesg_token_tbl
1490: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1491: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
1492: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1493: , p_other_message => l_other_message
1494: , p_other_token_tbl => l_other_token_tbl
1495: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

Line 1492: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1488: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1489: , p_mesg_token_tbl => l_mesg_token_tbl
1490: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1491: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
1492: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1493: , p_other_message => l_other_message
1494: , p_other_token_tbl => l_other_token_tbl
1495: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1496: , p_entity_index => I

Line 1495: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1491: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
1492: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1493: , p_other_message => l_other_message
1494: , p_other_token_tbl => l_other_token_tbl
1495: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1496: , p_entity_index => I
1497: , x_eam_wo_rec => l_eam_wo_rec
1498: , x_eam_op_tbl => l_eam_op_tbl
1499: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1525: EAM_ERROR_MESSAGE_PVT.Log_Error

1521:
1522: WHEN EXC_FAT_QUIT_BRANCH THEN
1523: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1524: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1525: EAM_ERROR_MESSAGE_PVT.Log_Error
1526: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1527: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1528: , p_mesg_token_tbl => l_mesg_token_tbl
1529: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

Line 1529: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

1525: EAM_ERROR_MESSAGE_PVT.Log_Error
1526: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1527: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1528: , p_mesg_token_tbl => l_mesg_token_tbl
1529: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1530: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1531: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1532: , p_other_message => l_other_message
1533: , p_other_token_tbl => l_other_token_tbl

Line 1530: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

1526: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1527: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1528: , p_mesg_token_tbl => l_mesg_token_tbl
1529: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1530: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1531: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1532: , p_other_message => l_other_message
1533: , p_other_token_tbl => l_other_token_tbl
1534: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

Line 1531: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

1527: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1528: , p_mesg_token_tbl => l_mesg_token_tbl
1529: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1530: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1531: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1532: , p_other_message => l_other_message
1533: , p_other_token_tbl => l_other_token_tbl
1534: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1535: , p_entity_index => I

Line 1534: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1530: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
1531: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1532: , p_other_message => l_other_message
1533: , p_other_token_tbl => l_other_token_tbl
1534: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1535: , p_entity_index => I
1536: , x_eam_wo_rec => l_eam_wo_rec
1537: , x_eam_op_tbl => l_eam_op_tbl
1538: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1550: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

1546: l_eam_sub_res_tbl := l_out_eam_sub_res_tbl;
1547: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
1548:
1549: l_process_children := FALSE ;
1550: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
1551: x_mesg_token_tbl := l_mesg_token_tbl ;
1552: x_eam_sub_res_tbl := l_eam_sub_res_tbl;
1553:
1554:

Line 1558: EAM_ERROR_MESSAGE_PVT.Log_Error

1554:
1555: WHEN EXC_FAT_QUIT_SIBLINGS THEN
1556: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1557: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1558: EAM_ERROR_MESSAGE_PVT.Log_Error
1559: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1560: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1561: , p_mesg_token_tbl => l_mesg_token_tbl
1562: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

Line 1562: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

1558: EAM_ERROR_MESSAGE_PVT.Log_Error
1559: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1560: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1561: , p_mesg_token_tbl => l_mesg_token_tbl
1562: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1563: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
1564: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1565: , p_other_message => l_other_message
1566: , p_other_token_tbl => l_other_token_tbl

Line 1563: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

1559: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1560: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1561: , p_mesg_token_tbl => l_mesg_token_tbl
1562: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1563: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
1564: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1565: , p_other_message => l_other_message
1566: , p_other_token_tbl => l_other_token_tbl
1567: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

Line 1564: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

1560: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1561: , p_mesg_token_tbl => l_mesg_token_tbl
1562: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1563: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
1564: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1565: , p_other_message => l_other_message
1566: , p_other_token_tbl => l_other_token_tbl
1567: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1568: , p_entity_index => I

Line 1567: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1563: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
1564: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
1565: , p_other_message => l_other_message
1566: , p_other_token_tbl => l_other_token_tbl
1567: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1568: , p_entity_index => I
1569: , x_eam_wo_rec => l_eam_wo_rec
1570: , x_eam_op_tbl => l_eam_op_tbl
1571: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1583: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

1579: l_eam_sub_res_tbl := l_out_eam_sub_res_tbl;
1580: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
1581:
1582: l_process_children := FALSE ;
1583: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
1584: x_mesg_token_tbl := l_mesg_token_tbl ;
1585: x_eam_sub_res_tbl := l_eam_sub_res_tbl;
1586:
1587:

Line 1591: EAM_ERROR_MESSAGE_PVT.Log_Error

1587:
1588: WHEN EXC_UNEXP_SKIP_OBJECT THEN
1589: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
1590: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1591: EAM_ERROR_MESSAGE_PVT.Log_Error
1592: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1593: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1594: , p_mesg_token_tbl => l_mesg_token_tbl
1595: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

Line 1595: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1591: EAM_ERROR_MESSAGE_PVT.Log_Error
1592: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1593: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1594: , p_mesg_token_tbl => l_mesg_token_tbl
1595: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1596: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
1597: , p_other_message => l_other_message
1598: , p_other_token_tbl => l_other_token_tbl
1599: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

Line 1596: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

1592: ( p_eam_sub_res_tbl => l_eam_sub_res_tbl
1593: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
1594: , p_mesg_token_tbl => l_mesg_token_tbl
1595: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1596: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
1597: , p_other_message => l_other_message
1598: , p_other_token_tbl => l_other_token_tbl
1599: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1600: , x_eam_wo_rec => l_eam_wo_rec

Line 1599: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL

1595: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1596: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
1597: , p_other_message => l_other_message
1598: , p_other_token_tbl => l_other_token_tbl
1599: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_SUB_RES_LEVEL
1600: , x_eam_wo_rec => l_eam_wo_rec
1601: , x_eam_op_tbl => l_eam_op_tbl
1602: , x_eam_op_network_tbl => l_eam_op_network_tbl
1603: , x_eam_res_tbl => l_eam_res_tbl

Line 1634: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling RESOURCE_USAGES from SUB_RESOURCE') ; END IF ;

1630:
1631:
1632: -- Process Resource Usage that are direct children of this
1633: -- operation
1634: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling RESOURCE_USAGES from SUB_RESOURCE') ; END IF ;
1635:
1636: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
1637:
1638: RESOURCE_USAGES

Line 1667: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.SUB_RESOURCES : End ==== Return status: '||NVL(l_return_status, 'S')||' =======================') ; END IF ;

1663:
1664:
1665: END LOOP; -- END Resources processing loop
1666:
1667: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.SUB_RESOURCES : End ==== Return status: '||NVL(l_return_status, 'S')||' =======================') ; END IF ;
1668:
1669: -- Load OUT parameters
1670: IF NVL(l_return_status, 'S') <> 'S'
1671: THEN

Line 1708: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

1704: , p_operation_seq_num IN NUMBER := NULL
1705: , p_resource_seq_num IN NUMBER := NULL
1706: , p_eam_res_inst_tbl IN EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type
1707: , x_eam_res_inst_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type
1708: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
1709: , x_return_status OUT NOCOPY VARCHAR2
1710: , x_schedule_wo IN OUT NOCOPY NUMBER
1711: , x_bottomup_scheduled IN OUT NOCOPY NUMBER
1712: )

Line 1728: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;

1724: l_out_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
1725: l_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
1726: l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
1727: l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
1728: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
1729:
1730: l_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type ;
1731: l_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type ;
1732: l_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type ;

Line 1740: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

1736: l_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type ;
1737: l_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type ;
1738:
1739: /* Error Handling Variables */
1740: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1741: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
1742: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1743: l_other_message VARCHAR2(2000);
1744: l_err_text VARCHAR2(2000);

Line 1741: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

1737: l_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type ;
1738:
1739: /* Error Handling Variables */
1740: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1741: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
1742: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1743: l_other_message VARCHAR2(2000);
1744: l_err_text VARCHAR2(2000);
1745:

Line 1742: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

1738:
1739: /* Error Handling Variables */
1740: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1741: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
1742: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
1743: l_other_message VARCHAR2(2000);
1744: l_err_text VARCHAR2(2000);
1745:
1746: /* Others */

Line 1758: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.RESOURCE_INSTANCES : Start=== '||p_eam_res_inst_tbl.COUNT ||' records passed ================') ; END IF ;

1754:
1755:
1756: BEGIN
1757:
1758: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.RESOURCE_INSTANCES : Start=== '||p_eam_res_inst_tbl.COUNT ||' records passed ================') ; END IF ;
1759:
1760: x_return_status := FND_API.G_RET_STS_SUCCESS;
1761:
1762: IF x_bottomup_scheduled = G_NON_FIRM_WORKORDER THEN

Line 1775: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

1771:
1772: FOR I IN 1..l_eam_res_inst_tbl.COUNT LOOP
1773: BEGIN
1774:
1775: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
1776:
1777: -- Load local records.
1778: l_eam_res_inst_rec := l_eam_res_inst_tbl(I);
1779:

Line 1815: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;

1811: )
1812: )
1813: THEN
1814:
1815: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;
1816:
1817: l_return_status := FND_API.G_RET_STS_SUCCESS;
1818: l_eam_res_inst_rec.return_status := FND_API.G_RET_STS_SUCCESS;
1819:

Line 1830: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

1826: );
1827:
1828: IF NOT l_valid_transaction
1829: THEN
1830: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
1831: RAISE EXC_SEV_QUIT_RECORD ;
1832: END IF ;
1833:
1834: EAM_RES_INST_VALIDATE_PVT.Check_Existence

Line 1841: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;

1837: , x_mesg_token_tbl => l_mesg_token_tbl
1838: , x_return_status => l_return_status
1839: ) ;
1840:
1841: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
1842:
1843: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1844: THEN
1845: l_other_message := 'EAM_RI_EXS_SEV_SKIP';

Line 1843: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1839: ) ;
1840:
1841: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
1842:
1843: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1844: THEN
1845: l_other_message := 'EAM_RI_EXS_SEV_SKIP';
1846: l_other_token_tbl(1).token_name := 'INSTANCE_ID';
1847: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id;

Line 1851: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1847: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id;
1848: l_other_token_tbl(2).token_name := 'WIP_ENTITY_ID';
1849: l_other_token_tbl(2).token_value := l_eam_res_inst_rec.wip_entity_id;
1850: RAISE EXC_SEV_QUIT_BRANCH;
1851: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1852: THEN
1853: l_other_message := 'EAM_RI_EXS_UNEXP_SKIP';
1854: l_other_token_tbl(1).token_name := 'INSTANCE_ID';
1855: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id ;

Line 1871: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;

1867:
1868: IF l_eam_res_inst_rec.transaction_type IN (EAM_PROCESS_WO_PVT.G_OPR_UPDATE, EAM_PROCESS_WO_PVT.G_OPR_DELETE)
1869: THEN
1870:
1871: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;
1872: END IF ;
1873:
1874:
1875: l_out_eam_res_inst_rec := l_eam_res_inst_rec;

Line 1896: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug

1892: , x_return_status => l_return_status
1893: ) ;
1894: l_eam_res_inst_rec := l_out_eam_res_inst_rec;
1895:
1896: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug
1897: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
1898: END IF ;
1899:
1900:

Line 1901: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1897: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
1898: END IF ;
1899:
1900:
1901: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1902: THEN
1903: l_other_message := 'EAM_RI_ATTDEF_CSEV_SKIP';
1904: l_other_token_tbl(1).token_name := 'INSTANCE_ID';
1905: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id ;

Line 1908: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1904: l_other_token_tbl(1).token_name := 'INSTANCE_ID';
1905: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id ;
1906: RAISE EXC_SEV_SKIP_BRANCH ;
1907:
1908: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1909: THEN
1910: l_other_message := 'EAM_RI_ATTDEF_UNEXP_SKIP';
1911: l_other_token_tbl(1).token_name := 'INSTANCE_ID';
1912: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id ;

Line 1917: EAM_ERROR_MESSAGE_PVT.Log_Error

1913: RAISE EXC_UNEXP_SKIP_OBJECT ;
1914: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
1915: THEN
1916: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
1917: EAM_ERROR_MESSAGE_PVT.Log_Error
1918: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
1919: , p_mesg_token_tbl => l_mesg_token_tbl
1920: , p_error_status => 'W'
1921: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 1921: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

1917: EAM_ERROR_MESSAGE_PVT.Log_Error
1918: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
1919: , p_mesg_token_tbl => l_mesg_token_tbl
1920: , p_error_status => 'W'
1921: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
1922: , p_entity_index => I
1923: , x_eam_wo_rec => l_eam_wo_rec
1924: , x_eam_op_tbl => l_eam_op_tbl
1925: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 1944: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;

1940: , x_return_status => l_return_status
1941: , x_mesg_token_tbl => l_mesg_token_tbl
1942: ) ;
1943:
1944: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
1945:
1946:
1947: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1948: THEN

Line 1947: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1943:
1944: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
1945:
1946:
1947: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1948: THEN
1949: IF l_eam_res_inst_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
1950: THEN
1951: l_other_message := 'EAM_RI_REQ_CSEV_SKIP';

Line 1958: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1954: RAISE EXC_SEV_SKIP_BRANCH ;
1955: ELSE
1956: RAISE EXC_SEV_QUIT_RECORD ;
1957: END IF;
1958: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1959: THEN
1960: l_other_message := 'EAM_RI_REQ_UNEXP_SKIP';
1961: l_other_token_tbl(1).token_name := 'INSTANCE_ID';
1962: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id ;

Line 1974: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;

1970: , x_return_status => l_return_status
1971: , x_mesg_token_tbl => l_mesg_token_tbl
1972: ) ;
1973:
1974: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
1975:
1976: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1977: THEN
1978: IF l_eam_res_inst_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 1976: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

1972: ) ;
1973:
1974: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
1975:
1976: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
1977: THEN
1978: IF l_eam_res_inst_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
1979: THEN
1980: l_other_message := 'EAM_RI_ATTVAL_CSEV_SKIP';

Line 1987: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

1983: RAISE EXC_SEV_SKIP_BRANCH ;
1984: ELSE
1985: RAISE EXC_SEV_QUIT_RECORD ;
1986: END IF;
1987: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
1988: THEN
1989: l_other_message := 'EAM_RI_ATTVAL_UNEXP_SKIP';
1990: l_other_token_tbl(1).token_name := 'INSTANCE_ID';
1991: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id ;

Line 1996: EAM_ERROR_MESSAGE_PVT.Log_Error

1992: RAISE EXC_UNEXP_SKIP_OBJECT ;
1993: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
1994: THEN
1995: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
1996: EAM_ERROR_MESSAGE_PVT.Log_Error
1997: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
1998: , p_mesg_token_tbl => l_mesg_token_tbl
1999: , p_error_status => 'W'
2000: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 2000: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

1996: EAM_ERROR_MESSAGE_PVT.Log_Error
1997: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
1998: , p_mesg_token_tbl => l_mesg_token_tbl
1999: , p_error_status => 'W'
2000: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2001: , p_entity_index => I
2002: , x_eam_wo_rec => l_eam_wo_rec
2003: , x_eam_op_tbl => l_eam_op_tbl
2004: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 2051: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

2047: );
2048: END IF;
2049:
2050:
2051: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2052: THEN
2053: l_other_message := 'EAM_RI_WRITES_UNEXP_SKIP';
2054: l_other_token_tbl(1).token_name := 'INSTANCE_ID';
2055: l_other_token_tbl(1).token_value := l_eam_res_inst_rec.instance_id ;

Line 2061: EAM_ERROR_MESSAGE_PVT.Log_Error

2057: ELSIF l_return_status ='S' AND
2058: l_mesg_token_tbl.COUNT <>0
2059: THEN
2060: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2061: EAM_ERROR_MESSAGE_PVT.Log_Error
2062: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2063: , p_mesg_token_tbl => l_mesg_token_tbl
2064: , p_error_status => 'W'
2065: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 2065: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

2061: EAM_ERROR_MESSAGE_PVT.Log_Error
2062: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2063: , p_mesg_token_tbl => l_mesg_token_tbl
2064: , p_error_status => 'W'
2065: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2066: , p_entity_index => I
2067: , x_eam_wo_rec => l_eam_wo_rec
2068: , x_eam_op_tbl => l_eam_op_tbl
2069: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 2081: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;

2077: l_eam_res_inst_tbl := l_out_eam_res_inst_tbl;
2078: END IF;
2079: */
2080:
2081: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;
2082:
2083: ELSE
2084:
2085: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

Line 2085: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

2081: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;
2082:
2083: ELSE
2084:
2085: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;
2086:
2087: END IF; -- END IF statement that checks RETURN STATUS
2088:
2089: --find if bottom up scheduler is to be called or not

Line 2124: EAM_ERROR_MESSAGE_PVT.Log_Error

2120:
2121: EXCEPTION
2122: WHEN EXC_SEV_QUIT_RECORD THEN
2123: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2124: EAM_ERROR_MESSAGE_PVT.Log_Error
2125: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2126: , p_mesg_token_tbl => l_mesg_token_tbl
2127: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2128: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

Line 2127: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2123: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2124: EAM_ERROR_MESSAGE_PVT.Log_Error
2125: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2126: , p_mesg_token_tbl => l_mesg_token_tbl
2127: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2128: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
2129: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2130: , p_entity_index => I
2131: , x_eam_wo_rec => l_eam_wo_rec

Line 2128: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

2124: EAM_ERROR_MESSAGE_PVT.Log_Error
2125: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2126: , p_mesg_token_tbl => l_mesg_token_tbl
2127: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2128: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
2129: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2130: , p_entity_index => I
2131: , x_eam_wo_rec => l_eam_wo_rec
2132: , x_eam_op_tbl => l_eam_op_tbl

Line 2129: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

2125: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2126: , p_mesg_token_tbl => l_mesg_token_tbl
2127: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2128: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
2129: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2130: , p_entity_index => I
2131: , x_eam_wo_rec => l_eam_wo_rec
2132: , x_eam_op_tbl => l_eam_op_tbl
2133: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 2155: EAM_ERROR_MESSAGE_PVT.Log_Error

2151:
2152:
2153: WHEN EXC_SEV_QUIT_BRANCH THEN
2154: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2155: EAM_ERROR_MESSAGE_PVT.Log_Error
2156: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2157: , p_mesg_token_tbl => l_mesg_token_tbl
2158: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2159: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 2158: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2154: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2155: EAM_ERROR_MESSAGE_PVT.Log_Error
2156: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2157: , p_mesg_token_tbl => l_mesg_token_tbl
2158: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2159: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2160: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2161: , p_other_message => l_other_message
2162: , p_other_token_tbl => l_other_token_tbl

Line 2159: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

2155: EAM_ERROR_MESSAGE_PVT.Log_Error
2156: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2157: , p_mesg_token_tbl => l_mesg_token_tbl
2158: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2159: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2160: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2161: , p_other_message => l_other_message
2162: , p_other_token_tbl => l_other_token_tbl
2163: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 2160: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2156: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2157: , p_mesg_token_tbl => l_mesg_token_tbl
2158: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2159: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2160: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2161: , p_other_message => l_other_message
2162: , p_other_token_tbl => l_other_token_tbl
2163: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2164: , p_entity_index => I

Line 2163: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

2159: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2160: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2161: , p_other_message => l_other_message
2162: , p_other_token_tbl => l_other_token_tbl
2163: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2164: , p_entity_index => I
2165: , x_eam_wo_rec => l_eam_wo_rec
2166: , x_eam_op_tbl => l_eam_op_tbl
2167: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 2190: EAM_ERROR_MESSAGE_PVT.Log_Error

2186:
2187:
2188: WHEN EXC_SEV_SKIP_BRANCH THEN
2189: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2190: EAM_ERROR_MESSAGE_PVT.Log_Error
2191: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2192: , p_mesg_token_tbl => l_mesg_token_tbl
2193: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2194: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 2193: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2189: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2190: EAM_ERROR_MESSAGE_PVT.Log_Error
2191: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2192: , p_mesg_token_tbl => l_mesg_token_tbl
2193: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2194: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2195: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2196: , p_other_message => l_other_message
2197: , p_other_token_tbl => l_other_token_tbl

Line 2194: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

2190: EAM_ERROR_MESSAGE_PVT.Log_Error
2191: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2192: , p_mesg_token_tbl => l_mesg_token_tbl
2193: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2194: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2195: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2196: , p_other_message => l_other_message
2197: , p_other_token_tbl => l_other_token_tbl
2198: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 2195: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

2191: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2192: , p_mesg_token_tbl => l_mesg_token_tbl
2193: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2194: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2195: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2196: , p_other_message => l_other_message
2197: , p_other_token_tbl => l_other_token_tbl
2198: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2199: , p_entity_index => I

Line 2198: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

2194: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2195: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2196: , p_other_message => l_other_message
2197: , p_other_token_tbl => l_other_token_tbl
2198: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2199: , p_entity_index => I
2200: , x_eam_wo_rec => l_eam_wo_rec
2201: , x_eam_op_tbl => l_eam_op_tbl
2202: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 2225: EAM_ERROR_MESSAGE_PVT.Log_Error

2221:
2222:
2223: WHEN EXC_SEV_QUIT_SIBLINGS THEN
2224: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2225: EAM_ERROR_MESSAGE_PVT.Log_Error
2226: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2227: , p_mesg_token_tbl => l_mesg_token_tbl
2228: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2229: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 2228: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2224: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2225: EAM_ERROR_MESSAGE_PVT.Log_Error
2226: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2227: , p_mesg_token_tbl => l_mesg_token_tbl
2228: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2229: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2230: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2231: , p_other_message => l_other_message
2232: , p_other_token_tbl => l_other_token_tbl

Line 2229: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

2225: EAM_ERROR_MESSAGE_PVT.Log_Error
2226: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2227: , p_mesg_token_tbl => l_mesg_token_tbl
2228: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2229: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2230: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2231: , p_other_message => l_other_message
2232: , p_other_token_tbl => l_other_token_tbl
2233: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 2230: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2226: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2227: , p_mesg_token_tbl => l_mesg_token_tbl
2228: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2229: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2230: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2231: , p_other_message => l_other_message
2232: , p_other_token_tbl => l_other_token_tbl
2233: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2234: , p_entity_index => I

Line 2233: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

2229: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2230: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2231: , p_other_message => l_other_message
2232: , p_other_token_tbl => l_other_token_tbl
2233: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2234: , p_entity_index => I
2235: , x_eam_wo_rec => l_eam_wo_rec
2236: , x_eam_op_tbl => l_eam_op_tbl
2237: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 2260: EAM_ERROR_MESSAGE_PVT.Log_Error

2256:
2257:
2258: WHEN EXC_FAT_QUIT_BRANCH THEN
2259: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2260: EAM_ERROR_MESSAGE_PVT.Log_Error
2261: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2262: , p_mesg_token_tbl => l_mesg_token_tbl
2263: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2264: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 2263: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

2259: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2260: EAM_ERROR_MESSAGE_PVT.Log_Error
2261: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2262: , p_mesg_token_tbl => l_mesg_token_tbl
2263: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2264: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2265: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2266: , p_other_message => l_other_message
2267: , p_other_token_tbl => l_other_token_tbl

Line 2264: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

2260: EAM_ERROR_MESSAGE_PVT.Log_Error
2261: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2262: , p_mesg_token_tbl => l_mesg_token_tbl
2263: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2264: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2265: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2266: , p_other_message => l_other_message
2267: , p_other_token_tbl => l_other_token_tbl
2268: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 2265: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

2261: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2262: , p_mesg_token_tbl => l_mesg_token_tbl
2263: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2264: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2265: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2266: , p_other_message => l_other_message
2267: , p_other_token_tbl => l_other_token_tbl
2268: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2269: , p_entity_index => I

Line 2268: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

2264: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2265: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2266: , p_other_message => l_other_message
2267: , p_other_token_tbl => l_other_token_tbl
2268: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2269: , p_entity_index => I
2270: , x_eam_wo_rec => l_eam_wo_rec
2271: , x_eam_op_tbl => l_eam_op_tbl
2272: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 2284: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

2280: l_eam_res_inst_tbl := l_out_eam_res_inst_tbl;
2281:
2282:
2283: l_process_children := FALSE ;
2284: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
2285: x_mesg_token_tbl := l_mesg_token_tbl ;
2286: x_eam_res_inst_tbl := l_eam_res_inst_tbl;
2287:
2288:

Line 2291: EAM_ERROR_MESSAGE_PVT.Log_Error

2287:
2288:
2289: WHEN EXC_FAT_QUIT_SIBLINGS THEN
2290: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2291: EAM_ERROR_MESSAGE_PVT.Log_Error
2292: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2293: , p_mesg_token_tbl => l_mesg_token_tbl
2294: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2295: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 2294: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

2290: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2291: EAM_ERROR_MESSAGE_PVT.Log_Error
2292: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2293: , p_mesg_token_tbl => l_mesg_token_tbl
2294: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2295: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2296: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2297: , p_other_message => l_other_message
2298: , p_other_token_tbl => l_other_token_tbl

Line 2295: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

2291: EAM_ERROR_MESSAGE_PVT.Log_Error
2292: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2293: , p_mesg_token_tbl => l_mesg_token_tbl
2294: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2295: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2296: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2297: , p_other_message => l_other_message
2298: , p_other_token_tbl => l_other_token_tbl
2299: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 2296: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

2292: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2293: , p_mesg_token_tbl => l_mesg_token_tbl
2294: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2295: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2296: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2297: , p_other_message => l_other_message
2298: , p_other_token_tbl => l_other_token_tbl
2299: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2300: , p_entity_index => I

Line 2299: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

2295: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2296: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2297: , p_other_message => l_other_message
2298: , p_other_token_tbl => l_other_token_tbl
2299: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2300: , p_entity_index => I
2301: , x_eam_wo_rec => l_eam_wo_rec
2302: , x_eam_op_tbl => l_eam_op_tbl
2303: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 2315: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

2311: l_eam_res_inst_tbl := l_out_eam_res_inst_tbl;
2312:
2313:
2314: l_process_children := FALSE ;
2315: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
2316: x_mesg_token_tbl := l_mesg_token_tbl ;
2317: x_eam_res_inst_tbl := l_eam_res_inst_tbl;
2318:
2319:

Line 2323: EAM_ERROR_MESSAGE_PVT.Log_Error

2319:
2320:
2321: WHEN EXC_UNEXP_SKIP_OBJECT THEN
2322: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2323: EAM_ERROR_MESSAGE_PVT.Log_Error
2324: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2325: , p_mesg_token_tbl => l_mesg_token_tbl
2326: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2327: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

Line 2326: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

2322: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
2323: EAM_ERROR_MESSAGE_PVT.Log_Error
2324: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2325: , p_mesg_token_tbl => l_mesg_token_tbl
2326: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2327: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2328: , p_other_message => l_other_message
2329: , p_other_token_tbl => l_other_token_tbl
2330: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

Line 2327: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

2323: EAM_ERROR_MESSAGE_PVT.Log_Error
2324: ( p_eam_res_inst_tbl => l_eam_res_inst_tbl
2325: , p_mesg_token_tbl => l_mesg_token_tbl
2326: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2327: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2328: , p_other_message => l_other_message
2329: , p_other_token_tbl => l_other_token_tbl
2330: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2331: , x_eam_wo_rec => l_eam_wo_rec

Line 2330: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL

2326: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2327: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2328: , p_other_message => l_other_message
2329: , p_other_token_tbl => l_other_token_tbl
2330: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_INST_LEVEL
2331: , x_eam_wo_rec => l_eam_wo_rec
2332: , x_eam_op_tbl => l_eam_op_tbl
2333: , x_eam_op_network_tbl => l_eam_op_network_tbl
2334: , x_eam_res_tbl => l_eam_res_tbl

Line 2359: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.RESOURCE_INSTANCES : End ==== Return status: '||NVL(l_return_status, 'S')||' =======================') ; END IF ;

2355:
2356:
2357: END LOOP; -- END Resources processing loop
2358:
2359: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.RESOURCE_INSTANCES : End ==== Return status: '||NVL(l_return_status, 'S')||' =======================') ; END IF ;
2360:
2361:
2362: -- Load OUT parameters
2363: IF NVL(l_return_status, 'S') <> 'S'

Line 2395: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

2391: , p_eam_op_network_tbl IN EAM_PROCESS_WO_PUB.eam_op_network_tbl_type
2392: , x_eam_op_network_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_op_network_tbl_type
2393: , x_schedule_wo IN OUT NOCOPY NUMBER
2394: , x_bottomup_scheduled IN OUT NOCOPY NUMBER
2395: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
2396: , x_return_status OUT NOCOPY VARCHAR2
2397: )
2398: IS
2399:

Line 2417: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

2413: l_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type ;
2414: l_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type ;
2415:
2416: /* Error Handling Variables */
2417: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
2418: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
2419: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
2420: l_other_message VARCHAR2(2000);
2421: l_err_text VARCHAR2(2000);

Line 2418: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

2414: l_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type ;
2415:
2416: /* Error Handling Variables */
2417: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
2418: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
2419: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
2420: l_other_message VARCHAR2(2000);
2421: l_err_text VARCHAR2(2000);
2422:

Line 2419: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

2415:
2416: /* Error Handling Variables */
2417: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
2418: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
2419: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
2420: l_other_message VARCHAR2(2000);
2421: l_err_text VARCHAR2(2000);
2422:
2423: /* Others */

Line 2433: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.OPERATION_NETWORKS : Start=== '||p_eam_op_network_tbl.COUNT ||' records passed =======================') ; END IF ;

2429:
2430:
2431: BEGIN
2432:
2433: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.OPERATION_NETWORKS : Start=== '||p_eam_op_network_tbl.COUNT ||' records passed =======================') ; END IF ;
2434:
2435: x_return_status := FND_API.G_RET_STS_SUCCESS;
2436:
2437: -- Init local table variables.

Line 2446: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

2442:
2443: FOR I IN 1..l_eam_op_network_tbl.COUNT LOOP
2444: BEGIN
2445:
2446: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
2447:
2448: -- Load local records.
2449:
2450: l_eam_op_network_rec := l_eam_op_network_tbl(I);

Line 2481: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;

2477: )
2478: )
2479: THEN
2480:
2481: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;
2482:
2483: l_return_status := FND_API.G_RET_STS_SUCCESS;
2484: l_eam_op_network_rec.return_status := FND_API.G_RET_STS_SUCCESS;
2485:

Line 2496: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

2492: );
2493:
2494: IF NOT l_valid_transaction
2495: THEN
2496: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
2497: RAISE EXC_SEV_QUIT_RECORD ;
2498: END IF ;
2499:
2500: EAM_OP_NETWORK_VALIDATE_PVT.Check_Existence

Line 2507: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;

2503: , x_mesg_token_tbl => l_mesg_token_tbl
2504: , x_return_status => l_return_status
2505: ) ;
2506:
2507: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
2508:
2509: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2510: THEN
2511: l_other_message := 'EAM_OPN_EXS_SEV_SKIP';

Line 2509: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2505: ) ;
2506:
2507: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
2508:
2509: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2510: THEN
2511: l_other_message := 'EAM_OPN_EXS_SEV_SKIP';
2512: l_other_token_tbl(1).token_name := 'PRIOR_OPERATION';
2513: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation;

Line 2517: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

2513: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation;
2514: l_other_token_tbl(2).token_name := 'WIP_ENTITY_ID';
2515: l_other_token_tbl(2).token_value := l_eam_op_network_rec.wip_entity_id;
2516: RAISE EXC_SEV_QUIT_BRANCH;
2517: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2518: THEN
2519: l_other_message := 'EAM_OPN_EXS_UNEXP_SKIP';
2520: l_other_token_tbl(1).token_name := 'PRIOR_OPERATION';
2521: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation ;

Line 2537: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;

2533:
2534: IF l_eam_op_network_rec.transaction_type IN (EAM_PROCESS_WO_PVT.G_OPR_UPDATE, EAM_PROCESS_WO_PVT.G_OPR_DELETE)
2535: THEN
2536:
2537: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;
2538: END IF ;
2539:
2540: l_out_eam_op_network_rec := l_eam_op_network_rec;
2541:

Line 2565: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug

2561: ) ;
2562:
2563: l_eam_op_network_rec := l_out_eam_op_network_rec;
2564:
2565: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug
2566: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
2567: END IF ;
2568:
2569:

Line 2570: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2566: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
2567: END IF ;
2568:
2569:
2570: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2571: THEN
2572: l_other_message := 'EAM_OPN_ATTDEF_CSEV_SKIP';
2573: l_other_token_tbl(1).token_name := 'PRIOR_OPERATION';
2574: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation ;

Line 2577: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

2573: l_other_token_tbl(1).token_name := 'PRIOR_OPERATION';
2574: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation ;
2575: RAISE EXC_SEV_SKIP_BRANCH ;
2576:
2577: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2578: THEN
2579: l_other_message := 'EAM_OPN_ATTDEF_UNEXP_SKIP';
2580: l_other_token_tbl(1).token_name := 'PRIOR_OPERATION';
2581: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation ;

Line 2586: EAM_ERROR_MESSAGE_PVT.Log_Error

2582: RAISE EXC_UNEXP_SKIP_OBJECT ;
2583: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
2584: THEN
2585: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2586: EAM_ERROR_MESSAGE_PVT.Log_Error
2587: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2588: , p_mesg_token_tbl => l_mesg_token_tbl
2589: , p_error_status => 'W'
2590: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2590: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2586: EAM_ERROR_MESSAGE_PVT.Log_Error
2587: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2588: , p_mesg_token_tbl => l_mesg_token_tbl
2589: , p_error_status => 'W'
2590: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2591: , p_entity_index => I
2592: , x_eam_wo_rec => l_eam_wo_rec
2593: , x_eam_op_tbl => l_eam_op_tbl
2594: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2613: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;

2609: , x_return_status => l_return_status
2610: , x_mesg_token_tbl => l_mesg_token_tbl
2611: ) ;
2612:
2613: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
2614:
2615:
2616: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2617: THEN

Line 2616: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2612:
2613: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
2614:
2615:
2616: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2617: THEN
2618: IF l_eam_op_network_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
2619: THEN
2620: l_other_message := 'EAM_OPN_REQ_CSEV_SKIP';

Line 2627: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

2623: RAISE EXC_SEV_SKIP_BRANCH ;
2624: ELSE
2625: RAISE EXC_SEV_QUIT_RECORD ;
2626: END IF;
2627: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2628: THEN
2629: l_other_message := 'EAM_OPN_REQ_UNEXP_SKIP';
2630: l_other_token_tbl(1).token_name := 'PRIOR_OPERATION';
2631: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation ;

Line 2643: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;

2639: , x_return_status => l_return_status
2640: , x_mesg_token_tbl => l_mesg_token_tbl
2641: ) ;
2642:
2643: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
2644:
2645: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2646: THEN
2647: IF l_eam_op_network_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 2645: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2641: ) ;
2642:
2643: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
2644:
2645: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2646: THEN
2647: IF l_eam_op_network_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
2648: THEN
2649: l_other_message := 'EAM_OPN_ATTVAL_CSEV_SKIP';

Line 2656: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

2652: RAISE EXC_SEV_SKIP_BRANCH ;
2653: ELSE
2654: RAISE EXC_SEV_QUIT_RECORD ;
2655: END IF;
2656: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2657: THEN
2658: l_other_message := 'EAM_OPN_ATTVAL_UNEXP_SKIP';
2659: l_other_token_tbl(1).token_name := 'PRIOR_OPERATION';
2660: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation ;

Line 2665: EAM_ERROR_MESSAGE_PVT.Log_Error

2661: RAISE EXC_UNEXP_SKIP_OBJECT ;
2662: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
2663: THEN
2664: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2665: EAM_ERROR_MESSAGE_PVT.Log_Error
2666: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2667: , p_mesg_token_tbl => l_mesg_token_tbl
2668: , p_error_status => 'W'
2669: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2669: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2665: EAM_ERROR_MESSAGE_PVT.Log_Error
2666: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2667: , p_mesg_token_tbl => l_mesg_token_tbl
2668: , p_error_status => 'W'
2669: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2670: , p_entity_index => I
2671: , x_eam_wo_rec => l_eam_wo_rec
2672: , x_eam_op_tbl => l_eam_op_tbl
2673: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2693: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

2689: , x_return_status => l_return_status
2690: ) ;
2691:
2692:
2693: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2694: THEN
2695: l_other_message := 'EAM_OPN_WRITES_UNEXP_SKIP';
2696: l_other_token_tbl(1).token_name := 'PRIOR_OPERATION';
2697: l_other_token_tbl(1).token_value := l_eam_op_network_rec.prior_operation ;

Line 2703: EAM_ERROR_MESSAGE_PVT.Log_Error

2699: ELSIF l_return_status ='S' AND
2700: l_mesg_token_tbl.COUNT <>0
2701: THEN
2702: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2703: EAM_ERROR_MESSAGE_PVT.Log_Error
2704: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2705: , p_mesg_token_tbl => l_mesg_token_tbl
2706: , p_error_status => 'W'
2707: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2707: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2703: EAM_ERROR_MESSAGE_PVT.Log_Error
2704: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2705: , p_mesg_token_tbl => l_mesg_token_tbl
2706: , p_error_status => 'W'
2707: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2708: , p_entity_index => I
2709: , x_eam_wo_rec => l_eam_wo_rec
2710: , x_eam_op_tbl => l_eam_op_tbl
2711: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2736: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Networks Database writes completed with status ' || l_return_status); END IF;

2732: ) THEN -- if op dependency is added or deleted
2733: x_bottomup_scheduled := G_BU_SCHEDULE_WO;
2734: END IF;
2735:
2736: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Networks Database writes completed with status ' || l_return_status); END IF;
2737:
2738: ELSE
2739:
2740: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

Line 2740: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

2736: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Networks Database writes completed with status ' || l_return_status); END IF;
2737:
2738: ELSE
2739:
2740: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;
2741:
2742: END IF; -- END IF statement that checks RETURN STATUS
2743:
2744: -- Load tables.

Line 2756: EAM_ERROR_MESSAGE_PVT.Log_Error

2752:
2753: EXCEPTION
2754: WHEN EXC_SEV_QUIT_RECORD THEN
2755: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2756: EAM_ERROR_MESSAGE_PVT.Log_Error
2757: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2758: , p_mesg_token_tbl => l_mesg_token_tbl
2759: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2760: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

Line 2759: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2755: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2756: EAM_ERROR_MESSAGE_PVT.Log_Error
2757: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2758: , p_mesg_token_tbl => l_mesg_token_tbl
2759: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2760: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
2761: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2762: , p_entity_index => I
2763: , x_eam_wo_rec => l_eam_wo_rec

Line 2760: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

2756: EAM_ERROR_MESSAGE_PVT.Log_Error
2757: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2758: , p_mesg_token_tbl => l_mesg_token_tbl
2759: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2760: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
2761: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2762: , p_entity_index => I
2763: , x_eam_wo_rec => l_eam_wo_rec
2764: , x_eam_op_tbl => l_eam_op_tbl

Line 2761: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2757: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2758: , p_mesg_token_tbl => l_mesg_token_tbl
2759: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2760: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
2761: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2762: , p_entity_index => I
2763: , x_eam_wo_rec => l_eam_wo_rec
2764: , x_eam_op_tbl => l_eam_op_tbl
2765: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2787: EAM_ERROR_MESSAGE_PVT.Log_Error

2783:
2784:
2785: WHEN EXC_SEV_QUIT_BRANCH THEN
2786: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2787: EAM_ERROR_MESSAGE_PVT.Log_Error
2788: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2789: , p_mesg_token_tbl => l_mesg_token_tbl
2790: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2791: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 2790: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2786: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2787: EAM_ERROR_MESSAGE_PVT.Log_Error
2788: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2789: , p_mesg_token_tbl => l_mesg_token_tbl
2790: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2791: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2792: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2793: , p_other_message => l_other_message
2794: , p_other_token_tbl => l_other_token_tbl

Line 2791: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

2787: EAM_ERROR_MESSAGE_PVT.Log_Error
2788: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2789: , p_mesg_token_tbl => l_mesg_token_tbl
2790: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2791: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2792: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2793: , p_other_message => l_other_message
2794: , p_other_token_tbl => l_other_token_tbl
2795: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2792: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2788: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2789: , p_mesg_token_tbl => l_mesg_token_tbl
2790: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2791: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2792: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2793: , p_other_message => l_other_message
2794: , p_other_token_tbl => l_other_token_tbl
2795: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2796: , p_entity_index => I

Line 2795: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2791: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2792: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2793: , p_other_message => l_other_message
2794: , p_other_token_tbl => l_other_token_tbl
2795: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2796: , p_entity_index => I
2797: , x_eam_wo_rec => l_eam_wo_rec
2798: , x_eam_op_tbl => l_eam_op_tbl
2799: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2822: EAM_ERROR_MESSAGE_PVT.Log_Error

2818:
2819:
2820: WHEN EXC_SEV_SKIP_BRANCH THEN
2821: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2822: EAM_ERROR_MESSAGE_PVT.Log_Error
2823: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2824: , p_mesg_token_tbl => l_mesg_token_tbl
2825: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2826: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 2825: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2821: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2822: EAM_ERROR_MESSAGE_PVT.Log_Error
2823: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2824: , p_mesg_token_tbl => l_mesg_token_tbl
2825: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2826: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2827: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2828: , p_other_message => l_other_message
2829: , p_other_token_tbl => l_other_token_tbl

Line 2826: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

2822: EAM_ERROR_MESSAGE_PVT.Log_Error
2823: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2824: , p_mesg_token_tbl => l_mesg_token_tbl
2825: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2826: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2827: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2828: , p_other_message => l_other_message
2829: , p_other_token_tbl => l_other_token_tbl
2830: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2827: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

2823: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2824: , p_mesg_token_tbl => l_mesg_token_tbl
2825: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2826: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2827: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2828: , p_other_message => l_other_message
2829: , p_other_token_tbl => l_other_token_tbl
2830: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2831: , p_entity_index => I

Line 2830: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2826: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2827: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2828: , p_other_message => l_other_message
2829: , p_other_token_tbl => l_other_token_tbl
2830: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2831: , p_entity_index => I
2832: , x_eam_wo_rec => l_eam_wo_rec
2833: , x_eam_op_tbl => l_eam_op_tbl
2834: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2857: EAM_ERROR_MESSAGE_PVT.Log_Error

2853:
2854:
2855: WHEN EXC_SEV_QUIT_SIBLINGS THEN
2856: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2857: EAM_ERROR_MESSAGE_PVT.Log_Error
2858: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2859: , p_mesg_token_tbl => l_mesg_token_tbl
2860: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2861: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 2860: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2856: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2857: EAM_ERROR_MESSAGE_PVT.Log_Error
2858: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2859: , p_mesg_token_tbl => l_mesg_token_tbl
2860: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2861: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2862: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2863: , p_other_message => l_other_message
2864: , p_other_token_tbl => l_other_token_tbl

Line 2861: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

2857: EAM_ERROR_MESSAGE_PVT.Log_Error
2858: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2859: , p_mesg_token_tbl => l_mesg_token_tbl
2860: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2861: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2862: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2863: , p_other_message => l_other_message
2864: , p_other_token_tbl => l_other_token_tbl
2865: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2862: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

2858: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2859: , p_mesg_token_tbl => l_mesg_token_tbl
2860: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2861: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2862: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2863: , p_other_message => l_other_message
2864: , p_other_token_tbl => l_other_token_tbl
2865: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2866: , p_entity_index => I

Line 2865: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2861: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2862: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
2863: , p_other_message => l_other_message
2864: , p_other_token_tbl => l_other_token_tbl
2865: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2866: , p_entity_index => I
2867: , x_eam_wo_rec => l_eam_wo_rec
2868: , x_eam_op_tbl => l_eam_op_tbl
2869: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2892: EAM_ERROR_MESSAGE_PVT.Log_Error

2888:
2889:
2890: WHEN EXC_FAT_QUIT_BRANCH THEN
2891: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2892: EAM_ERROR_MESSAGE_PVT.Log_Error
2893: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2894: , p_mesg_token_tbl => l_mesg_token_tbl
2895: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2896: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 2895: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

2891: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2892: EAM_ERROR_MESSAGE_PVT.Log_Error
2893: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2894: , p_mesg_token_tbl => l_mesg_token_tbl
2895: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2896: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2897: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2898: , p_other_message => l_other_message
2899: , p_other_token_tbl => l_other_token_tbl

Line 2896: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

2892: EAM_ERROR_MESSAGE_PVT.Log_Error
2893: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2894: , p_mesg_token_tbl => l_mesg_token_tbl
2895: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2896: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2897: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2898: , p_other_message => l_other_message
2899: , p_other_token_tbl => l_other_token_tbl
2900: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2897: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

2893: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2894: , p_mesg_token_tbl => l_mesg_token_tbl
2895: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2896: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2897: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2898: , p_other_message => l_other_message
2899: , p_other_token_tbl => l_other_token_tbl
2900: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2901: , p_entity_index => I

Line 2900: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2896: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
2897: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2898: , p_other_message => l_other_message
2899: , p_other_token_tbl => l_other_token_tbl
2900: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2901: , p_entity_index => I
2902: , x_eam_wo_rec => l_eam_wo_rec
2903: , x_eam_op_tbl => l_eam_op_tbl
2904: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2916: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

2912: l_eam_op_network_tbl := l_out_eam_op_network_tbl;
2913:
2914:
2915: l_process_children := FALSE ;
2916: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
2917: x_mesg_token_tbl := l_mesg_token_tbl ;
2918: x_eam_op_network_tbl := l_eam_op_network_tbl;
2919:
2920:

Line 2924: EAM_ERROR_MESSAGE_PVT.Log_Error

2920:
2921:
2922: WHEN EXC_FAT_QUIT_SIBLINGS THEN
2923: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2924: EAM_ERROR_MESSAGE_PVT.Log_Error
2925: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2926: , p_mesg_token_tbl => l_mesg_token_tbl
2927: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2928: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 2927: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

2923: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2924: EAM_ERROR_MESSAGE_PVT.Log_Error
2925: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2926: , p_mesg_token_tbl => l_mesg_token_tbl
2927: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2928: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2929: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2930: , p_other_message => l_other_message
2931: , p_other_token_tbl => l_other_token_tbl

Line 2928: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

2924: EAM_ERROR_MESSAGE_PVT.Log_Error
2925: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2926: , p_mesg_token_tbl => l_mesg_token_tbl
2927: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2928: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2929: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2930: , p_other_message => l_other_message
2931: , p_other_token_tbl => l_other_token_tbl
2932: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2929: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

2925: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2926: , p_mesg_token_tbl => l_mesg_token_tbl
2927: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2928: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2929: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2930: , p_other_message => l_other_message
2931: , p_other_token_tbl => l_other_token_tbl
2932: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2933: , p_entity_index => I

Line 2932: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2928: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
2929: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
2930: , p_other_message => l_other_message
2931: , p_other_token_tbl => l_other_token_tbl
2932: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2933: , p_entity_index => I
2934: , x_eam_wo_rec => l_eam_wo_rec
2935: , x_eam_op_tbl => l_eam_op_tbl
2936: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 2948: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

2944: l_eam_op_network_tbl := l_out_eam_op_network_tbl;
2945:
2946:
2947: l_process_children := FALSE ;
2948: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
2949: x_mesg_token_tbl := l_mesg_token_tbl ;
2950: x_eam_op_network_tbl := l_eam_op_network_tbl;
2951:
2952:

Line 2955: EAM_ERROR_MESSAGE_PVT.Log_Error

2951:
2952:
2953: WHEN EXC_UNEXP_SKIP_OBJECT THEN
2954: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2955: EAM_ERROR_MESSAGE_PVT.Log_Error
2956: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2957: , p_mesg_token_tbl => l_mesg_token_tbl
2958: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2959: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

Line 2958: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

2954: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
2955: EAM_ERROR_MESSAGE_PVT.Log_Error
2956: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2957: , p_mesg_token_tbl => l_mesg_token_tbl
2958: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2959: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2960: , p_other_message => l_other_message
2961: , p_other_token_tbl => l_other_token_tbl
2962: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

Line 2959: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

2955: EAM_ERROR_MESSAGE_PVT.Log_Error
2956: ( p_eam_op_network_tbl => l_eam_op_network_tbl
2957: , p_mesg_token_tbl => l_mesg_token_tbl
2958: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2959: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2960: , p_other_message => l_other_message
2961: , p_other_token_tbl => l_other_token_tbl
2962: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2963: , x_eam_wo_rec => l_eam_wo_rec

Line 2962: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL

2958: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
2959: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
2960: , p_other_message => l_other_message
2961: , p_other_token_tbl => l_other_token_tbl
2962: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_NETWORK_LEVEL
2963: , x_eam_wo_rec => l_eam_wo_rec
2964: , x_eam_op_tbl => l_eam_op_tbl
2965: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
2966: , x_eam_res_tbl => l_eam_res_tbl

Line 2991: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.OPERATION_NETWORKS : End ==== Return status: '||NVL(l_return_status, 'S')||' ================') ; END IF ;

2987:
2988:
2989: END LOOP; -- END Operation Networks processing loop
2990:
2991: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.OPERATION_NETWORKS : End ==== Return status: '||NVL(l_return_status, 'S')||' ================') ; END IF ;
2992:
2993: -- Load OUT parameters
2994: IF NVL(l_return_status, 'S') <> 'S'
2995: THEN

Line 3018: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

3014: , p_department_id IN NUMBER := NULL
3015: , p_eam_mat_req_tbl IN EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type
3016: , x_material_shortage IN OUT NOCOPY NUMBER
3017: , x_eam_mat_req_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type
3018: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
3019: , x_return_status OUT NOCOPY VARCHAR2
3020: )
3021: IS
3022:

Line 3041: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

3037: l_out_eam_mat_req_rec EAM_PROCESS_WO_PUB.eam_mat_req_rec_type;
3038: l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
3039:
3040: /* Error Handling Variables */
3041: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
3042: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
3043: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
3044: l_other_message VARCHAR2(2000);
3045: l_err_text VARCHAR2(2000);

Line 3042: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

3038: l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
3039:
3040: /* Error Handling Variables */
3041: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
3042: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
3043: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
3044: l_other_message VARCHAR2(2000);
3045: l_err_text VARCHAR2(2000);
3046:

Line 3043: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

3039:
3040: /* Error Handling Variables */
3041: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
3042: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
3043: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
3044: l_other_message VARCHAR2(2000);
3045: l_err_text VARCHAR2(2000);
3046:
3047: /* Others */

Line 3078: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.MATERIAL_REQUIREMENTS : Start ====='||p_eam_mat_req_tbl.COUNT ||' records passed'||' ========') ; END IF ;

3074: l_req_for_cancel_qty_profile VARCHAR2(1);
3075:
3076:
3077: BEGIN
3078: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.MATERIAL_REQUIREMENTS : Start ====='||p_eam_mat_req_tbl.COUNT ||' records passed'||' ========') ; END IF ;
3079:
3080: x_return_status := FND_API.G_RET_STS_SUCCESS;
3081:
3082: -- Init local table variables.

Line 3113: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

3109:
3110: FOR I IN 1..l_eam_mat_req_tbl.COUNT LOOP
3111: BEGIN
3112:
3113: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
3114:
3115: -- Load local records.
3116: l_eam_mat_req_rec := l_eam_mat_req_tbl(I);
3117:

Line 3168: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;

3164: )
3165: )
3166: THEN
3167:
3168: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;
3169:
3170: l_return_status := FND_API.G_RET_STS_SUCCESS;
3171: l_eam_mat_req_rec.return_status := FND_API.G_RET_STS_SUCCESS;
3172:

Line 3173: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Validating Transaction Type') ; END IF ;

3169:
3170: l_return_status := FND_API.G_RET_STS_SUCCESS;
3171: l_eam_mat_req_rec.return_status := FND_API.G_RET_STS_SUCCESS;
3172:
3173: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Validating Transaction Type') ; END IF ;
3174:
3175: VALIDATE_TRANSACTION_TYPE
3176: ( p_transaction_type => l_eam_mat_req_rec.transaction_type
3177: , p_entity_name => 'MATERIAL_REQUIREMENTS'

Line 3185: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

3181: );
3182:
3183: IF NOT l_valid_transaction
3184: THEN
3185: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
3186: RAISE EXC_SEV_QUIT_RECORD ;
3187: END IF ;
3188:
3189: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Checking Existence of Record') ; END IF ;

Line 3189: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Checking Existence of Record') ; END IF ;

3185: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
3186: RAISE EXC_SEV_QUIT_RECORD ;
3187: END IF ;
3188:
3189: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Checking Existence of Record') ; END IF ;
3190:
3191: EAM_MAT_REQ_VALIDATE_PVT.Check_Existence
3192: ( p_eam_mat_req_rec => l_eam_mat_req_rec
3193: , x_old_eam_mat_req_rec => l_old_eam_mat_req_rec

Line 3198: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;

3194: , x_mesg_token_tbl => l_mesg_token_tbl
3195: , x_return_status => l_return_status
3196: ) ;
3197:
3198: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
3199:
3200: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3201: THEN
3202: l_other_message := 'EAM_MR_EXS_SEV_SKIP';

Line 3200: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3196: ) ;
3197:
3198: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
3199:
3200: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3201: THEN
3202: l_other_message := 'EAM_MR_EXS_SEV_SKIP';
3203: --Start bug# 11672256
3204: SELECT segment1 INTO l_inv_item_name FROM mtl_system_items WHERE inventory_item_id=l_eam_mat_req_rec.inventory_item_id AND organization_id=l_eam_mat_req_rec.organization_id;

Line 3212: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

3208: l_other_token_tbl(2).token_name := 'WIP_ENTITY_NAME';
3209: l_other_token_tbl(2).token_value := l_wip_entity_name;
3210: -- End bug# 11672256
3211: RAISE EXC_SEV_QUIT_BRANCH;
3212: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3213: THEN
3214: l_other_message := 'EAM_MR_EXS_UNEXP_SKIP';
3215: l_other_token_tbl(1).token_name := 'INV_ITEM_ID';
3216: l_other_token_tbl(1).token_value := l_eam_mat_req_rec.inventory_item_id ;

Line 3236: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;

3232: IF l_eam_mat_req_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_DELETE THEN
3233: x_material_shortage := G_MATERIAL_UPDATE;
3234: END IF;
3235:
3236: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;
3237: END IF ;
3238:
3239: l_out_eam_mat_req_rec := l_eam_mat_req_rec;
3240:

Line 3281: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug

3277: ) ;
3278:
3279: l_eam_mat_req_rec := l_out_eam_mat_req_rec;
3280:
3281: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug
3282: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
3283: END IF ;
3284:
3285:

Line 3286: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3282: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
3283: END IF ;
3284:
3285:
3286: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3287: THEN
3288: l_other_message := 'EAM_MR_ATTDEF_CSEV_SKIP';
3289: l_other_token_tbl(1).token_name := 'Inventory_Item';
3290: -- l_other_token_tbl(1).token_value := l_eam_mat_req_rec.inventory_item_id ;

Line 3299: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

3295: AND msik.organization_id = l_eam_mat_req_rec.organization_id;
3296:
3297: RAISE EXC_SEV_SKIP_BRANCH ;
3298:
3299: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3300: THEN
3301: l_other_message := 'EAM_MR_ATTDEF_UNEXP_SKIP';
3302: l_other_token_tbl(1).token_name := 'INV_ITEM_ID';
3303: l_other_token_tbl(1).token_value := l_eam_mat_req_rec.inventory_item_id ;

Line 3308: EAM_ERROR_MESSAGE_PVT.Log_Error

3304: RAISE EXC_UNEXP_SKIP_OBJECT ;
3305: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
3306: THEN
3307: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3308: EAM_ERROR_MESSAGE_PVT.Log_Error
3309: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3310: , p_mesg_token_tbl => l_mesg_token_tbl
3311: , p_error_status => 'W'
3312: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3312: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3308: EAM_ERROR_MESSAGE_PVT.Log_Error
3309: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3310: , p_mesg_token_tbl => l_mesg_token_tbl
3311: , p_error_status => 'W'
3312: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3313: , p_entity_index => I
3314: , x_eam_wo_rec => l_eam_wo_rec
3315: , x_eam_op_tbl => l_eam_op_tbl
3316: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3335: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;

3331: , x_return_status => l_return_status
3332: , x_mesg_token_tbl => l_mesg_token_tbl
3333: ) ;
3334:
3335: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
3336:
3337:
3338: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3339: THEN

Line 3338: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3334:
3335: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
3336:
3337:
3338: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3339: THEN
3340: IF l_eam_mat_req_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
3341: THEN
3342: l_other_message := 'EAM_MR_REQ_CSEV_SKIP';

Line 3349: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

3345: RAISE EXC_SEV_SKIP_BRANCH ;
3346: ELSE
3347: RAISE EXC_SEV_QUIT_RECORD ;
3348: END IF;
3349: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3350: THEN
3351: l_other_message := 'EAM_MR_REQ_UNEXP_SKIP';
3352: l_other_token_tbl(1).token_name := 'INV_ITEM_ID';
3353: l_other_token_tbl(1).token_value := l_eam_mat_req_rec.inventory_item_id ;

Line 3369: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;

3365: IF l_old_eam_mat_req_rec.REQUIRED_QUANTITY <> l_eam_mat_req_rec.REQUIRED_QUANTITY THEN
3366: x_material_shortage := G_MATERIAL_UPDATE;
3367: END IF;
3368:
3369: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
3370:
3371: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3372: THEN
3373: IF l_eam_mat_req_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 3371: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3367: END IF;
3368:
3369: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
3370:
3371: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3372: THEN
3373: IF l_eam_mat_req_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
3374: THEN
3375: l_other_message := 'EAM_MR_ATTVAL_CSEV_SKIP';

Line 3382: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

3378: RAISE EXC_SEV_SKIP_BRANCH ;
3379: ELSE
3380: RAISE EXC_SEV_QUIT_RECORD ;
3381: END IF;
3382: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3383: THEN
3384: l_other_message := 'EAM_MR_ATTVAL_UNEXP_SKIP';
3385: l_other_token_tbl(1).token_name := 'INV_ITEM_ID';
3386: l_other_token_tbl(1).token_value := l_eam_mat_req_rec.inventory_item_id ;

Line 3391: EAM_ERROR_MESSAGE_PVT.Log_Error

3387: RAISE EXC_UNEXP_SKIP_OBJECT ;
3388: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
3389: THEN
3390: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3391: EAM_ERROR_MESSAGE_PVT.Log_Error
3392: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3393: , p_mesg_token_tbl => l_mesg_token_tbl
3394: , p_error_status => 'W'
3395: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3395: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3391: EAM_ERROR_MESSAGE_PVT.Log_Error
3392: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3393: , p_mesg_token_tbl => l_mesg_token_tbl
3394: , p_error_status => 'W'
3395: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3396: , p_entity_index => I
3397: , x_eam_wo_rec => l_eam_wo_rec
3398: , x_eam_op_tbl => l_eam_op_tbl
3399: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3420: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

3416: , x_return_status => l_return_status
3417: ) ;
3418:
3419:
3420: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3421: THEN
3422: l_other_message := 'EAM_MR_WRITES_UNEXP_SKIP';
3423: l_other_token_tbl(1).token_name := 'INV_ITEM_ID';
3424: l_other_token_tbl(1).token_value :=

Line 3431: EAM_ERROR_MESSAGE_PVT.Log_Error

3427: ELSIF l_return_status ='S' AND
3428: l_mesg_token_tbl.COUNT <>0
3429: THEN
3430: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3431: EAM_ERROR_MESSAGE_PVT.Log_Error
3432: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3433: , p_mesg_token_tbl => l_mesg_token_tbl
3434: , p_error_status => 'W'
3435: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3435: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3431: EAM_ERROR_MESSAGE_PVT.Log_Error
3432: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3433: , p_mesg_token_tbl => l_mesg_token_tbl
3434: , p_error_status => 'W'
3435: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3436: , p_entity_index => I
3437: , x_eam_wo_rec => l_eam_wo_rec
3438: , x_eam_op_tbl => l_eam_op_tbl
3439: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3450: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Requirements Database writes completed with status ' || l_return_status); END IF;

3446: );
3447: l_eam_mat_req_tbl := l_out_eam_mat_req_tbl;
3448: END IF;
3449:
3450: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Requirements Database writes completed with status ' || l_return_status); END IF;
3451:
3452:
3453: -- Stock Issue requirements
3454: EAM_WO_UTILITY_PVT.Query_Row(

Line 3570: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('create requisitions for non-stockable direct items'); END IF;

3566: ,p_suggested_vendor_item_num => null
3567: );
3568:
3569:
3570: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('create requisitions for non-stockable direct items'); END IF;
3571:
3572: ELSE
3573:
3574:

Line 3601: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.MATERIAL_REQUIREMENTS : PROFILE : EAM: Trigger requisition for cancelled quantity : '||l_req_for_cancel_qty_profile); END IF;

3597: /*union added for #6118897 to avoid duplicate requisition creation -- start*/
3598:
3599: l_req_for_cancel_qty_profile := FND_PROFILE.VALUE('EAM_TRIGGER_REQ_CANCEL_QTY'); --bug 13102446
3600:
3601: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.MATERIAL_REQUIREMENTS : PROFILE : EAM: Trigger requisition for cancelled quantity : '||l_req_for_cancel_qty_profile); END IF;
3602:
3603: IF(NVL(l_req_for_cancel_qty_profile,'Y') = 'Y') then
3604: -- trigger requisition again for the cancelled quantity where the earlier Req/PO was cancelled
3605:

Line 3723: EAM_ERROR_MESSAGE_PVT.Write_Debug('MATERIAL_REQUIREMENTS : Available Req/PO Qty: '||l_total_req_qty ||' Required Qty: '||l_eam_mat_req_rec.required_quantity||' Creating req for Qty: '||(l_eam_mat_req_rec.required_quantity-nvl(l_total_req_qty,0)) );

3719: END IF; --IF(NVL(l_req_for_cancel_qty_profile,'Y') = 'Y') then
3720:
3721:
3722: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
3723: EAM_ERROR_MESSAGE_PVT.Write_Debug('MATERIAL_REQUIREMENTS : Available Req/PO Qty: '||l_total_req_qty ||' Required Qty: '||l_eam_mat_req_rec.required_quantity||' Creating req for Qty: '||(l_eam_mat_req_rec.required_quantity-nvl(l_total_req_qty,0)) );
3724: END IF;
3725:
3726: EAM_PROCESS_WO_UTIL_PVT.create_requisition
3727: ( p_api_version => 1.0

Line 3761: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

3757: END IF; --end of check for requested_quantity
3758:
3759: ELSE
3760:
3761: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;
3762:
3763: END IF; -- END IF statement that checks RETURN STATUS
3764:
3765:

Line 3779: EAM_ERROR_MESSAGE_PVT.Log_Error

3775:
3776: EXCEPTION
3777: WHEN EXC_SEV_QUIT_RECORD THEN
3778: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3779: EAM_ERROR_MESSAGE_PVT.Log_Error
3780: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3781: , p_mesg_token_tbl => l_mesg_token_tbl
3782: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3783: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

Line 3782: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3778: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3779: EAM_ERROR_MESSAGE_PVT.Log_Error
3780: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3781: , p_mesg_token_tbl => l_mesg_token_tbl
3782: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3783: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
3784: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3785: , p_entity_index => I
3786: , x_eam_wo_rec => l_eam_wo_rec

Line 3783: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

3779: EAM_ERROR_MESSAGE_PVT.Log_Error
3780: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3781: , p_mesg_token_tbl => l_mesg_token_tbl
3782: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3783: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
3784: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3785: , p_entity_index => I
3786: , x_eam_wo_rec => l_eam_wo_rec
3787: , x_eam_op_tbl => l_eam_op_tbl

Line 3784: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3780: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3781: , p_mesg_token_tbl => l_mesg_token_tbl
3782: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3783: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
3784: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3785: , p_entity_index => I
3786: , x_eam_wo_rec => l_eam_wo_rec
3787: , x_eam_op_tbl => l_eam_op_tbl
3788: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3810: EAM_ERROR_MESSAGE_PVT.Log_Error

3806:
3807:
3808: WHEN EXC_SEV_QUIT_BRANCH THEN
3809: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3810: EAM_ERROR_MESSAGE_PVT.Log_Error
3811: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3812: , p_mesg_token_tbl => l_mesg_token_tbl
3813: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3814: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 3813: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3809: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3810: EAM_ERROR_MESSAGE_PVT.Log_Error
3811: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3812: , p_mesg_token_tbl => l_mesg_token_tbl
3813: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3814: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3815: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3816: , p_other_message => l_other_message
3817: , p_other_token_tbl => l_other_token_tbl

Line 3814: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

3810: EAM_ERROR_MESSAGE_PVT.Log_Error
3811: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3812: , p_mesg_token_tbl => l_mesg_token_tbl
3813: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3814: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3815: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3816: , p_other_message => l_other_message
3817: , p_other_token_tbl => l_other_token_tbl
3818: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3815: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3811: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3812: , p_mesg_token_tbl => l_mesg_token_tbl
3813: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3814: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3815: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3816: , p_other_message => l_other_message
3817: , p_other_token_tbl => l_other_token_tbl
3818: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3819: , p_entity_index => I

Line 3818: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3814: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3815: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3816: , p_other_message => l_other_message
3817: , p_other_token_tbl => l_other_token_tbl
3818: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3819: , p_entity_index => I
3820: , x_eam_wo_rec => l_eam_wo_rec
3821: , x_eam_op_tbl => l_eam_op_tbl
3822: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3845: EAM_ERROR_MESSAGE_PVT.Log_Error

3841:
3842:
3843: WHEN EXC_SEV_SKIP_BRANCH THEN
3844: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3845: EAM_ERROR_MESSAGE_PVT.Log_Error
3846: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3847: , p_mesg_token_tbl => l_mesg_token_tbl
3848: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3849: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 3848: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3844: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3845: EAM_ERROR_MESSAGE_PVT.Log_Error
3846: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3847: , p_mesg_token_tbl => l_mesg_token_tbl
3848: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3849: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3850: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
3851: , p_other_message => l_other_message
3852: , p_other_token_tbl => l_other_token_tbl

Line 3849: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

3845: EAM_ERROR_MESSAGE_PVT.Log_Error
3846: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3847: , p_mesg_token_tbl => l_mesg_token_tbl
3848: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3849: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3850: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
3851: , p_other_message => l_other_message
3852: , p_other_token_tbl => l_other_token_tbl
3853: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3850: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

3846: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3847: , p_mesg_token_tbl => l_mesg_token_tbl
3848: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3849: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3850: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
3851: , p_other_message => l_other_message
3852: , p_other_token_tbl => l_other_token_tbl
3853: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3854: , p_entity_index => I

Line 3853: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3849: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3850: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
3851: , p_other_message => l_other_message
3852: , p_other_token_tbl => l_other_token_tbl
3853: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3854: , p_entity_index => I
3855: , x_eam_wo_rec => l_eam_wo_rec
3856: , x_eam_op_tbl => l_eam_op_tbl
3857: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3879: EAM_ERROR_MESSAGE_PVT.Log_Error

3875:
3876:
3877: WHEN EXC_SEV_QUIT_SIBLINGS THEN
3878: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3879: EAM_ERROR_MESSAGE_PVT.Log_Error
3880: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3881: , p_mesg_token_tbl => l_mesg_token_tbl
3882: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3883: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 3882: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3878: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3879: EAM_ERROR_MESSAGE_PVT.Log_Error
3880: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3881: , p_mesg_token_tbl => l_mesg_token_tbl
3882: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3883: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
3884: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3885: , p_other_message => l_other_message
3886: , p_other_token_tbl => l_other_token_tbl

Line 3883: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

3879: EAM_ERROR_MESSAGE_PVT.Log_Error
3880: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3881: , p_mesg_token_tbl => l_mesg_token_tbl
3882: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3883: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
3884: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3885: , p_other_message => l_other_message
3886: , p_other_token_tbl => l_other_token_tbl
3887: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3884: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

3880: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3881: , p_mesg_token_tbl => l_mesg_token_tbl
3882: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3883: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
3884: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3885: , p_other_message => l_other_message
3886: , p_other_token_tbl => l_other_token_tbl
3887: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3888: , p_entity_index => I

Line 3887: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3883: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
3884: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
3885: , p_other_message => l_other_message
3886: , p_other_token_tbl => l_other_token_tbl
3887: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3888: , p_entity_index => I
3889: , x_eam_wo_rec => l_eam_wo_rec
3890: , x_eam_op_tbl => l_eam_op_tbl
3891: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3913: EAM_ERROR_MESSAGE_PVT.Log_Error

3909:
3910:
3911: WHEN EXC_FAT_QUIT_BRANCH THEN
3912: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3913: EAM_ERROR_MESSAGE_PVT.Log_Error
3914: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3915: , p_mesg_token_tbl => l_mesg_token_tbl
3916: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3917: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 3916: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

3912: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3913: EAM_ERROR_MESSAGE_PVT.Log_Error
3914: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3915: , p_mesg_token_tbl => l_mesg_token_tbl
3916: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3917: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3918: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3919: , p_other_message => l_other_message
3920: , p_other_token_tbl => l_other_token_tbl

Line 3917: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

3913: EAM_ERROR_MESSAGE_PVT.Log_Error
3914: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3915: , p_mesg_token_tbl => l_mesg_token_tbl
3916: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3917: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3918: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3919: , p_other_message => l_other_message
3920: , p_other_token_tbl => l_other_token_tbl
3921: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3918: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

3914: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3915: , p_mesg_token_tbl => l_mesg_token_tbl
3916: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3917: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3918: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3919: , p_other_message => l_other_message
3920: , p_other_token_tbl => l_other_token_tbl
3921: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3922: , p_entity_index => I

Line 3921: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3917: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
3918: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3919: , p_other_message => l_other_message
3920: , p_other_token_tbl => l_other_token_tbl
3921: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3922: , p_entity_index => I
3923: , x_eam_wo_rec => l_eam_wo_rec
3924: , x_eam_op_tbl => l_eam_op_tbl
3925: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3936: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

3932: );
3933: l_eam_mat_req_tbl := l_out_eam_mat_req_tbl;
3934:
3935: l_process_children := FALSE ;
3936: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
3937: x_mesg_token_tbl := l_mesg_token_tbl ;
3938: x_eam_mat_req_tbl := l_eam_mat_req_tbl;
3939:
3940:

Line 3943: EAM_ERROR_MESSAGE_PVT.Log_Error

3939:
3940:
3941: WHEN EXC_FAT_QUIT_SIBLINGS THEN
3942: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3943: EAM_ERROR_MESSAGE_PVT.Log_Error
3944: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3945: , p_mesg_token_tbl => l_mesg_token_tbl
3946: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3947: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 3946: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

3942: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3943: EAM_ERROR_MESSAGE_PVT.Log_Error
3944: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3945: , p_mesg_token_tbl => l_mesg_token_tbl
3946: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3947: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
3948: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3949: , p_other_message => l_other_message
3950: , p_other_token_tbl => l_other_token_tbl

Line 3947: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

3943: EAM_ERROR_MESSAGE_PVT.Log_Error
3944: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3945: , p_mesg_token_tbl => l_mesg_token_tbl
3946: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3947: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
3948: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3949: , p_other_message => l_other_message
3950: , p_other_token_tbl => l_other_token_tbl
3951: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3948: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

3944: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3945: , p_mesg_token_tbl => l_mesg_token_tbl
3946: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3947: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
3948: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3949: , p_other_message => l_other_message
3950: , p_other_token_tbl => l_other_token_tbl
3951: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3952: , p_entity_index => I

Line 3951: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3947: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
3948: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
3949: , p_other_message => l_other_message
3950: , p_other_token_tbl => l_other_token_tbl
3951: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3952: , p_entity_index => I
3953: , x_eam_wo_rec => l_eam_wo_rec
3954: , x_eam_op_tbl => l_eam_op_tbl
3955: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 3967: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

3963: l_eam_mat_req_tbl := l_out_eam_mat_req_tbl;
3964:
3965:
3966: l_process_children := FALSE ;
3967: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
3968: x_mesg_token_tbl := l_mesg_token_tbl ;
3969: x_eam_mat_req_tbl := l_eam_mat_req_tbl;
3970:
3971: WHEN EXC_UNEXP_SKIP_OBJECT THEN

Line 3973: EAM_ERROR_MESSAGE_PVT.Log_Error

3969: x_eam_mat_req_tbl := l_eam_mat_req_tbl;
3970:
3971: WHEN EXC_UNEXP_SKIP_OBJECT THEN
3972: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3973: EAM_ERROR_MESSAGE_PVT.Log_Error
3974: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3975: , p_mesg_token_tbl => l_mesg_token_tbl
3976: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3977: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

Line 3976: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

3972: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
3973: EAM_ERROR_MESSAGE_PVT.Log_Error
3974: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3975: , p_mesg_token_tbl => l_mesg_token_tbl
3976: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3977: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
3978: , p_other_message => l_other_message
3979: , p_other_token_tbl => l_other_token_tbl
3980: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

Line 3977: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

3973: EAM_ERROR_MESSAGE_PVT.Log_Error
3974: ( p_eam_mat_req_tbl => l_eam_mat_req_tbl
3975: , p_mesg_token_tbl => l_mesg_token_tbl
3976: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3977: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
3978: , p_other_message => l_other_message
3979: , p_other_token_tbl => l_other_token_tbl
3980: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3981: , x_eam_wo_rec => l_eam_wo_rec

Line 3980: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL

3976: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
3977: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
3978: , p_other_message => l_other_message
3979: , p_other_token_tbl => l_other_token_tbl
3980: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_MAT_REQ_LEVEL
3981: , x_eam_wo_rec => l_eam_wo_rec
3982: , x_eam_op_tbl => l_eam_op_tbl
3983: , x_eam_op_network_tbl => l_eam_op_network_tbl
3984: , x_eam_res_tbl => l_eam_res_tbl

Line 4009: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.MATERIAL_REQUIREMENTS : End Return status: '||NVL(l_return_status, 'S')||' =======================') ; END IF ;

4005:
4006:
4007: END LOOP; -- END Material Requirements processing loop
4008:
4009: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.MATERIAL_REQUIREMENTS : End Return status: '||NVL(l_return_status, 'S')||' =======================') ; END IF ;
4010:
4011: -- Load OUT parameters
4012: IF NVL(l_return_status, 'S') <> 'S'
4013: THEN

Line 4048: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

4044: , p_department_id IN NUMBER := NULL
4045: , p_eam_direct_items_tbl IN EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type
4046: , x_material_shortage IN OUT NOCOPY NUMBER
4047: , x_eam_direct_items_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type
4048: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
4049: , x_return_status OUT NOCOPY VARCHAR2
4050: )
4051: IS
4052:

Line 4071: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

4067: l_out_eam_direct_items_rec EAM_PROCESS_WO_PUB.eam_direct_items_rec_type;
4068: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
4069:
4070: /* Error Handling Variables */
4071: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4072: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
4073: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4074: l_other_message VARCHAR2(2000);
4075: l_err_text VARCHAR2(2000);

Line 4072: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

4068: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
4069:
4070: /* Error Handling Variables */
4071: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4072: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
4073: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4074: l_other_message VARCHAR2(2000);
4075: l_err_text VARCHAR2(2000);
4076:

Line 4073: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

4069:
4070: /* Error Handling Variables */
4071: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4072: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
4073: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4074: l_other_message VARCHAR2(2000);
4075: l_err_text VARCHAR2(2000);
4076:
4077: /* Others */

Line 4098: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.DIRECT_ITEMS : Start=== '||p_eam_direct_items_tbl.COUNT ||' records passed =======================') ; END IF ;

4094: l_req_for_cancel_qty_profile VARCHAR2(1);
4095:
4096: BEGIN
4097:
4098: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.DIRECT_ITEMS : Start=== '||p_eam_direct_items_tbl.COUNT ||' records passed =======================') ; END IF ;
4099:
4100:
4101: x_return_status := FND_API.G_RET_STS_SUCCESS;
4102:

Line 4133: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

4129:
4130: FOR I IN 1..l_eam_direct_items_tbl.COUNT LOOP
4131: BEGIN
4132:
4133: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
4134:
4135: -- Load local records.
4136: l_eam_direct_items_rec := l_eam_direct_items_tbl(I);
4137:

Line 4187: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;

4183: )
4184: )
4185: THEN
4186:
4187: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;
4188:
4189: l_return_status := FND_API.G_RET_STS_SUCCESS;
4190: l_eam_direct_items_rec.return_status := FND_API.G_RET_STS_SUCCESS;
4191:

Line 4192: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Validating Transaction Type') ; END IF ;

4188:
4189: l_return_status := FND_API.G_RET_STS_SUCCESS;
4190: l_eam_direct_items_rec.return_status := FND_API.G_RET_STS_SUCCESS;
4191:
4192: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Validating Transaction Type') ; END IF ;
4193:
4194: VALIDATE_TRANSACTION_TYPE
4195: ( p_transaction_type => l_eam_direct_items_rec.transaction_type
4196: , p_entity_name => 'DIRECT_ITEMS'

Line 4204: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

4200: );
4201:
4202: IF NOT l_valid_transaction
4203: THEN
4204: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
4205: RAISE EXC_SEV_QUIT_RECORD ;
4206: END IF ;
4207:
4208: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Checking Existence of Record') ; END IF ;

Line 4208: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Checking Existence of Record') ; END IF ;

4204: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
4205: RAISE EXC_SEV_QUIT_RECORD ;
4206: END IF ;
4207:
4208: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Checking Existence of Record') ; END IF ;
4209:
4210: EAM_DIRECT_ITEMS_VALIDATE_PVT.Check_Existence
4211: ( p_eam_direct_items_rec => l_eam_direct_items_rec
4212: , x_old_eam_direct_items_rec => l_old_eam_direct_items_rec

Line 4217: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;

4213: , x_mesg_token_tbl => l_mesg_token_tbl
4214: , x_return_status => l_return_status
4215: ) ;
4216:
4217: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
4218:
4219: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4220: THEN
4221: l_other_message := 'EAM_DI_EXS_SEV_SKIP';

Line 4219: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4215: ) ;
4216:
4217: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
4218:
4219: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4220: THEN
4221: l_other_message := 'EAM_DI_EXS_SEV_SKIP';
4222: l_other_token_tbl(1).token_name := 'DI_SEQ_ID';
4223: l_other_token_tbl(1).token_value := l_eam_direct_items_rec.direct_item_sequence_id;

Line 4227: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

4223: l_other_token_tbl(1).token_value := l_eam_direct_items_rec.direct_item_sequence_id;
4224: l_other_token_tbl(2).token_name := 'WIP_ENTITY_ID';
4225: l_other_token_tbl(2).token_value := l_eam_direct_items_rec.wip_entity_id;
4226: RAISE EXC_SEV_QUIT_BRANCH;
4227: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4228: THEN
4229: l_other_message := 'EAM_DI_EXS_UNEXP_SKIP';
4230: l_other_token_tbl(1).token_name := 'DI_SEQ_ID';
4231: l_other_token_tbl(1).token_value := l_eam_direct_items_rec.direct_item_sequence_id ;

Line 4251: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;

4247: IF l_eam_direct_items_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_DELETE THEN
4248: x_material_shortage := G_MATERIAL_UPDATE;
4249: END IF;
4250:
4251: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;
4252: END IF ;
4253:
4254: l_out_eam_direct_items_rec := l_eam_direct_items_rec;
4255:

Line 4295: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug

4291: ) ;
4292:
4293: l_eam_direct_items_rec := l_out_eam_direct_items_rec;
4294:
4295: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug
4296: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
4297: END IF ;
4298:
4299:

Line 4300: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4296: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
4297: END IF ;
4298:
4299:
4300: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4301: THEN
4302: l_other_message := 'EAM_DI_ATTDEF_CSEV_SKIP';
4303: l_other_token_tbl(1).token_name := 'DI_SEQ_ID';
4304: l_other_token_tbl(1).token_value := l_eam_direct_items_rec.direct_item_sequence_id ;

Line 4307: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

4303: l_other_token_tbl(1).token_name := 'DI_SEQ_ID';
4304: l_other_token_tbl(1).token_value := l_eam_direct_items_rec.direct_item_sequence_id ;
4305: RAISE EXC_SEV_SKIP_BRANCH ;
4306:
4307: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4308: THEN
4309: l_other_message := 'EAM_DI_ATTDEF_UNEXP_SKIP';
4310: l_other_token_tbl(1).token_name := 'DI_SEQ_ID';
4311: l_other_token_tbl(1).token_value := l_eam_direct_items_rec.direct_item_sequence_id ;

Line 4316: EAM_ERROR_MESSAGE_PVT.Log_Error

4312: RAISE EXC_UNEXP_SKIP_OBJECT ;
4313: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
4314: THEN
4315: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4316: EAM_ERROR_MESSAGE_PVT.Log_Error
4317: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4318: , p_mesg_token_tbl => l_mesg_token_tbl
4319: , p_error_status => 'W'
4320: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4320: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4316: EAM_ERROR_MESSAGE_PVT.Log_Error
4317: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4318: , p_mesg_token_tbl => l_mesg_token_tbl
4319: , p_error_status => 'W'
4320: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4321: , p_entity_index => I
4322: , x_eam_wo_rec => l_eam_wo_rec
4323: , x_eam_op_tbl => l_eam_op_tbl
4324: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4343: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;

4339: , x_return_status => l_return_status
4340: , x_mesg_token_tbl => l_mesg_token_tbl
4341: ) ;
4342:
4343: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
4344:
4345:
4346: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4347: THEN

Line 4346: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4342:
4343: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
4344:
4345:
4346: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4347: THEN
4348: IF l_eam_direct_items_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
4349: THEN
4350: l_other_message := 'EAM_DI_REQ_CSEV_SKIP';

Line 4357: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

4353: RAISE EXC_SEV_SKIP_BRANCH ;
4354: ELSE
4355: RAISE EXC_SEV_QUIT_RECORD ;
4356: END IF;
4357: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4358: THEN
4359: l_other_message := 'EAM_DI_REQ_UNEXP_SKIP';
4360: l_other_token_tbl(1).token_name := 'DI_SEQ_ID';
4361: l_other_token_tbl(1).token_value := l_eam_direct_items_rec.direct_item_sequence_id ;

Line 4376: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;

4372:
4373: IF l_old_eam_direct_items_rec.REQUIRED_QUANTITY <> l_eam_direct_items_rec.REQUIRED_QUANTITY THEN
4374: x_material_shortage := G_MATERIAL_UPDATE;
4375: END IF;
4376: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
4377:
4378: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4379: THEN
4380: IF l_eam_direct_items_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 4378: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4374: x_material_shortage := G_MATERIAL_UPDATE;
4375: END IF;
4376: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
4377:
4378: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4379: THEN
4380: IF l_eam_direct_items_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
4381: THEN
4382: l_other_message := 'EAM_DI_ATTVAL_CSEV_SKIP';

Line 4389: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

4385: RAISE EXC_SEV_SKIP_BRANCH ;
4386: ELSE
4387: RAISE EXC_SEV_QUIT_RECORD ;
4388: END IF;
4389: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4390: THEN
4391: l_other_message := 'EAM_DI_ATTVAL_UNEXP_SKIP';
4392: l_other_token_tbl(1).token_name := 'DI_SEQ_ID';
4393: l_other_token_tbl(1).token_value := l_eam_direct_items_rec.direct_item_sequence_id ;

Line 4398: EAM_ERROR_MESSAGE_PVT.Log_Error

4394: RAISE EXC_UNEXP_SKIP_OBJECT ;
4395: ELSIF l_return_status ='S' AND l_mesg_token_tbl .COUNT <> 0
4396: THEN
4397: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4398: EAM_ERROR_MESSAGE_PVT.Log_Error
4399: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4400: , p_mesg_token_tbl => l_mesg_token_tbl
4401: , p_error_status => 'W'
4402: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4402: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4398: EAM_ERROR_MESSAGE_PVT.Log_Error
4399: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4400: , p_mesg_token_tbl => l_mesg_token_tbl
4401: , p_error_status => 'W'
4402: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4403: , p_entity_index => I
4404: , x_eam_wo_rec => l_eam_wo_rec
4405: , x_eam_op_tbl => l_eam_op_tbl
4406: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4427: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

4423: , x_return_status => l_return_status
4424: ) ;
4425:
4426:
4427: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4428: THEN
4429: l_other_message := 'EAM_DI_WRITES_UNEXP_SKIP';
4430: l_other_token_tbl(1).token_name := 'DI_SEQ_ID';
4431: l_other_token_tbl(1).token_value :=

Line 4438: EAM_ERROR_MESSAGE_PVT.Log_Error

4434: ELSIF l_return_status ='S' AND
4435: l_mesg_token_tbl.COUNT <>0
4436: THEN
4437: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4438: EAM_ERROR_MESSAGE_PVT.Log_Error
4439: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4440: , p_mesg_token_tbl => l_mesg_token_tbl
4441: , p_error_status => 'W'
4442: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4442: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4438: EAM_ERROR_MESSAGE_PVT.Log_Error
4439: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4440: , p_mesg_token_tbl => l_mesg_token_tbl
4441: , p_error_status => 'W'
4442: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4443: , p_entity_index => I
4444: , x_eam_wo_rec => l_eam_wo_rec
4445: , x_eam_op_tbl => l_eam_op_tbl
4446: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4457: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Direct Items Database writes completed with status ' || l_return_status); END IF;

4453: );
4454: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
4455: END IF;
4456:
4457: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Direct Items Database writes completed with status ' || l_return_status); END IF;
4458:
4459: --fix for 3550864.create requisitions for requested_quantity if passed
4460: IF(l_eam_direct_items_rec.requested_quantity IS NOT NULL) THEN
4461:

Line 4462: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('create requisitions for description direct items'); END IF;

4458:
4459: --fix for 3550864.create requisitions for requested_quantity if passed
4460: IF(l_eam_direct_items_rec.requested_quantity IS NOT NULL) THEN
4461:
4462: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('create requisitions for description direct items'); END IF;
4463:
4464: EAM_PROCESS_WO_UTIL_PVT.create_requisition
4465: ( p_api_version => 1.0
4466: ,p_init_msg_list => FND_API.G_FALSE

Line 4514: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.DIRECT_ITEMS , PROFILE : EAM: Trigger requisition for cancelled quantity : '||l_req_for_cancel_qty_profile); END IF;

4510: /*Added Union for #6118897 to avoid duplicate req creation -- start --*/
4511:
4512: l_req_for_cancel_qty_profile := FND_PROFILE.VALUE('EAM_TRIGGER_REQ_CANCEL_QTY'); --bug 13102446
4513:
4514: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.DIRECT_ITEMS , PROFILE : EAM: Trigger requisition for cancelled quantity : '||l_req_for_cancel_qty_profile); END IF;
4515:
4516: IF(NVL(l_req_for_cancel_qty_profile,'Y') = 'Y') then
4517: --13102446 trigger requisition again for the cancelled quantity where the earlier Req/PO was cancelled
4518:

Line 4631: EAM_ERROR_MESSAGE_PVT.Write_Debug('DIRECT_ITEMS : Available Req/PO Qty:'||l_total_req_qty ||' Required Qty: '||l_eam_direct_items_rec.required_quantity||' Creating req for Qty: '||(l_eam_direct_items_rec.required_quantity-nvl(l_total_req_qty,0)) );

4627:
4628: END IF; --IF(l_req_for_cancel_qty_profile = 'Y') then
4629:
4630: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
4631: EAM_ERROR_MESSAGE_PVT.Write_Debug('DIRECT_ITEMS : Available Req/PO Qty:'||l_total_req_qty ||' Required Qty: '||l_eam_direct_items_rec.required_quantity||' Creating req for Qty: '||(l_eam_direct_items_rec.required_quantity-nvl(l_total_req_qty,0)) );
4632: END IF;
4633:
4634: EAM_PROCESS_WO_UTIL_PVT.create_requisition
4635: ( p_api_version => 1.0

Line 4667: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

4663: END IF; --end of check for requested_quantity
4664:
4665: ELSE
4666:
4667: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;
4668:
4669: END IF; -- END IF statement that checks RETURN STATUS
4670:
4671: -- Load tables.

Line 4683: EAM_ERROR_MESSAGE_PVT.Log_Error

4679:
4680: EXCEPTION
4681: WHEN EXC_SEV_QUIT_RECORD THEN
4682: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4683: EAM_ERROR_MESSAGE_PVT.Log_Error
4684: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4685: , p_mesg_token_tbl => l_mesg_token_tbl
4686: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4687: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

Line 4686: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4682: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4683: EAM_ERROR_MESSAGE_PVT.Log_Error
4684: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4685: , p_mesg_token_tbl => l_mesg_token_tbl
4686: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4687: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
4688: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4689: , p_entity_index => I
4690: , x_eam_wo_rec => l_eam_wo_rec

Line 4687: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

4683: EAM_ERROR_MESSAGE_PVT.Log_Error
4684: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4685: , p_mesg_token_tbl => l_mesg_token_tbl
4686: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4687: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
4688: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4689: , p_entity_index => I
4690: , x_eam_wo_rec => l_eam_wo_rec
4691: , x_eam_op_tbl => l_eam_op_tbl

Line 4688: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4684: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4685: , p_mesg_token_tbl => l_mesg_token_tbl
4686: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4687: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
4688: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4689: , p_entity_index => I
4690: , x_eam_wo_rec => l_eam_wo_rec
4691: , x_eam_op_tbl => l_eam_op_tbl
4692: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4714: EAM_ERROR_MESSAGE_PVT.Log_Error

4710:
4711:
4712: WHEN EXC_SEV_QUIT_BRANCH THEN
4713: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4714: EAM_ERROR_MESSAGE_PVT.Log_Error
4715: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4716: , p_mesg_token_tbl => l_mesg_token_tbl
4717: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4718: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 4717: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4713: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4714: EAM_ERROR_MESSAGE_PVT.Log_Error
4715: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4716: , p_mesg_token_tbl => l_mesg_token_tbl
4717: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4718: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4719: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4720: , p_other_message => l_other_message
4721: , p_other_token_tbl => l_other_token_tbl

Line 4718: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

4714: EAM_ERROR_MESSAGE_PVT.Log_Error
4715: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4716: , p_mesg_token_tbl => l_mesg_token_tbl
4717: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4718: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4719: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4720: , p_other_message => l_other_message
4721: , p_other_token_tbl => l_other_token_tbl
4722: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4719: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4715: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4716: , p_mesg_token_tbl => l_mesg_token_tbl
4717: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4718: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4719: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4720: , p_other_message => l_other_message
4721: , p_other_token_tbl => l_other_token_tbl
4722: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4723: , p_entity_index => I

Line 4722: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4718: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4719: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4720: , p_other_message => l_other_message
4721: , p_other_token_tbl => l_other_token_tbl
4722: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4723: , p_entity_index => I
4724: , x_eam_wo_rec => l_eam_wo_rec
4725: , x_eam_op_tbl => l_eam_op_tbl
4726: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4749: EAM_ERROR_MESSAGE_PVT.Log_Error

4745:
4746:
4747: WHEN EXC_SEV_SKIP_BRANCH THEN
4748: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4749: EAM_ERROR_MESSAGE_PVT.Log_Error
4750: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4751: , p_mesg_token_tbl => l_mesg_token_tbl
4752: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4753: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 4752: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4748: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4749: EAM_ERROR_MESSAGE_PVT.Log_Error
4750: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4751: , p_mesg_token_tbl => l_mesg_token_tbl
4752: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4753: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4754: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
4755: , p_other_message => l_other_message
4756: , p_other_token_tbl => l_other_token_tbl

Line 4753: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

4749: EAM_ERROR_MESSAGE_PVT.Log_Error
4750: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4751: , p_mesg_token_tbl => l_mesg_token_tbl
4752: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4753: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4754: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
4755: , p_other_message => l_other_message
4756: , p_other_token_tbl => l_other_token_tbl
4757: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4754: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

4750: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4751: , p_mesg_token_tbl => l_mesg_token_tbl
4752: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4753: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4754: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
4755: , p_other_message => l_other_message
4756: , p_other_token_tbl => l_other_token_tbl
4757: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4758: , p_entity_index => I

Line 4757: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4753: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4754: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
4755: , p_other_message => l_other_message
4756: , p_other_token_tbl => l_other_token_tbl
4757: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4758: , p_entity_index => I
4759: , x_eam_wo_rec => l_eam_wo_rec
4760: , x_eam_op_tbl => l_eam_op_tbl
4761: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4783: EAM_ERROR_MESSAGE_PVT.Log_Error

4779:
4780:
4781: WHEN EXC_SEV_QUIT_SIBLINGS THEN
4782: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4783: EAM_ERROR_MESSAGE_PVT.Log_Error
4784: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4785: , p_mesg_token_tbl => l_mesg_token_tbl
4786: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4787: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 4786: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4782: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4783: EAM_ERROR_MESSAGE_PVT.Log_Error
4784: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4785: , p_mesg_token_tbl => l_mesg_token_tbl
4786: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4787: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
4788: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4789: , p_other_message => l_other_message
4790: , p_other_token_tbl => l_other_token_tbl

Line 4787: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

4783: EAM_ERROR_MESSAGE_PVT.Log_Error
4784: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4785: , p_mesg_token_tbl => l_mesg_token_tbl
4786: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4787: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
4788: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4789: , p_other_message => l_other_message
4790: , p_other_token_tbl => l_other_token_tbl
4791: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4788: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

4784: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4785: , p_mesg_token_tbl => l_mesg_token_tbl
4786: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4787: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
4788: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4789: , p_other_message => l_other_message
4790: , p_other_token_tbl => l_other_token_tbl
4791: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4792: , p_entity_index => I

Line 4791: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4787: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
4788: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
4789: , p_other_message => l_other_message
4790: , p_other_token_tbl => l_other_token_tbl
4791: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4792: , p_entity_index => I
4793: , x_eam_wo_rec => l_eam_wo_rec
4794: , x_eam_op_tbl => l_eam_op_tbl
4795: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4817: EAM_ERROR_MESSAGE_PVT.Log_Error

4813:
4814:
4815: WHEN EXC_FAT_QUIT_BRANCH THEN
4816: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4817: EAM_ERROR_MESSAGE_PVT.Log_Error
4818: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4819: , p_mesg_token_tbl => l_mesg_token_tbl
4820: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4821: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

Line 4820: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

4816: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4817: EAM_ERROR_MESSAGE_PVT.Log_Error
4818: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4819: , p_mesg_token_tbl => l_mesg_token_tbl
4820: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4821: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4822: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4823: , p_other_message => l_other_message
4824: , p_other_token_tbl => l_other_token_tbl

Line 4821: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

4817: EAM_ERROR_MESSAGE_PVT.Log_Error
4818: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4819: , p_mesg_token_tbl => l_mesg_token_tbl
4820: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4821: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4822: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4823: , p_other_message => l_other_message
4824: , p_other_token_tbl => l_other_token_tbl
4825: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4822: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

4818: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4819: , p_mesg_token_tbl => l_mesg_token_tbl
4820: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4821: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4822: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4823: , p_other_message => l_other_message
4824: , p_other_token_tbl => l_other_token_tbl
4825: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4826: , p_entity_index => I

Line 4825: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4821: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
4822: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4823: , p_other_message => l_other_message
4824: , p_other_token_tbl => l_other_token_tbl
4825: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4826: , p_entity_index => I
4827: , x_eam_wo_rec => l_eam_wo_rec
4828: , x_eam_op_tbl => l_eam_op_tbl
4829: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4840: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

4836: );
4837: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
4838:
4839: l_process_children := FALSE ;
4840: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
4841: x_mesg_token_tbl := l_mesg_token_tbl ;
4842: x_eam_direct_items_tbl := l_eam_direct_items_tbl;
4843:
4844:

Line 4847: EAM_ERROR_MESSAGE_PVT.Log_Error

4843:
4844:
4845: WHEN EXC_FAT_QUIT_SIBLINGS THEN
4846: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4847: EAM_ERROR_MESSAGE_PVT.Log_Error
4848: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4849: , p_mesg_token_tbl => l_mesg_token_tbl
4850: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

Line 4850: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

4846: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4847: EAM_ERROR_MESSAGE_PVT.Log_Error
4848: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4849: , p_mesg_token_tbl => l_mesg_token_tbl
4850: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
4852: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4853: , p_other_message => l_other_message
4854: , p_other_token_tbl => l_other_token_tbl

Line 4851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

4847: EAM_ERROR_MESSAGE_PVT.Log_Error
4848: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4849: , p_mesg_token_tbl => l_mesg_token_tbl
4850: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
4852: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4853: , p_other_message => l_other_message
4854: , p_other_token_tbl => l_other_token_tbl
4855: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4852: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

4848: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4849: , p_mesg_token_tbl => l_mesg_token_tbl
4850: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
4852: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4853: , p_other_message => l_other_message
4854: , p_other_token_tbl => l_other_token_tbl
4855: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4856: , p_entity_index => I

Line 4855: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
4852: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
4853: , p_other_message => l_other_message
4854: , p_other_token_tbl => l_other_token_tbl
4855: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4856: , p_entity_index => I
4857: , x_eam_wo_rec => l_eam_wo_rec
4858: , x_eam_op_tbl => l_eam_op_tbl
4859: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 4871: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

4867: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
4868:
4869:
4870: l_process_children := FALSE ;
4871: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
4872: x_mesg_token_tbl := l_mesg_token_tbl ;
4873: x_eam_direct_items_tbl := l_eam_direct_items_tbl;
4874:
4875: WHEN EXC_UNEXP_SKIP_OBJECT THEN

Line 4877: EAM_ERROR_MESSAGE_PVT.Log_Error

4873: x_eam_direct_items_tbl := l_eam_direct_items_tbl;
4874:
4875: WHEN EXC_UNEXP_SKIP_OBJECT THEN
4876: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4877: EAM_ERROR_MESSAGE_PVT.Log_Error
4878: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4879: , p_mesg_token_tbl => l_mesg_token_tbl
4880: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4881: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

Line 4880: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

4876: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
4877: EAM_ERROR_MESSAGE_PVT.Log_Error
4878: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4879: , p_mesg_token_tbl => l_mesg_token_tbl
4880: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4881: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
4882: , p_other_message => l_other_message
4883: , p_other_token_tbl => l_other_token_tbl
4884: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

Line 4881: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

4877: EAM_ERROR_MESSAGE_PVT.Log_Error
4878: ( p_eam_direct_items_tbl => l_eam_direct_items_tbl
4879: , p_mesg_token_tbl => l_mesg_token_tbl
4880: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4881: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
4882: , p_other_message => l_other_message
4883: , p_other_token_tbl => l_other_token_tbl
4884: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4885: , x_eam_wo_rec => l_eam_wo_rec

Line 4884: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL

4880: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
4881: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
4882: , p_other_message => l_other_message
4883: , p_other_token_tbl => l_other_token_tbl
4884: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_DIRECT_ITEMS_LEVEL
4885: , x_eam_wo_rec => l_eam_wo_rec
4886: , x_eam_op_tbl => l_eam_op_tbl
4887: , x_eam_op_network_tbl => l_eam_op_network_tbl
4888: , x_eam_res_tbl => l_eam_res_tbl

Line 4913: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.DIRECT_ITEMS : End Return status: '||NVL(l_return_status, 'S')||' ===========================') ; END IF ;

4909:
4910:
4911: END LOOP; -- END Material Requirements processing loop
4912:
4913: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.DIRECT_ITEMS : End Return status: '||NVL(l_return_status, 'S')||' ===========================') ; END IF ;
4914: -- Load OUT parameters
4915: IF NVL(l_return_status, 'S') <> 'S'
4916: THEN
4917: x_return_status := l_return_status;

Line 4957: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

4953: , x_eam_res_inst_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type
4954: , x_eam_res_usage_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type
4955: , x_schedule_wo IN OUT NOCOPY NUMBER
4956: , x_bottomup_scheduled IN OUT NOCOPY NUMBER
4957: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
4958: , x_return_status OUT NOCOPY VARCHAR2
4959: )
4960: IS
4961:

Line 4982: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

4978: l_out_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
4979: l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
4980:
4981: /* Error Handling Variables */
4982: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4983: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
4984: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4985: l_other_message VARCHAR2(2000);
4986: l_err_text VARCHAR2(2000);

Line 4983: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

4979: l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
4980:
4981: /* Error Handling Variables */
4982: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4983: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
4984: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4985: l_other_message VARCHAR2(2000);
4986: l_err_text VARCHAR2(2000);
4987:

Line 4984: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

4980:
4981: /* Error Handling Variables */
4982: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4983: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
4984: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
4985: l_other_message VARCHAR2(2000);
4986: l_err_text VARCHAR2(2000);
4987:
4988: /* Others */

Line 4998: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.OPERATION_RESOURCES : Start=== '||p_eam_res_tbl.COUNT ||' records passed =======================') ; END IF ;

4994:
4995:
4996: BEGIN
4997:
4998: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.OPERATION_RESOURCES : Start=== '||p_eam_res_tbl.COUNT ||' records passed =======================') ; END IF ;
4999:
5000:
5001: x_return_status := FND_API.G_RET_STS_SUCCESS;
5002:

Line 5012: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

5008:
5009: FOR I IN 1..l_eam_res_tbl.COUNT LOOP
5010: BEGIN
5011:
5012: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
5013:
5014: -- Load local records.
5015: l_eam_res_rec := l_eam_res_tbl(I);
5016:

Line 5047: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;

5043: )
5044: )
5045: THEN
5046:
5047: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;
5048:
5049: l_return_status := FND_API.G_RET_STS_SUCCESS;
5050: l_eam_res_rec.return_status := FND_API.G_RET_STS_SUCCESS;
5051:

Line 5062: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

5058: );
5059:
5060: IF NOT l_valid_transaction
5061: THEN
5062: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
5063: RAISE EXC_SEV_QUIT_RECORD ;
5064: END IF ;
5065:
5066: EAM_RES_VALIDATE_PVT.Check_Existence

Line 5073: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;

5069: , x_mesg_token_tbl => l_mesg_token_tbl
5070: , x_return_status => l_return_status
5071: ) ;
5072:
5073: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
5074:
5075: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5076: THEN
5077: l_other_message := 'EAM_RES_EXS_SEV_SKIP';

Line 5075: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5071: ) ;
5072:
5073: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
5074:
5075: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5076: THEN
5077: l_other_message := 'EAM_RES_EXS_SEV_SKIP';
5078: l_other_token_tbl(1).token_name := 'RES_SEQ_NUMBER';
5079: l_other_token_tbl(1).token_value := l_eam_res_rec.resource_seq_num;

Line 5083: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

5079: l_other_token_tbl(1).token_value := l_eam_res_rec.resource_seq_num;
5080: l_other_token_tbl(2).token_name := 'WIP_ENTITY_ID';
5081: l_other_token_tbl(2).token_value := l_eam_res_rec.wip_entity_id;
5082: RAISE EXC_SEV_QUIT_BRANCH;
5083: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5084: THEN
5085: l_other_message := 'EAM_RES_EXS_UNEXP_SKIP';
5086: l_other_token_tbl(1).token_name := 'RES_SEQ_NUMBER';
5087: l_other_token_tbl(1).token_value := l_eam_res_rec.resource_seq_num ;

Line 5103: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;

5099:
5100: IF l_eam_res_rec.transaction_type IN (EAM_PROCESS_WO_PVT.G_OPR_UPDATE, EAM_PROCESS_WO_PVT.G_OPR_DELETE)
5101: THEN
5102:
5103: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;
5104: END IF ;
5105:
5106: l_out_eam_res_rec := l_eam_res_rec;
5107: EAM_RES_DEFAULT_PVT.Populate_Null_Columns

Line 5126: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug

5122: , x_return_status => l_return_status
5123: ) ;
5124: l_eam_res_rec := l_out_eam_res_rec;
5125:
5126: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug
5127: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
5128: END IF ;
5129:
5130:

Line 5131: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5127: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
5128: END IF ;
5129:
5130:
5131: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5132: THEN
5133: l_other_message := 'EAM_RES_ATTDEF_CSEV_SKIP';
5134: l_other_token_tbl(1).token_name := 'RES_SEQ_NUMBER';
5135: l_other_token_tbl(1).token_value :=

Line 5139: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

5135: l_other_token_tbl(1).token_value :=
5136: l_eam_res_rec.resource_seq_num ;
5137: RAISE EXC_SEV_SKIP_BRANCH ;
5138:
5139: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5140: THEN
5141: l_other_message := 'EAM_RES_ATTDEF_UNEXP_SKIP';
5142: l_other_token_tbl(1).token_name := 'RES_SEQ_NUMBER';
5143: l_other_token_tbl(1).token_value := l_eam_res_rec.resource_seq_num ;

Line 5150: EAM_ERROR_MESSAGE_PVT.Log_Error

5146: THEN
5147: l_out_eam_res_tbl := l_eam_res_tbl;
5148: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5149: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5150: EAM_ERROR_MESSAGE_PVT.Log_Error
5151: ( p_eam_res_tbl => l_eam_res_tbl
5152: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5153: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5154: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5156: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5152: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5153: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5154: , p_mesg_token_tbl => l_mesg_token_tbl
5155: , p_error_status => 'W'
5156: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5157: , p_entity_index => I
5158: , x_eam_wo_rec => l_eam_wo_rec
5159: , x_eam_op_tbl => l_eam_op_tbl
5160: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5180: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;

5176: , x_return_status => l_return_status
5177: , x_mesg_token_tbl => l_mesg_token_tbl
5178: ) ;
5179:
5180: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
5181:
5182:
5183: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5184: THEN

Line 5183: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5179:
5180: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
5181:
5182:
5183: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5184: THEN
5185: IF l_eam_res_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
5186: THEN
5187: l_other_message := 'EAM_RES_REQ_CSEV_SKIP';

Line 5194: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

5190: RAISE EXC_SEV_SKIP_BRANCH ;
5191: ELSE
5192: RAISE EXC_SEV_QUIT_RECORD ;
5193: END IF;
5194: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5195: THEN
5196: l_other_message := 'EAM_RES_REQ_UNEXP_SKIP';
5197: l_other_token_tbl(1).token_name := 'RES_SEQ_NUMBER';
5198: l_other_token_tbl(1).token_value := l_eam_res_rec.resource_seq_num ;

Line 5209: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;

5205: , x_return_status => l_return_status
5206: , x_mesg_token_tbl => l_mesg_token_tbl
5207: ) ;
5208:
5209: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
5210:
5211: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5212: THEN
5213: IF l_eam_res_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 5211: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5207: ) ;
5208:
5209: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
5210:
5211: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5212: THEN
5213: IF l_eam_res_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
5214: THEN
5215: l_other_message := 'EAM_RES_ATTVAL_CSEV_SKIP';

Line 5222: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

5218: RAISE EXC_SEV_SKIP_BRANCH ;
5219: ELSE
5220: RAISE EXC_SEV_QUIT_RECORD ;
5221: END IF;
5222: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5223: THEN
5224: l_other_message := 'EAM_RES_ATTVAL_UNEXP_SKIP';
5225: l_other_token_tbl(1).token_name := 'RES_SEQ_NUMBER';
5226: l_other_token_tbl(1).token_value := l_eam_res_rec.resource_seq_num ;

Line 5233: EAM_ERROR_MESSAGE_PVT.Log_Error

5229: THEN
5230: l_out_eam_res_tbl := l_eam_res_tbl;
5231: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5232: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5233: EAM_ERROR_MESSAGE_PVT.Log_Error
5234: ( p_eam_res_tbl => l_eam_res_tbl
5235: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5236: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5237: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5239: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5235: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5236: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5237: , p_mesg_token_tbl => l_mesg_token_tbl
5238: , p_error_status => 'W'
5239: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5240: , p_entity_index => I
5241: , x_eam_wo_rec => l_eam_wo_rec
5242: , x_eam_op_tbl => l_eam_op_tbl
5243: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5264: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

5260: , x_return_status => l_return_status
5261: ) ;
5262:
5263:
5264: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5265: THEN
5266: l_other_message := 'EAM_RES_WRITES_UNEXP_SKIP';
5267: l_other_token_tbl(1).token_name := 'RES_SEQ_NUMBER';
5268: l_other_token_tbl(1).token_value :=

Line 5277: EAM_ERROR_MESSAGE_PVT.Log_Error

5273: THEN
5274: l_out_eam_res_tbl := l_eam_res_tbl;
5275: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5276: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5277: EAM_ERROR_MESSAGE_PVT.Log_Error
5278: ( p_eam_res_tbl => l_eam_res_tbl
5279: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5280: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5281: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5283: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5279: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5280: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5281: , p_mesg_token_tbl => l_mesg_token_tbl
5282: , p_error_status => 'W'
5283: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5284: , p_entity_index => I
5285: , x_eam_wo_rec => l_eam_wo_rec
5286: , x_eam_op_tbl => l_eam_op_tbl
5287: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5301: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;

5297: l_eam_res_inst_tbl := l_out_eam_res_inst_tbl;
5298:
5299: END IF;
5300:
5301: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Resources Database writes completed with status ' || l_return_status); END IF;
5302:
5303: --find if scheduler is to be called or not
5304: IF(x_schedule_wo = G_NOT_SCHEDULE_WO)THEN --not yet set to schedule
5305: IF(l_eam_res_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE -- is resource is added

Line 5351: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling RESOURCE_INSTANCES from OPERATION_RESOURCES') ; END IF ;

5347: IF l_process_children
5348: THEN
5349:
5350: -- Process Resource Instance that are direct children of this operation
5351: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling RESOURCE_INSTANCES from OPERATION_RESOURCES') ; END IF ;
5352:
5353: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5354: RESOURCE_INSTANCES
5355: ( p_validation_level => p_validation_level

Line 5381: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling RESOURCE_USAGES from OPERATION_RESOURCES') ; END IF ;

5377:
5378:
5379:
5380: -- Process Resource Usage that are direct children of this operation
5381: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling RESOURCE_USAGES from OPERATION_RESOURCES') ; END IF ;
5382:
5383:
5384: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5385: RESOURCE_USAGES

Line 5416: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

5412:
5413:
5414: ELSE
5415:
5416: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;
5417:
5418: END IF; -- END IF statement that checks RETURN STATUS
5419:
5420: -- Load tables.

Line 5432: EAM_ERROR_MESSAGE_PVT.Log_Error

5428: WHEN EXC_SEV_QUIT_RECORD THEN
5429: l_out_eam_res_tbl := l_eam_res_tbl;
5430: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5431: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5432: EAM_ERROR_MESSAGE_PVT.Log_Error
5433: ( p_eam_res_tbl => l_eam_res_tbl
5434: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5435: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5436: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5437: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5433: ( p_eam_res_tbl => l_eam_res_tbl
5434: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5435: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5436: , p_mesg_token_tbl => l_mesg_token_tbl
5437: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5438: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
5439: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5440: , p_entity_index => I
5441: , x_eam_wo_rec => l_eam_wo_rec

Line 5438: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

5434: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5435: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5436: , p_mesg_token_tbl => l_mesg_token_tbl
5437: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5438: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
5439: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5440: , p_entity_index => I
5441: , x_eam_wo_rec => l_eam_wo_rec
5442: , x_eam_op_tbl => l_eam_op_tbl

Line 5439: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5435: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5436: , p_mesg_token_tbl => l_mesg_token_tbl
5437: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5438: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
5439: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5440: , p_entity_index => I
5441: , x_eam_wo_rec => l_eam_wo_rec
5442: , x_eam_op_tbl => l_eam_op_tbl
5443: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5469: EAM_ERROR_MESSAGE_PVT.Log_Error

5465: WHEN EXC_SEV_QUIT_BRANCH THEN
5466: l_out_eam_res_tbl := l_eam_res_tbl;
5467: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5468: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5469: EAM_ERROR_MESSAGE_PVT.Log_Error
5470: ( p_eam_res_tbl => l_eam_res_tbl
5471: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5472: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5473: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5474: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5470: ( p_eam_res_tbl => l_eam_res_tbl
5471: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5472: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5473: , p_mesg_token_tbl => l_mesg_token_tbl
5474: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5475: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5476: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5477: , p_other_message => l_other_message
5478: , p_other_token_tbl => l_other_token_tbl

Line 5475: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

5471: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5472: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5473: , p_mesg_token_tbl => l_mesg_token_tbl
5474: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5475: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5476: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5477: , p_other_message => l_other_message
5478: , p_other_token_tbl => l_other_token_tbl
5479: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

Line 5476: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5472: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5473: , p_mesg_token_tbl => l_mesg_token_tbl
5474: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5475: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5476: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5477: , p_other_message => l_other_message
5478: , p_other_token_tbl => l_other_token_tbl
5479: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5480: , p_entity_index => I

Line 5479: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5475: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5476: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5477: , p_other_message => l_other_message
5478: , p_other_token_tbl => l_other_token_tbl
5479: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5480: , p_entity_index => I
5481: , x_eam_wo_rec => l_eam_wo_rec
5482: , x_eam_op_tbl => l_eam_op_tbl
5483: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5509: EAM_ERROR_MESSAGE_PVT.Log_Error

5505: WHEN EXC_SEV_SKIP_BRANCH THEN
5506: l_out_eam_res_tbl := l_eam_res_tbl;
5507: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5508: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5509: EAM_ERROR_MESSAGE_PVT.Log_Error
5510: ( p_eam_res_tbl => l_eam_res_tbl
5511: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5512: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5513: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5514: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5510: ( p_eam_res_tbl => l_eam_res_tbl
5511: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5512: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5513: , p_mesg_token_tbl => l_mesg_token_tbl
5514: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5515: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5516: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
5517: , p_other_message => l_other_message
5518: , p_other_token_tbl => l_other_token_tbl

Line 5515: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

5511: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5512: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5513: , p_mesg_token_tbl => l_mesg_token_tbl
5514: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5515: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5516: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
5517: , p_other_message => l_other_message
5518: , p_other_token_tbl => l_other_token_tbl
5519: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

Line 5516: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

5512: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5513: , p_mesg_token_tbl => l_mesg_token_tbl
5514: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5515: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5516: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
5517: , p_other_message => l_other_message
5518: , p_other_token_tbl => l_other_token_tbl
5519: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5520: , p_entity_index => I

Line 5519: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5515: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5516: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
5517: , p_other_message => l_other_message
5518: , p_other_token_tbl => l_other_token_tbl
5519: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5520: , p_entity_index => I
5521: , x_eam_wo_rec => l_eam_wo_rec
5522: , x_eam_op_tbl => l_eam_op_tbl
5523: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5551: EAM_ERROR_MESSAGE_PVT.Log_Error

5547: WHEN EXC_SEV_QUIT_SIBLINGS THEN
5548: l_out_eam_res_tbl := l_eam_res_tbl;
5549: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5550: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5551: EAM_ERROR_MESSAGE_PVT.Log_Error
5552: ( p_eam_res_tbl => l_eam_res_tbl
5553: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5554: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5555: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5556: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5552: ( p_eam_res_tbl => l_eam_res_tbl
5553: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5554: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5555: , p_mesg_token_tbl => l_mesg_token_tbl
5556: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5557: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
5558: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5559: , p_other_message => l_other_message
5560: , p_other_token_tbl => l_other_token_tbl

Line 5557: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

5553: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5554: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5555: , p_mesg_token_tbl => l_mesg_token_tbl
5556: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5557: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
5558: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5559: , p_other_message => l_other_message
5560: , p_other_token_tbl => l_other_token_tbl
5561: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

Line 5558: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5554: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5555: , p_mesg_token_tbl => l_mesg_token_tbl
5556: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5557: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
5558: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5559: , p_other_message => l_other_message
5560: , p_other_token_tbl => l_other_token_tbl
5561: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5562: , p_entity_index => I

Line 5561: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5557: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
5558: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5559: , p_other_message => l_other_message
5560: , p_other_token_tbl => l_other_token_tbl
5561: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5562: , p_entity_index => I
5563: , x_eam_wo_rec => l_eam_wo_rec
5564: , x_eam_op_tbl => l_eam_op_tbl
5565: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5593: EAM_ERROR_MESSAGE_PVT.Log_Error

5589: WHEN EXC_FAT_QUIT_BRANCH THEN
5590: l_out_eam_res_tbl := l_eam_res_tbl;
5591: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5592: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5593: EAM_ERROR_MESSAGE_PVT.Log_Error
5594: ( p_eam_res_tbl => l_eam_res_tbl
5595: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5596: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5597: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5598: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

5594: ( p_eam_res_tbl => l_eam_res_tbl
5595: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5596: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5597: , p_mesg_token_tbl => l_mesg_token_tbl
5598: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5599: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5600: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5601: , p_other_message => l_other_message
5602: , p_other_token_tbl => l_other_token_tbl

Line 5599: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

5595: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5596: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5597: , p_mesg_token_tbl => l_mesg_token_tbl
5598: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5599: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5600: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5601: , p_other_message => l_other_message
5602: , p_other_token_tbl => l_other_token_tbl
5603: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

Line 5600: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

5596: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5597: , p_mesg_token_tbl => l_mesg_token_tbl
5598: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5599: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5600: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5601: , p_other_message => l_other_message
5602: , p_other_token_tbl => l_other_token_tbl
5603: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5604: , p_entity_index => I

Line 5603: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5599: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
5600: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5601: , p_other_message => l_other_message
5602: , p_other_token_tbl => l_other_token_tbl
5603: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5604: , p_entity_index => I
5605: , x_eam_wo_rec => l_eam_wo_rec
5606: , x_eam_op_tbl => l_eam_op_tbl
5607: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5622: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

5618:
5619:
5620:
5621: l_process_children := FALSE ;
5622: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
5623: x_mesg_token_tbl := l_mesg_token_tbl ;
5624: x_eam_res_tbl := l_eam_res_tbl;
5625: x_eam_res_inst_tbl := l_eam_res_inst_tbl;
5626:

Line 5633: EAM_ERROR_MESSAGE_PVT.Log_Error

5629: WHEN EXC_FAT_QUIT_SIBLINGS THEN
5630: l_out_eam_res_tbl := l_eam_res_tbl;
5631: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5632: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5633: EAM_ERROR_MESSAGE_PVT.Log_Error
5634: ( p_eam_res_tbl => l_eam_res_tbl
5635: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5636: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5637: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5638: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

5634: ( p_eam_res_tbl => l_eam_res_tbl
5635: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5636: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5637: , p_mesg_token_tbl => l_mesg_token_tbl
5638: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5639: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
5640: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5641: , p_other_message => l_other_message
5642: , p_other_token_tbl => l_other_token_tbl

Line 5639: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

5635: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5636: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5637: , p_mesg_token_tbl => l_mesg_token_tbl
5638: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5639: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
5640: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5641: , p_other_message => l_other_message
5642: , p_other_token_tbl => l_other_token_tbl
5643: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

Line 5640: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

5636: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5637: , p_mesg_token_tbl => l_mesg_token_tbl
5638: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5639: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
5640: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5641: , p_other_message => l_other_message
5642: , p_other_token_tbl => l_other_token_tbl
5643: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5644: , p_entity_index => I

Line 5643: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5639: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
5640: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
5641: , p_other_message => l_other_message
5642: , p_other_token_tbl => l_other_token_tbl
5643: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5644: , p_entity_index => I
5645: , x_eam_wo_rec => l_eam_wo_rec
5646: , x_eam_op_tbl => l_eam_op_tbl
5647: , x_eam_op_network_tbl => l_eam_op_network_tbl

Line 5661: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

5657: l_eam_res_inst_tbl := l_out_eam_res_inst_tbl;
5658:
5659:
5660: l_process_children := FALSE ;
5661: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
5662: x_mesg_token_tbl := l_mesg_token_tbl ;
5663: x_eam_res_tbl := l_eam_res_tbl;
5664: x_eam_res_inst_tbl := l_eam_res_inst_tbl;
5665:

Line 5672: EAM_ERROR_MESSAGE_PVT.Log_Error

5668: WHEN EXC_UNEXP_SKIP_OBJECT THEN
5669: l_out_eam_res_tbl := l_eam_res_tbl;
5670: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
5671: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5672: EAM_ERROR_MESSAGE_PVT.Log_Error
5673: ( p_eam_res_tbl => l_eam_res_tbl
5674: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5675: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5676: , p_mesg_token_tbl => l_mesg_token_tbl

Line 5677: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

5673: ( p_eam_res_tbl => l_eam_res_tbl
5674: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5675: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5676: , p_mesg_token_tbl => l_mesg_token_tbl
5677: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5678: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
5679: , p_other_message => l_other_message
5680: , p_other_token_tbl => l_other_token_tbl
5681: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

Line 5678: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

5674: , p_eam_res_inst_tbl => l_eam_res_inst_tbl
5675: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
5676: , p_mesg_token_tbl => l_mesg_token_tbl
5677: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5678: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
5679: , p_other_message => l_other_message
5680: , p_other_token_tbl => l_other_token_tbl
5681: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5682: , x_eam_wo_rec => l_eam_wo_rec

Line 5681: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL

5677: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5678: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
5679: , p_other_message => l_other_message
5680: , p_other_token_tbl => l_other_token_tbl
5681: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_RES_LEVEL
5682: , x_eam_wo_rec => l_eam_wo_rec
5683: , x_eam_op_tbl => l_eam_op_tbl
5684: , x_eam_op_network_tbl => l_eam_op_network_tbl
5685: , x_eam_res_tbl => l_out_eam_res_tbl

Line 5714: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.OPERATION_RESOURCES : End Return status: '||NVL(l_return_status, 'S')||' ===================') ; END IF ;

5710:
5711:
5712: END LOOP; -- END Resources processing loop
5713:
5714: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.OPERATION_RESOURCES : End Return status: '||NVL(l_return_status, 'S')||' ===================') ; END IF ;
5715:
5716:
5717: -- Load OUT parameters
5718: IF NVL(l_return_status, 'S') <> 'S'

Line 5765: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

5761: , x_eam_direct_items_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type
5762: , x_schedule_wo IN OUT NOCOPY NUMBER
5763: , x_bottomup_scheduled IN OUT NOCOPY NUMBER
5764: , x_material_shortage IN OUT NOCOPY NUMBER
5765: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
5766: , x_return_status OUT NOCOPY VARCHAR2
5767: )
5768: IS
5769:

Line 5797: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

5793: l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
5794: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
5795:
5796: /* Error Handling Variables */
5797: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
5798: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
5799: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
5800: l_other_message VARCHAR2(2000);
5801: l_err_text VARCHAR2(2000);

Line 5798: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

5794: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
5795:
5796: /* Error Handling Variables */
5797: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
5798: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
5799: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
5800: l_other_message VARCHAR2(2000);
5801: l_err_text VARCHAR2(2000);
5802: l_out_Mesg_Token_Tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

Line 5799: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

5795:
5796: /* Error Handling Variables */
5797: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
5798: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
5799: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
5800: l_other_message VARCHAR2(2000);
5801: l_err_text VARCHAR2(2000);
5802: l_out_Mesg_Token_Tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
5803:

Line 5802: l_out_Mesg_Token_Tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

5798: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
5799: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
5800: l_other_message VARCHAR2(2000);
5801: l_err_text VARCHAR2(2000);
5802: l_out_Mesg_Token_Tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
5803:
5804: /* Others */
5805: l_return_status VARCHAR2(1) ;
5806: l_bo_return_status VARCHAR2(1) ;

Line 5816: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.WO_OPERATIONS : Start=== '||p_eam_op_tbl.COUNT ||' records passed =======================') ; END IF ;

5812:
5813:
5814: BEGIN
5815:
5816: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.WO_OPERATIONS : Start=== '||p_eam_op_tbl.COUNT ||' records passed =======================') ; END IF ;
5817:
5818:
5819: x_return_status := FND_API.G_RET_STS_SUCCESS;
5820:

Line 5830: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

5826:
5827: FOR I IN 1..l_eam_op_tbl.COUNT LOOP
5828: BEGIN
5829:
5830: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
5831:
5832: -- Load local records.
5833: l_eam_op_rec := l_eam_op_tbl(I);
5834:

Line 5866: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;

5862: )
5863: )
5864: THEN
5865:
5866: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Return status validation passed') ; END IF ;
5867:
5868: l_return_status := FND_API.G_RET_STS_SUCCESS;
5869: l_eam_op_rec.return_status := FND_API.G_RET_STS_SUCCESS;
5870:

Line 5881: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

5877: );
5878:
5879: IF NOT l_valid_transaction
5880: THEN
5881: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
5882: RAISE EXC_SEV_QUIT_RECORD ;
5883: END IF ;
5884:
5885: EAM_OP_VALIDATE_PVT.Check_Existence

Line 5892: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;

5888: , x_mesg_token_tbl => l_mesg_token_tbl
5889: , x_return_status => l_return_status
5890: ) ;
5891:
5892: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
5893:
5894: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5895: THEN
5896: l_other_message := 'EAM_OP_EXS_SEV_SKIP';

Line 5894: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5890: ) ;
5891:
5892: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check Existence completed with return_status: ' || l_return_status) ; END IF ;
5893:
5894: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5895: THEN
5896: l_other_message := 'EAM_OP_EXS_SEV_SKIP';
5897: l_other_token_tbl(1).token_name := 'OP_SEQ_NUMBER';
5898: l_other_token_tbl(1).token_value := l_eam_op_rec.operation_seq_num;

Line 5902: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

5898: l_other_token_tbl(1).token_value := l_eam_op_rec.operation_seq_num;
5899: l_other_token_tbl(2).token_name := 'WIP_ENTITY_ID';
5900: l_other_token_tbl(2).token_value := l_eam_op_rec.wip_entity_id;
5901: RAISE EXC_SEV_QUIT_BRANCH;
5902: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5903: THEN
5904: l_other_message := 'EAM_OP_EXS_UNEXP_SKIP';
5905: l_other_token_tbl(1).token_name := 'OP_SEQ_NUMBER';
5906: l_other_token_tbl(1).token_value := l_eam_op_rec.operation_seq_num ;

Line 5921: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;

5917:
5918: IF l_eam_op_rec.transaction_type IN (EAM_PROCESS_WO_PVT.G_OPR_UPDATE, EAM_PROCESS_WO_PVT.G_OPR_DELETE)
5919: THEN
5920:
5921: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Populate NULL columns') ;
5922: END IF ;
5923:
5924: l_out_eam_op_rec := l_eam_op_rec;
5925: EAM_OP_DEFAULT_PVT.Populate_Null_Columns

Line 5945: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug

5941: , x_return_status => l_return_status
5942: ) ;
5943: l_eam_op_rec := l_out_eam_op_rec;
5944:
5945: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug
5946: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
5947: END IF ;
5948:
5949:

Line 5950: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

5946: ('Attribute Defaulting completed with return_status: ' || l_return_status) ;
5947: END IF ;
5948:
5949:
5950: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
5951: THEN
5952: l_other_message := 'EAM_OP_ATTDEF_CSEV_SKIP';
5953: l_other_token_tbl(1).token_name := 'OP_SEQ_NUMBER';
5954: l_other_token_tbl(1).token_value :=

Line 5958: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

5954: l_other_token_tbl(1).token_value :=
5955: l_eam_op_rec.OPERATION_SEQ_NUM ;
5956: RAISE EXC_SEV_SKIP_BRANCH ;
5957:
5958: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
5959: THEN
5960: l_other_message := 'EAM_OP_ATTDEF_UNEXP_SKIP';
5961: l_other_token_tbl(1).token_name := 'OP_SEQ_NUMBER';
5962: l_other_token_tbl(1).token_value :=

Line 5974: EAM_ERROR_MESSAGE_PVT.Log_Error

5970: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
5971: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
5972: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
5973: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
5974: EAM_ERROR_MESSAGE_PVT.Log_Error
5975: ( p_eam_op_tbl => l_eam_op_tbl
5976: , p_eam_op_network_tbl => l_eam_op_network_tbl
5977: , p_eam_res_tbl => l_eam_res_tbl
5978: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 5984: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

5980: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
5981: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
5982: , p_mesg_token_tbl => l_mesg_token_tbl
5983: , p_error_status => 'W'
5984: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
5985: , p_entity_index => I
5986: , x_eam_wo_rec => l_eam_wo_rec
5987: , x_eam_op_tbl => l_out_eam_op_tbl
5988: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6013: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;

6009: , x_return_status => l_return_status
6010: , x_mesg_token_tbl => l_mesg_token_tbl
6011: ) ;
6012:
6013: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
6014:
6015:
6016: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6017: THEN

Line 6016: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

6012:
6013: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Check required completed with return_status: ' || l_return_status) ; END IF ;
6014:
6015:
6016: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6017: THEN
6018: IF l_eam_op_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
6019: THEN
6020: l_other_message := 'EAM_OP_REQ_CSEV_SKIP';

Line 6027: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

6023: RAISE EXC_SEV_SKIP_BRANCH ;
6024: ELSE
6025: RAISE EXC_SEV_QUIT_RECORD ;
6026: END IF;
6027: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
6028: THEN
6029: l_other_message := 'EAM_OP_REQ_UNEXP_SKIP';
6030: l_other_token_tbl(1).token_name := 'OP_SEQ_NUMBER';
6031: l_other_token_tbl(1).token_value := l_eam_op_rec.OPERATION_SEQ_NUM ;

Line 6043: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;

6039: , x_return_status => l_return_status
6040: , x_mesg_token_tbl => l_mesg_token_tbl
6041: ) ;
6042:
6043: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
6044:
6045: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6046: THEN
6047: IF l_eam_op_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE

Line 6045: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

6041: ) ;
6042:
6043: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute validation completed with return_status: ' || l_return_status) ; END IF ;
6044:
6045: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6046: THEN
6047: IF l_eam_op_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
6048: THEN
6049: l_other_message := 'EAM_OP_ATTVAL_CSEV_SKIP';

Line 6057: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

6053: RAISE EXC_SEV_SKIP_BRANCH ;
6054: ELSE
6055: RAISE EXC_SEV_QUIT_RECORD ;
6056: END IF;
6057: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
6058: THEN
6059: l_other_message := 'EAM_OP_ATTVAL_UNEXP_SKIP';
6060: l_other_token_tbl(1).token_name := 'OP_SEQ_NUMBER';
6061: l_other_token_tbl(1).token_value :=

Line 6073: EAM_ERROR_MESSAGE_PVT.Log_Error

6069: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
6070: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6071: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6072: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6073: EAM_ERROR_MESSAGE_PVT.Log_Error
6074: ( p_eam_op_tbl => l_eam_op_tbl
6075: , p_eam_op_network_tbl => l_eam_op_network_tbl
6076: , p_eam_res_tbl => l_eam_res_tbl
6077: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6083: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6079: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6080: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6081: , p_mesg_token_tbl => l_mesg_token_tbl
6082: , p_error_status => 'W'
6083: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6084: , p_entity_index => I
6085: , x_eam_wo_rec => l_eam_wo_rec
6086: , x_eam_op_tbl => l_out_eam_op_tbl
6087: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6142: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

6138: , x_return_status => l_return_status
6139: ) ;
6140:
6141:
6142: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
6143: THEN
6144: l_other_message := 'EAM_OP_WRITES_UNEXP_SKIP';
6145: l_other_token_tbl(1).token_name := 'OP_SEQ_NUMBER';
6146: l_other_token_tbl(1).token_value :=

Line 6160: EAM_ERROR_MESSAGE_PVT.Log_Error

6156: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6157: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6158: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6159: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6160: EAM_ERROR_MESSAGE_PVT.Log_Error
6161: ( p_eam_op_tbl => l_eam_op_tbl
6162: , p_eam_op_network_tbl => l_eam_op_network_tbl
6163: , p_eam_res_tbl => l_eam_res_tbl
6164: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6171: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6167: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6168: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6169: , p_mesg_token_tbl => l_mesg_token_tbl
6170: , p_error_status => 'W'
6171: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6172: , p_entity_index => I
6173: , x_eam_wo_rec => l_eam_wo_rec
6174: , x_eam_op_tbl => l_out_eam_op_tbl
6175: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6193: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operations Database writes completed with status ' || l_return_status); END IF;

6189: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
6190: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
6191: END IF;
6192:
6193: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operations Database writes completed with status ' || l_return_status); END IF;
6194:
6195:
6196: --find if scheduler is to be called or not
6197: IF(x_schedule_wo = G_NOT_SCHEDULE_WO) THEN

Line 6214: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;

6210: END IF;
6211:
6212: ELSE
6213:
6214: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Skipping '|| I || ' record') ; END IF ;
6215:
6216: END IF; -- END IF statement that checks RETURN STATUS
6217:
6218: -- Load tables.

Line 6236: EAM_ERROR_MESSAGE_PVT.Log_Error

6232: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6233: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6234: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6235: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6236: EAM_ERROR_MESSAGE_PVT.Log_Error
6237: ( p_eam_op_tbl => l_eam_op_tbl
6238: , p_eam_op_network_tbl => l_eam_op_network_tbl
6239: , p_eam_res_tbl => l_eam_res_tbl
6240: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6246: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

6242: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
6243: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6244: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6245: , p_mesg_token_tbl => l_mesg_token_tbl
6246: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6247: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
6248: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6249: , p_entity_index => I
6250: , x_eam_wo_rec => l_eam_wo_rec

Line 6247: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

6243: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6244: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6245: , p_mesg_token_tbl => l_mesg_token_tbl
6246: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6247: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
6248: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6249: , p_entity_index => I
6250: , x_eam_wo_rec => l_eam_wo_rec
6251: , x_eam_op_tbl => l_out_eam_op_tbl

Line 6248: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6244: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6245: , p_mesg_token_tbl => l_mesg_token_tbl
6246: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6247: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
6248: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6249: , p_entity_index => I
6250: , x_eam_wo_rec => l_eam_wo_rec
6251: , x_eam_op_tbl => l_out_eam_op_tbl
6252: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6295: EAM_ERROR_MESSAGE_PVT.Log_Error

6291: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6292: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6293: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6294: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6295: EAM_ERROR_MESSAGE_PVT.Log_Error
6296: ( p_eam_op_tbl => l_eam_op_tbl
6297: , p_eam_op_network_tbl => l_eam_op_network_tbl
6298: , p_eam_res_tbl => l_eam_res_tbl
6299: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6305: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

6301: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
6302: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6303: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6304: , p_mesg_token_tbl => l_mesg_token_tbl
6305: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6306: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6307: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6308: , p_other_message => l_other_message
6309: , p_other_token_tbl => l_other_token_tbl

Line 6306: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

6302: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6303: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6304: , p_mesg_token_tbl => l_mesg_token_tbl
6305: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6306: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6307: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6308: , p_other_message => l_other_message
6309: , p_other_token_tbl => l_other_token_tbl
6310: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

Line 6307: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

6303: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6304: , p_mesg_token_tbl => l_mesg_token_tbl
6305: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6306: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6307: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6308: , p_other_message => l_other_message
6309: , p_other_token_tbl => l_other_token_tbl
6310: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6311: , p_entity_index => I

Line 6310: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6306: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6307: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6308: , p_other_message => l_other_message
6309: , p_other_token_tbl => l_other_token_tbl
6310: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6311: , p_entity_index => I
6312: , x_eam_wo_rec => l_eam_wo_rec
6313: , x_eam_op_tbl => l_out_eam_op_tbl
6314: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6358: EAM_ERROR_MESSAGE_PVT.Log_Error

6354: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6355: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6356: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6357: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6358: EAM_ERROR_MESSAGE_PVT.Log_Error
6359: ( p_eam_op_tbl => l_eam_op_tbl
6360: , p_eam_op_network_tbl => l_eam_op_network_tbl
6361: , p_eam_res_tbl => l_eam_res_tbl
6362: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6368: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

6364: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
6365: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6366: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6367: , p_mesg_token_tbl => l_mesg_token_tbl
6368: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6369: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6370: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
6371: , p_other_message => l_other_message
6372: , p_other_token_tbl => l_other_token_tbl

Line 6369: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

6365: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6366: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6367: , p_mesg_token_tbl => l_mesg_token_tbl
6368: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6369: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6370: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
6371: , p_other_message => l_other_message
6372: , p_other_token_tbl => l_other_token_tbl
6373: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

Line 6370: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

6366: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6367: , p_mesg_token_tbl => l_mesg_token_tbl
6368: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6369: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6370: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
6371: , p_other_message => l_other_message
6372: , p_other_token_tbl => l_other_token_tbl
6373: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6374: , p_entity_index => I

Line 6373: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6369: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6370: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
6371: , p_other_message => l_other_message
6372: , p_other_token_tbl => l_other_token_tbl
6373: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6374: , p_entity_index => I
6375: , x_eam_wo_rec => l_eam_wo_rec
6376: , x_eam_op_tbl => l_out_eam_op_tbl
6377: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6421: EAM_ERROR_MESSAGE_PVT.Log_Error

6417: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6418: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6419: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6420: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6421: EAM_ERROR_MESSAGE_PVT.Log_Error
6422: ( p_eam_op_tbl => l_eam_op_tbl
6423: , p_eam_op_network_tbl => l_eam_op_network_tbl
6424: , p_eam_res_tbl => l_eam_res_tbl
6425: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6431: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

6427: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
6428: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6429: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6430: , p_mesg_token_tbl => l_mesg_token_tbl
6431: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6432: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
6433: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6434: , p_other_message => l_other_message
6435: , p_other_token_tbl => l_other_token_tbl

Line 6432: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

6428: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6429: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6430: , p_mesg_token_tbl => l_mesg_token_tbl
6431: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6432: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
6433: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6434: , p_other_message => l_other_message
6435: , p_other_token_tbl => l_other_token_tbl
6436: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

Line 6433: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

6429: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6430: , p_mesg_token_tbl => l_mesg_token_tbl
6431: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6432: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
6433: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6434: , p_other_message => l_other_message
6435: , p_other_token_tbl => l_other_token_tbl
6436: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6437: , p_entity_index => I

Line 6436: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6432: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
6433: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
6434: , p_other_message => l_other_message
6435: , p_other_token_tbl => l_other_token_tbl
6436: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6437: , p_entity_index => I
6438: , x_eam_wo_rec => l_eam_wo_rec
6439: , x_eam_op_tbl => l_out_eam_op_tbl
6440: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6484: EAM_ERROR_MESSAGE_PVT.Log_Error

6480: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6481: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6482: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6483: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6484: EAM_ERROR_MESSAGE_PVT.Log_Error
6485: ( p_eam_op_tbl => l_eam_op_tbl
6486: , p_eam_op_network_tbl => l_eam_op_network_tbl
6487: , p_eam_res_tbl => l_eam_res_tbl
6488: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6494: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

6490: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
6491: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6492: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6493: , p_mesg_token_tbl => l_mesg_token_tbl
6494: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6495: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6496: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6497: , p_other_message => l_other_message
6498: , p_other_token_tbl => l_other_token_tbl

Line 6495: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN

6491: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6492: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6493: , p_mesg_token_tbl => l_mesg_token_tbl
6494: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6495: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6496: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6497: , p_other_message => l_other_message
6498: , p_other_token_tbl => l_other_token_tbl
6499: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

Line 6496: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

6492: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6493: , p_mesg_token_tbl => l_mesg_token_tbl
6494: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6495: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6496: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6497: , p_other_message => l_other_message
6498: , p_other_token_tbl => l_other_token_tbl
6499: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6500: , p_entity_index => I

Line 6499: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6495: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_CHILDREN
6496: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6497: , p_other_message => l_other_message
6498: , p_other_token_tbl => l_other_token_tbl
6499: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6500: , p_entity_index => I
6501: , x_eam_wo_rec => l_eam_wo_rec
6502: , x_eam_op_tbl => l_out_eam_op_tbl
6503: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6522: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

6518: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
6519:
6520:
6521: l_process_children := FALSE ;
6522: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
6523: x_mesg_token_tbl := l_mesg_token_tbl ;
6524: x_eam_op_tbl := l_eam_op_tbl;
6525: x_eam_op_network_tbl := l_eam_op_network_tbl;
6526: x_eam_res_tbl := l_eam_res_tbl;

Line 6544: EAM_ERROR_MESSAGE_PVT.Log_Error

6540: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6541: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6542: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6543: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6544: EAM_ERROR_MESSAGE_PVT.Log_Error
6545: ( p_eam_op_tbl => l_eam_op_tbl
6546: , p_eam_op_network_tbl => l_eam_op_network_tbl
6547: , p_eam_res_tbl => l_eam_res_tbl
6548: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6554: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

6550: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
6551: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6552: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6553: , p_mesg_token_tbl => l_mesg_token_tbl
6554: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6555: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
6556: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6557: , p_other_message => l_other_message
6558: , p_other_token_tbl => l_other_token_tbl

Line 6555: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS

6551: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6552: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6553: , p_mesg_token_tbl => l_mesg_token_tbl
6554: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6555: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
6556: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6557: , p_other_message => l_other_message
6558: , p_other_token_tbl => l_other_token_tbl
6559: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

Line 6556: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL

6552: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6553: , p_mesg_token_tbl => l_mesg_token_tbl
6554: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6555: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
6556: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6557: , p_other_message => l_other_message
6558: , p_other_token_tbl => l_other_token_tbl
6559: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6560: , p_entity_index => I

Line 6559: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6555: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_SIBLINGS
6556: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL
6557: , p_other_message => l_other_message
6558: , p_other_token_tbl => l_other_token_tbl
6559: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6560: , p_entity_index => I
6561: , x_eam_wo_rec => l_eam_wo_rec
6562: , x_eam_op_tbl => l_out_eam_op_tbl
6563: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 6582: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;

6578: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
6579:
6580:
6581: l_process_children := FALSE ;
6582: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_FATAL;
6583: x_mesg_token_tbl := l_mesg_token_tbl ;
6584: x_eam_op_tbl := l_eam_op_tbl;
6585: x_eam_op_network_tbl := l_eam_op_network_tbl;
6586: x_eam_res_tbl := l_eam_res_tbl;

Line 6603: EAM_ERROR_MESSAGE_PVT.Log_Error

6599: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6600: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6601: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6602: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6603: EAM_ERROR_MESSAGE_PVT.Log_Error
6604: ( p_eam_op_tbl => l_eam_op_tbl
6605: , p_eam_op_network_tbl => l_eam_op_network_tbl
6606: , p_eam_res_tbl => l_eam_res_tbl
6607: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 6613: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

6609: , p_eam_res_usage_tbl => l_eam_res_usage_tbl
6610: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6611: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6612: , p_mesg_token_tbl => l_mesg_token_tbl
6613: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
6614: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
6615: , p_other_message => l_other_message
6616: , p_other_token_tbl => l_other_token_tbl
6617: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

Line 6614: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED

6610: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
6611: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
6612: , p_mesg_token_tbl => l_mesg_token_tbl
6613: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
6614: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
6615: , p_other_message => l_other_message
6616: , p_other_token_tbl => l_other_token_tbl
6617: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6618: , x_eam_wo_rec => l_eam_wo_rec

Line 6617: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL

6613: , p_error_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
6614: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_NOT_PICKED
6615: , p_other_message => l_other_message
6616: , p_other_token_tbl => l_other_token_tbl
6617: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_OP_LEVEL
6618: , x_eam_wo_rec => l_eam_wo_rec
6619: , x_eam_op_tbl => l_out_eam_op_tbl
6620: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
6621: , x_eam_res_tbl => l_out_eam_res_tbl

Line 6662: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling OPERATION_RESOURCES from WO_OPERATIONS') ; END IF ;

6658: IF l_process_children
6659: THEN
6660:
6661: -- Process Resources that are direct children of this Operation
6662: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling OPERATION_RESOURCES from WO_OPERATIONS') ; END IF ;
6663:
6664: l_out_eam_res_tbl := l_eam_res_tbl;
6665: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
6666: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;

Line 6703: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling SUB_RESOURCES from WO_OPERATIONS') ; END IF ;

6699:
6700:
6701: -- Process Sub Resource that are direct children of this operation
6702:
6703: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling SUB_RESOURCES from WO_OPERATIONS') ; END IF ;
6704:
6705: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
6706: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
6707:

Line 6736: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling MATERIAL_REQUIREMENTS from WO_OPERATIONS') ; END IF ;

6732: END IF;
6733:
6734:
6735: -- Process Material requirements that are direct children of this Operation
6736: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling MATERIAL_REQUIREMENTS from WO_OPERATIONS') ; END IF ;
6737:
6738: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
6739:
6740: MATERIAL_REQUIREMENTS

Line 6769: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling DIRECT_ITEMS

6765:
6766:
6767:
6768: -- Process Direct Items that are direct children of this Operation
6769: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling DIRECT_ITEMS
6770: from WO_OPERATIONS') ; END IF ;
6771:
6772: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
6773:

Line 6806: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.WO_OPERATIONS : End Return status: '||NVL(l_return_status, 'S')||' ==========================') ; END IF ;

6802:
6803:
6804: END LOOP; -- END Operation processing loop
6805:
6806: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.WO_OPERATIONS : End Return status: '||NVL(l_return_status, 'S')||' ==========================') ; END IF ;
6807:
6808: -- Load OUT parameters
6809: IF NVL(l_return_status, 'S') <> 'S'
6810: THEN

Line 6833: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : Start========================== ');

6829:
6830: BEGIN
6831:
6832: IF GET_DEBUG = 'Y' THEN
6833: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : Start========================== ');
6834: EAM_ERROR_MESSAGE_PVT.Write_Debug('======================================================================================================================================================');
6835: EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order : '||p_eam_wo_rec.wip_entity_name);
6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);
6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');

Line 6834: EAM_ERROR_MESSAGE_PVT.Write_Debug('======================================================================================================================================================');

6830: BEGIN
6831:
6832: IF GET_DEBUG = 'Y' THEN
6833: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : Start========================== ');
6834: EAM_ERROR_MESSAGE_PVT.Write_Debug('======================================================================================================================================================');
6835: EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order : '||p_eam_wo_rec.wip_entity_name);
6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);
6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');
6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);

Line 6835: EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order : '||p_eam_wo_rec.wip_entity_name);

6831:
6832: IF GET_DEBUG = 'Y' THEN
6833: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : Start========================== ');
6834: EAM_ERROR_MESSAGE_PVT.Write_Debug('======================================================================================================================================================');
6835: EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order : '||p_eam_wo_rec.wip_entity_name);
6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);
6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');
6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);
6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);

Line 6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);

6832: IF GET_DEBUG = 'Y' THEN
6833: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : Start========================== ');
6834: EAM_ERROR_MESSAGE_PVT.Write_Debug('======================================================================================================================================================');
6835: EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order : '||p_eam_wo_rec.wip_entity_name);
6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);
6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');
6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);
6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);
6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);

Line 6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');

6833: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : Start========================== ');
6834: EAM_ERROR_MESSAGE_PVT.Write_Debug('======================================================================================================================================================');
6835: EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order : '||p_eam_wo_rec.wip_entity_name);
6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);
6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');
6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);
6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);
6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);
6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);

Line 6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);

6834: EAM_ERROR_MESSAGE_PVT.Write_Debug('======================================================================================================================================================');
6835: EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order : '||p_eam_wo_rec.wip_entity_name);
6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);
6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');
6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);
6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);
6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);
6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);
6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);

Line 6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);

6835: EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order : '||p_eam_wo_rec.wip_entity_name);
6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);
6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');
6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);
6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);
6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);
6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);
6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);
6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);

Line 6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);

6836: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Entity Id : '||p_eam_wo_rec.wip_entity_id);
6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');
6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);
6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);
6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);
6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);
6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);
6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);
6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);

Line 6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);

6837: EAM_ERROR_MESSAGE_PVT.Write_Debug('Transaction Type : '||p_eam_wo_rec.transaction_type ||' (1:Create / 2:Update / 3:Delete / 4:Complete / 5:UnComplete)');
6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);
6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);
6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);
6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);
6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);
6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);
6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);
6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha

Line 6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);

6838: EAM_ERROR_MESSAGE_PVT.Write_Debug('Organization Id : '||p_eam_wo_rec.organization_id);
6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);
6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);
6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);
6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);
6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);
6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);
6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha
6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);

Line 6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);

6839: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Number : '||p_eam_wo_rec.asset_number);
6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);
6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);
6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);
6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);
6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);
6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha
6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);
6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);

Line 6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);

6840: EAM_ERROR_MESSAGE_PVT.Write_Debug('Asset Group Id : '||p_eam_wo_rec.asset_group_id);
6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);
6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);
6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);
6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);
6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha
6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);
6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);
6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');

Line 6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha

6841: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Serial No : '||p_eam_wo_rec.rebuild_serial_number);
6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);
6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);
6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);
6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha
6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);
6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);
6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');
6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');

Line 6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);

6842: EAM_ERROR_MESSAGE_PVT.Write_Debug('Rebuildable Item Id : '||p_eam_wo_rec.rebuild_item_id);
6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);
6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);
6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha
6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);
6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);
6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');
6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');
6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);

Line 6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);

6843: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Id : '||p_eam_wo_rec.asset_activity_id);
6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);
6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha
6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);
6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);
6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');
6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');
6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);
6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);

Line 6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');

6844: EAM_ERROR_MESSAGE_PVT.Write_Debug('Owning Department : '||p_eam_wo_rec.owning_department);
6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha
6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);
6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);
6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');
6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');
6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);
6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);
6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);

Line 6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');

6845: EAM_ERROR_MESSAGE_PVT.Write_Debug('Planner : '||p_eam_wo_rec.planner_type); --vardha
6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);
6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);
6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');
6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');
6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);
6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);
6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);
6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));

Line 6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);

6846: EAM_ERROR_MESSAGE_PVT.Write_Debug('WIP Accounting ClassCode : '||p_eam_wo_rec.class_code);
6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);
6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');
6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');
6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);
6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);
6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);
6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));
6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));

Line 6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);

6847: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Description : '||p_eam_wo_rec.description);
6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');
6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');
6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);
6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);
6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);
6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));
6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));
6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));

Line 6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);

6848: EAM_ERROR_MESSAGE_PVT.Write_Debug('System Status Id : '||p_eam_wo_rec.status_type||' ( 17 : Draft / 1 : Unreleased / 3 : Released/4 : Complete - Charges allowed/ 5 :Complete - no charges allowed / 6 : Hold - no charges allowed)');
6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');
6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);
6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);
6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);
6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));
6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));
6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));
6856:

Line 6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));

6849: EAM_ERROR_MESSAGE_PVT.Write_Debug(' : ( 7 : Cancelled - no charges allowed / 12 : Closed - no charges allowed/ 14 :Pending Close / 15 : Failed Close)');
6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);
6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);
6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);
6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));
6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));
6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));
6856:
6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);

Line 6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));

6850: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Defined Status Id : '||p_eam_wo_rec.USER_DEFINED_STATUS_ID);
6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);
6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);
6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));
6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));
6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));
6856:
6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);
6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);

Line 6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));

6851: EAM_ERROR_MESSAGE_PVT.Write_Debug('Job Quantity : '||p_eam_wo_rec.job_quantity);
6852: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workflow Type : '||p_eam_wo_rec.workflow_type);
6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));
6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));
6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));
6856:
6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);
6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);
6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);

Line 6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);

6853: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Start date : '||to_char(p_eam_wo_rec.scheduled_start_date,'dd-mon-yy hh:mi:ss'));
6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));
6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));
6856:
6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);
6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);
6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);
6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');
6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);

Line 6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);

6854: EAM_ERROR_MESSAGE_PVT.Write_Debug('Scheduled Completion Date : '||to_char(p_eam_wo_rec.scheduled_completion_date,'dd-mon-yy hh:mi:ss'));
6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));
6856:
6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);
6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);
6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);
6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');
6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);
6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);

Line 6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);

6855: EAM_ERROR_MESSAGE_PVT.Write_Debug('Released Date : '|| to_char(p_eam_wo_rec.date_released,'DD-MON-YY HH:MI:SS'));
6856:
6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);
6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);
6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);
6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');
6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);
6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);
6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);

Line 6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');

6856:
6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);
6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);
6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);
6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');
6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);
6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);
6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);
6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);

Line 6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);

6857: EAM_ERROR_MESSAGE_PVT.Write_Debug('Gen Object Id : '||p_eam_wo_rec.gen_object_id);
6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);
6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);
6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');
6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);
6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);
6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);
6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);
6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);

Line 6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);

6858: EAM_ERROR_MESSAGE_PVT.Write_Debug('Parent Wip Entity Id : '||p_eam_wo_rec.parent_wip_entity_id);
6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);
6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');
6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);
6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);
6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);
6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);
6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);
6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);

Line 6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);

6859: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object id : '||p_eam_wo_rec.maintenance_object_id);
6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');
6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);
6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);
6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);
6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);
6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);
6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);
6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);

Line 6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);

6860: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Type : '||p_eam_wo_rec.maintenance_object_type || ' ( 2 : Non Serialized / 3: Serialized )');
6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);
6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);
6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);
6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);
6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);
6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);
6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);
6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);

Line 6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);

6861: EAM_ERROR_MESSAGE_PVT.Write_Debug('Maintenance Object Source : '||p_eam_wo_rec.maintenance_object_source);
6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);
6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);
6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);
6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);
6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);
6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);
6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);
6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);

Line 6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);

6862: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Type : '||p_eam_wo_rec.activity_type);
6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);
6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);
6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);
6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);
6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);
6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);
6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);
6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);

Line 6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);

6863: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Cause : '||p_eam_wo_rec.activity_cause);
6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);
6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);
6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);
6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);
6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);
6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);
6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);
6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);

Line 6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);

6864: EAM_ERROR_MESSAGE_PVT.Write_Debug('Activity Source : '||p_eam_wo_rec.activity_source);
6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);
6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);
6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);
6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);
6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);
6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);
6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);
6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);

Line 6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);

6865: EAM_ERROR_MESSAGE_PVT.Write_Debug('WorkOrder Type : '||p_eam_wo_rec.work_order_type);
6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);
6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);
6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);
6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);
6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);
6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);
6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);
6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);

Line 6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);

6866: EAM_ERROR_MESSAGE_PVT.Write_Debug('Shutdown Type : '||p_eam_wo_rec.shutdown_type);
6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);
6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);
6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);
6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);
6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);
6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);
6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);
6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');

Line 6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);

6867: EAM_ERROR_MESSAGE_PVT.Write_Debug('Firm Planned Flag : '||p_eam_wo_rec.firm_planned_flag);
6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);
6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);
6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);
6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);
6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);
6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);
6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');
6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);

Line 6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);

6868: EAM_ERROR_MESSAGE_PVT.Write_Debug('Notification Required : '||p_eam_wo_rec.notification_required);
6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);
6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);
6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);
6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);
6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);
6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');
6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);
6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);

Line 6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);

6869: EAM_ERROR_MESSAGE_PVT.Write_Debug('Tagout Required : '||p_eam_wo_rec.tagout_required);
6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);
6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);
6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);
6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);
6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');
6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);
6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);
6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));

Line 6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');

6870: EAM_ERROR_MESSAGE_PVT.Write_Debug('Workorder Priority : '||p_eam_wo_rec.priority);
6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);
6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);
6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);
6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');
6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);
6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);
6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));
6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));

Line 6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);

6871: EAM_ERROR_MESSAGE_PVT.Write_Debug('Plan Maintenance : '||p_eam_wo_rec.plan_maintenance);
6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);
6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);
6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');
6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);
6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);
6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));
6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));
6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);

Line 6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);

6872: EAM_ERROR_MESSAGE_PVT.Write_Debug('Project Id : '||p_eam_wo_rec.project_id);
6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);
6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');
6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);
6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);
6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));
6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));
6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);
6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);

Line 6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));

6873: EAM_ERROR_MESSAGE_PVT.Write_Debug('Task Id : '||p_eam_wo_rec.task_id);
6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');
6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);
6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);
6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));
6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));
6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);
6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);
6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);

Line 6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));

6874: EAM_ERROR_MESSAGE_PVT.Write_Debug('Pending Flag : '||p_eam_wo_rec.pending_flag || '(Y : Yes / N : No / '' '': No)');
6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);
6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);
6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));
6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));
6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);
6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);
6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);
6882:

Line 6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);

6875: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Shortage Flag : '||p_eam_wo_rec.material_shortage_flag);
6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);
6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));
6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));
6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);
6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);
6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);
6882:
6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));

Line 6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);

6876: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material_issue_by_mo : '||p_eam_wo_rec.material_issue_by_mo);
6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));
6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));
6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);
6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);
6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);
6882:
6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));
6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));

Line 6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);

6877: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested Start Date : '||to_char(p_eam_wo_rec.pm_suggested_start_date,'dd-mon-yy hh:mi:ss'));
6878: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Suggested End Date : '||to_char(p_eam_wo_rec.pm_suggested_end_date,'DD-MON-YY HH:MI:SS'));
6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);
6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);
6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);
6882:
6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));
6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));
6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));

Line 6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));

6879: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Schedule Id : '||p_eam_wo_rec.pm_schedule_id);
6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);
6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);
6882:
6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));
6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));
6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));
6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));
6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));

Line 6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));

6880: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter Reading : '||p_eam_wo_rec.pm_base_meter_reading);
6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);
6882:
6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));
6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));
6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));
6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));
6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));
6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);

Line 6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));

6881: EAM_ERROR_MESSAGE_PVT.Write_Debug('PM Base Meter : '||p_eam_wo_rec.pm_base_meter);
6882:
6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));
6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));
6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));
6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));
6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));
6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);
6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);

Line 6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));

6882:
6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));
6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));
6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));
6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));
6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));
6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);
6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);
6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);

Line 6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));

6883: EAM_ERROR_MESSAGE_PVT.Write_Debug('Actual Close Date : '||to_char(p_eam_wo_rec.actual_close_date,'DD-MON-YY HH:MI:SS'));
6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));
6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));
6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));
6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));
6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);
6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);
6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);
6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));

Line 6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);

6884: EAM_ERROR_MESSAGE_PVT.Write_Debug('Mat Shortage Check Date : '||to_char(p_eam_wo_rec.material_shortage_check_date,'dd-mon-yy hh:mi:ss'));
6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));
6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));
6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));
6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);
6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);
6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);
6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));
6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));

Line 6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);

6885: EAM_ERROR_MESSAGE_PVT.Write_Debug('Due Date : '||to_char(p_eam_wo_rec.due_date,'dd-mon-yy hh:mi:ss'));
6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));
6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));
6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);
6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);
6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);
6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));
6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));
6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);

Line 6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);

6886: EAM_ERROR_MESSAGE_PVT.Write_Debug('Submission Date : '||to_char(p_eam_wo_rec.submission_date,'dd-mon-yy hh:mi:ss'));
6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));
6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);
6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);
6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);
6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));
6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));
6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);
6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );

Line 6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));

6887: EAM_ERROR_MESSAGE_PVT.Write_Debug('Requested Start Date : '||to_char(p_eam_wo_rec.requested_start_date,'dd-mon-yy hh:mi:ss'));
6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);
6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);
6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);
6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));
6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));
6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);
6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );
6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);

Line 6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));

6888: EAM_ERROR_MESSAGE_PVT.Write_Debug('Schedule GroupId : '||p_eam_wo_rec.schedule_group_id);
6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);
6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);
6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));
6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));
6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);
6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );
6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);
6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);

Line 6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);

6889: EAM_ERROR_MESSAGE_PVT.Write_Debug('AlternateRoutingDesignator: '||p_eam_wo_rec.alternate_routing_designator);
6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);
6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));
6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));
6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);
6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );
6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);
6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);
6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);

Line 6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );

6890: EAM_ERROR_MESSAGE_PVT.Write_Debug('Alternate BOM Designator : '||p_eam_wo_rec.alternate_bom_designator);
6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));
6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));
6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);
6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );
6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);
6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);
6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);
6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);

Line 6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);

6891: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision Date : '||to_char(p_eam_wo_rec.bom_revision_date,'dd-mon-yy hh:mi:ss'));
6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));
6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);
6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );
6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);
6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);
6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);
6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);
6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);

Line 6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);

6892: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision Date : '||to_char(p_eam_wo_rec.routing_revision_date,'dd-mon-yy hh:mi:ss'));
6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);
6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );
6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);
6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);
6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);
6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);
6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6900:

Line 6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);

6893: EAM_ERROR_MESSAGE_PVT.Write_Debug('Routing Revision : '||p_eam_wo_rec.routing_revision);
6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );
6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);
6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);
6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);
6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);
6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6900:
6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);

Line 6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);

6894: EAM_ERROR_MESSAGE_PVT.Write_Debug('BOM Revision : '||p_eam_wo_rec.bom_revision );
6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);
6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);
6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);
6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);
6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6900:
6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);
6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);

Line 6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);

6895: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common BOM Sequence Id : '||p_eam_wo_rec.common_bom_sequence_id);
6896: EAM_ERROR_MESSAGE_PVT.Write_Debug('Common Routing Sequence Id: '||p_eam_wo_rec.common_routing_sequence_id);
6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);
6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);
6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6900:
6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);
6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);
6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);

Line 6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);

6897: EAM_ERROR_MESSAGE_PVT.Write_Debug('End Item Unit Number : '||p_eam_wo_rec.end_item_unit_number);
6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);
6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6900:
6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);
6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);
6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);
6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);
6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);

Line 6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);

6898: EAM_ERROR_MESSAGE_PVT.Write_Debug('Report Type : '||p_eam_wo_rec.report_type);
6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6900:
6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);
6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);
6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);
6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);
6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);
6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);

Line 6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);

6899: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6900:
6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);
6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);
6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);
6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);
6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);
6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);
6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);

Line 6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);

6900:
6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);
6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);
6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);
6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);
6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);
6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);
6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);
6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);

Line 6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);

6901: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Account : '||p_eam_wo_rec.material_account);
6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);
6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);
6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);
6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);
6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);
6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);
6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);
6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);

Line 6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);

6902: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Overhead Account : '||p_eam_wo_rec.material_overhead_account);
6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);
6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);
6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);
6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);
6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);
6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);
6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);
6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);

Line 6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);

6903: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Account : '||p_eam_wo_rec.resource_account);
6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);
6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);
6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);
6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);
6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);
6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);
6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);
6911:

Line 6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);

6904: EAM_ERROR_MESSAGE_PVT.Write_Debug('Outside Processing Account: '||p_eam_wo_rec.outside_processing_account);
6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);
6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);
6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);
6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);
6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);
6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);
6911:
6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);

Line 6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);

6905: EAM_ERROR_MESSAGE_PVT.Write_Debug('Material Variance Account : '||p_eam_wo_rec.material_variance_account);
6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);
6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);
6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);
6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);
6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);
6911:
6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);

Line 6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);

6906: EAM_ERROR_MESSAGE_PVT.Write_Debug('Resource Cariance Account : '||p_eam_wo_rec.resource_variance_account);
6907: EAM_ERROR_MESSAGE_PVT.Write_Debug('OutsideProcVarianceAccount: '||p_eam_wo_rec.outside_proc_variance_account);
6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);
6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);
6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);
6911:
6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);
6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);

Line 6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);

6908: EAM_ERROR_MESSAGE_PVT.Write_Debug('Std Cost AdjustmentAccount: '||p_eam_wo_rec.std_cost_adjustment_account);
6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);
6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);
6911:
6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);
6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);
6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);
6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);

Line 6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);

6909: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Account : '||p_eam_wo_rec.overhead_account);
6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);
6911:
6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);
6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);
6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);
6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);
6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);

Line 6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);

6910: EAM_ERROR_MESSAGE_PVT.Write_Debug('Overhead Variance Account : '||p_eam_wo_rec.overhead_variance_account);
6911:
6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);
6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);
6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);
6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);
6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);
6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);

Line 6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);

6911:
6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);
6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);
6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);
6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);
6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);
6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);
6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);

Line 6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);

6912: EAM_ERROR_MESSAGE_PVT.Write_Debug('Wip Supply Type : '||p_eam_wo_rec.wip_supply_type);
6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);
6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);
6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);
6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);
6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);
6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);
6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);
6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);

Line 6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);

6913: EAM_ERROR_MESSAGE_PVT.Write_Debug('PO Creation Time : '||p_eam_wo_rec.po_creation_time);
6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);
6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);
6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);
6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);
6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);
6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);
6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);
6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);

Line 6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);

6914: EAM_ERROR_MESSAGE_PVT.Write_Debug('Cycle Id : '||p_eam_wo_rec.cycle_id);
6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);
6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);
6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);
6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);
6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);
6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);
6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);
6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);

Line 6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);

6915: EAM_ERROR_MESSAGE_PVT.Write_Debug('Sequence Id : '||p_eam_wo_rec.seq_id);
6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);
6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);
6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);
6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);
6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);
6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);
6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);
6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);

Line 6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);

6916: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Claim Status : '||p_eam_wo_rec.warranty_claim_status);
6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);
6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);
6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);
6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);
6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);
6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);
6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);
6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);

Line 6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);

6917: EAM_ERROR_MESSAGE_PVT.Write_Debug('Warranty Active : '||p_eam_wo_rec.warranty_active);
6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);
6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);
6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);
6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);
6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);
6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);
6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);
6925:

Line 6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);

6918: EAM_ERROR_MESSAGE_PVT.Write_Debug('Assignment Complete : '||p_eam_wo_rec.assignment_complete);
6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);
6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);
6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);
6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);
6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);
6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);
6925:
6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);

Line 6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);

6919: EAM_ERROR_MESSAGE_PVT.Write_Debug('Validate Structure : '||p_eam_wo_rec.validate_structure);
6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);
6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);
6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);
6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);
6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);
6925:
6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);
6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);

Line 6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);

6920: EAM_ERROR_MESSAGE_PVT.Write_Debug('Eam Linear Location Id : '||p_eam_wo_rec.eam_linear_location_id);
6921: EAM_ERROR_MESSAGE_PVT.Write_Debug('Failure Code Required : '||p_eam_wo_rec.failure_code_required);
6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);
6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);
6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);
6925:
6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);
6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);
6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);

Line 6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);

6922: EAM_ERROR_MESSAGE_PVT.Write_Debug('Issue Zero Cost Flag : '||p_eam_wo_rec.issue_zero_cost_flag);
6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);
6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);
6925:
6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);
6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);
6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);
6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);
6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);

Line 6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);

6923: EAM_ERROR_MESSAGE_PVT.Write_Debug('DS Scheduled Flag : '||p_eam_wo_rec.ds_scheduled_flag);
6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);
6925:
6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);
6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);
6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);
6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);
6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);
6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);

Line 6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);

6924: EAM_ERROR_MESSAGE_PVT.Write_Debug('Manual Rebuild Flag : '||p_eam_wo_rec.manual_rebuild_flag);
6925:
6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);
6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);
6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);
6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);
6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);
6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);
6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);

Line 6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);

6925:
6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);
6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);
6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);
6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);
6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);
6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);
6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);
6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);

Line 6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);

6926: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute Category : '||p_eam_wo_rec.attribute_category);
6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);
6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);
6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);
6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);
6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);
6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);
6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);
6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);

Line 6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);

6927: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute1 : '||p_eam_wo_rec.attribute1);
6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);
6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);
6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);
6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);
6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);
6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);
6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);
6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);

Line 6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);

6928: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute2 : '||p_eam_wo_rec.attribute2);
6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);
6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);
6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);
6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);
6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);
6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);
6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);
6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);

Line 6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);

6929: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute3 : '||p_eam_wo_rec.attribute3);
6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);
6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);
6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);
6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);
6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);
6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);
6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);
6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);

Line 6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);

6930: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute4 : '||p_eam_wo_rec.attribute4);
6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);
6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);
6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);
6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);
6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);
6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);
6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);
6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);

Line 6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);

6931: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute5 : '||p_eam_wo_rec.attribute5);
6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);
6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);
6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);
6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);
6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);
6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);
6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);
6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);

Line 6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);

6932: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute6 : '||p_eam_wo_rec.attribute6);
6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);
6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);
6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);
6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);
6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);
6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);
6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);
6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);

Line 6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);

6933: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute7 : '||p_eam_wo_rec.attribute7);
6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);
6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);
6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);
6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);
6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);
6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);
6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);
6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);

Line 6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);

6934: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute8 : '||p_eam_wo_rec.attribute8);
6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);
6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);
6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);
6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);
6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);
6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);
6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);
6942:

Line 6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);

6935: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute9 : '||p_eam_wo_rec.attribute9);
6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);
6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);
6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);
6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);
6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);
6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);
6942:
6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);

Line 6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);

6936: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute10 : '||p_eam_wo_rec.attribute10);
6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);
6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);
6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);
6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);
6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);
6942:
6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);
6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);

Line 6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);

6937: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute11 : '||p_eam_wo_rec.attribute11);
6938: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute12 : '||p_eam_wo_rec.attribute12);
6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);
6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);
6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);
6942:
6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);
6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);
6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);

Line 6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);

6939: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute13 : '||p_eam_wo_rec.attribute13);
6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);
6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);
6942:
6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);
6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);
6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);
6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);
6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);

Line 6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);

6940: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute14 : '||p_eam_wo_rec.attribute14);
6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);
6942:
6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);
6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);
6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);
6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);
6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);
6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);

Line 6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);

6941: EAM_ERROR_MESSAGE_PVT.Write_Debug('Attribute15 : '||p_eam_wo_rec.attribute15);
6942:
6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);
6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);
6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);
6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);
6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);
6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);
6949: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program Application Id : '||p_eam_wo_rec.program_application_id);

Line 6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);

6942:
6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);
6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);
6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);
6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);
6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);
6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);
6949: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program Application Id : '||p_eam_wo_rec.program_application_id);
6950: EAM_ERROR_MESSAGE_PVT.Write_Debug('===============================================================================================================');

Line 6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);

6943: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Code : '||p_eam_wo_rec.source_code);
6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);
6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);
6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);
6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);
6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);
6949: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program Application Id : '||p_eam_wo_rec.program_application_id);
6950: EAM_ERROR_MESSAGE_PVT.Write_Debug('===============================================================================================================');
6951: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : End========================== ');

Line 6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);

6944: EAM_ERROR_MESSAGE_PVT.Write_Debug('Source Line Id : '||p_eam_wo_rec.source_line_id);
6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);
6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);
6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);
6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);
6949: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program Application Id : '||p_eam_wo_rec.program_application_id);
6950: EAM_ERROR_MESSAGE_PVT.Write_Debug('===============================================================================================================');
6951: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : End========================== ');
6952:

Line 6949: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program Application Id : '||p_eam_wo_rec.program_application_id);

6945: EAM_ERROR_MESSAGE_PVT.Write_Debug('User Id : '||p_eam_wo_rec.user_id);
6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);
6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);
6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);
6949: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program Application Id : '||p_eam_wo_rec.program_application_id);
6950: EAM_ERROR_MESSAGE_PVT.Write_Debug('===============================================================================================================');
6951: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : End========================== ');
6952:
6953: END IF;

Line 6950: EAM_ERROR_MESSAGE_PVT.Write_Debug('===============================================================================================================');

6946: EAM_ERROR_MESSAGE_PVT.Write_Debug('Responsibility_id : '||p_eam_wo_rec.responsibility_id);
6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);
6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);
6949: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program Application Id : '||p_eam_wo_rec.program_application_id);
6950: EAM_ERROR_MESSAGE_PVT.Write_Debug('===============================================================================================================');
6951: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : End========================== ');
6952:
6953: END IF;
6954: EXCEPTION

Line 6951: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : End========================== ');

6947: EAM_ERROR_MESSAGE_PVT.Write_Debug('Request Id : '||p_eam_wo_rec.request_id);
6948: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program_id : '||p_eam_wo_rec.program_id);
6949: EAM_ERROR_MESSAGE_PVT.Write_Debug('Program Application Id : '||p_eam_wo_rec.program_application_id);
6950: EAM_ERROR_MESSAGE_PVT.Write_Debug('===============================================================================================================');
6951: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.LOG_WORK_ORDER_HEADER : End========================== ');
6952:
6953: END IF;
6954: EXCEPTION
6955: WHEN OTHERS THEN

Line 6986: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

6982: , x_eam_direct_items_tbl OUT NOCOPY EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type
6983: , x_schedule_wo IN OUT NOCOPY NUMBER
6984: , x_bottomup_scheduled IN OUT NOCOPY NUMBER
6985: , x_material_shortage IN OUT NOCOPY NUMBER
6986: , x_mesg_token_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
6987: , x_return_status OUT NOCOPY VARCHAR2
6988: )
6989: IS
6990: l_api_version_number CONSTANT NUMBER := 1.0;

Line 7017: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

7013: l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
7014: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
7015:
7016:
7017: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
7018: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
7019: l_other_message VARCHAR2(20000);
7020: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
7021:

Line 7018: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

7014: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
7015:
7016:
7017: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
7018: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
7019: l_other_message VARCHAR2(20000);
7020: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
7021:
7022: l_error_text VARCHAR2(2000);

Line 7020: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;

7016:
7017: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
7018: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
7019: l_other_message VARCHAR2(20000);
7020: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
7021:
7022: l_error_text VARCHAR2(2000);
7023: l_valid_transaction BOOLEAN := TRUE;
7024: l_return_status VARCHAR2(1) := FND_API.G_RET_STS_SUCCESS;

Line 7030: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;

7026: l_msg_count NUMBER := 0;
7027:
7028: l_bo_return_status VARCHAR2(1) := 'S';
7029: l_return_value NUMBER;
7030: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
7031:
7032: EXC_ERR_PVT_API_MAIN EXCEPTION;
7033: POPULATE_RELEASE_ERR EXCEPTION;
7034: G_ERR_STATUS_CHANGE EXCEPTION;

Line 7083: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.WORK_ORDER : Start ========================================================='); END IF;

7079: l_approval_required := FALSE; --set the flag to 'false' initially
7080:
7081:
7082: BEGIN
7083: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.WORK_ORDER : Start ========================================================='); END IF;
7084:
7085: LOG_WORK_ORDER_HEADER
7086: ( p_eam_wo_rec => p_eam_wo_rec
7087: );

Line 7113: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Work Order: Transaction Type Validity . . . '); END IF;

7109: l_return_status := FND_API.G_RET_STS_SUCCESS;
7110: l_eam_wo_rec.return_status := FND_API.G_RET_STS_SUCCESS;
7111:
7112:
7113: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Work Order: Transaction Type Validity . . . '); END IF;
7114:
7115: VALIDATE_TRANSACTION_TYPE
7116: ( p_transaction_type => l_eam_wo_rec.transaction_type
7117: , p_entity_name => 'WORK_ORDER'

Line 7125: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

7121: );
7122:
7123: IF NOT l_valid_transaction
7124: THEN
7125: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
7126: RAISE EXC_SEV_QUIT_RECORD;
7127: END IF;
7128:
7129: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : EAM WO: Check Existence . . .'); END IF;

Line 7129: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : EAM WO: Check Existence . . .'); END IF;

7125: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
7126: RAISE EXC_SEV_QUIT_RECORD;
7127: END IF;
7128:
7129: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : EAM WO: Check Existence . . .'); END IF;
7130:
7131: EAM_WO_VALIDATE_PVT.Check_Existence
7132: ( p_eam_wo_rec => l_eam_wo_rec
7133: , x_old_eam_wo_rec => l_old_eam_wo_rec

Line 7138: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

7134: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
7135: , x_return_status => l_Return_Status
7136: );
7137:
7138: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
7139: THEN
7140: l_other_message := 'EAM_WO_EXS_SEV_ERROR';
7141: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
7142: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;

Line 7144: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

7140: l_other_message := 'EAM_WO_EXS_SEV_ERROR';
7141: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
7142: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;
7143: RAISE EXC_SEV_QUIT_BRANCH;
7144: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
7145: THEN
7146: l_other_message := 'EAM_WO_EXS_UNEXP_SKIP';
7147: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
7148: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;

Line 7170: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling EAM_COMMON_UTILITIES_PVT.CREATE_ASSET procedure . . .'); END IF;

7166: where inventory_item_id = nvl(l_eam_wo_rec.rebuild_item_id, l_eam_wo_rec.asset_group_id)
7167: and serial_number = nvl(l_eam_wo_rec.rebuild_serial_number, l_eam_wo_rec.asset_number);
7168:
7169: IF (l_current_status = 1 OR l_eam_wo_rec.maintenance_object_type = 2) THEN
7170: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling EAM_COMMON_UTILITIES_PVT.CREATE_ASSET procedure . . .'); END IF;
7171: EAM_COMMON_UTILITIES_PVT.CREATE_ASSET(
7172: P_API_VERSION => 1.0
7173: ,P_INIT_MSG_LIST => fnd_api.g_false
7174: ,P_COMMIT => fnd_api.g_false

Line 7195: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Checking whether asset number is changed: New Asset: '||l_eam_wo_rec.asset_number||' Old Asset: '||l_old_eam_wo_rec.asset_number) ; END IF;

7191:
7192: END IF;
7193:
7194:
7195: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Checking whether asset number is changed: New Asset: '||l_eam_wo_rec.asset_number||' Old Asset: '||l_old_eam_wo_rec.asset_number) ; END IF;
7196: if(p_eam_wo_rec.transaction_type=EAM_PROCESS_WO_PVT.G_OPR_UPDATE and (l_old_eam_wo_rec.asset_number <> l_eam_wo_rec.asset_number or l_eam_wo_rec.MAINTENANCE_OBJECT_ID <> l_old_eam_wo_rec.MAINTENANCE_OBJECT_ID)) then
7197:
7198: l_asset_changed :='Y';
7199: if(l_old_eam_wo_rec.asset_activity_id is not null) then

Line 7238: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : After call CSTPECEP.Estimate_WorkOrder_Grp to delete existing estimate. status :' ||l_return_status) ; END IF;

7234: x_msg_data => l_err_text,
7235: x_msg_count => l_msg_count,
7236: p_delete_only => 'Y');
7237:
7238: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : After call CSTPECEP.Estimate_WorkOrder_Grp to delete existing estimate. status :' ||l_return_status) ; END IF;
7239: end if;
7240:
7241: -- deleting earlier failure data if exists
7242:

Line 7262: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Populate Null Columns . . .'); END IF;

7258:
7259: IF l_eam_wo_rec.Transaction_Type IN (EAM_PROCESS_WO_PVT.G_OPR_UPDATE)
7260: THEN
7261:
7262: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Populate Null Columns . . .'); END IF;
7263: l_out_eam_wo_rec := l_eam_wo_rec;
7264: EAM_WO_DEFAULT_PVT.Populate_NULL_Columns
7265: ( p_eam_wo_rec => l_eam_wo_rec
7266: , p_old_eam_wo_rec => l_old_eam_wo_rec

Line 7278: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Check_Attributes_Before_Defauting ... '); END IF;

7274:
7275: END IF;
7276:
7277:
7278: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Check_Attributes_Before_Defauting ... '); END IF;
7279:
7280: EAM_WO_VALIDATE_PVT.Check_Attributes_b4_Defaulting
7281: ( x_return_status => l_return_status
7282: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl

Line 7286: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

7282: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
7283: , p_eam_wo_rec => l_eam_wo_rec
7284: );
7285:
7286: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
7287: THEN
7288:
7289: IF l_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
7290: THEN

Line 7299: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

7295: ELSE
7296: RAISE EXC_SEV_QUIT_RECORD;
7297: END IF;
7298:
7299: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
7300: THEN
7301: l_other_message := 'EAM_WO_ATTVAL_UNEXP_SKIP';
7302: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
7303: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;

Line 7319: EAM_ERROR_MESSAGE_PVT.Log_Error

7315: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
7316: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
7317: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
7318: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
7319: EAM_ERROR_MESSAGE_PVT.Log_Error
7320: ( p_eam_wo_rec => l_eam_wo_rec
7321: , p_eam_op_tbl => l_eam_op_tbl
7322: , p_eam_op_network_tbl => l_eam_op_network_tbl
7323: , p_eam_res_tbl => l_eam_res_tbl

Line 7331: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

7327: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
7328: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
7329: , p_mesg_token_tbl => l_mesg_token_tbl
7330: , p_error_status => 'W'
7331: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
7332: , x_eam_wo_rec => l_out_eam_wo_rec
7333: , x_eam_op_tbl => l_out_eam_op_tbl
7334: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
7335: , x_eam_res_tbl => l_out_eam_res_tbl

Line 7354: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Conditional Defaulting . . .'); END IF;

7350: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
7351:
7352: END IF;
7353:
7354: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Conditional Defaulting . . .'); END IF;
7355: l_out_eam_wo_rec := l_eam_wo_rec;
7356: EAM_WO_DEFAULT_PVT.Conditional_Defaulting
7357: ( p_eam_wo_rec => l_eam_wo_rec
7358: , x_eam_wo_rec => l_out_eam_wo_rec

Line 7364: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

7360: , x_return_status => l_Return_Status
7361: );
7362: l_eam_wo_rec := l_out_eam_wo_rec;
7363:
7364: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
7365: THEN
7366: IF l_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
7367: THEN
7368: l_other_message := 'EAM_WO_CONDDEF_CSEV_SKIP';

Line 7376: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

7372: ELSE
7373: RAISE EXC_SEV_QUIT_RECORD;
7374: END IF;
7375:
7376: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
7377: THEN
7378: l_other_message := 'EAM_WO_CONDDEF_UNEXP_SKIP';
7379: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
7380: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;

Line 7394: EAM_ERROR_MESSAGE_PVT.Log_Error

7390: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
7391: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
7392: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
7393: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
7394: EAM_ERROR_MESSAGE_PVT.Log_Error
7395: ( p_eam_wo_rec => l_eam_wo_rec
7396: , p_eam_op_tbl => l_eam_op_tbl
7397: , p_eam_op_network_tbl => l_eam_op_network_tbl
7398: , p_eam_res_tbl => l_eam_res_tbl

Line 7406: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

7402: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
7403: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
7404: , p_mesg_token_tbl => l_mesg_token_tbl
7405: , p_error_status => 'W'
7406: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
7407: , x_eam_wo_rec => l_out_eam_wo_rec
7408: , x_eam_op_tbl => l_out_eam_op_tbl
7409: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
7410: , x_eam_res_tbl => l_out_eam_res_tbl

Line 7429: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Attribute Defaulting . . .'); END IF;

7425: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
7426:
7427: END IF;
7428:
7429: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Attribute Defaulting . . .'); END IF;
7430:
7431: l_out_eam_wo_rec := l_eam_wo_rec;
7432: /* Bug # 4597756 : Store firm_planned_flag, needed if Approval is required */
7433: l_firm_planned_flag := l_eam_wo_rec.firm_planned_flag;

Line 7443: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

7439: , x_return_status => l_Return_Status
7440: );
7441: l_eam_wo_rec := l_out_eam_wo_rec;
7442:
7443: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
7444: THEN
7445:
7446: IF l_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
7447: THEN

Line 7456: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

7452: ELSE
7453: RAISE EXC_SEV_QUIT_RECORD;
7454: END IF;
7455:
7456: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
7457: THEN
7458: l_other_message := 'EAM_WO_ATTDEF_UNEXP_SKIP';
7459: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
7460: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;

Line 7474: EAM_ERROR_MESSAGE_PVT.Log_Error

7470: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
7471: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
7472: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
7473: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
7474: EAM_ERROR_MESSAGE_PVT.Log_Error
7475: ( p_eam_wo_rec => l_eam_wo_rec
7476: , p_eam_op_tbl => l_eam_op_tbl
7477: , p_eam_op_network_tbl => l_eam_op_network_tbl
7478: , p_eam_res_tbl => l_eam_res_tbl

Line 7486: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

7482: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
7483: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
7484: , p_mesg_token_tbl => l_mesg_token_tbl
7485: , p_error_status => 'W'
7486: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
7487: , x_eam_wo_rec => l_out_eam_wo_rec
7488: , x_eam_op_tbl => l_out_eam_op_tbl
7489: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
7490: , x_eam_res_tbl => l_out_eam_res_tbl

Line 7515: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

7511: , x_return_status => l_return_status
7512: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
7513: );
7514:
7515: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
7516: THEN
7517:
7518: IF l_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
7519: THEN

Line 7529: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

7525: ELSE
7526: RAISE EXC_SEV_QUIT_RECORD;
7527: END IF;
7528:
7529: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
7530: THEN
7531:
7532: l_other_message := 'EAM_WO_CONREQ_UNEXP_SKIP';
7533: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';

Line 7549: EAM_ERROR_MESSAGE_PVT.Log_Error

7545: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
7546: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
7547: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
7548: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
7549: EAM_ERROR_MESSAGE_PVT.Log_Error
7550: ( p_eam_wo_rec => l_eam_wo_rec
7551: , p_eam_op_tbl => l_eam_op_tbl
7552: , p_eam_op_network_tbl => l_eam_op_network_tbl
7553: , p_eam_res_tbl => l_eam_res_tbl

Line 7561: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

7557: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
7558: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
7559: , p_mesg_token_tbl => l_mesg_token_tbl
7560: , p_error_status => 'W'
7561: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
7562: , x_eam_wo_rec => l_out_eam_wo_rec
7563: , x_eam_op_tbl => l_out_eam_op_tbl
7564: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
7565: , x_eam_res_tbl => l_out_eam_res_tbl

Line 7583: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Check Attributes . . .'); END IF;

7579: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
7580: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
7581: END IF;
7582:
7583: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Check Attributes . . .'); END IF;
7584:
7585: EAM_WO_VALIDATE_PVT.Check_Attributes
7586: ( x_return_status => l_return_status
7587: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl

Line 7591: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

7587: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
7588: , p_eam_wo_rec => l_eam_wo_rec
7589: , p_old_eam_wo_rec => l_old_eam_wo_rec
7590: );
7591: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
7592: THEN
7593:
7594: IF l_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE
7595: THEN

Line 7604: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

7600: ELSE
7601: RAISE EXC_SEV_QUIT_RECORD;
7602: END IF;
7603:
7604: ELSIF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
7605: THEN
7606: l_other_message := 'EAM_WO_ATTVAL_UNEXP_SKIP';
7607: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
7608: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;

Line 7623: EAM_ERROR_MESSAGE_PVT.Log_Error

7619: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
7620: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
7621: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
7622: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
7623: EAM_ERROR_MESSAGE_PVT.Log_Error
7624: ( p_eam_wo_rec => l_eam_wo_rec
7625: , p_eam_op_tbl => l_eam_op_tbl
7626: , p_eam_op_network_tbl => l_eam_op_network_tbl
7627: , p_eam_res_tbl => l_eam_res_tbl

Line 7635: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

7631: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
7632: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
7633: , p_mesg_token_tbl => l_mesg_token_tbl
7634: , p_error_status => 'W'
7635: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
7636: , x_eam_wo_rec => l_out_eam_wo_rec
7637: , x_eam_op_tbl => l_out_eam_op_tbl
7638: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
7639: , x_eam_res_tbl => l_out_eam_res_tbl

Line 7726: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug (' EAM_PROCESS_WO_PVT.WORK_ORDER : Calling api to update material shortage flag') ; END IF;

7722: if l_eam_wo_rec.activity_source is null then
7723: l_eam_wo_rec.activity_source := p_eam_wo_rec.activity_source;
7724: end if;
7725:
7726: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug (' EAM_PROCESS_WO_PVT.WORK_ORDER : Calling api to update material shortage flag') ; END IF;
7727:
7728:
7729: IF nvl(l_return_status,'S') <> 'S' THEN
7730: x_return_status := l_return_status;

Line 7764: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('Calling Wkflow required check API...') ; END IF;

7760: AND (l_old_eam_wo_rec.status_type <>l_eam_wo_rec.status_type)
7761: )
7762: ) THEN
7763: IF(WF_EVENT.TEST(l_status_pending_event) <> 'NONE') THEN
7764: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('Calling Wkflow required check API...') ; END IF;
7765: EAM_WORKFLOW_DETAILS_PUB.Eam_Wf_Is_Approval_Required(p_old_wo_rec => l_old_eam_wo_rec,
7766: p_new_wo_rec => l_eam_wo_rec,
7767: p_wip_entity_id => NULL,
7768: p_new_system_status => NULL,

Line 7793: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Writing the WO Record to database...') ; END IF;

7789:
7790: END IF;
7791: END IF; -- end of check for workflow enabled
7792:
7793: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Writing the WO Record to database...') ; END IF;
7794:
7795: if ((l_eam_wo_rec.pm_suggested_start_date is null or
7796: l_eam_wo_rec.pm_suggested_start_date = FND_API.G_MISS_DATE)
7797: and (l_eam_wo_rec.pm_suggested_end_date is null or

Line 7814: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

7810: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
7811: , x_return_status => l_return_status
7812: );
7813:
7814: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
7815: THEN
7816:
7817: l_other_message := 'EAM_WO_WRITES_UNEXP_SKIP';
7818: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';

Line 7835: EAM_ERROR_MESSAGE_PVT.Log_Error

7831: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
7832: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
7833: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
7834: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
7835: EAM_ERROR_MESSAGE_PVT.Log_Error
7836: ( p_eam_wo_rec => l_eam_wo_rec
7837: , p_eam_op_tbl => l_eam_op_tbl
7838: , p_eam_op_network_tbl => l_eam_op_network_tbl
7839: , p_eam_res_tbl => l_eam_res_tbl

Line 7847: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

7843: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
7844: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
7845: , p_mesg_token_tbl => l_mesg_token_tbl
7846: , p_error_status => 'W'
7847: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
7848: , x_eam_wo_rec => l_out_eam_wo_rec
7849: , x_eam_op_tbl => l_out_eam_op_tbl
7850: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
7851: , x_eam_res_tbl => l_out_eam_res_tbl

Line 7885: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling api to endate eam genealogy') ; END IF;

7881: INTO l_serial_number, l_inv_item_id, l_org_id
7882: FROM csi_item_instances
7883: WHERE instance_id = l_eam_wo_rec.maintenance_object_id;
7884:
7885: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling api to endate eam genealogy') ; END IF;
7886:
7887: wip_eam_genealogy_pvt.update_eam_genealogy
7888: (
7889: p_api_version => 1.0,

Line 7900: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Update Genealogy completed with status '||l_return_status) ; END IF;

7896: x_return_status => l_return_status,
7897: x_msg_count => l_msg_count,
7898: x_msg_data => l_msg_data
7899: );
7900: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Update Genealogy completed with status '||l_return_status) ; END IF;
7901:
7902: IF l_return_status <> 'S' THEN
7903: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
7904: EAM_ERROR_MESSAGE_PVT.Write_Debug ('api for endating eam genealogy has errored') ;

Line 7904: EAM_ERROR_MESSAGE_PVT.Write_Debug ('api for endating eam genealogy has errored') ;

7900: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Update Genealogy completed with status '||l_return_status) ; END IF;
7901:
7902: IF l_return_status <> 'S' THEN
7903: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
7904: EAM_ERROR_MESSAGE_PVT.Write_Debug ('api for endating eam genealogy has errored') ;
7905: END IF;
7906: l_other_message := 'EAM_UPDATE_GENEALOGY_FAIL';
7907: RAISE EXC_SEV_QUIT_RECORD;
7908: END IF;

Line 7922: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling api to disable counter hierarchy') ; END IF;

7918: WHERE wip_entity_id = l_eam_wo_rec.parent_wip_entity_id;
7919:
7920: IF (l_current_status in (4, 5, 12) ) THEN
7921:
7922: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling api to disable counter hierarchy') ; END IF;
7923:
7924: eam_meterreading_utility_pvt.disable_counter_hierarchy
7925: (
7926: p_eam_wo_comp_rebuild_tbl => l_eam_wo_comp_rebuild_tbl ,

Line 7933: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : disable counter hierarchy API completed with status '||l_return_status) ; END IF;

7929: x_eam_wo_comp_rebuild_tbl => l_eam_wo_comp_rebuild_tbl,
7930: x_return_status => l_return_status ,
7931: x_mesg_token_tbl => l_mesg_token_tbl
7932: );
7933: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : disable counter hierarchy API completed with status '||l_return_status) ; END IF;
7934:
7935: IF l_return_status <> 'S' THEN
7936:
7937: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN

Line 7938: EAM_ERROR_MESSAGE_PVT.Write_Debug ('The api to disable counter hierarchy has errored out') ;

7934:
7935: IF l_return_status <> 'S' THEN
7936:
7937: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
7938: EAM_ERROR_MESSAGE_PVT.Write_Debug ('The api to disable counter hierarchy has errored out') ;
7939: END IF;
7940: l_other_message := 'EAM_WOCMPL_DIS_COUNTER_HIER';
7941: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
7942: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;

Line 7946: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling CSI api for wip completion ') ; END IF;

7942: l_other_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;
7943: RAISE EXC_SEV_QUIT_RECORD;
7944: END IF;
7945:
7946: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling CSI api for wip completion ') ; END IF;
7947:
7948: csi_eam_interface_grp.wip_completion
7949: (
7950: p_wip_entity_id => l_eam_wo_rec.parent_wip_entity_id,

Line 7955: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : CSI api for wip completion completed with status '||l_return_status) ; END IF;

7951: p_organization_id => l_eam_wo_rec.organization_id,
7952: x_return_status => l_return_status,
7953: x_error_message => l_msg_data
7954: );
7955: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : CSI api for wip completion completed with status '||l_return_status) ; END IF;
7956:
7957: IF l_return_status <> 'S' THEN
7958:
7959: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN

Line 7960: EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : The CSI api for wip completion has errored out') ;

7956:
7957: IF l_return_status <> 'S' THEN
7958:
7959: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
7960: EAM_ERROR_MESSAGE_PVT.Write_Debug ('EAM_PROCESS_WO_PVT.WORK_ORDER : The CSI api for wip completion has errored out') ;
7961: END IF;
7962:
7963: l_other_message := 'EAM_WOCMPL_IB_WIP_CMPL';
7964: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';

Line 7989: EAM_ERROR_MESSAGE_PVT.Log_Error

7985: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
7986: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
7987: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
7988: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
7989: EAM_ERROR_MESSAGE_PVT.Log_Error
7990: ( p_eam_wo_rec => l_eam_wo_rec
7991: , p_eam_op_tbl => l_eam_op_tbl
7992: , p_eam_op_network_tbl => l_eam_op_network_tbl
7993: , p_eam_res_tbl => l_eam_res_tbl

Line 8001: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

7997: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
7998: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
7999: , p_mesg_token_tbl => l_mesg_token_tbl
8000: , p_error_status => FND_API.G_RET_STS_ERROR
8001: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8002: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8003: , x_eam_wo_rec => l_out_eam_wo_rec
8004: , x_eam_op_tbl => l_out_eam_op_tbl
8005: , x_eam_op_network_tbl => l_out_eam_op_network_tbl

Line 8002: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

7998: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
7999: , p_mesg_token_tbl => l_mesg_token_tbl
8000: , p_error_status => FND_API.G_RET_STS_ERROR
8001: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8002: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8003: , x_eam_wo_rec => l_out_eam_wo_rec
8004: , x_eam_op_tbl => l_out_eam_op_tbl
8005: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
8006: , x_eam_res_tbl => l_out_eam_res_tbl

Line 8048: EAM_ERROR_MESSAGE_PVT.Log_Error

8044: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
8045: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
8046: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
8047: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
8048: EAM_ERROR_MESSAGE_PVT.Log_Error
8049: ( p_eam_wo_rec => l_eam_wo_rec
8050: , p_eam_op_tbl => l_eam_op_tbl
8051: , p_eam_op_network_tbl => l_eam_op_network_tbl
8052: , p_eam_res_tbl => l_eam_res_tbl

Line 8060: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

8056: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
8057: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
8058: , p_mesg_token_tbl => l_mesg_token_tbl
8059: , p_error_status => FND_API.G_RET_STS_ERROR
8060: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8061: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8062: , p_other_message => l_other_message
8063: , p_other_token_tbl => l_other_token_tbl
8064: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 8061: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

8057: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
8058: , p_mesg_token_tbl => l_mesg_token_tbl
8059: , p_error_status => FND_API.G_RET_STS_ERROR
8060: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8061: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8062: , p_other_message => l_other_message
8063: , p_other_token_tbl => l_other_token_tbl
8064: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8065: , x_eam_wo_rec => l_out_eam_wo_rec

Line 8064: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

8060: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8061: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8062: , p_other_message => l_other_message
8063: , p_other_token_tbl => l_other_token_tbl
8064: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8065: , x_eam_wo_rec => l_out_eam_wo_rec
8066: , x_eam_op_tbl => l_out_eam_op_tbl
8067: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
8068: , x_eam_res_tbl => l_out_eam_res_tbl

Line 8110: EAM_ERROR_MESSAGE_PVT.Log_Error

8106: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
8107: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
8108: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
8109: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
8110: EAM_ERROR_MESSAGE_PVT.Log_Error
8111: ( p_eam_wo_rec => l_eam_wo_rec
8112: , p_eam_op_tbl => l_eam_op_tbl
8113: , p_eam_op_network_tbl => l_eam_op_network_tbl
8114: , p_eam_res_tbl => l_eam_res_tbl

Line 8122: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

8118: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
8119: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
8120: , p_mesg_token_tbl => l_mesg_token_tbl
8121: , p_error_status => FND_API.G_RET_STS_ERROR
8122: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8123: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8124: , p_other_message => l_other_message
8125: , p_other_token_tbl => l_other_token_tbl
8126: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 8123: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

8119: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
8120: , p_mesg_token_tbl => l_mesg_token_tbl
8121: , p_error_status => FND_API.G_RET_STS_ERROR
8122: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8123: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8124: , p_other_message => l_other_message
8125: , p_other_token_tbl => l_other_token_tbl
8126: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8127: , x_eam_wo_rec => l_out_eam_wo_rec

Line 8126: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

8122: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8123: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8124: , p_other_message => l_other_message
8125: , p_other_token_tbl => l_other_token_tbl
8126: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8127: , x_eam_wo_rec => l_out_eam_wo_rec
8128: , x_eam_op_tbl => l_out_eam_op_tbl
8129: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
8130: , x_eam_res_tbl => l_out_eam_res_tbl

Line 8173: EAM_ERROR_MESSAGE_PVT.Log_Error

8169: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
8170: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
8171: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
8172: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
8173: EAM_ERROR_MESSAGE_PVT.Log_Error
8174: ( p_eam_wo_rec => l_eam_wo_rec
8175: , p_eam_op_tbl => l_eam_op_tbl
8176: , p_eam_op_network_tbl => l_eam_op_network_tbl
8177: , p_eam_res_tbl => l_eam_res_tbl

Line 8185: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

8181: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
8182: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
8183: , p_mesg_token_tbl => l_mesg_token_tbl
8184: , p_error_status => FND_API.G_RET_STS_ERROR
8185: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8186: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8187: , p_other_message => l_other_message
8188: , p_other_token_tbl => l_other_token_tbl
8189: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 8186: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

8182: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
8183: , p_mesg_token_tbl => l_mesg_token_tbl
8184: , p_error_status => FND_API.G_RET_STS_ERROR
8185: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8186: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8187: , p_other_message => l_other_message
8188: , p_other_token_tbl => l_other_token_tbl
8189: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8190: , x_eam_wo_rec => l_out_eam_wo_rec

Line 8189: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

8185: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8186: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8187: , p_other_message => l_other_message
8188: , p_other_token_tbl => l_other_token_tbl
8189: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8190: , x_eam_wo_rec => l_out_eam_wo_rec
8191: , x_eam_op_tbl => l_out_eam_op_tbl
8192: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
8193: , x_eam_res_tbl => l_out_eam_res_tbl

Line 8236: EAM_ERROR_MESSAGE_PVT.Log_Error

8232: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
8233: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
8234: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
8235: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
8236: EAM_ERROR_MESSAGE_PVT.Log_Error
8237: ( p_eam_wo_rec => l_eam_wo_rec
8238: , p_eam_op_tbl => l_eam_op_tbl
8239: , p_eam_op_network_tbl => l_eam_op_network_tbl
8240: , p_eam_res_tbl => l_eam_res_tbl

Line 8248: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

8244: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
8245: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
8246: , p_mesg_token_tbl => l_mesg_token_tbl
8247: , p_error_status => FND_API.G_RET_STS_ERROR
8248: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8249: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8250: , p_other_message => l_other_message
8251: , p_other_token_tbl => l_other_token_tbl
8252: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 8249: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

8245: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
8246: , p_mesg_token_tbl => l_mesg_token_tbl
8247: , p_error_status => FND_API.G_RET_STS_ERROR
8248: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8249: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8250: , p_other_message => l_other_message
8251: , p_other_token_tbl => l_other_token_tbl
8252: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8253: , x_eam_wo_rec => l_out_eam_wo_rec

Line 8252: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

8248: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
8249: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
8250: , p_other_message => l_other_message
8251: , p_other_token_tbl => l_other_token_tbl
8252: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
8253: , x_eam_wo_rec => l_out_eam_wo_rec
8254: , x_eam_op_tbl => l_out_eam_op_tbl
8255: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
8256: , x_eam_res_tbl => l_out_eam_res_tbl

Line 8293: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : WORK_ORDER MAIN Routine compelted with status of '||l_return_status) ; END IF ;

8289: -- baroy - end
8290: -- End of IF condition #101 - Skipping header level validations
8291:
8292: -- END Header processing block
8293: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : WORK_ORDER MAIN Routine compelted with status of '||l_return_status) ; END IF ;
8294:
8295: IF NVL(l_return_status,'S') <> 'S'
8296: THEN
8297: x_return_status := l_return_status;

Line 8328: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling WO_OPERATIONS from WORK_ORDER') ; END IF ;

8324:
8325:
8326: -- Process operations that are orphans but are indirect children of this header
8327:
8328: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling WO_OPERATIONS from WORK_ORDER') ; END IF ;
8329:
8330: l_out_eam_wo_rec := l_eam_wo_rec;
8331: l_out_eam_op_tbl := l_eam_op_tbl;
8332: l_out_eam_op_network_tbl := l_eam_op_network_tbl;

Line 8341: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Checking for standard operation from WORK_ORDER') ; END IF ;

8337: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
8338: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
8339:
8340:
8341: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Checking for standard operation from WORK_ORDER') ; END IF ;
8342:
8343: if (l_eam_wo_rec.asset_activity_id IS NOT NULL and
8344: (l_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PUB.G_OPR_CREATE
8345: or

Line 8353: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Exploding standard operation from WORK_ORDER') ; END IF ;

8349: then
8350: null ;
8351: else
8352:
8353: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Exploding standard operation from WORK_ORDER') ; END IF ;
8354:
8355: -- Need to explode standard operations
8356:
8357: IF l_eam_op_tbl.COUNT > 0 THEN

Line 8468: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Completed Exploding standard operation from WORK_ORDER') ; END IF ;

8464: l_eam_res_tbl(l_res_cnt).RETURN_STATUS := l_eam_op_tbl(J).RETURN_STATUS ;
8465: l_eam_res_tbl(l_res_cnt).TRANSACTION_TYPE := l_eam_op_tbl(J).TRANSACTION_TYPE ;
8466: END LOOP;
8467: END;
8468: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Completed Exploding standard operation from WORK_ORDER') ; END IF ;
8469: --start for
8470: --Reverting the changes done for bug 11871588
8471: END IF;
8472: END LOOP;

Line 8588: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Completed Exploding manual operation from WORK_ORDER') ; END IF ;

8584: l_eam_res_tbl(l_res_cnt).RETURN_STATUS := l_eam_op_tbl(J).RETURN_STATUS ;
8585: l_eam_res_tbl(l_res_cnt).TRANSACTION_TYPE := l_eam_op_tbl(J).TRANSACTION_TYPE ;
8586: END LOOP;
8587: END; --end for delcare begin end
8588: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Completed Exploding manual operation from WORK_ORDER') ; END IF ;
8589:
8590:
8591: END IF; --non-standard oper
8592:

Line 8601: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling WO_OPERATIONS from WORK_ORDER') ; END IF ;

8597: END IF;
8598:
8599: l_out_eam_res_tbl := l_eam_res_tbl;
8600:
8601: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling WO_OPERATIONS from WORK_ORDER') ; END IF ;
8602:
8603: WO_OPERATIONS
8604: ( p_validation_level => p_validation_level
8605: , p_wip_entity_id => l_eam_wo_rec.wip_entity_id

Line 8640: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : WO_OPERATIONS compelted with status of '||l_return_status) ; END IF ;

8636: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
8637: l_eam_mat_req_tbl := l_out_eam_mat_req_tbl;
8638: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
8639:
8640: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : WO_OPERATIONS compelted with status of '||l_return_status) ; END IF ;
8641:
8642: IF l_return_status <> 'S'
8643: THEN
8644: l_bo_return_status := l_return_status;

Line 8652: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling OPERATION_RESOURCES from WORK_ORDER') ; END IF ;

8648: -- Process Resources
8649:
8650: IF l_eam_res_tbl.count <> 0 then
8651:
8652: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling OPERATION_RESOURCES from WORK_ORDER') ; END IF ;
8653:
8654: l_out_eam_res_tbl := l_eam_res_tbl;
8655: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
8656: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;

Line 8686: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : OPERATION_RESOURCE completed with status of '||l_return_status) ; END IF ;

8682: END IF;
8683:
8684:
8685:
8686: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : OPERATION_RESOURCE completed with status of '||l_return_status) ; END IF ;
8687:
8688: END IF;
8689:
8690: -- Process Material Requirements

Line 8694: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling MATERIAL_REQUIREMENTS from WORK_ORDER') ; END IF ;

8690: -- Process Material Requirements
8691:
8692: IF l_eam_mat_req_tbl.count <> 0 then
8693:
8694: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling MATERIAL_REQUIREMENTS from WORK_ORDER') ; END IF ;
8695:
8696: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
8697:
8698: MATERIAL_REQUIREMENTS

Line 8718: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : MATERIAL_REQUIREMENTS completed with status of '||l_return_status) ; END IF ;

8714: l_bo_return_status := l_return_status;
8715: END IF;
8716:
8717:
8718: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : MATERIAL_REQUIREMENTS completed with status of '||l_return_status) ; END IF ;
8719:
8720: END IF;
8721:
8722:

Line 8727: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling DIRECT ITEMS from WORK_ORDER') ; END IF ;

8723: -- Process Direct Items
8724:
8725: IF l_eam_direct_items_tbl.count <> 0 then
8726:
8727: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling DIRECT ITEMS from WORK_ORDER') ; END IF ;
8728:
8729: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
8730:
8731: DIRECT_ITEMS

Line 8751: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : DIRECT_ITEMS completed with status of '||l_return_status) ; END IF ;

8747: l_bo_return_status := l_return_status;
8748: END IF;
8749:
8750:
8751: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : DIRECT_ITEMS completed with status of '||l_return_status) ; END IF ;
8752:
8753: END IF;
8754:
8755:

Line 8760: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling OPERATION_NETWORKS from WORK_ORDER') ; END IF ;

8756: -- Process Operation Networks
8757:
8758: IF l_eam_op_network_tbl.count <> 0 then
8759:
8760: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling OPERATION_NETWORKS from WORK_ORDER') ; END IF ;
8761:
8762: l_out_eam_op_network_tbl := l_eam_op_network_tbl;
8763:
8764: OPERATION_NETWORKS

Line 8783: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : OPERATION_NETWORKS completed with status of '||l_return_status) ; END IF ;

8779: THEN
8780: l_bo_return_status := l_return_status;
8781: END IF;
8782:
8783: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : OPERATION_NETWORKS completed with status of '||l_return_status) ; END IF ;
8784:
8785: END IF;
8786:
8787:

Line 8855: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling Change_Status API') ; END IF ;

8851: (l_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PUB.G_OPR_UPDATE and
8852: l_eam_wo_rec.status_type <> l_old_eam_wo_rec.status_type
8853: )
8854: ) then
8855: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling Change_Status API') ; END IF ;
8856:
8857: -- Defaulting the date_released only when workflow is approved /no workflow and work order is actually released.
8858: --Removed following code from EAMVWODB.pls and added it here
8859:

Line 8920: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Status Change WO completed with status ' || l_return_status) ; END IF ;

8916: , x_msg_data => l_other_message
8917: , x_Mesg_Token_Tbl => l_mesg_token_tbl
8918: );
8919:
8920: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Status Change WO completed with status ' || l_return_status) ; END IF ;
8921: IF NVL(l_return_status, 'S') <> 'S' THEN
8922: l_return_status := FND_API.G_RET_STS_ERROR;
8923: RAISE G_ERR_STATUS_CHANGE;
8924:

Line 8927: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Status Change WO completed with status ' || l_return_status) ; END IF ;

8923: RAISE G_ERR_STATUS_CHANGE;
8924:
8925: END IF;
8926:
8927: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Status Change WO completed with status ' || l_return_status) ; END IF ;
8928:
8929:
8930: END IF;
8931: -- baroy - End if for condition #100

Line 9069: EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : No department on Work Order or at organization level. Skipping Estimation ') ;

9065: end if;
9066: end if;
9067:
9068: if l_count >= 1 then
9069: EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : No department on Work Order or at organization level. Skipping Estimation ') ;
9070: else
9071:
9072:
9073:

Line 9084: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling the Estimate_Workorder_Grp procedure ...') ; END IF ;

9080: WHERE wip_entity_id=l_eam_wo_rec.wip_entity_id
9081: AND organization_id=l_eam_wo_rec.organization_id;
9082:
9083: BEGIN
9084: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling the Estimate_Workorder_Grp procedure ...') ; END IF ;
9085: CSTPECEP.Estimate_WorkOrder_Grp(
9086: p_api_version => 1.0,
9087: p_init_msg_list => fnd_api.g_false,
9088: p_commit => fnd_api.g_false,

Line 9095: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Estimate_Workorder_Grp procedure completed with status '||l_return_status) ; END IF ;

9091: p_organization_id => l_eam_wo_rec.organization_id,
9092: x_return_status => l_return_status,
9093: x_msg_data => l_err_text,
9094: x_msg_count => l_msg_count );
9095: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Estimate_Workorder_Grp procedure completed with status '||l_return_status) ; END IF ;
9096:
9097: IF (l_return_status <> 'S') THEN
9098: l_bo_return_status := l_return_status;
9099: END IF;

Line 9110: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling the Raise_Workflow_Events procedure ...') ; END IF ;

9106:
9107:
9108: --Raise workflow events
9109: IF(l_workflow_enabled = 'Y') THEN --if workflow is enabled
9110: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Calling the Raise_Workflow_Events procedure ...') ; END IF ;
9111: Raise_Workflow_Events
9112: (
9113: p_api_version => 1.0,
9114: p_validation_level => p_validation_level,

Line 9125: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Raise_Workflow_Events procedure completed with status '||l_return_status) ; END IF ;

9121: x_return_status => l_return_status,
9122: x_mesg_token_tbl => l_mesg_token_tbl
9123: );
9124:
9125: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : Raise_Workflow_Events procedure completed with status '||l_return_status) ; END IF ;
9126: IF(l_return_status <> 'S') THEN
9127: l_bo_return_status := l_return_status;
9128: END IF;
9129: END IF; --end of check for workflow enabled

Line 9134: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : End================================================'); END IF;

9130:
9131:
9132: END IF; --end of check for l_bo_return_status and 'S'
9133:
9134: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.WORK_ORDER : End================================================'); END IF;
9135:
9136:
9137: EXCEPTION
9138: WHEN POPULATE_RELEASE_ERR THEN

Line 9144: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

9140: l_token_tbl(1).token_name := 'WORKORDER';
9141: l_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_id;
9142:
9143: l_out_mesg_token_tbl := l_mesg_token_tbl;
9144: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
9145: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
9146: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
9147: , p_message_name => 'EAM_POPULATE_REL_ERR'
9148: , p_token_tbl => l_token_tbl

Line 9163: EAM_ERROR_MESSAGE_PVT.Log_Error

9159: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
9160: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
9161: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
9162: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
9163: EAM_ERROR_MESSAGE_PVT.Log_Error
9164: ( p_eam_wo_rec => l_eam_wo_rec
9165: , p_eam_op_tbl => l_eam_op_tbl
9166: , p_eam_op_network_tbl => l_eam_op_network_tbl
9167: , p_eam_res_tbl => l_eam_res_tbl

Line 9175: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

9171: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
9172: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
9173: , p_mesg_token_tbl => l_mesg_token_tbl
9174: , p_error_status => FND_API.G_RET_STS_ERROR
9175: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9176: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9177: , p_other_message => l_other_message
9178: , p_other_token_tbl => l_other_token_tbl
9179: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 9176: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

9172: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
9173: , p_mesg_token_tbl => l_mesg_token_tbl
9174: , p_error_status => FND_API.G_RET_STS_ERROR
9175: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9176: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9177: , p_other_message => l_other_message
9178: , p_other_token_tbl => l_other_token_tbl
9179: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
9180: , x_eam_wo_rec => l_out_eam_wo_rec

Line 9179: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

9175: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9176: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9177: , p_other_message => l_other_message
9178: , p_other_token_tbl => l_other_token_tbl
9179: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
9180: , x_eam_wo_rec => l_out_eam_wo_rec
9181: , x_eam_op_tbl => l_out_eam_op_tbl
9182: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
9183: , x_eam_res_tbl => l_out_eam_res_tbl

Line 9220: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

9216: l_token_tbl(1).token_name := 'Wip Entity Id';
9217: l_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_id;
9218:
9219: l_out_mesg_token_tbl := l_mesg_token_tbl;
9220: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
9221: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
9222: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
9223: , p_message_name => 'EAM_WO_STATUS_CHG_ERR'
9224: , p_token_tbl => l_token_tbl

Line 9239: EAM_ERROR_MESSAGE_PVT.Log_Error

9235: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
9236: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
9237: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
9238: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
9239: EAM_ERROR_MESSAGE_PVT.Log_Error
9240: ( p_eam_wo_rec => l_eam_wo_rec
9241: , p_eam_op_tbl => l_eam_op_tbl
9242: , p_eam_op_network_tbl => l_eam_op_network_tbl
9243: , p_eam_res_tbl => l_eam_res_tbl

Line 9251: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

9247: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
9248: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
9249: , p_mesg_token_tbl => l_mesg_token_tbl
9250: , p_error_status => FND_API.G_RET_STS_ERROR
9251: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9252: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9253: , p_other_message => l_other_message
9254: , p_other_token_tbl => l_other_token_tbl
9255: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 9252: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

9248: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
9249: , p_mesg_token_tbl => l_mesg_token_tbl
9250: , p_error_status => FND_API.G_RET_STS_ERROR
9251: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9252: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9253: , p_other_message => l_other_message
9254: , p_other_token_tbl => l_other_token_tbl
9255: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
9256: , x_eam_wo_rec => l_out_eam_wo_rec

Line 9255: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

9251: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9252: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9253: , p_other_message => l_other_message
9254: , p_other_token_tbl => l_other_token_tbl
9255: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
9256: , x_eam_wo_rec => l_out_eam_wo_rec
9257: , x_eam_op_tbl => l_out_eam_op_tbl
9258: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
9259: , x_eam_res_tbl => l_out_eam_res_tbl

Line 9394: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

9390: l_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
9391: l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
9392: l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
9393: l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
9394: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
9395:
9396: l_old_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
9397: l_scheduled NUMBER;
9398: l_bottomup_scheduled NUMBER;

Line 9402: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

9398: l_bottomup_scheduled NUMBER;
9399: l_wip_entity_id NUMBER;
9400: l_organization_id NUMBER;
9401:
9402: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
9403: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
9404: l_other_message VARCHAR2(2000);
9405: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
9406: l_msg_count NUMBER := 0;

Line 9403: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;

9399: l_wip_entity_id NUMBER;
9400: l_organization_id NUMBER;
9401:
9402: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
9403: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
9404: l_other_message VARCHAR2(2000);
9405: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
9406: l_msg_count NUMBER := 0;
9407:

Line 9405: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;

9401:
9402: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
9403: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
9404: l_other_message VARCHAR2(2000);
9405: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
9406: l_msg_count NUMBER := 0;
9407:
9408: EXC_ERR_PVT_API_MAIN EXCEPTION;
9409: CHECK_WO_DATES_ERR EXCEPTION;

Line 9464: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.PROCESS_WO : Start========================================================') ; END IF ;

9460: WHERE wip_entity_id = c_wip_entity_id;
9461:
9462:
9463: BEGIN
9464: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.PROCESS_WO : Start========================================================') ; END IF ;
9465:
9466: l_wkorder_old_op_tbl.delete;
9467: l_wkorder_old_op_dt_tbl.delete;
9468:

Line 9575: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.PROCESS_WO : Calling the WORK_ORDER procedure...') ; END IF ;

9571: exception when others then
9572: null;
9573: end;
9574:
9575: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.PROCESS_WO : Calling the WORK_ORDER procedure...') ; END IF ;
9576:
9577: WORK_ORDER
9578: ( p_validation_level => p_validation_level
9579: , p_wip_entity_id => l_wip_entity_id

Line 9628: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : WORK_ORDER completed with status of '||l_eam_return_status) ; END IF ;

9624:
9625: END IF;
9626:
9627:
9628: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : WORK_ORDER completed with status of '||l_eam_return_status) ; END IF ;
9629:
9630: if nvl(l_eam_return_status,'S') = 'S' then
9631:
9632: IF(l_eam_wo_rec.transaction_type IS NOT NULL) THEN -- wip_entity_id will be defaulted when creating workorder

Line 9653: EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling EAM_RES_UTILITY_PVT.CREATE_OSP_REQ to create requisitions for osp item for already released workorder');

9649: and l_old_eam_wo_rec.status_type = 3
9650: and nvl(l_eam_wo_rec.po_creation_time,2)=WIP_CONSTANTS.AT_JOB_SCHEDULE_RELEASE
9651: ) then
9652: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
9653: EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling EAM_RES_UTILITY_PVT.CREATE_OSP_REQ to create requisitions for osp item for already released workorder');
9654: END IF;
9655: EAM_RES_UTILITY_PVT.CREATE_OSP_REQ
9656: (
9657: p_eam_res_tbl => p_eam_res_tbl,

Line 9724: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO :Calling the Check_Shortage procedure for materials'); END IF;

9720: -- do not call material shortage for CMRO
9721: IF l_eam_wo_rec.maintenance_object_source = 1 THEN
9722:
9723: IF l_material_shortage = G_MATERIAL_UPDATE THEN
9724: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO :Calling the Check_Shortage procedure for materials'); END IF;
9725: eam_material_validate_pub.Check_Shortage
9726: (
9727: p_api_version => 1.0
9728: , x_return_status => l_return_status

Line 9752: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.PROCESS_WO :Scheduling WO') ; END IF ;

9748: END IF;
9749:
9750: IF l_scheduled=G_SCHEDULE_WO AND NVL(l_eam_wo_rec.ds_scheduled_flag,'N')='N' THEN
9751: IF (nvl(l_eam_wo_rec.source_code, 'X') NOT IN ('MSC','AHL') ) THEN --EAM related changes in PS-CMRO Integration bug 9413058
9752: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||'EAM_PROCESS_WO_PVT.PROCESS_WO :Scheduling WO') ; END IF ;
9753: EAM_WO_SCHEDULE_PVT.SCHEDULE_WO
9754: ( p_organization_id => l_eam_wo_rec.organization_id
9755: , p_wip_entity_id => l_eam_wo_rec.wip_entity_id
9756: , p_start_date => l_eam_wo_rec.requested_start_date

Line 9784: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO :Calling update_resource_usage for firm work orders') ; END IF ;

9780: l_out_eam_res_tbl := l_eam_res_tbl;
9781: l_out_eam_res_inst_tbl := l_eam_res_inst_tbl;
9782: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
9783:
9784: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO :Calling update_resource_usage for firm work orders') ; END IF ;
9785:
9786: EAM_SCHED_BOTTOM_UP_PVT.update_resource_usage(
9787: p_eam_res_tbl => l_eam_res_tbl
9788: , p_eam_res_inst_tbl => l_eam_res_inst_tbl

Line 9798: EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : update_resource_usage for firm work orders returned status is ' || l_return_status ) ;

9794: , x_message_name => l_err_text
9795: ) ;
9796:
9797: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
9798: EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : update_resource_usage for firm work orders returned status is ' || l_return_status ) ;
9799: END IF ;
9800: IF NVL(l_return_status, 'T') <> 'S' THEN
9801: l_eam_return_status := l_return_status;
9802: l_return_status := 'E';

Line 9816: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Checking WO dates to see whether they are correctly encompassed...') ; END IF ;

9812: END IF;
9813: -- bug 13493098
9814: if l_scheduled = G_FIRM_WORKORDER or NVL(l_eam_wo_rec.ds_scheduled_flag,'N')= 'Y' or (nvl(l_eam_wo_rec.source_code, 'X') IN ('AHL') ) then
9815:
9816: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Checking WO dates to see whether they are correctly encompassed...') ; END IF ;
9817:
9818: EAM_WO_NETWORK_DEFAULT_PVT.Check_Wo_Dates
9819: (
9820: p_api_version => 1.0,

Line 9832: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Check_Wo_Dates completed with status of '||l_return_status) ; END IF ;

9828: x_msg_count => l_msg_count,
9829: x_msg_data => l_err_text
9830: );
9831:
9832: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Check_Wo_Dates completed with status of '||l_return_status) ; END IF ;
9833:
9834: IF NVL(l_return_status, 'T') <> 'S' THEN
9835:
9836:

Line 9837: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling schedule_bottom_up_pvt for firm work orders') ; END IF ;

9833:
9834: IF NVL(l_return_status, 'T') <> 'S' THEN
9835:
9836:
9837: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling schedule_bottom_up_pvt for firm work orders') ; END IF ;
9838:
9839: --Added parameter p_woru_modified to the procedure. This is done to ensure that dates are changed correctly from summary tab in Create Update WO page
9840:
9841: EAM_SCHED_BOTTOM_UP_PVT.schedule_bottom_up_pvt (

Line 9856: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

9852: l_token_tbl(1).token_name := 'WORK_ORDER_NAME';
9853: l_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;
9854:
9855: l_out_mesg_token_tbl := l_mesg_token_tbl;
9856: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
9857: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
9858: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
9859: , p_message_name => 'EAM_SCHED_BOTTOMUP_MSG'
9860: , p_token_tbl => l_token_tbl

Line 9875: EAM_ERROR_MESSAGE_PVT.Log_Error

9871: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
9872: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
9873: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
9874: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
9875: EAM_ERROR_MESSAGE_PVT.Log_Error
9876: ( p_eam_wo_rec => l_eam_wo_rec
9877: , p_eam_op_tbl => l_eam_op_tbl
9878: , p_eam_op_network_tbl => l_eam_op_network_tbl
9879: , p_eam_res_tbl => l_eam_res_tbl

Line 9887: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

9883: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
9884: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
9885: , p_mesg_token_tbl => l_mesg_token_tbl
9886: , p_error_status => FND_API.G_RET_STS_ERROR
9887: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9888: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9889: , p_other_message => l_other_message
9890: , p_other_token_tbl => l_other_token_tbl
9891: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 9888: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

9884: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
9885: , p_mesg_token_tbl => l_mesg_token_tbl
9886: , p_error_status => FND_API.G_RET_STS_ERROR
9887: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9888: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9889: , p_other_message => l_other_message
9890: , p_other_token_tbl => l_other_token_tbl
9891: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
9892: , x_eam_wo_rec => l_out_eam_wo_rec

Line 9891: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

9887: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
9888: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
9889: , p_other_message => l_other_message
9890: , p_other_token_tbl => l_other_token_tbl
9891: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
9892: , x_eam_wo_rec => l_out_eam_wo_rec
9893: , x_eam_op_tbl => l_out_eam_op_tbl
9894: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
9895: , x_eam_res_tbl => l_out_eam_res_tbl

Line 9913: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

9909: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
9910: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl; */
9911:
9912:
9913: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
9914:
9915: x_msg_count := l_msg_count;
9916: /* x_return_status := l_return_status;
9917: x_eam_wo_rec := l_eam_wo_rec;

Line 9933: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : schedule_bottom_up_pvt for firm work orders return status :' ||l_return_status) ; END IF ;

9929:
9930:
9931: /*7570880 end -Fp of 7003588 for eAM Reconcilation */
9932:
9933: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : schedule_bottom_up_pvt for firm work orders return status :' ||l_return_status) ; END IF ;
9934: IF NVL(l_return_status, 'T') <> 'S' THEN
9935: l_eam_return_status := l_return_status;
9936: l_return_status := 'E';
9937: RAISE SCHEDULE_BOTTOM_UP_ERR;

Line 9958: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Updating assignment details of an employee ') ; END IF ;

9954: END IF;
9955:
9956: IF ( l_emp_assignment = TRUE ) THEN
9957:
9958: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Updating assignment details of an employee ') ; END IF ;
9959:
9960: Update eam_work_order_details
9961: set ASSIGNMENT_COMPLETE = EAM_ASSIGN_EMP_PUB.Get_Emp_Assignment_Status(l_eam_wo_rec.wip_entity_id,l_eam_wo_rec.organization_id)
9962: where wip_entity_id = l_eam_wo_rec.wip_entity_id;

Line 9965: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Checking Operation Network Dates... ') ; END IF ;

9961: set ASSIGNMENT_COMPLETE = EAM_ASSIGN_EMP_PUB.Get_Emp_Assignment_Status(l_eam_wo_rec.wip_entity_id,l_eam_wo_rec.organization_id)
9962: where wip_entity_id = l_eam_wo_rec.wip_entity_id;
9963: END IF;
9964:
9965: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Checking Operation Network Dates... ') ; END IF ;
9966:
9967: EAM_OP_VALIDATE_PVT.Check_Operation_Netwrok_Dates
9968: (
9969: p_api_version => 1.0,

Line 9979: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Check_Operation_Netwrok_Dates completed with status of '||l_return_status) ; END IF ;

9975: x_pri_operation_no => l_prior_op_no,
9976: x_next_operation_no => l_next_op_no
9977: );
9978:
9979: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Check_Operation_Netwrok_Dates completed with status of '||l_return_status) ; END IF ;
9980:
9981: IF NVL(l_return_status, 'T') <> 'S' THEN
9982: l_eam_return_status := l_return_status;
9983: l_return_status := 'E';

Line 9988: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Scheduling WO completed with status ' || l_return_status) ; END IF ;

9984: RAISE CHECK_OP_NETWORK_DATES_ERR;
9985: END IF;
9986:
9987:
9988: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Scheduling WO completed with status ' || l_return_status) ; END IF ;
9989:
9990: -- Even for firm work orders, make sure that the work order dates
9991: -- encompass the operation dates and that the operation dates
9992: -- encompass the resource dates and that the resource dates

Line 9997: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling Check_Resource_Dates procedure ...') ; END IF ;

9993: -- encompass the resource instance dates.
9994:
9995: if l_scheduled = G_FIRM_WORKORDER then
9996:
9997: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling Check_Resource_Dates procedure ...') ; END IF ;
9998:
9999: EAM_WO_NETWORK_DEFAULT_PVT.Check_Resource_Dates
10000: (
10001: p_api_version => 1.0,

Line 10012: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Check_Resource_Dates completed with status of '||l_return_status) ; END IF ;

10008: x_return_status => l_return_status,
10009: x_msg_count => l_msg_count,
10010: x_msg_data => l_err_text
10011: );
10012: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Check_Resource_Dates completed with status of '||l_return_status) ; END IF ;
10013:
10014: IF NVL(l_return_status, 'T') <> 'S' THEN
10015: l_eam_return_status := l_return_status;
10016: l_return_status := 'E';

Line 10023: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling Check_Wo_Negative_Dates procedure ... ') ; END IF ;

10019:
10020: end if;
10021:
10022: begin
10023: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling Check_Wo_Negative_Dates procedure ... ') ; END IF ;
10024: EAM_WO_NETWORK_DEFAULT_PVT.Check_Wo_Negative_Dates
10025: (
10026: p_api_version => 1.0,
10027: p_init_msg_list => FND_API.G_FALSE,

Line 10037: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Check_Wo_Negative_Dates completed with status of '||l_return_status) ; END IF ;

10033: x_msg_count => l_msg_count,
10034: x_msg_data => l_err_text
10035: );
10036:
10037: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Check_Wo_Negative_Dates completed with status of '||l_return_status) ; END IF ;
10038:
10039: IF NVL(l_return_status, 'T') <> 'S' THEN
10040: l_eam_return_status := l_return_status;
10041: l_return_status := 'E';

Line 10052: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling Validate_Structure API'); END IF;

10048: IF NVL(l_eam_wo_rec.source_code,'X') <> 'MSC' THEN --EAM related changes in PS-CMRO Integration bug 9413058
10049:
10050: if NVL(l_eam_wo_rec.validate_structure,'N') <> 'Y' then -- check added for bug# 3544860
10051:
10052: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling Validate_Structure API'); END IF;
10053:
10054: EAM_WO_NETWORK_VALIDATE_PVT.Validate_Structure
10055: (
10056: p_api_version => 1.0,

Line 10085: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : enters inside update'); END IF;

10081: END IF;
10082:
10083: end if;
10084:
10085: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : enters inside update'); END IF;
10086: UPDATE_DATES(l_eam_wo_rec,
10087: l_eam_op_tbl,
10088: l_eam_res_tbl,
10089: l_eam_res_inst_tbl);

Line 10092: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10088: l_eam_res_tbl,
10089: l_eam_res_inst_tbl);
10090: end if; --end of check for l_eam_return_status and 'S'
10091:
10092: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10093:
10094: -- Load out parameters
10095: IF nvl(l_eam_return_status,'S') <> 'S' THEN
10096: x_return_status := l_eam_return_status;

Line 10101: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Updating WIP_REQUIREMENT_OPERATIONS'); END IF;

10097: END IF;
10098:
10099: IF l_eam_return_status = 'S' THEN
10100:
10101: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Updating WIP_REQUIREMENT_OPERATIONS'); END IF;
10102:
10103: begin
10104: select operation_seq_num,first_unit_start_date
10105: bulk collect into l_wkorder_new_op_tbl,l_wkorder_new_op_dt_tbl

Line 10144: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Updating date required columns for WIP_REQUIREMENT_OPERATIONS'); END IF;

10140: END LOOP;
10141: END IF;
10142: END IF; --- end of l_wkorder_old_op_tbl.COUNT
10143:
10144: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Updating date required columns for WIP_REQUIREMENT_OPERATIONS'); END IF;
10145:
10146: IF l_wip_entity_id IS NOT NULL THEN
10147: select SCHEDULED_START_DATE into l_wo_new_sch_start_date
10148: from wip_discrete_jobs

Line 10220: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling material Allocation procedure at wo release/cancel ... ') ; END IF ;

10216: (l_eam_wo_rec.transaction_type = EAM_PROCESS_WO_PUB.G_OPR_CREATE and
10217: l_eam_wo_rec.status_type = 3)
10218: ) then
10219:
10220: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Calling material Allocation procedure at wo release/cancel ... ') ; END IF ;
10221:
10222: EAM_MATERIALISSUE_PVT.alloc_at_release_cancel (
10223: p_api_version => 1.0,
10224: p_init_msg_list => fnd_api.g_false,

Line 10236: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Allocation creation at wo release/cancel completed with status of '||l_return_status) ; END IF ;

10232: x_msg_count => l_msg_count
10233: );
10234:
10235:
10236: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Allocation creation at wo release/cancel completed with status of '||l_return_status) ; END IF ;
10237:
10238: IF NVL(l_return_status, 'T') <> 'S' THEN
10239: l_eam_return_status := 'E';
10240: RAISE ALLOC_CREATION_ERR;

Line 10295: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling UPDATE_INTERMEDIA_INDEX'); END IF;

10291: END LOOP;
10292:
10293: END IF; --end of if l_out_eam_mat_req_tbl.COUNT
10294:
10295: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling UPDATE_INTERMEDIA_INDEX'); END IF;
10296:
10297: IF(l_eam_wo_rec.maintenance_object_source =1 ) THEN --update intermedia index only for EAM workorders
10298: UPDATE_INTERMEDIA_INDEX
10299: (

Line 10310: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Assigning Out Parameters'); END IF;

10306: END IF; --end of check for maint. object source...
10307:
10308: END IF; --end of l_eam_return_status='S'
10309:
10310: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM_PROCESS_WO_PVT.PROCESS_WO : Assigning Out Parameters'); END IF;
10311:
10312: x_msg_count := l_msg_count;
10313: x_eam_wo_rec := l_eam_wo_rec;
10314: x_eam_op_tbl := l_eam_op_tbl;

Line 10324: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.PROCESS_WO : End ==== Return status: '||x_return_status||' =======================') ; END IF ;

10320: x_eam_mat_req_tbl := l_eam_mat_req_tbl;
10321: x_eam_direct_items_tbl := l_eam_direct_items_tbl;
10322: x_return_status := l_eam_return_status;
10323:
10324: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.PROCESS_WO : End ==== Return status: '||x_return_status||' =======================') ; END IF ;
10325:
10326: EXCEPTION
10327:
10328: WHEN ALLOC_CREATION_ERR THEN

Line 10334: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

10330: l_token_tbl(1).token_name := 'Wip_Entity_Id';
10331: l_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_id;
10332:
10333: l_out_mesg_token_tbl := l_mesg_token_tbl;
10334: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
10335: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
10336: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
10337: , p_message_name => 'EAM_WO_ALLOC_CR_ERR'
10338: , p_token_tbl => l_token_tbl

Line 10353: EAM_ERROR_MESSAGE_PVT.Log_Error

10349: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10350: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10351: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10352: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10353: EAM_ERROR_MESSAGE_PVT.Log_Error
10354: ( p_eam_wo_rec => l_eam_wo_rec
10355: , p_eam_op_tbl => l_eam_op_tbl
10356: , p_eam_op_network_tbl => l_eam_op_network_tbl
10357: , p_eam_res_tbl => l_eam_res_tbl

Line 10365: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10361: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10362: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10363: , p_mesg_token_tbl => l_mesg_token_tbl
10364: , p_error_status => FND_API.G_RET_STS_ERROR
10365: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10366: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10367: , p_other_message => l_other_message
10368: , p_other_token_tbl => l_other_token_tbl
10369: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10366: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10362: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10363: , p_mesg_token_tbl => l_mesg_token_tbl
10364: , p_error_status => FND_API.G_RET_STS_ERROR
10365: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10366: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10367: , p_other_message => l_other_message
10368: , p_other_token_tbl => l_other_token_tbl
10369: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10370: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10369: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10365: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10366: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10367: , p_other_message => l_other_message
10368: , p_other_token_tbl => l_other_token_tbl
10369: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10370: , x_eam_wo_rec => l_out_eam_wo_rec
10371: , x_eam_op_tbl => l_out_eam_op_tbl
10372: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10373: , x_eam_res_tbl => l_out_eam_res_tbl

Line 10390: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10386: l_eam_mat_req_tbl := l_out_eam_mat_req_tbl;
10387: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
10388: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
10389:
10390: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10391:
10392: x_msg_count := l_msg_count;
10393: x_return_status := l_return_status;
10394: x_eam_wo_rec := l_eam_wo_rec;

Line 10415: EAM_ERROR_MESSAGE_PVT.Log_Error

10411: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10412: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10413: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10414: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10415: EAM_ERROR_MESSAGE_PVT.Log_Error
10416: ( p_eam_wo_rec => l_eam_wo_rec
10417: , p_eam_op_tbl => l_eam_op_tbl
10418: , p_eam_op_network_tbl => l_eam_op_network_tbl
10419: , p_eam_res_tbl => l_eam_res_tbl

Line 10427: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10423: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10424: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10425: , p_mesg_token_tbl => l_mesg_token_tbl
10426: , p_error_status => FND_API.G_RET_STS_ERROR
10427: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10428: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10429: , p_other_message => l_other_message
10430: , p_other_token_tbl => l_other_token_tbl
10431: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10428: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10424: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10425: , p_mesg_token_tbl => l_mesg_token_tbl
10426: , p_error_status => FND_API.G_RET_STS_ERROR
10427: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10428: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10429: , p_other_message => l_other_message
10430: , p_other_token_tbl => l_other_token_tbl
10431: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10432: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10431: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10427: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10428: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10429: , p_other_message => l_other_message
10430: , p_other_token_tbl => l_other_token_tbl
10431: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10432: , x_eam_wo_rec => l_out_eam_wo_rec
10433: , x_eam_op_tbl => l_out_eam_op_tbl
10434: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10435: , x_eam_res_tbl => l_out_eam_res_tbl

Line 10452: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10448: l_eam_mat_req_tbl := l_out_eam_mat_req_tbl;
10449: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
10450: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
10451:
10452: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10453:
10454: x_msg_count := l_msg_count;
10455: x_return_status := l_return_status;
10456: x_eam_wo_rec := l_eam_wo_rec;

Line 10473: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

10469: l_token_tbl(1).token_name := 'WIPENTITYID';
10470: l_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_id;
10471:
10472: l_out_mesg_token_tbl := l_mesg_token_tbl;
10473: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
10474: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
10475: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
10476: , p_message_name => 'EAM_WO_OSP_REQ_ERR'
10477: , p_token_tbl => l_token_tbl

Line 10492: EAM_ERROR_MESSAGE_PVT.Log_Error

10488: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10489: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10490: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10491: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10492: EAM_ERROR_MESSAGE_PVT.Log_Error
10493: ( p_eam_wo_rec => l_eam_wo_rec
10494: , p_eam_op_tbl => l_eam_op_tbl
10495: , p_eam_op_network_tbl => l_eam_op_network_tbl
10496: , p_eam_res_tbl => l_eam_res_tbl

Line 10504: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10500: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10501: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10502: , p_mesg_token_tbl => l_mesg_token_tbl
10503: , p_error_status => FND_API.G_RET_STS_ERROR
10504: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10505: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10506: , p_other_message => l_other_message
10507: , p_other_token_tbl => l_other_token_tbl
10508: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10505: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10501: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10502: , p_mesg_token_tbl => l_mesg_token_tbl
10503: , p_error_status => FND_API.G_RET_STS_ERROR
10504: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10505: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10506: , p_other_message => l_other_message
10507: , p_other_token_tbl => l_other_token_tbl
10508: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10509: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10508: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10504: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10505: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10506: , p_other_message => l_other_message
10507: , p_other_token_tbl => l_other_token_tbl
10508: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10509: , x_eam_wo_rec => l_out_eam_wo_rec
10510: , x_eam_op_tbl => l_out_eam_op_tbl
10511: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10512: , x_eam_res_tbl => l_out_eam_res_tbl

Line 10529: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10525: l_eam_mat_req_tbl := l_out_eam_mat_req_tbl;
10526: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
10527: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
10528:
10529: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10530:
10531: x_msg_count := l_msg_count;
10532: x_return_status := l_return_status;
10533: x_eam_wo_rec := l_eam_wo_rec;

Line 10549: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

10545: l_token_tbl(1).token_name := 'WORK_ORDER_NAME';
10546: l_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;
10547:
10548: l_out_mesg_token_tbl := l_mesg_token_tbl;
10549: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
10550: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
10551: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
10552: , p_message_name => l_err_text
10553: , p_token_tbl => l_token_tbl

Line 10568: EAM_ERROR_MESSAGE_PVT.Log_Error

10564: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10565: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10566: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10567: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10568: EAM_ERROR_MESSAGE_PVT.Log_Error
10569: ( p_eam_wo_rec => l_eam_wo_rec
10570: , p_eam_op_tbl => l_eam_op_tbl
10571: , p_eam_op_network_tbl => l_eam_op_network_tbl
10572: , p_eam_res_tbl => l_eam_res_tbl

Line 10580: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10576: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10577: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10578: , p_mesg_token_tbl => l_mesg_token_tbl
10579: , p_error_status => FND_API.G_RET_STS_ERROR
10580: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10581: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10582: , p_other_message => l_other_message
10583: , p_other_token_tbl => l_other_token_tbl
10584: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10581: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10577: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10578: , p_mesg_token_tbl => l_mesg_token_tbl
10579: , p_error_status => FND_API.G_RET_STS_ERROR
10580: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10581: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10582: , p_other_message => l_other_message
10583: , p_other_token_tbl => l_other_token_tbl
10584: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10585: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10584: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10580: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10581: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10582: , p_other_message => l_other_message
10583: , p_other_token_tbl => l_other_token_tbl
10584: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10585: , x_eam_wo_rec => l_out_eam_wo_rec
10586: , x_eam_op_tbl => l_out_eam_op_tbl
10587: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10588: , x_eam_res_tbl => l_out_eam_res_tbl

Line 10606: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10602: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
10603: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
10604:
10605:
10606: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10607:
10608: x_msg_count := l_msg_count;
10609: x_return_status := l_return_status;
10610: x_eam_wo_rec := l_eam_wo_rec;

Line 10626: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

10622: l_token_tbl(1).token_name := 'WORK_ORDER_NAME';
10623: l_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_name;
10624:
10625: l_out_mesg_token_tbl := l_mesg_token_tbl;
10626: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
10627: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
10628: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
10629: , p_message_name => l_err_text
10630: , p_token_tbl => l_token_tbl

Line 10645: EAM_ERROR_MESSAGE_PVT.Log_Error

10641: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10642: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10643: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10644: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10645: EAM_ERROR_MESSAGE_PVT.Log_Error
10646: ( p_eam_wo_rec => l_eam_wo_rec
10647: , p_eam_op_tbl => l_eam_op_tbl
10648: , p_eam_op_network_tbl => l_eam_op_network_tbl
10649: , p_eam_res_tbl => l_eam_res_tbl

Line 10657: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10653: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10654: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10655: , p_mesg_token_tbl => l_mesg_token_tbl
10656: , p_error_status => FND_API.G_RET_STS_ERROR
10657: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10658: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10659: , p_other_message => l_other_message
10660: , p_other_token_tbl => l_other_token_tbl
10661: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10658: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10654: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10655: , p_mesg_token_tbl => l_mesg_token_tbl
10656: , p_error_status => FND_API.G_RET_STS_ERROR
10657: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10658: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10659: , p_other_message => l_other_message
10660: , p_other_token_tbl => l_other_token_tbl
10661: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10662: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10661: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10657: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10658: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10659: , p_other_message => l_other_message
10660: , p_other_token_tbl => l_other_token_tbl
10661: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10662: , x_eam_wo_rec => l_out_eam_wo_rec
10663: , x_eam_op_tbl => l_out_eam_op_tbl
10664: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10665: , x_eam_res_tbl => l_out_eam_res_tbl

Line 10683: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10679: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
10680: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
10681:
10682:
10683: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10684:
10685: x_msg_count := l_msg_count;
10686: x_return_status := l_return_status;
10687: x_eam_wo_rec := l_eam_wo_rec;

Line 10703: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

10699: l_token_tbl(1).token_name := 'OP_SEQ_NO';
10700: l_token_tbl(1).token_value := l_prior_op_no || ',' || l_next_op_no;
10701:
10702: l_out_mesg_token_tbl := l_mesg_token_tbl;
10703: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
10704: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
10705: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
10706: , p_message_name => 'EAM_OP_NETWRK_DATES_ERR'
10707: , p_token_tbl => l_token_tbl

Line 10722: EAM_ERROR_MESSAGE_PVT.Log_Error

10718: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10719: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10720: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10721: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10722: EAM_ERROR_MESSAGE_PVT.Log_Error
10723: ( p_eam_wo_rec => l_eam_wo_rec
10724: , p_eam_op_tbl => l_eam_op_tbl
10725: , p_eam_op_network_tbl => l_eam_op_network_tbl
10726: , p_eam_res_tbl => l_eam_res_tbl

Line 10734: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10730: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10731: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10732: , p_mesg_token_tbl => l_mesg_token_tbl
10733: , p_error_status => FND_API.G_RET_STS_ERROR
10734: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10735: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10736: , p_other_message => l_other_message
10737: , p_other_token_tbl => l_other_token_tbl
10738: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10735: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10731: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10732: , p_mesg_token_tbl => l_mesg_token_tbl
10733: , p_error_status => FND_API.G_RET_STS_ERROR
10734: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10735: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10736: , p_other_message => l_other_message
10737: , p_other_token_tbl => l_other_token_tbl
10738: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10739: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10738: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10734: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10735: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10736: , p_other_message => l_other_message
10737: , p_other_token_tbl => l_other_token_tbl
10738: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10739: , x_eam_wo_rec => l_out_eam_wo_rec
10740: , x_eam_op_tbl => l_out_eam_op_tbl
10741: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10742: , x_eam_res_tbl => l_out_eam_res_tbl

Line 10760: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10756: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
10757: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
10758:
10759:
10760: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10761:
10762: x_msg_count := l_msg_count;
10763: x_return_status := l_return_status;
10764: x_eam_wo_rec := l_eam_wo_rec;

Line 10787: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

10783: AND we.organization_id = l_eam_wo_rec.organization_id;
10784:
10785:
10786: l_out_mesg_token_tbl := l_mesg_token_tbl;
10787: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
10788: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
10789: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
10790: , p_message_name => 'EAM_WO_CHK_DATES_ERR'
10791: , p_token_tbl => l_token_tbl

Line 10806: EAM_ERROR_MESSAGE_PVT.Log_Error

10802: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10803: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10804: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10805: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10806: EAM_ERROR_MESSAGE_PVT.Log_Error
10807: ( p_eam_wo_rec => l_eam_wo_rec
10808: , p_eam_op_tbl => l_eam_op_tbl
10809: , p_eam_op_network_tbl => l_eam_op_network_tbl
10810: , p_eam_res_tbl => l_eam_res_tbl

Line 10818: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10814: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10815: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10816: , p_mesg_token_tbl => l_mesg_token_tbl
10817: , p_error_status => FND_API.G_RET_STS_ERROR
10818: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10819: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10820: , p_other_message => l_other_message
10821: , p_other_token_tbl => l_other_token_tbl
10822: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10819: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10815: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10816: , p_mesg_token_tbl => l_mesg_token_tbl
10817: , p_error_status => FND_API.G_RET_STS_ERROR
10818: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10819: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10820: , p_other_message => l_other_message
10821: , p_other_token_tbl => l_other_token_tbl
10822: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10823: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10822: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10818: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10819: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10820: , p_other_message => l_other_message
10821: , p_other_token_tbl => l_other_token_tbl
10822: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10823: , x_eam_wo_rec => l_out_eam_wo_rec
10824: , x_eam_op_tbl => l_out_eam_op_tbl
10825: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10826: , x_eam_res_tbl => l_out_eam_res_tbl

Line 10844: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10840: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
10841: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
10842:
10843:
10844: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10845:
10846: x_msg_count := l_msg_count;
10847: x_return_status := l_return_status;
10848: x_eam_wo_rec := l_eam_wo_rec;

Line 10870: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

10866: AND we.organization_id = l_eam_wo_rec.organization_id;
10867:
10868:
10869: l_out_mesg_token_tbl := l_mesg_token_tbl;
10870: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
10871: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
10872: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
10873: , p_message_name => 'CHECK_WO_RES_DATES_ERR'
10874: , p_token_tbl => l_token_tbl

Line 10889: EAM_ERROR_MESSAGE_PVT.Log_Error

10885: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10886: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10887: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10888: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10889: EAM_ERROR_MESSAGE_PVT.Log_Error
10890: ( p_eam_wo_rec => l_eam_wo_rec
10891: , p_eam_op_tbl => l_eam_op_tbl
10892: , p_eam_op_network_tbl => l_eam_op_network_tbl
10893: , p_eam_res_tbl => l_eam_res_tbl

Line 10901: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10897: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10898: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10899: , p_mesg_token_tbl => l_mesg_token_tbl
10900: , p_error_status => FND_API.G_RET_STS_ERROR
10901: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10902: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10903: , p_other_message => l_other_message
10904: , p_other_token_tbl => l_other_token_tbl
10905: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10902: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10898: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10899: , p_mesg_token_tbl => l_mesg_token_tbl
10900: , p_error_status => FND_API.G_RET_STS_ERROR
10901: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10902: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10903: , p_other_message => l_other_message
10904: , p_other_token_tbl => l_other_token_tbl
10905: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10906: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10905: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10901: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10902: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10903: , p_other_message => l_other_message
10904: , p_other_token_tbl => l_other_token_tbl
10905: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10906: , x_eam_wo_rec => l_out_eam_wo_rec
10907: , x_eam_op_tbl => l_out_eam_op_tbl
10908: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10909: , x_eam_res_tbl => l_out_eam_res_tbl

Line 10927: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10923: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
10924: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
10925:
10926:
10927: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
10928:
10929: x_msg_count := l_msg_count;
10930: x_return_status := l_return_status;
10931: x_eam_wo_rec := l_eam_wo_rec;

Line 10946: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

10942: l_token_tbl(1).token_name := 'Wip Entity Id';
10943: l_token_tbl(1).token_value := l_eam_wo_rec.wip_entity_id;
10944:
10945: l_out_mesg_token_tbl := l_mesg_token_tbl;
10946: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
10947: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
10948: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
10949: , p_message_name => 'EAM_WO_CHK_NEGATIVE_DATES_ERR'
10950: , p_token_tbl => l_token_tbl

Line 10965: EAM_ERROR_MESSAGE_PVT.Log_Error

10961: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
10962: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
10963: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
10964: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
10965: EAM_ERROR_MESSAGE_PVT.Log_Error
10966: ( p_eam_wo_rec => l_eam_wo_rec
10967: , p_eam_op_tbl => l_eam_op_tbl
10968: , p_eam_op_network_tbl => l_eam_op_network_tbl
10969: , p_eam_res_tbl => l_eam_res_tbl

Line 10977: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

10973: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
10974: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10975: , p_mesg_token_tbl => l_mesg_token_tbl
10976: , p_error_status => FND_API.G_RET_STS_ERROR
10977: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10978: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10979: , p_other_message => l_other_message
10980: , p_other_token_tbl => l_other_token_tbl
10981: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 10978: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

10974: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
10975: , p_mesg_token_tbl => l_mesg_token_tbl
10976: , p_error_status => FND_API.G_RET_STS_ERROR
10977: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10978: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10979: , p_other_message => l_other_message
10980: , p_other_token_tbl => l_other_token_tbl
10981: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10982: , x_eam_wo_rec => l_out_eam_wo_rec

Line 10981: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

10977: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
10978: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
10979: , p_other_message => l_other_message
10980: , p_other_token_tbl => l_other_token_tbl
10981: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
10982: , x_eam_wo_rec => l_out_eam_wo_rec
10983: , x_eam_op_tbl => l_out_eam_op_tbl
10984: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
10985: , x_eam_res_tbl => l_out_eam_res_tbl

Line 11003: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

10999: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
11000: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
11001:
11002:
11003: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
11004:
11005: x_msg_count := l_msg_count;
11006: x_return_status := l_return_status;
11007: x_eam_wo_rec := l_eam_wo_rec;

Line 11019: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11015: x_eam_direct_items_tbl := l_eam_direct_items_tbl;
11016: WHEN VALIDATE_NETWORK_ERR THEN
11017:
11018: l_out_mesg_token_tbl := l_mesg_token_tbl;
11019: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11020: ( x_Mesg_token_tbl => l_out_Mesg_Token_Tbl
11021: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11022: , p_message_name => 'EAM_WN_MAIN_VALIDATE_STRUCT'
11023: , p_token_tbl => l_token_tbl

Line 11038: EAM_ERROR_MESSAGE_PVT.Log_Error

11034: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
11035: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
11036: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
11037: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
11038: EAM_ERROR_MESSAGE_PVT.Log_Error
11039: ( p_eam_wo_rec => l_eam_wo_rec
11040: , p_eam_op_tbl => l_eam_op_tbl
11041: , p_eam_op_network_tbl => l_eam_op_network_tbl
11042: , p_eam_res_tbl => l_eam_res_tbl

Line 11050: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

11046: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
11047: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
11048: , p_mesg_token_tbl => l_mesg_token_tbl
11049: , p_error_status => FND_API.G_RET_STS_ERROR
11050: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
11051: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11052: , p_other_message => l_other_message
11053: , p_other_token_tbl => l_other_token_tbl
11054: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 11051: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

11047: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
11048: , p_mesg_token_tbl => l_mesg_token_tbl
11049: , p_error_status => FND_API.G_RET_STS_ERROR
11050: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
11051: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11052: , p_other_message => l_other_message
11053: , p_other_token_tbl => l_other_token_tbl
11054: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
11055: , x_eam_wo_rec => l_out_eam_wo_rec

Line 11054: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

11050: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
11051: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11052: , p_other_message => l_other_message
11053: , p_other_token_tbl => l_other_token_tbl
11054: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
11055: , x_eam_wo_rec => l_out_eam_wo_rec
11056: , x_eam_op_tbl => l_out_eam_op_tbl
11057: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
11058: , x_eam_res_tbl => l_out_eam_res_tbl

Line 11076: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

11072: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
11073: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
11074:
11075:
11076: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
11077:
11078: x_msg_count := l_msg_count;
11079: x_return_status := l_return_status;
11080: x_eam_wo_rec := l_eam_wo_rec;

Line 11093: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

11089:
11090:
11091: WHEN G_EXC_QUIT_IMPORT THEN
11092:
11093: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
11094:
11095: x_msg_count := l_msg_count;
11096: x_return_status := l_return_status;
11097: x_eam_wo_rec := l_eam_wo_rec;

Line 11114: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11110: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11111: THEN
11112: l_err_text := G_PKG_NAME || ' : Process WO ' || substrb(SQLERRM,1,200);
11113: l_out_mesg_token_tbl := l_mesg_token_tbl;
11114: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11115: ( p_Message_Text => l_err_text
11116: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11117: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11118: );

Line 11132: EAM_ERROR_MESSAGE_PVT.Log_Error

11128: l_out_eam_sub_res_tbl := l_eam_sub_res_tbl;
11129: l_out_eam_mat_req_tbl := l_eam_mat_req_tbl;
11130: l_out_eam_direct_items_tbl := l_eam_direct_items_tbl;
11131: l_out_eam_res_usage_tbl := l_eam_res_usage_tbl;
11132: EAM_ERROR_MESSAGE_PVT.Log_Error
11133: ( p_eam_wo_rec => l_eam_wo_rec
11134: , p_eam_op_tbl => l_eam_op_tbl
11135: , p_eam_op_network_tbl => l_eam_op_network_tbl
11136: , p_eam_res_tbl => l_eam_res_tbl

Line 11144: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD

11140: , p_eam_mat_req_tbl => l_eam_mat_req_tbl
11141: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
11142: , p_mesg_token_tbl => l_mesg_token_tbl
11143: , p_error_status => FND_API.G_RET_STS_ERROR
11144: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
11145: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11146: , p_other_message => l_other_message
11147: , p_other_token_tbl => l_other_token_tbl
11148: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

Line 11145: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

11141: , p_eam_direct_items_tbl => l_eam_direct_items_tbl
11142: , p_mesg_token_tbl => l_mesg_token_tbl
11143: , p_error_status => FND_API.G_RET_STS_ERROR
11144: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
11145: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11146: , p_other_message => l_other_message
11147: , p_other_token_tbl => l_other_token_tbl
11148: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
11149: , x_eam_wo_rec => l_out_eam_wo_rec

Line 11148: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

11144: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_SCOPE_RECORD
11145: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11146: , p_other_message => l_other_message
11147: , p_other_token_tbl => l_other_token_tbl
11148: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
11149: , x_eam_wo_rec => l_out_eam_wo_rec
11150: , x_eam_op_tbl => l_out_eam_op_tbl
11151: , x_eam_op_network_tbl => l_out_eam_op_network_tbl
11152: , x_eam_res_tbl => l_out_eam_res_tbl

Line 11169: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

11165: l_eam_mat_req_tbl := l_out_eam_mat_req_tbl;
11166: l_eam_direct_items_tbl := l_out_eam_direct_items_tbl;
11167: l_eam_res_usage_tbl := l_out_eam_res_usage_tbl;
11168:
11169: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
11170:
11171: x_msg_count := l_msg_count;
11172: x_return_status := l_return_status;
11173: x_eam_wo_rec := l_eam_wo_rec;

Line 11202: , x_Mesg_Token_Tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type

11198: ( p_transaction_type IN NUMBER
11199: , p_entity_name IN VARCHAR2
11200: , p_entity_id IN VARCHAR2
11201: , x_valid_transaction OUT NOCOPY BOOLEAN
11202: , x_Mesg_Token_Tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
11203: )
11204: IS
11205: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11206: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

Line 11205: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

11201: , x_valid_transaction OUT NOCOPY BOOLEAN
11202: , x_Mesg_Token_Tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
11203: )
11204: IS
11205: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11206: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11207: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
11208:
11209: BEGIN

Line 11206: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

11202: , x_Mesg_Token_Tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type
11203: )
11204: IS
11205: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11206: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11207: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
11208:
11209: BEGIN
11210: l_token_tbl(1).token_name := 'WIP_ENTITY_ID';

Line 11207: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;

11203: )
11204: IS
11205: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11206: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11207: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type;
11208:
11209: BEGIN
11210: l_token_tbl(1).token_name := 'WIP_ENTITY_ID';
11211: l_token_tbl(1).token_value := p_entity_id;

Line 11251: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11247: THEN
11248: IF p_entity_name = 'WORK_ORDER'
11249: THEN
11250: l_out_mesg_token_tbl := l_mesg_token_tbl;
11251: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11252: ( p_Message_Name => 'EAM_WO_TXN_TYPE_INVALID'
11253: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11254: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11255: );

Line 11260: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11256: l_mesg_token_tbl := l_out_mesg_token_tbl;
11257: ELSIF p_entity_name = 'OPERATION'
11258: THEN
11259: l_out_mesg_token_tbl := l_mesg_token_tbl;
11260: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11261: ( p_Message_Name => 'EAM_OP_TXN_TYPE_INVALID'
11262: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11263: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11264: );

Line 11269: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11265: l_mesg_token_tbl := l_out_mesg_token_tbl;
11266: ELSIF p_entity_name = 'OPERATION_NETWORK'
11267: THEN
11268: l_out_mesg_token_tbl := l_mesg_token_tbl;
11269: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11270: ( p_Message_Name => 'EAM_OPN_TXN_TYPE_INVALID'
11271: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11272: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11273: );

Line 11278: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11274: l_mesg_token_tbl := l_out_mesg_token_tbl;
11275: ELSIF p_entity_name = 'OPERATION_RESOURCE'
11276: THEN
11277: l_out_mesg_token_tbl := l_mesg_token_tbl;
11278: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11279: ( p_Message_Name => 'EAM_RES_TXN_TYPE_INVALID'
11280: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11281: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11282: );

Line 11287: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11283: l_mesg_token_tbl := l_out_mesg_token_tbl;
11284: ELSIF p_entity_name = 'SUB_RESOURCE'
11285: THEN
11286: l_out_mesg_token_tbl := l_mesg_token_tbl;
11287: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11288: ( p_Message_Name => 'EAM_SR_TXN_TYPE_INVALID'
11289: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11290: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11291: );

Line 11296: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11292: l_mesg_token_tbl := l_out_mesg_token_tbl;
11293: ELSIF p_entity_name = 'RESOURCE_INSTANCE'
11294: THEN
11295: l_out_mesg_token_tbl := l_mesg_token_tbl;
11296: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11297: ( p_Message_Name => 'EAM_RI_TXN_TYPE_INVALID'
11298: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11299: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11300: );

Line 11305: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11301: l_mesg_token_tbl := l_out_mesg_token_tbl;
11302: ELSIF p_entity_name = 'RESOURCE_USAGE'
11303: THEN
11304: l_out_mesg_token_tbl := l_mesg_token_tbl;
11305: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11306: ( p_Message_Name => 'EAM_RU_TXN_TYPE_INVALID'
11307: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11308: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11309: );

Line 11314: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11310: l_mesg_token_tbl := l_out_mesg_token_tbl;
11311: ELSIF p_entity_name = 'MATERIAL_REQUIREMENTS'
11312: THEN
11313: l_out_mesg_token_tbl := l_mesg_token_tbl;
11314: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11315: ( p_Message_Name => 'EAM_MR_TXN_TYPE_INVALID'
11316: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11317: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11318: );

Line 11323: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11319: l_mesg_token_tbl := l_out_mesg_token_tbl;
11320: ELSIF p_entity_name = 'DIRECT_ITEMS'
11321: THEN
11322: l_out_mesg_token_tbl := l_mesg_token_tbl;
11323: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11324: ( p_Message_Name => 'EAM_DI_TXN_TYPE_INVALID'
11325: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11326: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11327: );

Line 11332: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11328: l_mesg_token_tbl := l_out_mesg_token_tbl;
11329: ELSIF p_entity_name = 'WORK_ORDER_COMPLETEION'
11330: THEN
11331: l_out_mesg_token_tbl := l_mesg_token_tbl;
11332: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11333: ( p_Message_Name => 'EAM_WOCOMPL_TXN_TYPE_INVALID'
11334: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11335: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11336: );

Line 11341: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11337: l_mesg_token_tbl := l_out_mesg_token_tbl;
11338: ELSIF p_entity_name = 'OPERATION_COMPLETEION'
11339: THEN
11340: l_out_mesg_token_tbl := l_mesg_token_tbl;
11341: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11342: ( p_Message_Name => 'EAM_OPCOMPL_TXN_TYPE_INVALID'
11343: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11344: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11345: );

Line 11350: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11346: l_mesg_token_tbl := l_out_mesg_token_tbl;
11347: ELSIF p_entity_name = 'QUALITY_ENTRY'
11348: THEN
11349: l_out_mesg_token_tbl := l_mesg_token_tbl;
11350: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11351: ( p_Message_Name => 'EAM_QA_TXN_TYPE_INVALID'
11352: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11353: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11354: );

Line 11359: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11355: l_mesg_token_tbl := l_out_mesg_token_tbl;
11356: ELSIF p_entity_name = 'METER_READING'
11357: THEN
11358: l_out_mesg_token_tbl := l_mesg_token_tbl;
11359: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11360: ( p_Message_Name => 'EAM_MR_TXN_TYPE_INVALID'
11361: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11362: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11363: );

Line 11368: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11364: l_mesg_token_tbl := l_out_mesg_token_tbl;
11365: ELSIF p_entity_name = 'WORK_ORDER_COMPL_REBUILD'
11366: THEN
11367: l_out_mesg_token_tbl := l_mesg_token_tbl;
11368: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11369: ( p_Message_Name => 'EAM_WOCOMRB_TXN_TYPE_INVALID'
11370: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11371: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11372: );

Line 11377: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11373: l_mesg_token_tbl := l_out_mesg_token_tbl;
11374: ELSIF p_entity_name = 'W_ORDER_COMPL_METER_READING'
11375: THEN
11376: l_out_mesg_token_tbl := l_mesg_token_tbl;
11377: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11378: ( p_Message_Name => 'EAM_WOCOMMR_TXN_TYPE_INVALID'
11379: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11380: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11381: );

Line 11386: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

11382: l_mesg_token_tbl := l_out_mesg_token_tbl;
11383: ELSIF p_entity_name = 'WORK_SERVICE_REQUEST'
11384: THEN
11385: l_out_mesg_token_tbl := l_mesg_token_tbl;
11386: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
11387: ( p_Message_Name => 'EAM_WORSER_TXN_TYPE_INVALID'
11388: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
11389: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl
11390: );

Line 11493: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('op'||to_char(l_operations.last_unit_completion_date,'DD HH24:MI:SS')); END IF;

11489: OPEN operations(x_eam_wo_rec.wip_entity_id,x_eam_wo_rec.organization_id
11490: ,x_eam_op_tbl(i).operation_seq_num);
11491:
11492: FETCH operations INTO l_operations;
11493: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('op'||to_char(l_operations.last_unit_completion_date,'DD HH24:MI:SS')); END IF;
11494: IF(operations%FOUND) THEN
11495: x_eam_op_tbl(i).start_date := l_operations.first_unit_start_date;
11496: x_eam_op_tbl(i).completion_date := l_operations.last_unit_completion_date;
11497: END IF;

Line 11508: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(x_eam_res_tbl.COUNT); END IF;

11504: END LOOP;
11505: END IF;
11506: --end of populating operation dates
11507:
11508: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(x_eam_res_tbl.COUNT); END IF;
11509: --start of populating resource dates
11510: IF(x_eam_res_tbl.COUNT > 0) THEN
11511: i:=x_eam_res_tbl.FIRST;
11512: LOOP

Line 11518: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('resources dates passed'||to_char(l_resources.completion_date,'DD HH24:MI:SS')); END IF;

11514: OPEN resources(x_eam_wo_rec.wip_entity_id,x_eam_wo_rec.organization_id
11515: ,x_eam_res_tbl(i).operation_seq_num,x_eam_res_tbl(i).resource_seq_num);
11516:
11517: FETCH resources INTO l_resources;
11518: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('resources dates passed'||to_char(l_resources.completion_date,'DD HH24:MI:SS')); END IF;
11519: IF(resources%FOUND) THEN
11520: x_eam_res_tbl(i).start_date := l_resources.start_date;
11521: x_eam_res_tbl(i).completion_date := l_resources.completion_date;
11522: END IF;

Line 11543: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('resource instances dates passed'||to_char(l_resource_instances.completion_date,'DD HH24:MI:SS')); END IF;

11539: ,x_eam_res_inst_tbl(i).operation_seq_num,x_eam_res_inst_tbl(i).resource_seq_num
11540: ,x_eam_res_inst_tbl(i).instance_id,x_eam_res_inst_tbl(i).serial_number);
11541:
11542: FETCH resource_instances INTO l_resource_instances;
11543: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('resource instances dates passed'||to_char(l_resource_instances.completion_date,'DD HH24:MI:SS')); END IF;
11544: IF(resource_instances%FOUND) THEN
11545: x_eam_res_inst_tbl(i).start_date := l_resource_instances.start_date;
11546: x_eam_res_inst_tbl(i).completion_date := l_resource_instances.completion_date;
11547: END IF;

Line 11560: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Dates could not be populated back to the records') ; END IF ;

11556: --end of populating resource instance dates
11557:
11558: EXCEPTION
11559: WHEN OTHERS THEN
11560: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Dates could not be populated back to the records') ; END IF ;
11561: END UPDATE_DATES;
11562:
11563:
11564:

Line 11591: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

11587: l_valid_transaction BOOLEAN := TRUE ;
11588: l_eam_wo_comp_rec EAM_PROCESS_WO_PUB.eam_wo_comp_rec_type;
11589: l_eam_out_wo_comp_rec EAM_PROCESS_WO_PUB.eam_wo_comp_rec_type;
11590:
11591: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11592: l_return_status VARCHAR2(1) ;
11593: l_other_message VARCHAR2(2000);
11594: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
11595: msg_index NUMBER;

Line 11594: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

11590:
11591: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
11592: l_return_status VARCHAR2(1) ;
11593: l_other_message VARCHAR2(2000);
11594: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
11595: msg_index NUMBER;
11596: temp_err_mesg VARCHAR2(4000);
11597: l_msg_count NUMBER;
11598:

Line 11630: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;

11626: l_wip_entity_name VARCHAR2(240);
11627: mandatory_qua_plan VARCHAR2(1);
11628: contextStr VARCHAR2(2000);
11629: l_wip_entity_id NUMBER;
11630: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
11631: l_msg_data VARCHAR2(2000);
11632: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
11633: l_man_reading_enter BOOLEAN;
11634: l_maint_object_type NUMBER;

Line 11632: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

11628: contextStr VARCHAR2(2000);
11629: l_wip_entity_id NUMBER;
11630: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
11631: l_msg_data VARCHAR2(2000);
11632: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
11633: l_man_reading_enter BOOLEAN;
11634: l_maint_object_type NUMBER;
11635: l_maint_object_id NUMBER;
11636: l_error_message VARCHAR2(2000);

Line 11728: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_WORKORDER Start ================================================'); END IF;

11724:
11725: BEGIN
11726: SAVEPOINT sv_wo_compl ;
11727:
11728: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_WORKORDER Start ================================================'); END IF;
11729:
11730: l_eam_failure_entry_record := p_eam_wo_comp_rec.eam_failure_entry_record;
11731: l_eam_failure_codes_tbl := p_eam_wo_comp_rec.eam_failure_codes_tbl;
11732:

Line 11795: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order Completeion: Transaction Type Validity . . . '); END IF;

11791: l_new_system_status := 3;
11792: l_new_eam_status := 3;
11793: END IF;
11794:
11795: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order Completeion: Transaction Type Validity . . . '); END IF;
11796:
11797: VALIDATE_TRANSACTION_TYPE
11798: ( p_transaction_type => l_eam_wo_comp_rec.transaction_type
11799: , p_entity_name => 'WORK_ORDER_COMPLETEION'

Line 11807: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

11803: );
11804:
11805: IF NOT l_valid_transaction
11806: THEN
11807: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
11808: l_other_message := 'EAM_WOCMPL_INV_TXN_TYPE';
11809: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
11810: l_other_token_tbl(1).token_value := l_wip_entity_name;
11811:

Line 11815: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM WO Completeion: Populate Null Columns . . .'); END IF;

11811:
11812: RAISE EXC_SEV_QUIT_RECORD;
11813: END IF;
11814:
11815: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM WO Completeion: Populate Null Columns . . .'); END IF;
11816:
11817: EAM_WO_COMP_DEFAULT_PVT.Populate_NULL_Columns
11818: ( p_eam_wo_comp_rec => p_eam_wo_comp_rec
11819: , x_eam_wo_comp_rec => l_eam_wo_comp_rec

Line 11823: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

11819: , x_eam_wo_comp_rec => l_eam_wo_comp_rec
11820: , x_return_status => l_return_status
11821: );
11822:
11823: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11824: THEN
11825: l_other_message := 'EAM_WOCMPL_POPULATE_NULL';
11826: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
11827: l_other_token_tbl(1).token_value := l_wip_entity_name;

Line 11833: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('WO Completeion : Check Attributes b4 Defaulting . . .'); END IF;

11829:
11830: END IF;
11831:
11832:
11833: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('WO Completeion : Check Attributes b4 Defaulting . . .'); END IF;
11834: EAM_WO_COMP_VALIDATE_PVT.Check_Attributes_b4_Defaulting
11835: ( p_eam_wo_comp_rec => l_eam_wo_comp_rec
11836: , x_mesg_token_tbl => l_mesg_token_tbl
11837: , x_return_status => l_return_status

Line 11841: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

11837: , x_return_status => l_return_status
11838: ) ;
11839:
11840:
11841: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11842: THEN
11843: l_other_message := 'EAM_WOCMPL_CHK_ATTR_DEF';
11844: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
11845: l_other_token_tbl(1).token_value := l_wip_entity_name;

Line 11849: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('WO Completeion : Check Required . . .'); END IF;

11845: l_other_token_tbl(1).token_value := l_wip_entity_name;
11846: RAISE EXC_SEV_QUIT_RECORD;
11847: END IF;
11848:
11849: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('WO Completeion : Check Required . . .'); END IF;
11850: EAM_WO_COMP_VALIDATE_PVT.Check_Required
11851: ( p_eam_wo_comp_rec => l_eam_wo_comp_rec
11852: , x_return_status => l_return_status
11853: , x_mesg_token_tbl => l_mesg_token_tbl

Line 11855: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

11851: ( p_eam_wo_comp_rec => l_eam_wo_comp_rec
11852: , x_return_status => l_return_status
11853: , x_mesg_token_tbl => l_mesg_token_tbl
11854: ) ;
11855: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11856: THEN
11857: l_other_message := 'EAM_WOCMPL_CHK_REQUIRED';
11858: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
11859: l_other_token_tbl(1).token_value := l_wip_entity_name;

Line 11863: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('WO Completeion Header: Check Attributes . . .'); END IF;

11859: l_other_token_tbl(1).token_value := l_wip_entity_name;
11860: RAISE EXC_SEV_QUIT_RECORD;
11861: END IF;
11862:
11863: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('WO Completeion Header: Check Attributes . . .'); END IF;
11864:
11865: EAM_WO_COMP_VALIDATE_PVT.Check_Attributes
11866: (
11867: p_eam_wo_comp_rec => l_eam_wo_comp_rec

Line 11876: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

11872:
11873: l_eam_wo_comp_rec := l_eam_out_wo_comp_rec;
11874: x_return_status := l_return_status;
11875:
11876: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
11877: THEN
11878: l_other_message := 'EAM_WOCMPL_CHK_ATTR';
11879: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
11880: l_other_token_tbl(1).token_value := l_wip_entity_name;

Line 11887: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Checking WF Approval mandatory . . . '); END IF;

11883:
11884:
11885: IF(l_workflow_enabled='Y' AND l_eam_wo_comp_rec.transaction_type=EAM_PROCESS_WO_PVT.G_OPR_UNCOMPLETE
11886: AND (WF_EVENT.TEST(l_status_pending_event) <> 'NONE') )THEN
11887: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Checking WF Approval mandatory . . . '); END IF;
11888: EAM_WORKFLOW_DETAILS_PUB.Eam_Wf_Is_Approval_Required(p_old_wo_rec => NULL,
11889: p_new_wo_rec => NULL,
11890: p_wip_entity_id => l_eam_wo_comp_rec.wip_entity_id,
11891: p_new_system_status => l_new_system_status,

Line 11933: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Inserting into EAM_WO_WORKFLOWS ...'); END IF;

11929:
11930: l_event_key := TO_CHAR(l_wf_event_seq);
11931:
11932:
11933: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Inserting into EAM_WO_WORKFLOWS ...'); END IF;
11934: INSERT INTO EAM_WO_WORKFLOWS
11935: (WIP_ENTITY_ID,WF_ITEM_TYPE,WF_ITEM_KEY,LAST_UPDATE_DATE,LAST_UPDATED_BY,
11936: CREATION_DATE,CREATED_BY,LAST_UPDATE_LOGIN)
11937: VALUES

Line 11991: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling intermedia procedure from WO API ...'); END IF;

11987: WF_CORE.CONTEXT('Enterprise Asset Management...','Work Order Released Event','After raising event');
11988:
11989:
11990: IF(l_maint_obj_source =1 ) THEN --modify intermedia index only for EAM workorders
11991: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling intermedia procedure from WO API ...'); END IF;
11992: EAM_TEXT_UTIL.PROCESS_WO_EVENT
11993: (
11994: p_event => 'UPDATE',
11995: p_wip_entity_id =>l_eam_wo_comp_rec.wip_entity_id,

Line 12029: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Writing WO Completion record to database ...'); END IF;

12025: RAISE EXC_SEV_QUIT_RECORD;
12026: END IF;
12027: --end for FP bug of bug# 10147896.
12028:
12029: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Writing WO Completion record to database ...'); END IF;
12030: EAM_WO_COMP_UTILITY_PVT.PERFORM_WRITES
12031: ( p_eam_wo_comp_rec => l_eam_wo_comp_rec
12032: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
12033: , x_return_status => l_return_status

Line 12036: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

12032: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
12033: , x_return_status => l_return_status
12034: );
12035:
12036: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
12037: THEN
12038: l_other_message := 'EAM_WOCMPL_WRITES_UNEXP_SKIP';
12039: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
12040: l_other_token_tbl(1).token_value := l_wip_entity_name;

Line 12044: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling WO Completion update_row ...'); END IF;

12040: l_other_token_tbl(1).token_value := l_wip_entity_name;
12041: RAISE EXC_SEV_QUIT_RECORD;
12042: END IF;
12043:
12044: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling WO Completion update_row ...'); END IF;
12045:
12046: EAM_WO_COMP_UTILITY_PVT.update_row
12047: ( p_eam_wo_comp_rec => l_eam_wo_comp_rec
12048: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl

Line 12052: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED

12048: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
12049: , x_return_status => l_return_status
12050: );
12051:
12052: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_UNEXPECTED
12053: THEN
12054: l_other_message := 'EAM_WOCMPL_WRITES_UNEXP_SKIP';
12055: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
12056: l_other_token_tbl(1).token_value := l_wip_entity_name;

Line 12062: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing quality records...') ; END IF ;

12058: END IF;
12059:
12060: IF p_eam_wo_quality_tbl.COUNT > 0 AND l_eam_wo_comp_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_COMPLETE THEN
12061:
12062: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing quality records...') ; END IF ;
12063:
12064: FOR I IN l_eam_wo_quality_tbl.FIRST..l_eam_wo_quality_tbl.LAST LOOP
12065: BEGIN
12066:

Line 12067: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

12063:
12064: FOR I IN l_eam_wo_quality_tbl.FIRST..l_eam_wo_quality_tbl.LAST LOOP
12065: BEGIN
12066:
12067: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
12068:
12069: l_eam_wo_quality_rec := l_eam_wo_quality_tbl(I);
12070: colllection_id_temp := l_eam_wo_quality_rec.collection_id;
12071:

Line 12086: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

12082: l_other_message := 'EAM_WOCMP_QA_INV_TXN';
12083: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
12084: l_other_token_tbl(1).token_value := l_wip_entity_name;
12085:
12086: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
12087: RAISE EXC_SEV_QUIT_RECORD;
12088: END IF ;
12089:
12090: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Quality : Check_Required...') ; END IF ;

Line 12090: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Quality : Check_Required...') ; END IF ;

12086: l_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
12087: RAISE EXC_SEV_QUIT_RECORD;
12088: END IF ;
12089:
12090: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Quality : Check_Required...') ; END IF ;
12091:
12092: EAM_WO_QUA_VALIDATE_PVT.Check_Required
12093: (
12094: p_eam_wo_quality_rec => l_eam_wo_quality_rec

Line 12099: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN

12095: , x_return_status => l_return_status
12096: , x_mesg_token_tbl => l_mesg_token_tbl
12097: );
12098:
12099: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
12100: l_other_message := 'EAM_WOCMP_QA_CHK_REQ';
12101: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
12102: l_other_token_tbl(1).token_value := l_wip_entity_name;
12103: RAISE EXC_SEV_QUIT_RECORD;

Line 12111: EAM_ERROR_MESSAGE_PVT.Log_Error

12107:
12108: WHEN EXC_SEV_SKIP_BRANCH THEN
12109:
12110: l_out_eam_wo_quality_tbl := l_eam_wo_quality_tbl;
12111: EAM_ERROR_MESSAGE_PVT.Log_Error
12112: (
12113: p_eam_wo_quality_tbl => l_eam_wo_quality_tbl
12114:
12115: , x_eam_wo_comp_rec => l_out_eam_wo_comp_rec

Line 12126: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

12122: , x_eam_request_tbl => l_out_eam_request_tbl
12123:
12124: , p_mesg_token_tbl => l_mesg_token_tbl
12125: , p_error_status => FND_API.G_RET_STS_ERROR
12126: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
12127: , p_other_message => l_other_message
12128: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12129: , p_other_token_tbl => l_other_token_tbl
12130:

Line 12128: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

12124: , p_mesg_token_tbl => l_mesg_token_tbl
12125: , p_error_status => FND_API.G_RET_STS_ERROR
12126: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
12127: , p_other_message => l_other_message
12128: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12129: , p_other_token_tbl => l_other_token_tbl
12130:
12131: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
12132: );

Line 12131: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL

12127: , p_other_message => l_other_message
12128: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12129: , p_other_token_tbl => l_other_token_tbl
12130:
12131: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
12132: );
12133:
12134: l_eam_wo_quality_tbl := l_out_eam_wo_quality_tbl;
12135:

Line 12136: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

12132: );
12133:
12134: l_eam_wo_quality_tbl := l_out_eam_wo_quality_tbl;
12135:
12136: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
12137:
12138: x_eam_wo_quality_tbl := l_eam_wo_quality_tbl;
12139: x_return_status := l_return_status;
12140: x_msg_count := l_msg_count;

Line 12155: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Quality : Insert_Row...') ; END IF ;

12151:
12152:
12153: BEGIN
12154:
12155: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Quality : Insert_Row...') ; END IF ;
12156:
12157: EAM_WO_QUA_UTILITY_PVT.insert_row
12158: (
12159: p_collection_id => colllection_id_temp

Line 12175: EAM_ERROR_MESSAGE_PVT.Log_Error

12171: EXCEPTION
12172: WHEN EXC_SEV_QUIT_RECORD THEN
12173: l_out_eam_wo_quality_tbl := l_eam_wo_quality_tbl;
12174:
12175: EAM_ERROR_MESSAGE_PVT.Log_Error
12176: (
12177: p_eam_wo_quality_tbl => l_eam_wo_quality_tbl
12178:
12179: , x_eam_wo_comp_rec => l_out_eam_wo_comp_rec

Line 12190: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

12186: , x_eam_request_tbl => l_out_eam_request_tbl
12187:
12188: , p_mesg_token_tbl => l_mesg_token_tbl
12189: , p_error_status => FND_API.G_RET_STS_ERROR
12190: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
12191: , p_other_message => l_other_message
12192: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12193: , p_other_token_tbl => l_other_token_tbl
12194:

Line 12192: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

12188: , p_mesg_token_tbl => l_mesg_token_tbl
12189: , p_error_status => FND_API.G_RET_STS_ERROR
12190: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
12191: , p_other_message => l_other_message
12192: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12193: , p_other_token_tbl => l_other_token_tbl
12194:
12195: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
12196: );

Line 12195: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL

12191: , p_other_message => l_other_message
12192: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12193: , p_other_token_tbl => l_other_token_tbl
12194:
12195: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
12196: );
12197:
12198: l_eam_wo_quality_tbl := l_out_eam_wo_quality_tbl;
12199:

Line 12200: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

12196: );
12197:
12198: l_eam_wo_quality_tbl := l_out_eam_wo_quality_tbl;
12199:
12200: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
12201:
12202: x_eam_wo_quality_tbl := l_eam_wo_quality_tbl;
12203: x_return_status := l_return_status;
12204: x_msg_count := l_msg_count;

Line 12225: EAM_ERROR_MESSAGE_PVT.Write_Debug('Quality : Checking whether mandatory quality plans remain...') ; END IF ;

12221: AND cii.serial_number = l_asset_number;
12222: END IF;
12223:
12224: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
12225: EAM_ERROR_MESSAGE_PVT.Write_Debug('Quality : Checking whether mandatory quality plans remain...') ; END IF ;
12226: mandatory_qua_plan :=qa_web_txn_api.quality_mandatory_plans_remain(
12227: p_txn_number => 31 ,
12228: p_organization_id => l_org_id ,
12229: pk1 => l_asset_group_name , -- Asset Grp

Line 12254: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

12250: l_token_tbl(1).token_value := l_wip_entity_name;
12251:
12252: l_out_mesg_token_tbl := l_mesg_token_tbl;
12253:
12254: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
12255: ( p_message_name => 'EAM_WOCMPL_MAND_PLAN'
12256: , p_token_tbl => l_Token_tbl
12257: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
12258: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl

Line 12281: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing failure entry records...') ; END IF ;

12277:
12278: FOR i in 1..l_eam_failure_codes_tbl.count
12279: LOOP
12280:
12281: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing failure entry records...') ; END IF ;
12282:
12283: IF l_eam_failure_codes_tbl(i).comments IS NOT NULL THEN
12284: l_comments_exists := 'Y';
12285: END IF;

Line 12364: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling process_failure_entry procedure...') ; END IF ;

12360: OR l_comments_exists = 'Y'
12361: OR l_eam_failure_entry_record.failure_id IS NOT NULL
12362: )
12363: THEN
12364: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling process_failure_entry procedure...') ; END IF ;
12365: Eam_Process_Failure_Entry_PUB.process_failure_entry
12366: (
12367: p_eam_failure_entry_record => l_eam_failure_entry_record
12368: , p_eam_failure_codes_tbl => l_eam_failure_codes_tbl

Line 12414: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling post_background_results procedure...') ; END IF ;

12410: contextStr := '162='||l_asset_group_id||'@163='
12411: ||l_asset_number||'@2147483550='||l_asset_instance_id||'@165='||l_wip_entity_id
12412: ||'@164='||l_asset_activity_id;
12413:
12414: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling post_background_results procedure...') ; END IF ;
12415: qa_web_txn_api.post_background_results(
12416: p_txn_number => 31 ,
12417: p_org_id => l_org_id ,
12418: p_context_values => contextStr ,

Line 12427: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

12423: l_token_tbl(1).token_value := l_wip_entity_name;
12424:
12425: l_out_mesg_token_tbl := l_mesg_token_tbl;
12426:
12427: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
12428: ( p_message_name => 'EAM_WO_CMPL_BACK_ERR'
12429: , p_token_tbl => l_Token_tbl
12430: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
12431: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl

Line 12439: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling enable_and_fire_action procedure...') ; END IF ;

12435:
12436: RAISE EXC_SEV_QUIT_RECORD;
12437: END ;
12438:
12439: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling enable_and_fire_action procedure...') ; END IF ;
12440:
12441: qa_result_grp.enable_and_fire_action(
12442: p_api_version => 1.0 ,
12443: p_collection_id => l_eam_wo_comp_rec.qa_collection_id ,

Line 12455: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

12451: l_token_tbl(1).token_value := l_wip_entity_name;
12452:
12453: l_out_mesg_token_tbl := l_mesg_token_tbl;
12454:
12455: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
12456: ( p_message_name => 'EAM_WOCMPL_QUALITY_COMMMIT'
12457: , p_token_tbl => l_Token_tbl
12458: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
12459: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl

Line 12472: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_VALIDATE_PVT.insert_row procedure...') ; END IF ;

12468:
12469: --bug 8591423
12470:
12471: IF l_eam_wo_comp_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_COMPLETE and p_eam_meter_reading_tbl.COUNT > 0 THEN
12472: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_VALIDATE_PVT.insert_row procedure...') ; END IF ;
12473: EAM_METERREADING_UTILITY_PVT.INSERT_ROW
12474: (
12475: p_eam_meter_reading_tbl => p_eam_meter_reading_tbl
12476: , p_eam_counter_prop_tbl => p_eam_counter_prop_tbl

Line 12493: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_VALIDATE_PVT.MANDATORY_ENTERED procedure...') ; END IF ;

12489:
12490: END IF;
12491:
12492: IF l_eam_wo_comp_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_COMPLETE and l_maint_object_type =3 THEN
12493: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_VALIDATE_PVT.MANDATORY_ENTERED procedure...') ; END IF ;
12494: EAM_METERREADING_VALIDATE_PVT.MANDATORY_ENTERED
12495: (
12496: p_wip_entity_id => l_eam_wo_comp_rec.wip_entity_id
12497: , p_instance_id => l_maint_object_id

Line 12516: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_UTILITY_PVT.DISABLE_COUNTER_HIERARCHY procedure...') ; END IF ;

12512:
12513:
12514: /* Bug # 5255459 : call DISABLE_COUNTER_HIERARCHY every time */
12515:
12516: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_UTILITY_PVT.DISABLE_COUNTER_HIERARCHY procedure...') ; END IF ;
12517: EAM_METERREADING_UTILITY_PVT.DISABLE_COUNTER_HIERARCHY
12518: (
12519: p_eam_wo_comp_rebuild_tbl => p_eam_wo_comp_rebuild_tbl ,
12520: p_subinventory_id => l_eam_wo_comp_rec.completion_subinventory ,

Line 12535: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling AM_METERREADING_UTILITY_PVT.Update_Genealogy procedure...') ; END IF ;

12531: END IF;
12532:
12533: IF p_eam_wo_comp_rebuild_tbl.COUNT > 0 THEN
12534:
12535: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling AM_METERREADING_UTILITY_PVT.Update_Genealogy procedure...') ; END IF ;
12536: EAM_METERREADING_UTILITY_PVT.UPDATE_GENEALOGY
12537: (
12538: p_eam_wo_comp_rebuild_tbl => p_eam_wo_comp_rebuild_tbl ,
12539: x_eam_wo_comp_rebuild_tbl => x_eam_wo_comp_rebuild_tbl ,

Line 12551: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling AM_METERREADING_UTILITY_PVT.UPDATE_REBUILD_WORK_ORDER procedure...') ; END IF ;

12547: l_other_token_tbl(1).token_value := l_wip_entity_name;
12548: RAISE EXC_SEV_QUIT_RECORD;
12549: END IF;
12550:
12551: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling AM_METERREADING_UTILITY_PVT.UPDATE_REBUILD_WORK_ORDER procedure...') ; END IF ;
12552: EAM_METERREADING_UTILITY_PVT.UPDATE_REBUILD_WORK_ORDER
12553: (
12554: p_eam_wo_comp_rebuild_tbl => p_eam_wo_comp_rebuild_tbl ,
12555: x_eam_wo_comp_rebuild_tbl => x_eam_wo_comp_rebuild_tbl ,

Line 12567: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_UTILITY_PVT.UPDATE_ACTIVITY procedure...') ; END IF ;

12563: RAISE EXC_SEV_QUIT_RECORD;
12564: END IF;
12565:
12566:
12567: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_UTILITY_PVT.UPDATE_ACTIVITY procedure...') ; END IF ;
12568: EAM_METERREADING_UTILITY_PVT.UPDATE_ACTIVITY
12569: (
12570: p_eam_wo_comp_rebuild_tbl => p_eam_wo_comp_rebuild_tbl ,
12571: x_eam_wo_comp_rebuild_tbl => x_eam_wo_comp_rebuild_tbl ,

Line 12585: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_UTILITY_PVT.ENABLE_SOURCE_METER procedure...') ; END IF ;

12581:
12582: END IF;
12583:
12584: IF p_eam_wo_comp_mr_read_tbl.COUNT > 0 THEN
12585: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_UTILITY_PVT.ENABLE_SOURCE_METER procedure...') ; END IF ;
12586: EAM_METERREADING_UTILITY_PVT.ENABLE_SOURCE_METER
12587: (
12588: p_eam_wo_comp_mr_read_tbl => p_eam_wo_comp_mr_read_tbl ,
12589: x_eam_wo_comp_mr_read_tbl => x_eam_wo_comp_mr_read_tbl ,

Line 12605: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_UTILITY_PVT.UPDATE_LAST_SERVICE_READING procedure...') ; END IF ;

12601: /* -- For work order completeion call Eam_Meters_util. Update_Last_Service_Reading_Dates
12602:
12603: IF l_eam_wo_comp_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_COMPLETE AND p_eam_meter_reading_tbl.COUNT > 0 THEN
12604:
12605: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_METERREADING_UTILITY_PVT.UPDATE_LAST_SERVICE_READING procedure...') ; END IF ;
12606: EAM_METERREADING_UTILITY_PVT.UPDATE_LAST_SERVICE_READING
12607: (
12608: p_eam_meter_reading_tbl => p_eam_meter_reading_tbl
12609: , x_eam_meter_reading_tbl => x_eam_meter_reading_tbl

Line 12624: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling csi_eam_interface_grp.wip_completion procedure...') ; END IF ;

12620:
12621: IF l_eam_wo_comp_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_COMPLETE AND
12622: l_eam_wo_comp_rec.completion_subinventory IS NULL THEN
12623:
12624: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling csi_eam_interface_grp.wip_completion procedure...') ; END IF ;
12625: csi_eam_interface_grp.wip_completion
12626: (
12627: p_wip_entity_id => l_eam_wo_comp_rec.wip_entity_id,
12628: p_organization_id => l_eam_wo_comp_rec.organization_id,

Line 12661: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_ASSET_LOG_PVT.INSERT_ROW procedure...') ; END IF ;

12657: and collection_id = l_eam_wo_comp_rec.qa_collection_id;
12658: */
12659: IF l_plan_id_tbl.COUNT > 0 THEN
12660: FOR N IN l_plan_id_tbl.FIRST..l_plan_id_tbl.LAST LOOP
12661: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_ASSET_LOG_PVT.INSERT_ROW procedure...') ; END IF ;
12662: EAM_ASSET_LOG_PVT.INSERT_ROW
12663: (
12664: p_api_version => 1.0,
12665: p_event_date => sysdate,

Line 12736: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_TEXT_UTIL.PROCESS_WO_EVENT procedure...') ; END IF ;

12732: WF_CORE.CONTEXT('Enterprise Asset Management...','Work Order Status Changed Event','After raising event');
12733: END IF; --end of check for status change event
12734:
12735: IF(l_maint_obj_source =1 ) THEN --modify intermedia index only for EAM workorders
12736: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_TEXT_UTIL.PROCESS_WO_EVENT procedure...') ; END IF ;
12737: EAM_TEXT_UTIL.PROCESS_WO_EVENT
12738: (
12739: p_event => 'UPDATE',
12740: p_wip_entity_id =>l_eam_wo_comp_rec.wip_entity_id,

Line 12750: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_ASSET_LOG_PVT.INSERT_ROW procedure...') ; END IF ;

12746: END IF; --end of check for EAM workorders
12747:
12748:
12749: IF l_eam_wo_comp_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_COMPLETE THEN
12750: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_ASSET_LOG_PVT.INSERT_ROW procedure...') ; END IF ;
12751: EAM_ASSET_LOG_PVT.INSERT_ROW
12752: (
12753: p_api_version => 1.0,
12754: p_event_date => sysdate,

Line 12769: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_ASSET_LOG_PVT.INSERT_ROW procedure...') ; END IF ;

12765: x_msg_count => l_asset_ops_msg_count,
12766: x_msg_data => l_asset_ops_msg_data
12767: );
12768: ELSE
12769: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling EAM_ASSET_LOG_PVT.INSERT_ROW procedure...') ; END IF ;
12770: EAM_ASSET_LOG_PVT.INSERT_ROW
12771: (
12772: p_api_version => 1.0,
12773: p_event_date => sysdate,

Line 12804: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling wip_picking_pub.cancel_allocations') ; END IF ;

12800: where status_id = p_eam_wo_comp_rec.user_status_id
12801: and enabled_flag = 'Y';
12802:
12803: IF (i_status_type = 5) then -- added status 5 Complete - No Charges for bug 7305904 FP of 6348136
12804: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Calling wip_picking_pub.cancel_allocations') ; END IF ;
12805: wip_picking_pub.cancel_allocations (p_wip_entity_id => l_wip_entity_id,
12806: p_wip_entity_type => wip_constants.eam,
12807: p_repetitive_schedule_id => NULL,
12808: x_return_status => l_return_status,

Line 12810: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('wip_picking_pub.cancel_allocations returned: x_return_status:' ||x_return_status) ; END IF ;

12806: p_wip_entity_type => wip_constants.eam,
12807: p_repetitive_schedule_id => NULL,
12808: x_return_status => l_return_status,
12809: x_msg_data => l_msg_data);
12810: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('wip_picking_pub.cancel_allocations returned: x_return_status:' ||x_return_status) ; END IF ;
12811: end if;
12812:
12813: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_WORKORDER : End ==== Return status: '||l_return_status||' ======') ; END IF ;
12814:

Line 12813: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_WORKORDER : End ==== Return status: '||l_return_status||' ======') ; END IF ;

12809: x_msg_data => l_msg_data);
12810: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('wip_picking_pub.cancel_allocations returned: x_return_status:' ||x_return_status) ; END IF ;
12811: end if;
12812:
12813: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_WORKORDER : End ==== Return status: '||l_return_status||' ======') ; END IF ;
12814:
12815: EXCEPTION -- Excepetion handler for begin
12816:
12817: WHEN EXC_SEV_QUIT_RECORD THEN

Line 12829: EAM_ERROR_MESSAGE_PVT.Log_Error

12825: l_out_eam_wo_comp_mr_read_tbl := l_eam_wo_comp_mr_read_tbl;
12826: l_out_eam_op_comp_tbl := l_eam_op_comp_tbl;
12827: l_out_eam_request_tbl := l_eam_request_tbl;
12828:
12829: EAM_ERROR_MESSAGE_PVT.Log_Error
12830: (
12831: p_eam_wo_comp_rec => l_eam_wo_comp_rec
12832: , p_eam_wo_quality_tbl => l_eam_wo_quality_tbl
12833: , p_eam_meter_reading_tbl => l_eam_meter_reading_tbl

Line 12851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

12847: , x_eam_request_tbl => l_out_eam_request_tbl
12848:
12849: , p_mesg_token_tbl => l_mesg_token_tbl
12850: , p_error_status => FND_API.G_RET_STS_ERROR
12851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
12852: , p_other_message => l_other_message
12853: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12854: , p_other_token_tbl => l_other_token_tbl
12855:

Line 12853: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

12849: , p_mesg_token_tbl => l_mesg_token_tbl
12850: , p_error_status => FND_API.G_RET_STS_ERROR
12851: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
12852: , p_other_message => l_other_message
12853: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12854: , p_other_token_tbl => l_other_token_tbl
12855:
12856: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
12857: );

Line 12856: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL

12852: , p_other_message => l_other_message
12853: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
12854: , p_other_token_tbl => l_other_token_tbl
12855:
12856: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
12857: );
12858:
12859: l_eam_wo_comp_rec := l_out_eam_wo_comp_rec;
12860: l_eam_wo_quality_tbl := l_out_eam_wo_quality_tbl;

Line 12866: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

12862: l_eam_counter_prop_tbl := l_out_eam_counter_prop_tbl;
12863: l_eam_wo_comp_rebuild_tbl := l_out_eam_wo_comp_rebuild_tbl;
12864: l_eam_wo_comp_mr_read_tbl := l_out_eam_wo_comp_mr_read_tbl;
12865:
12866: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
12867:
12868: x_eam_wo_comp_rec := l_eam_wo_comp_rec;
12869: x_eam_wo_quality_tbl := l_eam_wo_quality_tbl;
12870: x_eam_meter_reading_tbl := l_eam_meter_reading_tbl;

Line 12908: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

12904:
12905: l_eam_op_comp_rec EAM_PROCESS_WO_PUB.eam_op_comp_rec_type;
12906: l_eam_out_op_comp_rec EAM_PROCESS_WO_PUB.eam_op_comp_rec_type;
12907: l_valid_transaction BOOLEAN := TRUE ;
12908: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
12909: l_return_status VARCHAR2(1);
12910:
12911: l_eam_wo_quality_tbl EAM_PROCESS_WO_PUB.eam_wo_quality_tbl_type ;
12912: l_eam_meter_reading_tbl EAM_PROCESS_WO_PUB.eam_meter_reading_tbl_type ;

Line 12929: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

12925: l_out_eam_op_comp_tbl EAM_PROCESS_WO_PUB.eam_op_comp_tbl_type;
12926: l_out_eam_request_tbl EAM_PROCESS_WO_PUB.eam_request_tbl_type;
12927:
12928: l_other_message VARCHAR2(2000);
12929: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
12930: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
12931: l_msg_count NUMBER;
12932:
12933: l_eam_wo_quality_temp_tbl EAM_PROCESS_WO_PUB.eam_wo_quality_tbl_type;

Line 12930: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

12926: l_out_eam_request_tbl EAM_PROCESS_WO_PUB.eam_request_tbl_type;
12927:
12928: l_other_message VARCHAR2(2000);
12929: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
12930: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
12931: l_msg_count NUMBER;
12932:
12933: l_eam_wo_quality_temp_tbl EAM_PROCESS_WO_PUB.eam_wo_quality_tbl_type;
12934: l_eam_wo_quality_rec EAM_PROCESS_WO_PUB.eam_wo_quality_rec_type;

Line 12946: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;

12942: l_asset_group_name VARCHAR2(240);
12943: l_wip_entity_name VARCHAR2(240);
12944: l_wip_entity_id NUMBER;
12945: l_asset_activity_id NUMBER;
12946: l_out_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.mesg_token_tbl_type;
12947: l_msg_data VARCHAR2(2000);
12948: contextStr VARCHAR2(2000);
12949: l_maint_obj_source NUMBER;
12950: l_workflow_enabled VARCHAR2(1);

Line 12961: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_OPERATION : Start==========================================================') ; END IF ;

12957: l_op_sched_end_date DATE;
12958: l_asset_instance_number VARCHAR2(30);
12959:
12960: BEGIN
12961: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_OPERATION : Start==========================================================') ; END IF ;
12962:
12963:
12964: x_return_status := FND_API.G_RET_STS_SUCCESS;
12965: l_return_status := FND_API.G_RET_STS_SUCCESS;

Line 13015: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order Completeion: Transaction Type Validity . . . '); END IF;

13011: BEGIN
13012: l_eam_op_comp_rec := p_eam_op_compl_tbl(i);
13013: l_org_id := l_eam_op_comp_rec.organization_id;
13014:
13015: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Order Completeion: Transaction Type Validity . . . '); END IF;
13016:
13017: VALIDATE_TRANSACTION_TYPE
13018: ( p_transaction_type => l_eam_op_comp_rec.transaction_type
13019: , p_entity_name => 'OPERATION_COMPLETEION'

Line 13027: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13023: );
13024:
13025: IF NOT l_valid_transaction
13026: THEN
13027: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13028: l_other_message := 'EAM_OP_CMPL_INV_TXN';
13029: l_other_token_tbl(1).token_name := 'OP_SEQ';
13030: l_other_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num ;
13031: RAISE EXC_SEV_QUIT_RECORD;

Line 13034: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion : Check Required . . .'); END IF;

13030: l_other_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num ;
13031: RAISE EXC_SEV_QUIT_RECORD;
13032: END IF;
13033:
13034: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion : Check Required . . .'); END IF;
13035:
13036: EAM_OP_COMP_VALIDATE_PVT.Check_Required
13037: ( p_eam_op_comp_rec => l_eam_op_comp_rec
13038: , x_return_status => l_return_status

Line 13041: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Order Completeion Check required completed with return_status: ' || l_return_status) ; END IF ;

13037: ( p_eam_op_comp_rec => l_eam_op_comp_rec
13038: , x_return_status => l_return_status
13039: , x_mesg_token_tbl => l_mesg_token_tbl
13040: ) ;
13041: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Order Completeion Check required completed with return_status: ' || l_return_status) ; END IF ;
13042:
13043: IF l_return_status <> 'S'
13044: THEN
13045: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

Line 13045: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13041: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Order Completeion Check required completed with return_status: ' || l_return_status) ; END IF ;
13042:
13043: IF l_return_status <> 'S'
13044: THEN
13045: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13046: l_other_message := 'EAM_OP_CHKREQ_CSEV_SKIP';
13047: l_other_token_tbl(1).token_name := 'OP_SEQ';
13048: l_other_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num ;
13049: RAISE EXC_SEV_QUIT_RECORD ;

Line 13052: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM Operation Completeion: Populate Null Columns . . .'); END IF;

13048: l_other_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num ;
13049: RAISE EXC_SEV_QUIT_RECORD ;
13050: END IF;
13051:
13052: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('EAM Operation Completeion: Populate Null Columns . . .'); END IF;
13053: l_eam_out_op_comp_rec := l_eam_op_comp_rec;
13054: EAM_OP_COMP_DEFAULT_PVT.Populate_NULL_Columns
13055: ( p_eam_op_comp_rec => l_eam_op_comp_rec
13056: , x_eam_op_comp_rec => l_eam_out_op_comp_rec

Line 13063: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13059: l_eam_op_comp_rec := l_eam_out_op_comp_rec;
13060:
13061: IF l_return_status <> 'S'
13062: THEN
13063: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13064: l_other_message := 'EAM_OP_CMPL_POPULATE_NULL';
13065: l_other_token_tbl(1).token_name := 'OP_SEQ';
13066: l_other_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num ;
13067: RAISE EXC_SEV_QUIT_RECORD;

Line 13070: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion : Check Attributes . . .'); END IF;

13066: l_other_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num ;
13067: RAISE EXC_SEV_QUIT_RECORD;
13068: END IF;
13069:
13070: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion : Check Attributes . . .'); END IF;
13071: EAM_OP_COMP_VALIDATE_PVT.Check_Attributes
13072: (
13073: p_eam_op_comp_rec => l_eam_op_comp_rec
13074: , x_return_status => l_return_status

Line 13080: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13076: );
13077:
13078: IF l_return_status <> 'S'
13079: THEN
13080: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13081: l_other_message := 'EAM_OP_CHKATTR_CSEV_SKIP';
13082: l_other_token_tbl(1).token_name := 'OP_SEQ';
13083: l_other_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num ;
13084: RAISE EXC_SEV_QUIT_RECORD ;

Line 13089: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion : Perform Writes . . .'); END IF;

13085: END IF;
13086:
13087:
13088:
13089: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion : Perform Writes . . .'); END IF;
13090: EAM_OP_COMP_UTILITY_PVT.PERFORM_WRITES
13091: ( p_eam_op_comp_rec => l_eam_op_comp_rec
13092: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
13093: , x_return_status => l_return_status

Line 13096: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

13092: , x_Mesg_Token_Tbl => l_Mesg_Token_Tbl
13093: , x_return_status => l_return_status
13094: );
13095:
13096: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
13097: THEN
13098: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13099: l_other_message := 'EAM_OP_CMPL_WRITE_REC';
13100: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';

Line 13098: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13094: );
13095:
13096: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
13097: THEN
13098: x_eam_op_comp_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13099: l_other_message := 'EAM_OP_CMPL_WRITE_REC';
13100: l_other_token_tbl(1).token_name := 'WIP_ENTITY_NAME';
13101: l_other_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num ;
13102: RAISE EXC_SEV_QUIT_RECORD ;

Line 13118: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;

13114:
13115: FOR K IN l_eam_wo_quality_temp_tbl.FIRST..l_eam_wo_quality_temp_tbl.LAST LOOP
13116: BEGIN
13117:
13118: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Processing '|| I || ' record') ; END IF ;
13119:
13120: -- Load local records.
13121: l_eam_wo_quality_rec := l_eam_wo_quality_temp_tbl(K);
13122:

Line 13125: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion validating Quality Record Transaction Type . . .'); END IF;

13121: l_eam_wo_quality_rec := l_eam_wo_quality_temp_tbl(K);
13122:
13123: colllection_id_temp := l_eam_wo_quality_rec.collection_id;
13124:
13125: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion validating Quality Record Transaction Type . . .'); END IF;
13126:
13127: VALIDATE_TRANSACTION_TYPE
13128: ( p_transaction_type => l_eam_wo_quality_rec.transaction_type
13129: , p_entity_name => 'QUALITY_ENTRY'

Line 13143: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion validating Quality Record Check Required . . .'); END IF;

13139: l_other_token_tbl(1).token_value := l_eam_wo_quality_rec.operation_seq_number;
13140: RAISE EXC_SEV_QUIT_RECORD ;
13141: END IF ;
13142:
13143: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion validating Quality Record Check Required . . .'); END IF;
13144:
13145: EAM_WO_QUA_VALIDATE_PVT.Check_Required
13146: (
13147: p_eam_wo_quality_rec => l_eam_wo_quality_rec

Line 13152: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN

13148: , x_return_status => l_return_status
13149: , x_mesg_token_tbl => l_mesg_token_tbl
13150: );
13151:
13152: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13153: l_other_message := 'EAM_QA_CHECK_REQ';
13154: l_other_token_tbl(1).token_name := 'OP_SEQ';
13155: l_other_token_tbl(1).token_value := l_eam_wo_quality_rec.operation_seq_number;
13156: RAISE EXC_SEV_QUIT_RECORD;

Line 13166: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion validating Quality Record Insert Row . . .'); END IF;

13162: END LOOP; -- FOR K
13163:
13164: BEGIN
13165:
13166: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion validating Quality Record Insert Row . . .'); END IF;
13167: EAM_WO_QUA_UTILITY_PVT.insert_row
13168: (
13169: p_collection_id => colllection_id_temp
13170: , p_eam_wo_quality_tbl => p_eam_wo_quality_tbl

Line 13203: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion Checking quality mandatory plans remain . . .'); END IF;

13199: END IF;
13200:
13201:
13202:
13203: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion Checking quality mandatory plans remain . . .'); END IF;
13204: mandatory_qua_plan :=qa_web_txn_api.quality_mandatory_plans_remain(
13205: p_txn_number => 33 ,
13206: p_organization_id => l_org_id ,
13207: pk1 => l_asset_group_name , -- Asset Grp

Line 13237: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion Calling qa_web_txn_api.post_background_results. . .'); END IF;

13233: BEGIN
13234: contextStr := '162='||l_asset_group_id||'@163='
13235: ||l_asset_number||'@2147483550='||l_asset_instance_id||'@165='
13236: ||l_wip_entity_id||'@199='||l_eam_op_comp_rec.operation_seq_num||'@164='||l_asset_activity_id;
13237: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion Calling qa_web_txn_api.post_background_results. . .'); END IF;
13238: qa_web_txn_api.post_background_results(
13239: p_txn_number => 33 ,
13240: p_org_id => l_org_id ,
13241: p_context_values => contextStr ,

Line 13251: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

13247: l_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num;
13248:
13249: l_out_mesg_token_tbl := l_mesg_token_tbl;
13250:
13251: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
13252: ( p_message_name => 'EAM_OP_CMPL_BACK_ERR'
13253: , p_token_tbl => l_Token_tbl
13254: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
13255: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl

Line 13263: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion Calling qa_results_pub.enable_and_fire_action . . .'); END IF;

13259:
13260: raise EXC_SEV_QUIT_RECORD;
13261: END ;
13262:
13263: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Operation Completeion Calling qa_results_pub.enable_and_fire_action . . .'); END IF;
13264:
13265: qa_result_grp.enable_and_fire_action(
13266: p_api_version => 1.0 ,
13267: p_collection_id => l_eam_op_comp_rec.qa_collection_id ,

Line 13279: EAM_ERROR_MESSAGE_PVT.Add_Error_Token

13275: l_token_tbl(1).token_value := l_eam_op_comp_rec.operation_seq_num;
13276:
13277: l_out_mesg_token_tbl := l_mesg_token_tbl;
13278:
13279: EAM_ERROR_MESSAGE_PVT.Add_Error_Token
13280: ( p_message_name => 'EAM_OP_QUALITY_COMMMIT'
13281: , p_token_tbl => l_Token_tbl
13282: , p_Mesg_Token_Tbl => l_Mesg_Token_Tbl
13283: , x_Mesg_Token_Tbl => l_out_Mesg_Token_Tbl

Line 13360: EAM_ERROR_MESSAGE_PVT.Log_Error

13356: WHEN EXC_SEV_QUIT_RECORD THEN
13357:
13358: l_out_eam_op_comp_tbl := l_eam_op_comp_tbl;
13359:
13360: EAM_ERROR_MESSAGE_PVT.Log_Error
13361: (
13362: p_eam_op_comp_tbl => l_eam_op_comp_tbl
13363:
13364: , x_eam_wo_comp_rec => l_out_eam_wo_comp_rec

Line 13375: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

13371: , x_eam_request_tbl => l_out_eam_request_tbl
13372:
13373: , p_mesg_token_tbl => l_mesg_token_tbl
13374: , p_error_status => FND_API.G_RET_STS_ERROR
13375: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
13376: , p_other_message => l_other_message
13377: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
13378: , p_other_token_tbl => l_other_token_tbl
13379:

Line 13377: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

13373: , p_mesg_token_tbl => l_mesg_token_tbl
13374: , p_error_status => FND_API.G_RET_STS_ERROR
13375: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
13376: , p_other_message => l_other_message
13377: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
13378: , p_other_token_tbl => l_other_token_tbl
13379:
13380: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
13381: );

Line 13380: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL

13376: , p_other_message => l_other_message
13377: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
13378: , p_other_token_tbl => l_other_token_tbl
13379:
13380: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
13381: );
13382:
13383: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
13384:

Line 13383: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

13379:
13380: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
13381: );
13382:
13383: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
13384:
13385: x_return_status := FND_API.G_RET_STS_ERROR;
13386: x_msg_count := l_msg_count;
13387:

Line 13392: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_OPERATION : End==========================================================') ; END IF ;

13388: RETURN;
13389: END ; -- End for op count > 0
13390:
13391: END LOOP;
13392: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_PROCESS_WO_PVT.COMP_UNCOMP_OPERATION : End==========================================================') ; END IF ;
13393:
13394: END COMP_UNCOMP_OPERATION;
13395:
13396:

Line 13416: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;

13412: , x_return_status OUT NOCOPY VARCHAR2
13413: , x_msg_count OUT NOCOPY NUMBER
13414: )
13415: IS
13416: l_mesg_token_tbl EAM_ERROR_MESSAGE_PVT.Mesg_Token_Tbl_Type;
13417: l_return_status VARCHAR2(1) ;
13418:
13419: l_eam_request_tbl EAM_PROCESS_WO_PUB.eam_request_tbl_type;
13420: l_eam_request_rec EAM_PROCESS_WO_PUB.eam_request_rec_type;

Line 13426: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

13422:
13423: l_org_id NUMBER;
13424: l_wip_entity_id NUMBER;
13425: l_valid_transaction BOOLEAN := TRUE ;
13426: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
13427: l_other_message VARCHAR2(2000);
13428: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
13429: l_msg_count NUMBER;
13430: L_OUT_EAM_REQUEST_TBL EAM_PROCESS_WO_PUB.eam_request_tbl_type;

Line 13428: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;

13424: l_wip_entity_id NUMBER;
13425: l_valid_transaction BOOLEAN := TRUE ;
13426: l_other_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
13427: l_other_message VARCHAR2(2000);
13428: l_token_tbl EAM_ERROR_MESSAGE_PVT.Token_Tbl_Type ;
13429: l_msg_count NUMBER;
13430: L_OUT_EAM_REQUEST_TBL EAM_PROCESS_WO_PUB.eam_request_tbl_type;
13431:
13432: l_out_eam_wo_comp_rec EAM_PROCESS_WO_PUB.eam_wo_comp_rec_type;

Line 13442: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association procedure begin '); END IF;

13438: l_out_eam_wo_quality_tbl EAM_PROCESS_WO_PUB.eam_wo_quality_tbl_type;
13439:
13440: BEGIN
13441:
13442: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association procedure begin '); END IF;
13443:
13444: x_return_status := FND_API.G_RET_STS_SUCCESS;
13445: l_return_status := FND_API.G_RET_STS_SUCCESS;
13446:

Line 13458: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: Transaction Type Validity . . . '); END IF;

13454: FOR i IN p_eam_request_tbl.FIRST..p_eam_request_tbl.LAST LOOP
13455: begin
13456: l_eam_request_rec := p_eam_request_tbl(i);
13457:
13458: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: Transaction Type Validity . . . '); END IF;
13459:
13460: VALIDATE_TRANSACTION_TYPE
13461: ( p_transaction_type => l_eam_request_rec.transaction_type
13462: , p_entity_name => 'WORK_SERVICE_REQUEST'

Line 13469: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13465: , x_mesg_token_tbl => l_Mesg_Token_Tbl
13466: );
13467: IF NOT l_valid_transaction
13468: THEN
13469: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13470: l_other_message := 'EAM_WR_INVALID_TXN_TYPE';
13471: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13472: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13473: RAISE EXC_SEV_QUIT_RECORD;

Line 13476: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: : Check Required . . .'); END IF;

13472: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13473: RAISE EXC_SEV_QUIT_RECORD;
13474: END IF;
13475:
13476: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: : Check Required . . .'); END IF;
13477:
13478: EAM_REQUEST_VALIDATE_PVT.CHECK_REQUIRED
13479: (
13480: p_eam_request_rec => l_eam_request_rec

Line 13485: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN

13481: , x_return_status => l_return_status
13482: , x_mesg_token_tbl => l_Mesg_Token_Tbl
13483: );
13484:
13485: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13486: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13487: l_other_message := 'EAM_WR_CHK_REQUIRED';
13488: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13489: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;

Line 13486: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13482: , x_mesg_token_tbl => l_Mesg_Token_Tbl
13483: );
13484:
13485: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13486: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13487: l_other_message := 'EAM_WR_CHK_REQUIRED';
13488: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13489: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13490: RAISE EXC_SEV_QUIT_RECORD;

Line 13493: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: : Attribute Defaulting . . .'); END IF;

13489: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13490: RAISE EXC_SEV_QUIT_RECORD;
13491: END IF;
13492:
13493: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: : Attribute Defaulting . . .'); END IF;
13494:
13495: EAM_REQUEST_DEFAULT_PVT.Attribute_Defaulting
13496: (
13497: p_eam_request_rec => l_eam_request_rec ,

Line 13504: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN

13500: );
13501:
13502: l_eam_request_rec := l_out_eam_request_rec;
13503:
13504: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13505: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13506: l_other_message := 'EAM_WR_ATTR_DEFAULT';
13507: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13508: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;

Line 13505: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13501:
13502: l_eam_request_rec := l_out_eam_request_rec;
13503:
13504: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13505: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13506: l_other_message := 'EAM_WR_ATTR_DEFAULT';
13507: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13508: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13509: RAISE EXC_SEV_QUIT_RECORD;

Line 13512: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: : Check Attributes . . .'); END IF;

13508: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13509: RAISE EXC_SEV_QUIT_RECORD;
13510: END IF;
13511:
13512: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: : Check Attributes . . .'); END IF;
13513:
13514: EAM_REQUEST_VALIDATE_PVT.CHECK_ATTRIBUTES
13515: (
13516: p_eam_request_rec => l_eam_request_rec

Line 13521: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN

13517: , x_return_status => l_return_status
13518: , x_mesg_token_tbl => l_mesg_token_tbl
13519: );
13520:
13521: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13522: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13523: l_other_message := 'EAM_WR_CHECK_ATTR';
13524: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13525: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;

Line 13522: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13518: , x_mesg_token_tbl => l_mesg_token_tbl
13519: );
13520:
13521: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13522: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13523: l_other_message := 'EAM_WR_CHECK_ATTR';
13524: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13525: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13526: RAISE EXC_SEV_QUIT_RECORD;

Line 13529: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: : Associating/Disassociating Work /Service Request. . .'); END IF;

13525: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13526: RAISE EXC_SEV_QUIT_RECORD;
13527: END IF;
13528:
13529: IF GET_DEBUG = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug('Work Request Service Request association: : Associating/Disassociating Work /Service Request. . .'); END IF;
13530:
13531: IF l_eam_request_rec.transaction_type = EAM_PROCESS_WO_PVT.G_OPR_CREATE THEN
13532: EAM_REQUEST_UTILITY_PVT.INSERT_ROW
13533: ( p_eam_request_rec => l_eam_request_rec

Line 13548: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN

13544: );
13545:
13546: END IF;
13547:
13548: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13549: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13550: l_other_message := 'EAM_WR_INSERT_REC';
13551: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13552: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;

Line 13549: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13545:
13546: END IF;
13547:
13548: IF l_return_status = EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR THEN
13549: x_eam_request_tbl(i).return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13550: l_other_message := 'EAM_WR_INSERT_REC';
13551: l_other_token_tbl(1).token_name := 'REQUEST_ID';
13552: l_other_token_tbl(1).token_value := l_eam_request_rec.request_id;
13553: RAISE EXC_SEV_QUIT_RECORD;

Line 13566: EAM_ERROR_MESSAGE_PVT.Log_Error

13562: WHEN EXC_SEV_QUIT_RECORD THEN
13563:
13564: l_out_eam_request_tbl := l_eam_request_tbl;
13565:
13566: EAM_ERROR_MESSAGE_PVT.Log_Error
13567: (
13568: p_eam_request_tbl => l_eam_request_tbl
13569:
13570: , x_eam_wo_comp_rec => l_out_eam_wo_comp_rec

Line 13581: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL

13577: , x_eam_request_tbl => l_out_eam_request_tbl
13578:
13579: , p_mesg_token_tbl => l_mesg_token_tbl
13580: , p_error_status => FND_API.G_RET_STS_ERROR
13581: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
13582: , p_other_message => l_other_message
13583: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
13584: , p_other_token_tbl => l_other_token_tbl
13585:

Line 13583: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR

13579: , p_mesg_token_tbl => l_mesg_token_tbl
13580: , p_error_status => FND_API.G_RET_STS_ERROR
13581: , p_error_scope => EAM_ERROR_MESSAGE_PVT.G_WO_LEVEL
13582: , p_other_message => l_other_message
13583: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
13584: , p_other_token_tbl => l_other_token_tbl
13585:
13586: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
13587: );

Line 13586: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL

13582: , p_other_message => l_other_message
13583: , p_other_status => EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR
13584: , p_other_token_tbl => l_other_token_tbl
13585:
13586: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
13587: );
13588:
13589: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
13590: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

Line 13589: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();

13585:
13586: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
13587: );
13588:
13589: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
13590: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13591: x_msg_count := l_msg_count;
13592:
13593: RETURN;

Line 13590: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;

13586: , p_error_level => EAM_ERROR_MESSAGE_PVT.G_WO_COMP_LEVEL
13587: );
13588:
13589: l_msg_count := EAM_ERROR_MESSAGE_PVT.GET_MESSAGE_COUNT();
13590: x_return_status := EAM_ERROR_MESSAGE_PVT.G_STATUS_ERROR;
13591: x_msg_count := l_msg_count;
13592:
13593: RETURN;
13594: