DBA Data[Home] [Help]

APPS.OE_OE_FORM_LINE_SCREDIT dependencies on OE_GLOBALS

Line 101: l_control_rec OE_GLOBALS.Control_Rec_Type;

97: --SG}
98: )
99: IS
100: l_Line_Scredit_val_rec OE_Order_PUB.Line_Scredit_Val_Rec_Type;
101: l_control_rec OE_GLOBALS.Control_Rec_Type;
102: l_return_status VARCHAR2(1);
103: l_x_Line_Scredit_rec OE_Order_PUB.Line_Scredit_Rec_Type;
104: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
105: l_x_old_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;

Line 117: OE_GLOBALS.G_UI_FLAG := TRUE;

113: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_SCREDIT.DEFAULT_ATTRIBUTES' , 1 ) ;
114: END IF;
115:
116: -- Set the UI flag
117: OE_GLOBALS.G_UI_FLAG := TRUE;
118:
119: -- Set control flags.
120:
121: l_control_rec.controlled_operation := TRUE;

Line 164: l_x_line_scredit_rec.operation := OE_GLOBALS.G_OPR_CREATE;

160: l_x_line_scredit_rec.context := NULL;
161:
162: -- Set Operation to Create
163:
164: l_x_line_scredit_rec.operation := OE_GLOBALS.G_OPR_CREATE;
165:
166: -- Populate Line_Scredit table
167:
168: l_x_Line_Scredit_tbl(1) := l_x_Line_Scredit_rec;

Line 237: OE_GLOBALS.G_UI_FLAG := FALSE;

233: ( p_Line_Scredit_rec => l_x_Line_Scredit_rec
234: );
235:
236: -- Re-set the UI flag to FALSE
237: OE_GLOBALS.G_UI_FLAG := FALSE;
238:
239: -- Set return status.
240:
241: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 258: OE_GLOBALS.G_UI_FLAG := FALSE;

254: EXCEPTION
255:
256: WHEN FND_API.G_EXC_ERROR THEN
257:
258: OE_GLOBALS.G_UI_FLAG := FALSE;
259:
260: x_return_status := FND_API.G_RET_STS_ERROR;
261:
262: -- Get message count and data

Line 271: OE_GLOBALS.G_UI_FLAG := FALSE;

267: );
268:
269: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
270:
271: OE_GLOBALS.G_UI_FLAG := FALSE;
272:
273: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
274:
275: -- Get message count and data

Line 284: OE_GLOBALS.G_UI_FLAG := FALSE;

280: );
281:
282: WHEN OTHERS THEN
283:
284: OE_GLOBALS.G_UI_FLAG := FALSE;
285:
286: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
287:
288: IF oe_msg_pub.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 400: l_control_rec OE_GLOBALS.Control_Rec_Type;

396: IS
397: l_Line_Scredit_rec OE_Order_PUB.Line_Scredit_Rec_Type;
398: l_old_Line_Scredit_rec OE_Order_PUB.Line_Scredit_Rec_Type;
399: l_Line_Scredit_val_rec OE_Order_PUB.Line_Scredit_Val_Rec_Type;
400: l_control_rec OE_GLOBALS.Control_Rec_Type;
401: l_return_status VARCHAR2(1);
402: l_x_Line_Scredit_rec OE_Order_PUB.Line_Scredit_Rec_Type;
403: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
404: l_x_old_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;

Line 416: OE_GLOBALS.G_UI_FLAG := TRUE;

412: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_SCREDIT.CHANGE_ATTRIBUTE' , 1 ) ;
413: END IF;
414:
415: -- Set the UI flag
416: OE_GLOBALS.G_UI_FLAG := TRUE;
417:
418: -- Set control flags.
419:
420: l_control_rec.controlled_operation := TRUE;

Line 520: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

516:
517: -- Set Operation.
518:
519: IF FND_API.To_Boolean(l_Line_Scredit_rec.db_flag) THEN
520: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
521: ELSE
522: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_CREATE;
523: END IF;
524:

