DBA Data[Home] [Help]

APPS.OE_OE_HTML_HEADER dependencies on OE_GLOBALS

Line 27: l_control_rec OE_GLOBALS.Control_Rec_Type;

23: , x_header_val_rec IN OUT NOCOPY OE_ORDER_PUB.Header_Val_Rec_Type
24: , p_transaction_phase_code IN VARCHAR2
25: )
26: IS
27: l_control_rec OE_GLOBALS.Control_Rec_Type;
28: l_return_status VARCHAR2(1);
29: l_old_header_rec OE_ORDER_PUB.Header_Rec_Type;
30: l_fname Varchar2(1000);
31: BEGIN

Line 40: OE_GLOBALS.G_UI_FLAG := TRUE;

36:
37:
38:
39: -- Set the UI flag
40: OE_GLOBALS.G_UI_FLAG := TRUE;
41:
42: -- Set control flags.
43:
44: l_control_rec.controlled_operation := TRUE;

Line 127: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;

123: x_header_rec.tp_attribute15 := NULL;
124:
125: -- Set Operation to Create
126:
127: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
128:
129: -- Call Oe_Order_Pvt.Header
130:
131: Oe_Order_Pvt.Header

Line 160: OE_GLOBALS.G_UI_FLAG := FALSE;

156:
157: x_header_rec.db_flag := FND_API.G_FALSE;
158:
159: -- Re-set the UI flag to FALSE
160: OE_GLOBALS.G_UI_FLAG := FALSE;
161:
162: -- Set return status.
163:
164: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 179: OE_GLOBALS.G_UI_FLAG := FALSE;

175: EXCEPTION
176:
177: WHEN FND_API.G_EXC_ERROR THEN
178:
179: OE_GLOBALS.G_UI_FLAG := FALSE;
180:
181: x_return_status := FND_API.G_RET_STS_ERROR;
182:
183: -- Get message count and data

Line 192: OE_GLOBALS.G_UI_FLAG := FALSE;

188: );
189:
190: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
191:
192: OE_GLOBALS.G_UI_FLAG := FALSE;
193:
194: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
195:
196: -- Get message count and data

Line 205: OE_GLOBALS.G_UI_FLAG := FALSE;

201: );
202:
203: WHEN OTHERS THEN
204:
205: OE_GLOBALS.G_UI_FLAG := FALSE;
206:
207: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
208:
209: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 245: l_control_rec OE_GLOBALS.Control_Rec_Type;

241: , x_old_header_rec IN OUT NOCOPY OE_ORDER_PUB.Header_Rec_Type
242:
243: )
244: IS
245: l_control_rec OE_GLOBALS.Control_Rec_Type;
246: l_return_status VARCHAR2(1);
247: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
248: BEGIN
249:

Line 252: OE_GLOBALS.G_UI_FLAG := TRUE;

248: BEGIN
249:
250: oe_debug_pub.add('Entering Oe_Oe_Html_Header.CHANGE_ATTRIBUTES', 1);
251: -- Set the UI flag
252: OE_GLOBALS.G_UI_FLAG := TRUE;
253:
254: -- Set control flags.
255:
256: l_control_rec.controlled_operation := TRUE;

Line 274: x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

270:
271: -- Set Operation.
272:
273: IF FND_API.To_Boolean(x_header_rec.db_flag) THEN
274: x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
275: ELSE
276: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
277: END IF;
278: oe_debug_pub.add('DB Operation'|| x_header_rec.operation);

Line 276: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;

272:
273: IF FND_API.To_Boolean(x_header_rec.db_flag) THEN
274: x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
275: ELSE
276: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
277: END IF;
278: oe_debug_pub.add('DB Operation'|| x_header_rec.operation);
279:
280: -- Call Oe_Order_Pvt.Header

Line 316: OE_GLOBALS.G_UI_FLAG := FALSE;

312:
313:
314:
315: -- Re-set the UI flag to FALSE
316: OE_GLOBALS.G_UI_FLAG := FALSE;
317:
318: -- Set return status.
319:
320: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 335: OE_GLOBALS.G_UI_FLAG := FALSE;

331: EXCEPTION
332:
333: WHEN FND_API.G_EXC_ERROR THEN
334:
335: OE_GLOBALS.G_UI_FLAG := FALSE;
336:
337: x_return_status := FND_API.G_RET_STS_ERROR;
338:
339: -- Get message count and data

Line 348: OE_GLOBALS.G_UI_FLAG := FALSE;

344: );
345:
346: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
347:
348: OE_GLOBALS.G_UI_FLAG := FALSE;
349:
350: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
351:
352: -- Get message count and data

