DBA Data[Home] [Help]

APPS.ENG_PROPAGATION_LOG_UTIL dependencies on ERROR_HANDLER

Line 479: IF p_entity_level = Error_Handler.G_BO_LEVEL

475: p_entity_map_rec.change_propagation_map_id := null;
476: p_entity_map_rec.entity_action_status := null;
477:
478: -- Now set other attributes of the record based on the entity level
479: IF p_entity_level = Error_Handler.G_BO_LEVEL
480: THEN
481: p_entity_map_rec.change_id := null;
482: END IF;
483:

Line 484: IF p_entity_level <= Error_Handler.G_ECO_LEVEL

480: THEN
481: p_entity_map_rec.change_id := null;
482: END IF;
483:
484: IF p_entity_level <= Error_Handler.G_ECO_LEVEL
485: THEN
486: p_entity_map_rec.local_change_id := null;
487: p_entity_map_rec.local_organization_id := null;
488: END IF;

Line 490: IF p_entity_level <= Error_Handler.G_RI_LEVEL

486: p_entity_map_rec.local_change_id := null;
487: p_entity_map_rec.local_organization_id := null;
488: END IF;
489:
490: IF p_entity_level <= Error_Handler.G_RI_LEVEL
491: THEN
492: p_entity_map_rec.revised_item_sequence_id := null;
493: p_entity_map_rec.local_revised_item_seq_id := null;
494: END IF;

Line 496: IF p_entity_level <= Error_Handler.G_RC_LEVEL

492: p_entity_map_rec.revised_item_sequence_id := null;
493: p_entity_map_rec.local_revised_item_seq_id := null;
494: END IF;
495:
496: IF p_entity_level <= Error_Handler.G_RC_LEVEL
497: THEN
498: p_entity_map_rec.revised_line_type := null;
499: p_entity_map_rec.revised_line_id1 := null;
500: p_entity_map_rec.revised_line_id2 := null;

Line 565: l_message_list Error_Handler.Error_Tbl_Type;

561: , p_entity_action_status IN NUMBER
562: , p_bo_entity_identifier IN VARCHAR2
563: ) IS
564: l_Nxt_Idx NUMBER;
565: l_message_list Error_Handler.Error_Tbl_Type;
566: l_Nxt_Mesg_Cnt NUMBER;
567: l_error_table Error_Handler.Error_Tbl_Type;
568: BEGIN
569: l_Nxt_Idx := G_Entity_Map_Log_Table.COUNT+1;

Line 567: l_error_table Error_Handler.Error_Tbl_Type;

563: ) IS
564: l_Nxt_Idx NUMBER;
565: l_message_list Error_Handler.Error_Tbl_Type;
566: l_Nxt_Mesg_Cnt NUMBER;
567: l_error_table Error_Handler.Error_Tbl_Type;
568: BEGIN
569: l_Nxt_Idx := G_Entity_Map_Log_Table.COUNT+1;
570:
571: G_Entity_Map_Log_Table(l_Nxt_Idx).change_id := p_change_id;

Line 590: Debug_Log(G_LOG_STATEMENT, 'Number of messages'||Error_Handler.Get_Message_Count);

586: G_Entity_Map_Log_Table(l_Nxt_Idx).local_revised_line_id5 := p_local_revised_line_id5;
587: G_Entity_Map_Log_Table(l_Nxt_Idx).entity_name := p_entity_name;
588: G_Entity_Map_Log_Table(l_Nxt_Idx).entity_action_status := p_entity_action_status;
589:
590: Debug_Log(G_LOG_STATEMENT, 'Number of messages'||Error_Handler.Get_Message_Count);
591: Debug_Log(G_LOG_STATEMENT, 'p_bo_entity_identifier'||p_bo_entity_identifier);
592: Error_Handler.Get_Entity_Message(
593: p_entity_id => p_bo_entity_identifier
594: , x_message_list => G_Entity_Map_Log_Table(l_Nxt_Idx).message_list);