Line 522: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_CREATE;

518:
519: IF FND_API.To_Boolean(l_Line_Scredit_rec.db_flag) THEN
520: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
521: ELSE
522: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_CREATE;
523: END IF;
524:
525: -- Populate Line_Scredit table
526:

Line 595: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute1,

591: );
592:
593: -- Return changed attributes.
594:
595: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute1,
596: l_Line_Scredit_rec.attribute1)
597: THEN
598: x_attribute1 := l_x_Line_Scredit_rec.attribute1;
599: END IF;

Line 601: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute10,

597: THEN
598: x_attribute1 := l_x_Line_Scredit_rec.attribute1;
599: END IF;
600:
601: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute10,
602: l_Line_Scredit_rec.attribute10)
603: THEN
604: x_attribute10 := l_x_Line_Scredit_rec.attribute10;
605: END IF;

Line 607: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute11,

603: THEN
604: x_attribute10 := l_x_Line_Scredit_rec.attribute10;
605: END IF;
606:
607: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute11,
608: l_Line_Scredit_rec.attribute11)
609: THEN
610: x_attribute11 := l_x_Line_Scredit_rec.attribute11;
611: END IF;

Line 613: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute12,

609: THEN
610: x_attribute11 := l_x_Line_Scredit_rec.attribute11;
611: END IF;
612:
613: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute12,
614: l_Line_Scredit_rec.attribute12)
615: THEN
616: x_attribute12 := l_x_Line_Scredit_rec.attribute12;
617: END IF;

Line 619: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute13,

615: THEN
616: x_attribute12 := l_x_Line_Scredit_rec.attribute12;
617: END IF;
618:
619: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute13,
620: l_Line_Scredit_rec.attribute13)
621: THEN
622: x_attribute13 := l_x_Line_Scredit_rec.attribute13;
623: END IF;

Line 625: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute14,

621: THEN
622: x_attribute13 := l_x_Line_Scredit_rec.attribute13;
623: END IF;
624:
625: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute14,
626: l_Line_Scredit_rec.attribute14)
627: THEN
628: x_attribute14 := l_x_Line_Scredit_rec.attribute14;
629: END IF;

Line 631: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute15,

627: THEN
628: x_attribute14 := l_x_Line_Scredit_rec.attribute14;
629: END IF;
630:
631: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute15,
632: l_Line_Scredit_rec.attribute15)
633: THEN
634: x_attribute15 := l_x_Line_Scredit_rec.attribute15;
635: END IF;

Line 637: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute2,

633: THEN
634: x_attribute15 := l_x_Line_Scredit_rec.attribute15;
635: END IF;
636:
637: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute2,
638: l_Line_Scredit_rec.attribute2)
639: THEN
640: x_attribute2 := l_x_Line_Scredit_rec.attribute2;
641: END IF;

Line 643: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute3,

639: THEN
640: x_attribute2 := l_x_Line_Scredit_rec.attribute2;
641: END IF;
642:
643: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute3,
644: l_Line_Scredit_rec.attribute3)
645: THEN
646: x_attribute3 := l_x_Line_Scredit_rec.attribute3;
647: END IF;

Line 649: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute4,

645: THEN
646: x_attribute3 := l_x_Line_Scredit_rec.attribute3;
647: END IF;
648:
649: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute4,
650: l_Line_Scredit_rec.attribute4)
651: THEN
652: x_attribute4 := l_x_Line_Scredit_rec.attribute4;
653: END IF;

Line 655: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute5,

651: THEN
652: x_attribute4 := l_x_Line_Scredit_rec.attribute4;
653: END IF;
654:
655: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute5,
656: l_Line_Scredit_rec.attribute5)
657: THEN
658: x_attribute5 := l_x_Line_Scredit_rec.attribute5;
659: END IF;