Line 361: OE_GLOBALS.G_UI_FLAG := FALSE;

357: );
358:
359: WHEN OTHERS THEN
360:
361: OE_GLOBALS.G_UI_FLAG := FALSE;
362:
363: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
364:
365: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 398: l_control_rec OE_GLOBALS.Control_Rec_Type;

394:
395: )
396: IS
397: l_x_old_header_rec OE_Order_PUB.Header_Rec_Type;
398: l_control_rec OE_GLOBALS.Control_Rec_Type;
399: l_return_status VARCHAR2(1);
400: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
401: L_CASCADE_FLAG BOOLEAN;
402: l_dir VARCHAR2(2000);

Line 414: OE_GLOBALS.G_UI_FLAG := TRUE;

410:
411: oe_debug_pub.add('Entering Oe_Oe_Html_Header.Save_Header', 1);
412:
413: -- Set the UI flag
414: OE_GLOBALS.G_UI_FLAG := TRUE;
415:
416: -- Set control flags.
417:
418: l_control_rec.controlled_operation := TRUE;

Line 440: x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

436:
437: -- Set Operation.
438:
439: IF FND_API.To_Boolean(x_header_rec.db_flag) THEN
440: x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
441: ELSE
442: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
443: END IF;
444:

Line 442: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;

438:
439: IF FND_API.To_Boolean(x_header_rec.db_flag) THEN
440: x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
441: ELSE
442: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
443: END IF;
444:
445:
446: -- Call Oe_Order_Pvt.Header

Line 493: x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

489:
490: -- Set Operation.
491:
492: IF FND_API.To_Boolean(x_header_rec.db_flag) THEN
493: x_header_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
494: OE_Header_Util.Query_Row
495: ( p_header_id => x_header_rec.header_id
496: , x_header_rec => l_x_old_header_rec
497: );

Line 500: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;

496: , x_header_rec => l_x_old_header_rec
497: );
498: -- l_x_old_header_rec:=x_old_header_rec;
499: ELSE
500: x_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
501: END IF;
502:
503: -- Call Oe_Order_Pvt.Header
504:

Line 540: OE_GLOBALS.G_UI_FLAG := FALSE;

536: END IF;
537: oe_debug_pub.add('Exiting Oe_Oe_Html_Header.Save_Header-After Second PO'||
538: l_return_status, 1);
539: -- Re-set the UI flag to FALSE
540: OE_GLOBALS.G_UI_FLAG := FALSE;
541:
542: -- Set return status.
543:
544: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 559: OE_GLOBALS.G_UI_FLAG := FALSE;

555: EXCEPTION
556:
557: WHEN FND_API.G_EXC_ERROR THEN
558:
559: OE_GLOBALS.G_UI_FLAG := FALSE;
560:
561: ROLLBACK TO SAVEPOINT Header_Validate_And_Write;
562:
563: x_return_status := FND_API.G_RET_STS_ERROR;

Line 574: OE_GLOBALS.G_UI_FLAG := FALSE;

570: );
571:
572: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
573:
574: OE_GLOBALS.G_UI_FLAG := FALSE;
575:
576: ROLLBACK TO SAVEPOINT Header_Validate_And_Write;
577:
578: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

Line 589: OE_GLOBALS.G_UI_FLAG := FALSE;

585: );
586:
587: WHEN OTHERS THEN
588:
589: OE_GLOBALS.G_UI_FLAG := FALSE;
590:
591: ROLLBACK TO SAVEPOINT Header_Validate_And_Write;
592:
593: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;

Line 623: l_control_rec OE_GLOBALS.Control_Rec_Type;

619: , p_header_id IN NUMBER
620: )
621: IS
622: l_x_old_header_rec OE_Order_PUB.Header_Rec_Type;
623: l_control_rec OE_GLOBALS.Control_Rec_Type;
624: l_return_status VARCHAR2(1);
625: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
626: BEGIN
627: SAVEPOINT Header_Delete;

Line 631: OE_GLOBALS.G_UI_FLAG := TRUE;

627: SAVEPOINT Header_Delete;
628: oe_debug_pub.add('Entering Oe_Oe_Html_Header.DELETE_ROW', 1);
629:
630: -- Set the UI flag
631: OE_GLOBALS.G_UI_FLAG := TRUE;
632:
633: -- Set control flags.
634:
635: l_control_rec.controlled_operation := TRUE;

Line 654: l_x_header_rec.operation := OE_GLOBALS.G_OPR_DELETE;