Line 592: Error_Handler.Get_Entity_Message(

588: G_Entity_Map_Log_Table(l_Nxt_Idx).entity_action_status := p_entity_action_status;
589:
590: Debug_Log(G_LOG_STATEMENT, 'Number of messages'||Error_Handler.Get_Message_Count);
591: Debug_Log(G_LOG_STATEMENT, 'p_bo_entity_identifier'||p_bo_entity_identifier);
592: Error_Handler.Get_Entity_Message(
593: p_entity_id => p_bo_entity_identifier
594: , x_message_list => G_Entity_Map_Log_Table(l_Nxt_Idx).message_list);
595:
596: -- Special handling for Revised component level to log all the children messages

Line 597: IF p_bo_entity_identifier = 'RC'--Eco_Error_Handler.G_RC_LEVEL--Fixed for bug 4968251

593: p_entity_id => p_bo_entity_identifier
594: , x_message_list => G_Entity_Map_Log_Table(l_Nxt_Idx).message_list);
595:
596: -- Special handling for Revised component level to log all the children messages
597: IF p_bo_entity_identifier = 'RC'--Eco_Error_Handler.G_RC_LEVEL--Fixed for bug 4968251
598: THEN
599: -- Generally, the message count for component will be minimal. So no issues
600: l_Nxt_Mesg_Cnt := G_Entity_Map_Log_Table(l_Nxt_Idx).message_list.COUNT+1;
601: Error_Handler.Get_Entity_Message(

Line 601: Error_Handler.Get_Entity_Message(

597: IF p_bo_entity_identifier = 'RC'--Eco_Error_Handler.G_RC_LEVEL--Fixed for bug 4968251
598: THEN
599: -- Generally, the message count for component will be minimal. So no issues
600: l_Nxt_Mesg_Cnt := G_Entity_Map_Log_Table(l_Nxt_Idx).message_list.COUNT+1;
601: Error_Handler.Get_Entity_Message(
602: p_entity_id => Eco_Error_Handler.G_RD_LEVEL
603: , x_message_list => l_message_list);
604: FOR i IN 1..l_message_list.COUNT
605: LOOP

Line 602: p_entity_id => Eco_Error_Handler.G_RD_LEVEL

598: THEN
599: -- Generally, the message count for component will be minimal. So no issues
600: l_Nxt_Mesg_Cnt := G_Entity_Map_Log_Table(l_Nxt_Idx).message_list.COUNT+1;
601: Error_Handler.Get_Entity_Message(
602: p_entity_id => Eco_Error_Handler.G_RD_LEVEL
603: , x_message_list => l_message_list);
604: FOR i IN 1..l_message_list.COUNT
605: LOOP
606: G_Entity_Map_Log_Table(l_Nxt_Idx).message_list(l_Nxt_Mesg_Cnt) := l_message_list(i);

Line 611: Error_Handler.Get_Entity_Message(

607: l_Nxt_Mesg_Cnt := l_Nxt_Mesg_Cnt+1;
608:
609: END LOOP;
610: l_message_list.delete;
611: Error_Handler.Get_Entity_Message(
612: p_entity_id => Eco_Error_Handler.G_SC_LEVEL
613: , x_message_list => l_message_list);
614: FOR i IN 1..l_message_list.COUNT
615: LOOP

Line 612: p_entity_id => Eco_Error_Handler.G_SC_LEVEL

608:
609: END LOOP;
610: l_message_list.delete;
611: Error_Handler.Get_Entity_Message(
612: p_entity_id => Eco_Error_Handler.G_SC_LEVEL
613: , x_message_list => l_message_list);
614: FOR i IN 1..l_message_list.COUNT
615: LOOP
616: G_Entity_Map_Log_Table(l_Nxt_Idx).message_list(l_Nxt_Mesg_Cnt) := l_message_list(i);

Line 627: Error_Handler.Get_Message_List( x_message_list => l_error_table);

623: Debug_Log(G_LOG_STATEMENT, 'there are messages now p_revised_item_sequence_id'||p_revised_item_sequence_id);
624: END LOOP;*/ --For Debugging
625: IF p_bo_entity_identifier = 'ECO'
626: THEN
627: Error_Handler.Get_Message_List( x_message_list => l_error_table);
628: FOR i IN 1..l_error_table.COUNT
629: LOOP
630: FND_FILE.New_line(which => Fnd_File.LOG );
631: FND_FILE.PUT_LINE(FND_FILE.LOG,'Entity Id: '||l_error_table(i).entity_id);

Line 686: , p_bo_entity_identifier => 'RC'--Eco_Error_Handler.G_RC_LEVEL

682: , p_revised_line_id1 => p_component_sequence_id
683: , p_local_organization_id => p_local_organization_id
684: , p_entity_name => Eng_Propagation_Log_Util.G_ENTITY_REVISED_LINE
685: , p_entity_action_status => 4
686: , p_bo_entity_identifier => 'RC'--Eco_Error_Handler.G_RC_LEVEL
687: );
688: Write_Propagation_Log;
689:
690: -- Standard ending code ------------------------------------------------