Line 661: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute6,

657: THEN
658: x_attribute5 := l_x_Line_Scredit_rec.attribute5;
659: END IF;
660:
661: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute6,
662: l_Line_Scredit_rec.attribute6)
663: THEN
664: x_attribute6 := l_x_Line_Scredit_rec.attribute6;
665: END IF;

Line 667: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute7,

663: THEN
664: x_attribute6 := l_x_Line_Scredit_rec.attribute6;
665: END IF;
666:
667: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute7,
668: l_Line_Scredit_rec.attribute7)
669: THEN
670: x_attribute7 := l_x_Line_Scredit_rec.attribute7;
671: END IF;

Line 673: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute8,

669: THEN
670: x_attribute7 := l_x_Line_Scredit_rec.attribute7;
671: END IF;
672:
673: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute8,
674: l_Line_Scredit_rec.attribute8)
675: THEN
676: x_attribute8 := l_x_Line_Scredit_rec.attribute8;
677: END IF;

Line 679: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute9,

675: THEN
676: x_attribute8 := l_x_Line_Scredit_rec.attribute8;
677: END IF;
678:
679: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.attribute9,
680: l_Line_Scredit_rec.attribute9)
681: THEN
682: x_attribute9 := l_x_Line_Scredit_rec.attribute9;
683: END IF;

Line 685: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.context,

681: THEN
682: x_attribute9 := l_x_Line_Scredit_rec.attribute9;
683: END IF;
684:
685: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.context,
686: l_Line_Scredit_rec.context)
687: THEN
688: x_context := l_x_Line_Scredit_rec.context;
689: END IF;

Line 691: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.dw_update_advice_flag,

687: THEN
688: x_context := l_x_Line_Scredit_rec.context;
689: END IF;
690:
691: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.dw_update_advice_flag,
692: l_Line_Scredit_rec.dw_update_advice_flag)
693: THEN
694: x_dw_update_advice_flag := l_x_Line_Scredit_rec.dw_update_advice_flag;
695: END IF;

Line 697: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.header_id,

693: THEN
694: x_dw_update_advice_flag := l_x_Line_Scredit_rec.dw_update_advice_flag;
695: END IF;
696:
697: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.header_id,
698: l_Line_Scredit_rec.header_id)
699: THEN
700: x_header_id := l_x_Line_Scredit_rec.header_id;
701: END IF;

Line 703: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.line_id,

699: THEN
700: x_header_id := l_x_Line_Scredit_rec.header_id;
701: END IF;
702:
703: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.line_id,
704: l_Line_Scredit_rec.line_id)
705: THEN
706: x_line_id := l_x_Line_Scredit_rec.line_id;
707: END IF;

Line 709: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.percent,

705: THEN
706: x_line_id := l_x_Line_Scredit_rec.line_id;
707: END IF;
708:
709: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.percent,
710: l_Line_Scredit_rec.percent)
711: THEN
712: x_percent := l_x_Line_Scredit_rec.percent;
713: END IF;

Line 715: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.salesrep_id,

711: THEN
712: x_percent := l_x_Line_Scredit_rec.percent;
713: END IF;
714:
715: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.salesrep_id,
716: l_Line_Scredit_rec.salesrep_id)
717: THEN
718: x_salesrep_id := l_x_Line_Scredit_rec.salesrep_id;
719: x_salesrep := l_Line_Scredit_val_rec.salesrep;

Line 721: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.sales_credit_type_id,

717: THEN
718: x_salesrep_id := l_x_Line_Scredit_rec.salesrep_id;
719: x_salesrep := l_Line_Scredit_val_rec.salesrep;
720: END IF;
721: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.sales_credit_type_id,
722: l_Line_Scredit_rec.sales_credit_type_id)
723: THEN
724: x_sales_credit_type_id:= l_x_Line_Scredit_rec.sales_credit_type_id;
725: x_sales_credit_type := l_Line_Scredit_val_rec.sales_credit_type;