650: -- Read DB record from cache
651:
652: -- Set Operation.
653:
654: l_x_header_rec.operation := OE_GLOBALS.G_OPR_DELETE;
655:
656: -- Call Oe_Order_Pvt.Header
657:
658: Oe_Order_Pvt.Header

Line 677: OE_GLOBALS.G_UI_FLAG := FALSE;

673:
674:
675:
676: -- Re-set the UI flag to FALSE
677: OE_GLOBALS.G_UI_FLAG := FALSE;
678:
679: -- Set return status.
680:
681: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 696: OE_GLOBALS.G_UI_FLAG := FALSE;

692: EXCEPTION
693:
694: WHEN FND_API.G_EXC_ERROR THEN
695: ROLLBACK TO SAVEPOINT Header_Delete ;
696: OE_GLOBALS.G_UI_FLAG := FALSE;
697:
698: x_return_status := FND_API.G_RET_STS_ERROR;
699:
700: -- Get message count and data

Line 710: OE_GLOBALS.G_UI_FLAG := FALSE;

706:
707: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
708: ROLLBACK TO SAVEPOINT Header_Delete ;
709:
710: OE_GLOBALS.G_UI_FLAG := FALSE;
711:
712: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
713:
714: -- Get message count and data

Line 724: OE_GLOBALS.G_UI_FLAG := FALSE;

720:
721: WHEN OTHERS THEN
722: ROLLBACK TO SAVEPOINT Header_Delete ;
723:
724: OE_GLOBALS.G_UI_FLAG := FALSE;
725:
726: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
727:
728: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 760: l_control_rec OE_GLOBALS.Control_Rec_Type;

756: , x_cascade_flag OUT NOCOPY BOOLEAN
757: )
758: IS
759: l_return_status VARCHAR2(1);
760: l_control_rec OE_GLOBALS.Control_Rec_Type;
761: l_line_tbl oe_order_pub.line_tbl_type;
762: BEGIN
763: oe_debug_pub.add('Entering Oe_Oe_Html_Header.PROCESS_OBJECT', 1);
764:

Line 768: If OE_GLOBALS.G_FTE_REINVOKE = 'Y' Then

764:
765: OE_MSG_PUB.initialize;
766:
767: IF OE_CODE_CONTROL.GET_CODE_RELEASE_LEVEL >='110510' THEN
768: If OE_GLOBALS.G_FTE_REINVOKE = 'Y' Then
769: fnd_message.set_name('ONT','ONT_LINE_ATTRIB_CHANGED');
770: OE_MSG_PUB.Add;
771: OE_GLOBALS.G_FTE_REINVOKE := 'N';
772: End If;

Line 771: OE_GLOBALS.G_FTE_REINVOKE := 'N';

767: IF OE_CODE_CONTROL.GET_CODE_RELEASE_LEVEL >='110510' THEN
768: If OE_GLOBALS.G_FTE_REINVOKE = 'Y' Then
769: fnd_message.set_name('ONT','ONT_LINE_ATTRIB_CHANGED');
770: OE_MSG_PUB.Add;
771: OE_GLOBALS.G_FTE_REINVOKE := 'N';
772: End If;
773: End If;
774:
775: -- we are using this flag to selectively requery the block,

Line 785: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := TRUE;

781: -- that will be incorrect.
782: -- this flag helps to requery the block if any thing changed
783: -- after validate and write.
784:
785: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := TRUE;
786:
787: l_control_rec.controlled_operation := TRUE;
788: l_control_rec.process := TRUE;
789: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;

Line 789: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;

785: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := TRUE;
786:
787: l_control_rec.controlled_operation := TRUE;
788: l_control_rec.process := TRUE;
789: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_ALL;
790:
791: l_control_rec.check_security := FALSE;
792: l_control_rec.clear_dependents := FALSE;
793: l_control_rec.default_attributes := FALSE;

Line 804: OE_GLOBALS.G_UI_FLAG := TRUE;

800: l_control_rec.clear_api_cache := FALSE;
801: l_control_rec.clear_api_requests := TRUE;
802:
803: -- Set the UI flag
804: OE_GLOBALS.G_UI_FLAG := TRUE;
805:
806: oe_line_util.Post_Line_Process
807: ( p_control_rec => l_control_rec
808: , p_x_line_tbl => l_line_tbl );

Line 824: x_cascade_flag := OE_GLOBALS.G_CASCADING_REQUEST_LOGGED;

820: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
821: RAISE FND_API.G_EXC_ERROR;
822: END IF;
823:
824: x_cascade_flag := OE_GLOBALS.G_CASCADING_REQUEST_LOGGED;
825: -- Re-set the UI flag to FALSE
826: OE_GLOBALS.G_UI_FLAG := FALSE;
827:
828: -- Set return status.