Line 728: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.sales_credit_id,

724: x_sales_credit_type_id:= l_x_Line_Scredit_rec.sales_credit_type_id;
725: x_sales_credit_type := l_Line_Scredit_val_rec.sales_credit_type;
726: END IF;
727:
728: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.sales_credit_id,
729: l_Line_Scredit_rec.sales_credit_id)
730: THEN
731: x_sales_credit_id := l_x_Line_Scredit_rec.sales_credit_id;
732: END IF;

Line 734: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.wh_update_date,

730: THEN
731: x_sales_credit_id := l_x_Line_Scredit_rec.sales_credit_id;
732: END IF;
733:
734: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_rec.wh_update_date,
735: l_Line_Scredit_rec.wh_update_date)
736: THEN
737: x_wh_update_date := l_x_Line_Scredit_rec.wh_update_date;
738: END IF;

Line 741: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_Tbl(1).sales_group_id,

737: x_wh_update_date := l_x_Line_Scredit_rec.wh_update_date;
738: END IF;
739:
740: --SG{
741: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_Tbl(1).sales_group_id,
742: l_Line_Scredit_rec.sales_group_id)
743: THEN
744: x_sales_group_id := l_x_Line_Scredit_Tbl(1).sales_group_id;
745: x_sales_group := l_Line_Scredit_val_rec.sales_group;

Line 749: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_Tbl(1).sales_group_updated_flag,

745: x_sales_group := l_Line_Scredit_val_rec.sales_group;
746: oe_debug_pub.add('OEXFHSCB2--x_sales_group:'||x_sales_group);
747: END IF;
748:
749: IF NOT OE_GLOBALS.Equal(l_x_Line_Scredit_Tbl(1).sales_group_updated_flag,
750: l_Line_Scredit_rec.sales_group_updated_flag)
751: THEN
752: x_sales_group_updated_flag := l_Line_Scredit_rec.sales_group_updated_flag;
753: END IF;

Line 763: OE_GLOBALS.G_UI_FLAG := FALSE;

759: ( p_Line_Scredit_rec => l_x_Line_Scredit_rec
760: );
761:
762: -- Re-set the UI flag to FALSE
763: OE_GLOBALS.G_UI_FLAG := FALSE;
764:
765: -- Set return status.
766:
767: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 784: OE_GLOBALS.G_UI_FLAG := FALSE;

780: EXCEPTION
781:
782: WHEN FND_API.G_EXC_ERROR THEN
783:
784: OE_GLOBALS.G_UI_FLAG := FALSE;
785:
786: x_return_status := FND_API.G_RET_STS_ERROR;
787:
788: -- Get message count and data

Line 797: OE_GLOBALS.G_UI_FLAG := FALSE;

793: );
794:
795: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
796:
797: OE_GLOBALS.G_UI_FLAG := FALSE;
798:
799: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
800:
801: -- Get message count and data

Line 810: OE_GLOBALS.G_UI_FLAG := FALSE;

806: );
807:
808: WHEN OTHERS THEN
809:
810: OE_GLOBALS.G_UI_FLAG := FALSE;
811:
812: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
813:
814: IF oe_msg_pub.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 862: l_control_rec OE_GLOBALS.Control_Rec_Type;

858: l_Line_Scredit_rec OE_Order_PUB.Line_Scredit_Rec_Type;
859: l_old_Line_Scredit_rec OE_Order_PUB.Line_Scredit_Rec_Type;
860: l_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
861: l_x_old_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
862: l_control_rec OE_GLOBALS.Control_Rec_Type;
863: l_return_status VARCHAR2(1);
864: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
865:
866: --

Line 876: OE_GLOBALS.G_UI_FLAG := TRUE;

872: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_SCREDIT.VALIDATE_AND_WRITE' , 1 ) ;
873: END IF;
874:
875: -- Set the UI flag
876: OE_GLOBALS.G_UI_FLAG := TRUE;
877:
878: -- Set control flags.
879:
880: l_control_rec.controlled_operation := TRUE;

Line 912: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_UPDATE;

908:
909: -- Set Operation.
910:
911: IF FND_API.To_Boolean(l_Line_Scredit_rec.db_flag) THEN
912: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
913: ELSE
914: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_CREATE;
915: END IF;
916:

Line 914: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_CREATE;

910:
911: IF FND_API.To_Boolean(l_Line_Scredit_rec.db_flag) THEN
912: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
913: ELSE
914: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_CREATE;
915: END IF;
916:
917: /* Start Audit Trail -- Pass change reason, comments */
918: l_Line_Scredit_rec.change_reason := p_change_reason_code;

Line 987: OE_GLOBALS.G_UI_FLAG := FALSE;

983: l_old_Line_Scredit_rec.operation := l_Line_Scredit_rec.operation;
984:
985:
986: -- Re-set the UI flag to FALSE
987: OE_GLOBALS.G_UI_FLAG := FALSE;
988:
989: -- Set return status.
990:
991: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1008: OE_GLOBALS.G_UI_FLAG := FALSE;

1004: EXCEPTION
1005:
1006: WHEN FND_API.G_EXC_ERROR THEN
1007:
1008: OE_GLOBALS.G_UI_FLAG := FALSE;
1009:
1010: x_return_status := FND_API.G_RET_STS_ERROR;
1011:
1012: -- Get message count and data

Line 1021: OE_GLOBALS.G_UI_FLAG := FALSE;

1017: );
1018:
1019: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1020:
1021: OE_GLOBALS.G_UI_FLAG := FALSE;
1022:
1023: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1024:
1025: -- Get message count and data

Line 1034: OE_GLOBALS.G_UI_FLAG := FALSE;

1030: );
1031:
1032: WHEN OTHERS THEN
1033:
1034: OE_GLOBALS.G_UI_FLAG := FALSE;
1035:
1036: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1037:
1038: IF oe_msg_pub.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 1072: l_control_rec OE_GLOBALS.Control_Rec_Type;

1068: )
1069: IS
1070: l_Line_Scredit_rec OE_Order_PUB.Line_Scredit_Rec_Type;
1071: l_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
1072: l_control_rec OE_GLOBALS.Control_Rec_Type;
1073: l_return_status VARCHAR2(1);
1074: l_x_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
1075: l_x_old_Line_Scredit_tbl OE_Order_PUB.Line_Scredit_Tbl_Type;
1076:

Line 1087: OE_GLOBALS.G_UI_FLAG := TRUE;

1083: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_SCREDIT.DELETE_ROW' , 1 ) ;
1084: END IF;
1085:
1086: -- Set the UI flag
1087: OE_GLOBALS.G_UI_FLAG := TRUE;
1088:
1089: -- Set control flags.
1090:
1091: l_control_rec.controlled_operation := TRUE;

Line 1116: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_DELETE;

1112: );
1113:
1114: -- Set Operation.
1115:
1116: l_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_DELETE;
1117:
1118: -- Populate Line_Scredit table
1119:
1120: l_x_Line_Scredit_tbl(1) := l_Line_Scredit_rec;

Line 1147: OE_GLOBALS.G_UI_FLAG := FALSE;

1143:
1144: Clear_Line_Scredit;
1145:
1146: -- Re-set the UI flag to FALSE
1147: OE_GLOBALS.G_UI_FLAG := FALSE;
1148:
1149: -- Set return status.
1150:
1151: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1168: OE_GLOBALS.G_UI_FLAG := FALSE;

1164: EXCEPTION
1165:
1166: WHEN FND_API.G_EXC_ERROR THEN
1167:
1168: OE_GLOBALS.G_UI_FLAG := FALSE;
1169:
1170: x_return_status := FND_API.G_RET_STS_ERROR;
1171:
1172: -- Get message count and data