Line 826: OE_GLOBALS.G_UI_FLAG := FALSE;

822: END IF;
823:
824: x_cascade_flag := OE_GLOBALS.G_CASCADING_REQUEST_LOGGED;
825: -- Re-set the UI flag to FALSE
826: OE_GLOBALS.G_UI_FLAG := FALSE;
827:
828: -- Set return status.
829:
830: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 839: OE_GLOBALS.G_UI_FLAG := FALSE;

835: ( p_count => x_msg_count
836: , p_data => x_msg_data
837: );
838:
839: OE_GLOBALS.G_UI_FLAG := FALSE;
840: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;
841:
842: oe_debug_pub.add('Exiting Oe_Oe_Html_Header.PROCESS_OBJECT', 1);
843:

Line 840: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;

836: , p_data => x_msg_data
837: );
838:
839: OE_GLOBALS.G_UI_FLAG := FALSE;
840: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;
841:
842: oe_debug_pub.add('Exiting Oe_Oe_Html_Header.PROCESS_OBJECT', 1);
843:
844: EXCEPTION

Line 847: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;

843:
844: EXCEPTION
845:
846: WHEN FND_API.G_EXC_ERROR THEN
847: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;
848: OE_GLOBALS.G_UI_FLAG := FALSE;
849:
850: x_return_status := FND_API.G_RET_STS_ERROR;
851:

Line 848: OE_GLOBALS.G_UI_FLAG := FALSE;

844: EXCEPTION
845:
846: WHEN FND_API.G_EXC_ERROR THEN
847: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;
848: OE_GLOBALS.G_UI_FLAG := FALSE;
849:
850: x_return_status := FND_API.G_RET_STS_ERROR;
851:
852: -- Get message count and data

Line 860: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;

856: , p_data => x_msg_data
857: );
858:
859: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
860: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;
861: OE_GLOBALS.G_UI_FLAG := FALSE;
862:
863: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
864:

Line 861: OE_GLOBALS.G_UI_FLAG := FALSE;

857: );
858:
859: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
860: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;
861: OE_GLOBALS.G_UI_FLAG := FALSE;
862:
863: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
864:
865: -- Get message count and data

Line 873: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;

869: , p_data => x_msg_data
870: );
871:
872: WHEN OTHERS THEN
873: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;
874: OE_GLOBALS.G_UI_FLAG := FALSE;
875:
876: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
877:

Line 874: OE_GLOBALS.G_UI_FLAG := FALSE;

870: );
871:
872: WHEN OTHERS THEN
873: OE_GLOBALS.G_PROCESS_OBJECTS_FLAG := FALSE;
874: OE_GLOBALS.G_UI_FLAG := FALSE;
875:
876: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
877:
878: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 917: l_x_header_rec.operation := OE_GLOBALS.G_OPR_LOCK; -- not req.

913: -- Load header record
914:
915: l_x_header_rec.lock_control := p_lock_control;
916: l_x_header_rec.header_id := p_header_id;
917: l_x_header_rec.operation := OE_GLOBALS.G_OPR_LOCK; -- not req.
918:
919: -- Call OE_Header_Util.Lock_Row instead of Oe_Order_Pvt.Lock_order
920:
921: oe_debug_pub.add('header_id'|| l_x_header_rec.header_id, 1);

Line 959: OE_GLOBALS.G_UI_FLAG := FALSE;

955:
956: EXCEPTION
957: WHEN FND_API.G_EXC_ERROR THEN
958:
959: OE_GLOBALS.G_UI_FLAG := FALSE;
960:
961: x_return_status := FND_API.G_RET_STS_ERROR;
962:
963: -- Get message count and data

Line 972: OE_GLOBALS.G_UI_FLAG := FALSE;

968: );
969:
970: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
971:
972: OE_GLOBALS.G_UI_FLAG := FALSE;
973:
974: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
975:
976: -- Get message count and data

Line 1033: p_entity_code => OE_GLOBALS.G_ENTITY_HEADER

1029: x_return_status := FND_API.G_RET_STS_SUCCESS;
1030:
1031: OE_ORDER_CACHE.g_header_rec:=null;
1032: OE_DELAYED_REQUESTS_PVT.Delete_Reqs_for_Deleted_Entity(
1033: p_entity_code => OE_GLOBALS.G_ENTITY_HEADER
1034: ,p_entity_id => p_header_id
1035: ,x_return_status => l_return_status);
1036:
1037: OE_MSG_PUB.Count_And_Get