Line 1181: OE_GLOBALS.G_UI_FLAG := FALSE;

1177: );
1178:
1179: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1180:
1181: OE_GLOBALS.G_UI_FLAG := FALSE;
1182:
1183: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1184:
1185: -- Get message count and data

Line 1194: OE_GLOBALS.G_UI_FLAG := FALSE;

1190: );
1191:
1192: WHEN OTHERS THEN
1193:
1194: OE_GLOBALS.G_UI_FLAG := FALSE;
1195:
1196: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1197:
1198: IF oe_msg_pub.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 1228: /*l_control_rec OE_GLOBALS.Control_Rec_Type;

1224:
1225: )
1226: IS
1227: l_return_status VARCHAR2(1);
1228: /*l_control_rec OE_GLOBALS.Control_Rec_Type;
1229: l_x_header_rec OE_Order_PUB.Header_Rec_Type;
1230: l_x_Header_Adj_rec OE_Order_PUB.Header_Adj_Rec_Type;
1231: l_x_Header_Adj_tbl OE_Order_PUB.Header_Adj_Tbl_Type;
1232: l_x_Header_Scredit_rec OE_Order_PUB.Header_Scredit_Rec_Type;

Line 1260: OE_GLOBALS.G_UI_FLAG := TRUE;

1256: oe_debug_pub.add( 'ENTERING OE_OE_FORM_LINE_SCREDIT.PROCESS_ENTITY' , 1 ) ;
1257: END IF;
1258:
1259: -- Set the UI flag
1260: OE_GLOBALS.G_UI_FLAG := TRUE;
1261:
1262: -- Set control flags.
1263:
1264: /* l_control_rec.controlled_operation := TRUE;

Line 1266: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_LINE_SCREDIT;

1262: -- Set control flags.
1263:
1264: /* l_control_rec.controlled_operation := TRUE;
1265: l_control_rec.process := TRUE;
1266: l_control_rec.process_entity := OE_GLOBALS.G_ENTITY_LINE_SCREDIT;
1267:
1268: l_control_rec.check_security := FALSE;
1269: l_control_rec.clear_dependents := FALSE;
1270: l_control_rec.default_attributes := FALSE;

Line 1321: OE_GLOBALS.G_UI_FLAG := FALSE;

1317: END IF;
1318:
1319:
1320: -- Re-set the UI flag to FALSE
1321: OE_GLOBALS.G_UI_FLAG := FALSE;
1322:
1323: -- Set return status.
1324:
1325: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1342: OE_GLOBALS.G_UI_FLAG := FALSE;

1338: EXCEPTION
1339:
1340: WHEN FND_API.G_EXC_ERROR THEN
1341:
1342: OE_GLOBALS.G_UI_FLAG := FALSE;
1343:
1344: x_return_status := FND_API.G_RET_STS_ERROR;
1345:
1346: -- Get message count and data

Line 1355: OE_GLOBALS.G_UI_FLAG := FALSE;

1351: );
1352:
1353: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1354:
1355: OE_GLOBALS.G_UI_FLAG := FALSE;
1356:
1357: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1358:
1359: -- Get message count and data

Line 1368: OE_GLOBALS.G_UI_FLAG := FALSE;

1364: );
1365:
1366: WHEN OTHERS THEN
1367:
1368: OE_GLOBALS.G_UI_FLAG := FALSE;
1369:
1370: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1371:
1372: IF oe_msg_pub.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 1417: l_x_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_LOCK;

1413: END IF;
1414:
1415: -- Load Line_Scredit record
1416:
1417: l_x_Line_Scredit_rec.operation := OE_GLOBALS.G_OPR_LOCK;
1418: l_x_Line_Scredit_rec.sales_credit_id := p_sales_credit_id;
1419: l_x_Line_Scredit_rec.lock_control := p_lock_control;
1420:
1421: