DBA Data[Home] [Help]

APPS.OE_VALIDATE dependencies on OE_MSG_PUB

Line 587: OE_MSG_PUB.Add;

583: -- dictionary stack. Then, add it to the API message list.
584:
585: FND_MESSAGE.Set_Encoded(FND_FLEX_DESCVAL.Encoded_Error_Message);
586:
587: OE_MSG_PUB.Add;
588:
589: -- Derive return status.
590:
591: IF FND_FLEX_DESCVAL.unsupported_error

Line 646: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

642:
643: WHEN NO_DATA_FOUND THEN
644:
645:
646: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
647: THEN
648:
649: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'HEADER_ID');
650:

Line 649: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'HEADER_ID');

645:
646: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
647: THEN
648:
649: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'HEADER_ID');
650:
651: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
652: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
653: OE_Order_Util.Get_Attribute_Name('HEADER_ID'));

Line 654: OE_MSG_PUB.Add;

650:
651: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
652: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
653: OE_Order_Util.Get_Attribute_Name('HEADER_ID'));
654: OE_MSG_PUB.Add;
655: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
656:
657: END IF;
658:

Line 655: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

651: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
652: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
653: OE_Order_Util.Get_Attribute_Name('HEADER_ID'));
654: OE_MSG_PUB.Add;
655: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
656:
657: END IF;
658:
659:

Line 664: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

660: RETURN FALSE;
661:
662: WHEN OTHERS THEN
663:
664: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
665: THEN
666: OE_MSG_PUB.Add_Exc_Msg
667: ( G_PKG_NAME
668: , 'Header'

Line 666: OE_MSG_PUB.Add_Exc_Msg

662: WHEN OTHERS THEN
663:
664: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
665: THEN
666: OE_MSG_PUB.Add_Exc_Msg
667: ( G_PKG_NAME
668: , 'Header'
669: );
670: END IF;

Line 700: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

696: EXCEPTION
697:
698: WHEN NO_DATA_FOUND THEN
699:
700: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
701: THEN
702:
703: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORG_ID');
704:

Line 703: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORG_ID');

699:
700: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
701: THEN
702:
703: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORG_ID');
704:
705: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
706: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
707: OE_Order_Util.Get_Attribute_Name('ORG_ID'));

Line 708: OE_MSG_PUB.Add;

704:
705: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
706: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
707: OE_Order_Util.Get_Attribute_Name('ORG_ID'));
708: OE_MSG_PUB.Add;
709:
710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
711:
712: END IF;

Line 710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

706: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
707: OE_Order_Util.Get_Attribute_Name('ORG_ID'));
708: OE_MSG_PUB.Add;
709:
710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
711:
712: END IF;
713:
714: RETURN FALSE;

Line 718: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

714: RETURN FALSE;
715:
716: WHEN OTHERS THEN
717:
718: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
719: THEN
720: OE_MSG_PUB.Add_Exc_Msg
721: ( G_PKG_NAME
722: , 'Org'

Line 720: OE_MSG_PUB.Add_Exc_Msg

716: WHEN OTHERS THEN
717:
718: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
719: THEN
720: OE_MSG_PUB.Add_Exc_Msg
721: ( G_PKG_NAME
722: , 'Org'
723: );
724: END IF;

Line 788: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

784: EXCEPTION
785:
786: WHEN NO_DATA_FOUND THEN
787:
788: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
789: THEN
790:
791: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_TYPE_ID');
792:

Line 791: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_TYPE_ID');

787:
788: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
789: THEN
790:
791: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_TYPE_ID');
792:
793: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
794: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
795: OE_Order_Util.Get_Attribute_Name('ORDER_TYPE_ID'));

Line 796: OE_MSG_PUB.Add;

792:
793: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
794: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
795: OE_Order_Util.Get_Attribute_Name('ORDER_TYPE_ID'));
796: OE_MSG_PUB.Add;
797:
798: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
799:
800:

Line 798: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

794: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
795: OE_Order_Util.Get_Attribute_Name('ORDER_TYPE_ID'));
796: OE_MSG_PUB.Add;
797:
798: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
799:
800:
801: END IF;
802:

Line 807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

803: RETURN FALSE;
804:
805: WHEN OTHERS THEN
806:
807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
808: THEN
809: OE_MSG_PUB.Add_Exc_Msg
810: ( G_PKG_NAME
811: , 'Order_Type'

Line 809: OE_MSG_PUB.Add_Exc_Msg

805: WHEN OTHERS THEN
806:
807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
808: THEN
809: OE_MSG_PUB.Add_Exc_Msg
810: ( G_PKG_NAME
811: , 'Order_Type'
812: );
813: END IF;

Line 880: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

876: EXCEPTION
877:
878: WHEN NO_DATA_FOUND THEN
879:
880: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
881: THEN
882:
883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER');
884:

Line 883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER');

879:
880: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
881: THEN
882:
883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER');
884:
885: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
886: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
887: OE_Order_Util.Get_Attribute_Name('ORDER_NUMBER'));

Line 889: OE_MSG_PUB.Add;

885: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
886: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
887: OE_Order_Util.Get_Attribute_Name('ORDER_NUMBER'));
888:
889: OE_MSG_PUB.Add;
890: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
891:
892: END IF;
893:

Line 890: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

886: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
887: OE_Order_Util.Get_Attribute_Name('ORDER_NUMBER'));
888:
889: OE_MSG_PUB.Add;
890: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
891:
892: END IF;
893:
894:

Line 899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

895: RETURN FALSE;
896:
897: WHEN OTHERS THEN
898:
899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
900: THEN
901: OE_MSG_PUB.Add_Exc_Msg
902: ( G_PKG_NAME
903: , 'Order_Number'

Line 901: OE_MSG_PUB.Add_Exc_Msg

897: WHEN OTHERS THEN
898:
899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
900: THEN
901: OE_MSG_PUB.Add_Exc_Msg
902: ( G_PKG_NAME
903: , 'Order_Number'
904: );
905: END IF;

Line 937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

933: EXCEPTION
934:
935: WHEN NO_DATA_FOUND THEN
936:
937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
938: THEN
939:
940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VERSION_NUMBER');
941:

Line 940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VERSION_NUMBER');

936:
937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
938: THEN
939:
940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VERSION_NUMBER');
941:
942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
944: OE_Order_Util.Get_Attribute_Name('VERSION_NUMBER'));

Line 945: OE_MSG_PUB.Add;

941:
942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
944: OE_Order_Util.Get_Attribute_Name('VERSION_NUMBER'));
945: OE_MSG_PUB.Add;
946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
947:
948: END IF;
949:

Line 946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
944: OE_Order_Util.Get_Attribute_Name('VERSION_NUMBER'));
945: OE_MSG_PUB.Add;
946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
947:
948: END IF;
949:
950:

Line 955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

951: RETURN FALSE;
952:
953: WHEN OTHERS THEN
954:
955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
956: THEN
957: OE_MSG_PUB.Add_Exc_Msg
958: ( G_PKG_NAME
959: , 'Version_Number'

Line 957: OE_MSG_PUB.Add_Exc_Msg

953: WHEN OTHERS THEN
954:
955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
956: THEN
957: OE_MSG_PUB.Add_Exc_Msg
958: ( G_PKG_NAME
959: , 'Version_Number'
960: );
961: END IF;

Line 992: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

988: EXCEPTION
989:
990: WHEN NO_DATA_FOUND THEN
991:
992: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
993: THEN
994:
995: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPIRATION_DATE');
996:

Line 995: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPIRATION_DATE');

991:
992: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
993: THEN
994:
995: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPIRATION_DATE');
996:
997: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
998: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
999: OE_Order_Util.Get_Attribute_Name('EXPIRATION_DATE'));

Line 1000: OE_MSG_PUB.Add;

996:
997: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
998: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
999: OE_Order_Util.Get_Attribute_Name('EXPIRATION_DATE'));
1000: OE_MSG_PUB.Add;
1001: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1002:
1003: END IF;
1004:

Line 1001: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

997: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
998: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
999: OE_Order_Util.Get_Attribute_Name('EXPIRATION_DATE'));
1000: OE_MSG_PUB.Add;
1001: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1002:
1003: END IF;
1004:
1005:

Line 1010: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1006: RETURN FALSE;
1007:
1008: WHEN OTHERS THEN
1009:
1010: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1011: THEN
1012: OE_MSG_PUB.Add_Exc_Msg
1013: ( G_PKG_NAME
1014: , 'Expiration_Date'

Line 1012: OE_MSG_PUB.Add_Exc_Msg

1008: WHEN OTHERS THEN
1009:
1010: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1011: THEN
1012: OE_MSG_PUB.Add_Exc_Msg
1013: ( G_PKG_NAME
1014: , 'Expiration_Date'
1015: );
1016: END IF;

Line 1050: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1046: EXCEPTION
1047:
1048: WHEN NO_DATA_FOUND THEN
1049:
1050: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1051: THEN
1052:
1053: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_SOURCE_ID');
1054:

Line 1053: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_SOURCE_ID');

1049:
1050: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1051: THEN
1052:
1053: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_SOURCE_ID');
1054:
1055: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1056: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1057: OE_Order_Util.Get_Attribute_Name('order_source'));

Line 1058: OE_MSG_PUB.Add;

1054:
1055: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1056: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1057: OE_Order_Util.Get_Attribute_Name('order_source'));
1058: OE_MSG_PUB.Add;
1059: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1060:
1061: END IF;
1062:

Line 1059: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1055: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1056: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1057: OE_Order_Util.Get_Attribute_Name('order_source'));
1058: OE_MSG_PUB.Add;
1059: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1060:
1061: END IF;
1062:
1063:

Line 1068: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1064: RETURN FALSE;
1065:
1066: WHEN OTHERS THEN
1067:
1068: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1069: THEN
1070: OE_MSG_PUB.Add_Exc_Msg
1071: ( G_PKG_NAME
1072: , 'Order_Source'

Line 1070: OE_MSG_PUB.Add_Exc_Msg

1066: WHEN OTHERS THEN
1067:
1068: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1069: THEN
1070: OE_MSG_PUB.Add_Exc_Msg
1071: ( G_PKG_NAME
1072: , 'Order_Source'
1073: );
1074: END IF;

Line 1107: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1103: EXCEPTION
1104:
1105: WHEN NO_DATA_FOUND THEN
1106:
1107: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1108: THEN
1109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_TYPE_ID');
1110:
1111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 1109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_TYPE_ID');

1105: WHEN NO_DATA_FOUND THEN
1106:
1107: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1108: THEN
1109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_TYPE_ID');
1110:
1111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1113: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_TYPE_ID'));

Line 1114: OE_MSG_PUB.Add;

1110:
1111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1113: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_TYPE_ID'));
1114: OE_MSG_PUB.Add;
1115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1116:
1117: END IF;
1118:

Line 1115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1113: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_TYPE_ID'));
1114: OE_MSG_PUB.Add;
1115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1116:
1117: END IF;
1118:
1119:

Line 1124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1120: RETURN FALSE;
1121:
1122: WHEN OTHERS THEN
1123:
1124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1125: THEN
1126: OE_MSG_PUB.Add_Exc_Msg
1127: ( G_PKG_NAME
1128: , 'Source_Document_Type'

Line 1126: OE_MSG_PUB.Add_Exc_Msg

1122: WHEN OTHERS THEN
1123:
1124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1125: THEN
1126: OE_MSG_PUB.Add_Exc_Msg
1127: ( G_PKG_NAME
1128: , 'Source_Document_Type'
1129: );
1130: END IF;

Line 1167: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1163: EXCEPTION
1164:
1165: WHEN NO_DATA_FOUND THEN
1166:
1167: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1168: THEN
1169:
1170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_TYPE_CODE');
1171:

Line 1170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_TYPE_CODE');

1166:
1167: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1168: THEN
1169:
1170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_TYPE_CODE');
1171:
1172: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1173: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1174: OE_Order_Util.Get_Attribute_Name('SOURCE_TYPE_CODE'));

Line 1175: OE_MSG_PUB.Add;

1171:
1172: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1173: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1174: OE_Order_Util.Get_Attribute_Name('SOURCE_TYPE_CODE'));
1175: OE_MSG_PUB.Add;
1176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1177:
1178: END IF;
1179:

Line 1176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1172: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1173: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1174: OE_Order_Util.Get_Attribute_Name('SOURCE_TYPE_CODE'));
1175: OE_MSG_PUB.Add;
1176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1177:
1178: END IF;
1179:
1180:

Line 1185: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1181: RETURN FALSE;
1182:
1183: WHEN OTHERS THEN
1184:
1185: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1186: THEN
1187: OE_MSG_PUB.Add_Exc_Msg
1188: ( G_PKG_NAME
1189: , 'Source_Type'

Line 1187: OE_MSG_PUB.Add_Exc_Msg

1183: WHEN OTHERS THEN
1184:
1185: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1186: THEN
1187: OE_MSG_PUB.Add_Exc_Msg
1188: ( G_PKG_NAME
1189: , 'Source_Type'
1190: );
1191: END IF;

Line 1223: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1219: EXCEPTION
1220:
1221: WHEN NO_DATA_FOUND THEN
1222:
1223: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1224: THEN
1225:
1226: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_ID');
1227:

Line 1226: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_ID');

1222:
1223: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1224: THEN
1225:
1226: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_ID');
1227:
1228: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1229: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1230: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_ID'));

Line 1231: OE_MSG_PUB.Add;

1227:
1228: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1229: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1230: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_ID'));
1231: OE_MSG_PUB.Add;
1232: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1233:
1234: END IF;
1235:

Line 1232: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1228: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1229: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1230: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_ID'));
1231: OE_MSG_PUB.Add;
1232: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1233:
1234: END IF;
1235:
1236:

Line 1241: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1237: RETURN FALSE;
1238:
1239: WHEN OTHERS THEN
1240:
1241: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1242: THEN
1243: OE_MSG_PUB.Add_Exc_Msg
1244: ( G_PKG_NAME
1245: , 'Source_Document'

Line 1243: OE_MSG_PUB.Add_Exc_Msg

1239: WHEN OTHERS THEN
1240:
1241: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1242: THEN
1243: OE_MSG_PUB.Add_Exc_Msg
1244: ( G_PKG_NAME
1245: , 'Source_Document'
1246: );
1247: END IF;

Line 1279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1275: EXCEPTION
1276:
1277: WHEN NO_DATA_FOUND THEN
1278:
1279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1280: THEN
1281:
1282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_DOCUMENT_REF');
1283:

Line 1282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_DOCUMENT_REF');

1278:
1279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1280: THEN
1281:
1282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_DOCUMENT_REF');
1283:
1284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1286: OE_Order_Util.Get_Attribute_Name('orig_sys_document_ref'));

Line 1287: OE_MSG_PUB.Add;

1283:
1284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1286: OE_Order_Util.Get_Attribute_Name('orig_sys_document_ref'));
1287: OE_MSG_PUB.Add;
1288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1289:
1290: END IF;
1291:

Line 1288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1286: OE_Order_Util.Get_Attribute_Name('orig_sys_document_ref'));
1287: OE_MSG_PUB.Add;
1288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1289:
1290: END IF;
1291:
1292:

Line 1297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1293: RETURN FALSE;
1294:
1295: WHEN OTHERS THEN
1296:
1297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1298: THEN
1299: OE_MSG_PUB.Add_Exc_Msg
1300: ( G_PKG_NAME
1301: , 'Orig_Sys_Document_Ref'

Line 1299: OE_MSG_PUB.Add_Exc_Msg

1295: WHEN OTHERS THEN
1296:
1297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1298: THEN
1299: OE_MSG_PUB.Add_Exc_Msg
1300: ( G_PKG_NAME
1301: , 'Orig_Sys_Document_Ref'
1302: );
1303: END IF;

Line 1335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1331: EXCEPTION
1332:
1333: WHEN NO_DATA_FOUND THEN
1334:
1335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1336: THEN
1337:
1338: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_ORDERED');
1339:

Line 1338: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_ORDERED');

1334:
1335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1336: THEN
1337:
1338: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_ORDERED');
1339:
1340: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1341: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1342: OE_Order_Util.Get_Attribute_Name('date_ordered'));

Line 1343: OE_MSG_PUB.Add;

1339:
1340: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1341: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1342: OE_Order_Util.Get_Attribute_Name('date_ordered'));
1343: OE_MSG_PUB.Add;
1344: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1345:
1346: END IF;
1347:

Line 1344: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1340: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1341: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1342: OE_Order_Util.Get_Attribute_Name('date_ordered'));
1343: OE_MSG_PUB.Add;
1344: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1345:
1346: END IF;
1347:
1348:

Line 1353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1349: RETURN FALSE;
1350:
1351: WHEN OTHERS THEN
1352:
1353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1354: THEN
1355: OE_MSG_PUB.Add_Exc_Msg
1356: ( G_PKG_NAME
1357: , 'Date_Ordered'

Line 1355: OE_MSG_PUB.Add_Exc_Msg

1351: WHEN OTHERS THEN
1352:
1353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1354: THEN
1355: OE_MSG_PUB.Add_Exc_Msg
1356: ( G_PKG_NAME
1357: , 'Date_Ordered'
1358: );
1359: END IF;

Line 1390: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1386: EXCEPTION
1387:
1388: WHEN NO_DATA_FOUND THEN
1389:
1390: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1391: THEN
1392:
1393: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_REQUESTED');
1394:

Line 1393: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_REQUESTED');

1389:
1390: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1391: THEN
1392:
1393: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_REQUESTED');
1394:
1395: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1396: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1397: OE_Order_Util.Get_Attribute_Name('date_requested'));

Line 1398: OE_MSG_PUB.Add;

1394:
1395: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1396: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1397: OE_Order_Util.Get_Attribute_Name('date_requested'));
1398: OE_MSG_PUB.Add;
1399: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1400:
1401: END IF;
1402:

Line 1399: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1395: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1396: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1397: OE_Order_Util.Get_Attribute_Name('date_requested'));
1398: OE_MSG_PUB.Add;
1399: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1400:
1401: END IF;
1402:
1403:

Line 1408: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1404: RETURN FALSE;
1405:
1406: WHEN OTHERS THEN
1407:
1408: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1409: THEN
1410: OE_MSG_PUB.Add_Exc_Msg
1411: ( G_PKG_NAME
1412: , 'Date_Requested'

Line 1410: OE_MSG_PUB.Add_Exc_Msg

1406: WHEN OTHERS THEN
1407:
1408: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1409: THEN
1410: OE_MSG_PUB.Add_Exc_Msg
1411: ( G_PKG_NAME
1412: , 'Date_Requested'
1413: );
1414: END IF;

Line 1453: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1449: EXCEPTION
1450:
1451: WHEN NO_DATA_FOUND THEN
1452:
1453: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1454: THEN
1455:
1456: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_PRIORITY_CODE');
1457:

Line 1456: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_PRIORITY_CODE');

1452:
1453: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1454: THEN
1455:
1456: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_PRIORITY_CODE');
1457:
1458: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1459: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1460: OE_Order_Util.Get_Attribute_Name('shipment_priority_code'));

Line 1461: OE_MSG_PUB.Add;

1457:
1458: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1459: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1460: OE_Order_Util.Get_Attribute_Name('shipment_priority_code'));
1461: OE_MSG_PUB.Add;
1462: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1463:
1464: END IF;
1465:

Line 1462: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1458: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1459: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1460: OE_Order_Util.Get_Attribute_Name('shipment_priority_code'));
1461: OE_MSG_PUB.Add;
1462: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1463:
1464: END IF;
1465:
1466:

Line 1471: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1467: RETURN FALSE;
1468:
1469: WHEN OTHERS THEN
1470:
1471: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1472: THEN
1473: OE_MSG_PUB.Add_Exc_Msg
1474: ( G_PKG_NAME
1475: , 'Shipment_Priority'

Line 1473: OE_MSG_PUB.Add_Exc_Msg

1469: WHEN OTHERS THEN
1470:
1471: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1472: THEN
1473: OE_MSG_PUB.Add_Exc_Msg
1474: ( G_PKG_NAME
1475: , 'Shipment_Priority'
1476: );
1477: END IF;

Line 1515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1511: EXCEPTION
1512:
1513: WHEN NO_DATA_FOUND THEN
1514:
1515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1516: THEN
1517:
1518: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_CLASS_CODE');
1519:

Line 1518: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_CLASS_CODE');

1514:
1515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1516: THEN
1517:
1518: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_CLASS_CODE');
1519:
1520: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1521: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1522: OE_Order_Util.Get_Attribute_Name('demand_class_code'));

Line 1523: OE_MSG_PUB.Add;

1519:
1520: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1521: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1522: OE_Order_Util.Get_Attribute_Name('demand_class_code'));
1523: OE_MSG_PUB.Add;
1524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1525:
1526: END IF;
1527:

Line 1524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1520: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1521: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1522: OE_Order_Util.Get_Attribute_Name('demand_class_code'));
1523: OE_MSG_PUB.Add;
1524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1525:
1526: END IF;
1527:
1528:

Line 1533: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1529: RETURN FALSE;
1530:
1531: WHEN OTHERS THEN
1532:
1533: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1534: THEN
1535: OE_MSG_PUB.Add_Exc_Msg
1536: ( G_PKG_NAME
1537: , 'Demand_Class'

Line 1535: OE_MSG_PUB.Add_Exc_Msg

1531: WHEN OTHERS THEN
1532:
1533: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1534: THEN
1535: OE_MSG_PUB.Add_Exc_Msg
1536: ( G_PKG_NAME
1537: , 'Demand_Class'
1538: );
1539: END IF;

Line 1596: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1592: EXCEPTION
1593:
1594: WHEN NO_DATA_FOUND THEN
1595:
1596: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1597: THEN
1598:
1599: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_LIST_ID');
1600:

Line 1599: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_LIST_ID');

1595:
1596: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1597: THEN
1598:
1599: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_LIST_ID');
1600:
1601: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1602: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1603: OE_Order_Util.Get_Attribute_Name('price_list_id'));

Line 1604: OE_MSG_PUB.Add;

1600:
1601: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1602: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1603: OE_Order_Util.Get_Attribute_Name('price_list_id'));
1604: OE_MSG_PUB.Add;
1605: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1606:
1607: END IF;
1608:

Line 1605: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1601: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1602: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1603: OE_Order_Util.Get_Attribute_Name('price_list_id'));
1604: OE_MSG_PUB.Add;
1605: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1606:
1607: END IF;
1608:
1609:

Line 1614: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1610: RETURN FALSE;
1611:
1612: WHEN OTHERS THEN
1613:
1614: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1615: THEN
1616: OE_MSG_PUB.Add_Exc_Msg
1617: ( G_PKG_NAME
1618: , 'Price_List'

Line 1616: OE_MSG_PUB.Add_Exc_Msg

1612: WHEN OTHERS THEN
1613:
1614: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1615: THEN
1616: OE_MSG_PUB.Add_Exc_Msg
1617: ( G_PKG_NAME
1618: , 'Price_List'
1619: );
1620: END IF;

Line 1659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1655: EXCEPTION
1656:
1657: WHEN NO_DATA_FOUND THEN
1658:
1659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1660: THEN
1661:
1662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_FLAG');
1663:

Line 1662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_FLAG');

1658:
1659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1660: THEN
1661:
1662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_FLAG');
1663:
1664: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1665: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1666: OE_Order_Util.Get_Attribute_Name('tax_exempt_flag'));

Line 1667: OE_MSG_PUB.Add;

1663:
1664: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1665: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1666: OE_Order_Util.Get_Attribute_Name('tax_exempt_flag'));
1667: OE_MSG_PUB.Add;
1668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1669:
1670: END IF;
1671:

Line 1668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1664: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1665: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1666: OE_Order_Util.Get_Attribute_Name('tax_exempt_flag'));
1667: OE_MSG_PUB.Add;
1668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1669:
1670: END IF;
1671:
1672:

Line 1677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1673: RETURN FALSE;
1674:
1675: WHEN OTHERS THEN
1676:
1677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1678: THEN
1679: OE_MSG_PUB.Add_Exc_Msg
1680: ( G_PKG_NAME
1681: , 'Tax_Exempt'

Line 1679: OE_MSG_PUB.Add_Exc_Msg

1675: WHEN OTHERS THEN
1676:
1677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1678: THEN
1679: OE_MSG_PUB.Add_Exc_Msg
1680: ( G_PKG_NAME
1681: , 'Tax_Exempt'
1682: );
1683: END IF;

Line 1714: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1710: EXCEPTION
1711:
1712: WHEN NO_DATA_FOUND THEN
1713:
1714: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1715: THEN
1716:
1717: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_NUMBER');
1718:

Line 1717: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_NUMBER');

1713:
1714: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1715: THEN
1716:
1717: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_NUMBER');
1718:
1719: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1720: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1721: OE_Order_Util.Get_Attribute_Name('tax_exempt_number'));

Line 1722: OE_MSG_PUB.Add;

1718:
1719: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1720: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1721: OE_Order_Util.Get_Attribute_Name('tax_exempt_number'));
1722: OE_MSG_PUB.Add;
1723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1724:
1725: END IF;
1726:

Line 1723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1719: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1720: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1721: OE_Order_Util.Get_Attribute_Name('tax_exempt_number'));
1722: OE_MSG_PUB.Add;
1723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1724:
1725: END IF;
1726:
1727:

Line 1732: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1728: RETURN FALSE;
1729:
1730: WHEN OTHERS THEN
1731:
1732: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1733: THEN
1734: OE_MSG_PUB.Add_Exc_Msg
1735: ( G_PKG_NAME
1736: , 'Tax_Exempt_Number'

Line 1734: OE_MSG_PUB.Add_Exc_Msg

1730: WHEN OTHERS THEN
1731:
1732: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1733: THEN
1734: OE_MSG_PUB.Add_Exc_Msg
1735: ( G_PKG_NAME
1736: , 'Tax_Exempt_Number'
1737: );
1738: END IF;

Line 1776: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1772: EXCEPTION
1773:
1774: WHEN NO_DATA_FOUND THEN
1775:
1776: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1777: THEN
1778:
1779: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_REASON_CODE');
1780:

Line 1779: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_REASON_CODE');

1775:
1776: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1777: THEN
1778:
1779: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_REASON_CODE');
1780:
1781: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1782: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1783: OE_Order_Util.Get_Attribute_Name('tax_exempt_reason_code'));

Line 1784: OE_MSG_PUB.Add;

1780:
1781: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1782: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1783: OE_Order_Util.Get_Attribute_Name('tax_exempt_reason_code'));
1784: OE_MSG_PUB.Add;
1785: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1786:
1787: END IF;
1788:

Line 1785: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1781: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1782: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1783: OE_Order_Util.Get_Attribute_Name('tax_exempt_reason_code'));
1784: OE_MSG_PUB.Add;
1785: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1786:
1787: END IF;
1788:
1789:

Line 1795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1791: RETURN FALSE;
1792:
1793: WHEN OTHERS THEN
1794:
1795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1796: THEN
1797: OE_MSG_PUB.Add_Exc_Msg
1798: ( G_PKG_NAME
1799: , 'Tax_Exempt_Reason'

Line 1797: OE_MSG_PUB.Add_Exc_Msg

1793: WHEN OTHERS THEN
1794:
1795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1796: THEN
1797: OE_MSG_PUB.Add_Exc_Msg
1798: ( G_PKG_NAME
1799: , 'Tax_Exempt_Reason'
1800: );
1801: END IF;

Line 1834: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1830: EXCEPTION
1831:
1832: WHEN NO_DATA_FOUND THEN
1833:
1834: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1835: THEN
1836:
1837: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE');
1838:

Line 1837: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE');

1833:
1834: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1835: THEN
1836:
1837: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE');
1838:
1839: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1840: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1841: OE_Order_Util.Get_Attribute_Name('conversion_rate'));

Line 1842: OE_MSG_PUB.Add;

1838:
1839: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1840: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1841: OE_Order_Util.Get_Attribute_Name('conversion_rate'));
1842: OE_MSG_PUB.Add;
1843: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1844:
1845: END IF;
1846:

Line 1843: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1839: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1840: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1841: OE_Order_Util.Get_Attribute_Name('conversion_rate'));
1842: OE_MSG_PUB.Add;
1843: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1844:
1845: END IF;
1846:
1847:

Line 1852: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1848: RETURN FALSE;
1849:
1850: WHEN OTHERS THEN
1851:
1852: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1853: THEN
1854: OE_MSG_PUB.Add_Exc_Msg
1855: ( G_PKG_NAME
1856: , 'Conversion_Rate'

Line 1854: OE_MSG_PUB.Add_Exc_Msg

1850: WHEN OTHERS THEN
1851:
1852: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1853: THEN
1854: OE_MSG_PUB.Add_Exc_Msg
1855: ( G_PKG_NAME
1856: , 'Conversion_Rate'
1857: );
1858: END IF;

Line 1885: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1881: EXCEPTION
1882:
1883: WHEN NO_DATA_FOUND THEN
1884:
1885: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1886: THEN
1887:
1888: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PREFERENCE_SET_CODE');
1889:

Line 1888: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PREFERENCE_SET_CODE');

1884:
1885: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1886: THEN
1887:
1888: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PREFERENCE_SET_CODE');
1889:
1890: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1891: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1892: OE_Order_Util.Get_Attribute_Name('CUSTOMER_PREFERENCE_SET_CODE'));

Line 1893: OE_MSG_PUB.Add;

1889:
1890: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1891: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1892: OE_Order_Util.Get_Attribute_Name('CUSTOMER_PREFERENCE_SET_CODE'));
1893: OE_MSG_PUB.Add;
1894: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1895:
1896: END IF;
1897:

Line 1894: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1890: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1891: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1892: OE_Order_Util.Get_Attribute_Name('CUSTOMER_PREFERENCE_SET_CODE'));
1893: OE_MSG_PUB.Add;
1894: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1895:
1896: END IF;
1897:
1898:

Line 1903: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1899: RETURN FALSE;
1900:
1901: WHEN OTHERS THEN
1902:
1903: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1904: THEN
1905: OE_MSG_PUB.Add_Exc_Msg
1906: ( G_PKG_NAME
1907: , 'CUSTOMER_PREFERENCE_SET'

Line 1905: OE_MSG_PUB.Add_Exc_Msg

1901: WHEN OTHERS THEN
1902:
1903: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1904: THEN
1905: OE_MSG_PUB.Add_Exc_Msg
1906: ( G_PKG_NAME
1907: , 'CUSTOMER_PREFERENCE_SET'
1908: );
1909: END IF;

Line 1940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1936: EXCEPTION
1937:
1938: WHEN NO_DATA_FOUND THEN
1939:
1940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1941: THEN
1942:
1943: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_TYPE_CODE');
1944:

Line 1943: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_TYPE_CODE');

1939:
1940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1941: THEN
1942:
1943: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_TYPE_CODE');
1944:
1945: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1946: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1947: OE_Order_Util.Get_Attribute_Name('conversion_type_code'));

Line 1948: OE_MSG_PUB.Add;

1944:
1945: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1946: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1947: OE_Order_Util.Get_Attribute_Name('conversion_type_code'));
1948: OE_MSG_PUB.Add;
1949: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1950:
1951: END IF;
1952:

Line 1949: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1945: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1946: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1947: OE_Order_Util.Get_Attribute_Name('conversion_type_code'));
1948: OE_MSG_PUB.Add;
1949: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1950:
1951: END IF;
1952:
1953:

Line 1958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1954: RETURN FALSE;
1955:
1956: WHEN OTHERS THEN
1957:
1958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1959: THEN
1960: OE_MSG_PUB.Add_Exc_Msg
1961: ( G_PKG_NAME
1962: , 'Conversion_Type'

Line 1960: OE_MSG_PUB.Add_Exc_Msg

1956: WHEN OTHERS THEN
1957:
1958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1959: THEN
1960: OE_MSG_PUB.Add_Exc_Msg
1961: ( G_PKG_NAME
1962: , 'Conversion_Type'
1963: );
1964: END IF;

Line 1994: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1990: EXCEPTION
1991:
1992: WHEN NO_DATA_FOUND THEN
1993:
1994: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1995: THEN
1996:
1997: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE_DATE');
1998:

Line 1997: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE_DATE');

1993:
1994: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1995: THEN
1996:
1997: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE_DATE');
1998:
1999: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2000: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2001: OE_Order_Util.Get_Attribute_Name('conversion_rate_date'));

Line 2002: OE_MSG_PUB.Add;

1998:
1999: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2000: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2001: OE_Order_Util.Get_Attribute_Name('conversion_rate_date'));
2002: OE_MSG_PUB.Add;
2003: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2004:
2005: END IF;
2006:

Line 2003: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1999: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2000: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2001: OE_Order_Util.Get_Attribute_Name('conversion_rate_date'));
2002: OE_MSG_PUB.Add;
2003: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2004:
2005: END IF;
2006:
2007:

Line 2012: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2008: RETURN FALSE;
2009:
2010: WHEN OTHERS THEN
2011:
2012: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2013: THEN
2014: OE_MSG_PUB.Add_Exc_Msg
2015: ( G_PKG_NAME
2016: , 'Conversion_Rate_Date'

Line 2014: OE_MSG_PUB.Add_Exc_Msg

2010: WHEN OTHERS THEN
2011:
2012: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2013: THEN
2014: OE_MSG_PUB.Add_Exc_Msg
2015: ( G_PKG_NAME
2016: , 'Conversion_Rate_Date'
2017: );
2018: END IF;

Line 2055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2051: EXCEPTION
2052:
2053: WHEN NO_DATA_FOUND THEN
2054:
2055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2056: THEN
2057:
2058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARTIAL_SHIPMENTS_ALLOWED');
2059:

Line 2058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARTIAL_SHIPMENTS_ALLOWED');

2054:
2055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2056: THEN
2057:
2058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARTIAL_SHIPMENTS_ALLOWED');
2059:
2060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2062: OE_Order_Util.Get_Attribute_Name('partial_shipments_allowed'));

Line 2063: OE_MSG_PUB.Add;

2059:
2060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2062: OE_Order_Util.Get_Attribute_Name('partial_shipments_allowed'));
2063: OE_MSG_PUB.Add;
2064: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2065:
2066: END IF;
2067:

Line 2064: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2062: OE_Order_Util.Get_Attribute_Name('partial_shipments_allowed'));
2063: OE_MSG_PUB.Add;
2064: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2065:
2066: END IF;
2067:
2068:

Line 2073: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2069: RETURN FALSE;
2070:
2071: WHEN OTHERS THEN
2072:
2073: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2074: THEN
2075: OE_MSG_PUB.Add_Exc_Msg
2076: ( G_PKG_NAME
2077: , 'Partial_Shipments_Allowed'

Line 2075: OE_MSG_PUB.Add_Exc_Msg

2071: WHEN OTHERS THEN
2072:
2073: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2074: THEN
2075: OE_MSG_PUB.Add_Exc_Msg
2076: ( G_PKG_NAME
2077: , 'Partial_Shipments_Allowed'
2078: );
2079: END IF;

Line 2111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2107: EXCEPTION
2108:
2109: WHEN NO_DATA_FOUND THEN
2110:
2111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2112: THEN
2113:
2114: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_ABOVE');
2115:

Line 2114: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_ABOVE');

2110:
2111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2112: THEN
2113:
2114: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_ABOVE');
2115:
2116: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2117: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2118: OE_Order_Util.Get_Attribute_Name('ship_tolerance_above'));

Line 2119: OE_MSG_PUB.Add;

2115:
2116: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2117: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2118: OE_Order_Util.Get_Attribute_Name('ship_tolerance_above'));
2119: OE_MSG_PUB.Add;
2120: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2121:
2122: END IF;
2123:

Line 2120: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2116: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2117: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2118: OE_Order_Util.Get_Attribute_Name('ship_tolerance_above'));
2119: OE_MSG_PUB.Add;
2120: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2121:
2122: END IF;
2123:
2124:

Line 2129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2125: RETURN FALSE;
2126:
2127: WHEN OTHERS THEN
2128:
2129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2130: THEN
2131: OE_MSG_PUB.Add_Exc_Msg
2132: ( G_PKG_NAME
2133: , 'Ship_Tolerance_Above'

Line 2131: OE_MSG_PUB.Add_Exc_Msg

2127: WHEN OTHERS THEN
2128:
2129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2130: THEN
2131: OE_MSG_PUB.Add_Exc_Msg
2132: ( G_PKG_NAME
2133: , 'Ship_Tolerance_Above'
2134: );
2135: END IF;

Line 2167: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2163: EXCEPTION
2164:
2165: WHEN NO_DATA_FOUND THEN
2166:
2167: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2168: THEN
2169:
2170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_BELOW');
2171:

Line 2170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_BELOW');

2166:
2167: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2168: THEN
2169:
2170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_BELOW');
2171:
2172: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2173: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2174: OE_Order_Util.Get_Attribute_Name('ship_tolerance_below'));

Line 2175: OE_MSG_PUB.Add;

2171:
2172: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2173: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2174: OE_Order_Util.Get_Attribute_Name('ship_tolerance_below'));
2175: OE_MSG_PUB.Add;
2176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2177:
2178: END IF;
2179:

Line 2176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2172: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2173: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2174: OE_Order_Util.Get_Attribute_Name('ship_tolerance_below'));
2175: OE_MSG_PUB.Add;
2176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2177:
2178: END IF;
2179:
2180:

Line 2185: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2181: RETURN FALSE;
2182:
2183: WHEN OTHERS THEN
2184:
2185: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2186: THEN
2187: OE_MSG_PUB.Add_Exc_Msg
2188: ( G_PKG_NAME
2189: , 'Ship_Tolerance_Below'

Line 2187: OE_MSG_PUB.Add_Exc_Msg

2183: WHEN OTHERS THEN
2184:
2185: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2186: THEN
2187: OE_MSG_PUB.Add_Exc_Msg
2188: ( G_PKG_NAME
2189: , 'Ship_Tolerance_Below'
2190: );
2191: END IF;

Line 2227: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2223: EXCEPTION
2224:
2225: WHEN NO_DATA_FOUND THEN
2226:
2227: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2228: THEN
2229:
2230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPABLE_FLAG');
2231:

Line 2230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPABLE_FLAG');

2226:
2227: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2228: THEN
2229:
2230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPABLE_FLAG');
2231:
2232: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2233: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2234: OE_Order_Util.Get_Attribute_Name('shippable_flag'));

Line 2235: OE_MSG_PUB.Add;

2231:
2232: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2233: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2234: OE_Order_Util.Get_Attribute_Name('shippable_flag'));
2235: OE_MSG_PUB.Add;
2236: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2237:
2238: END IF;
2239:

Line 2236: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2232: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2233: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2234: OE_Order_Util.Get_Attribute_Name('shippable_flag'));
2235: OE_MSG_PUB.Add;
2236: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2237:
2238: END IF;
2239:
2240:

Line 2245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2241: RETURN FALSE;
2242:
2243: WHEN OTHERS THEN
2244:
2245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2246: THEN
2247: OE_MSG_PUB.Add_Exc_Msg
2248: ( G_PKG_NAME
2249: , 'Shippable'

Line 2247: OE_MSG_PUB.Add_Exc_Msg

2243: WHEN OTHERS THEN
2244:
2245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2246: THEN
2247: OE_MSG_PUB.Add_Exc_Msg
2248: ( G_PKG_NAME
2249: , 'Shippable'
2250: );
2251: END IF;

Line 2287: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2283: EXCEPTION
2284:
2285: WHEN NO_DATA_FOUND THEN
2286:
2287: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2288: THEN
2289:
2290: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INTERFACED_FLAG');
2291:

Line 2290: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INTERFACED_FLAG');

2286:
2287: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2288: THEN
2289:
2290: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INTERFACED_FLAG');
2291:
2292: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2293: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2294: OE_Order_Util.Get_Attribute_Name('shipping_interfaced_flag'));

Line 2295: OE_MSG_PUB.Add;

2291:
2292: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2293: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2294: OE_Order_Util.Get_Attribute_Name('shipping_interfaced_flag'));
2295: OE_MSG_PUB.Add;
2296: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2297:
2298: END IF;
2299:

Line 2296: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2292: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2293: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2294: OE_Order_Util.Get_Attribute_Name('shipping_interfaced_flag'));
2295: OE_MSG_PUB.Add;
2296: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2297:
2298: END IF;
2299:
2300:

Line 2305: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2301: RETURN FALSE;
2302:
2303: WHEN OTHERS THEN
2304:
2305: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2306: THEN
2307: OE_MSG_PUB.Add_Exc_Msg
2308: ( G_PKG_NAME
2309: , 'Shipping_Interfaced'

Line 2307: OE_MSG_PUB.Add_Exc_Msg

2303: WHEN OTHERS THEN
2304:
2305: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2306: THEN
2307: OE_MSG_PUB.Add_Exc_Msg
2308: ( G_PKG_NAME
2309: , 'Shipping_Interfaced'
2310: );
2311: END IF;

Line 2343: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2339: EXCEPTION
2340:
2341: WHEN NO_DATA_FOUND THEN
2342:
2343: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2344: THEN
2345:
2346: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INSTRUCTIONS');
2347:

Line 2346: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INSTRUCTIONS');

2342:
2343: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2344: THEN
2345:
2346: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INSTRUCTIONS');
2347:
2348: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2349: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2350: OE_Order_Util.Get_Attribute_Name('shipping_instructions'));

Line 2351: OE_MSG_PUB.Add;

2347:
2348: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2349: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2350: OE_Order_Util.Get_Attribute_Name('shipping_instructions'));
2351: OE_MSG_PUB.Add;
2352: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2353:
2354: END IF;
2355:

Line 2352: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2348: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2349: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2350: OE_Order_Util.Get_Attribute_Name('shipping_instructions'));
2351: OE_MSG_PUB.Add;
2352: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2353:
2354: END IF;
2355:
2356:

Line 2361: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2357: RETURN FALSE;
2358:
2359: WHEN OTHERS THEN
2360:
2361: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2362: THEN
2363: OE_MSG_PUB.Add_Exc_Msg
2364: ( G_PKG_NAME
2365: , 'Shipping_Instructions'

Line 2363: OE_MSG_PUB.Add_Exc_Msg

2359: WHEN OTHERS THEN
2360:
2361: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2362: THEN
2363: OE_MSG_PUB.Add_Exc_Msg
2364: ( G_PKG_NAME
2365: , 'Shipping_Instructions'
2366: );
2367: END IF;

Line 2400: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2396: EXCEPTION
2397:
2398: WHEN NO_DATA_FOUND THEN
2399:
2400: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2401: THEN
2402:
2403: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAQCKING_INSTRUCTIONS');
2404:

Line 2403: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAQCKING_INSTRUCTIONS');

2399:
2400: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2401: THEN
2402:
2403: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAQCKING_INSTRUCTIONS');
2404:
2405: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2406: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2407: OE_Order_Util.Get_Attribute_Name('packing_instructions'));

Line 2408: OE_MSG_PUB.Add;

2404:
2405: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2406: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2407: OE_Order_Util.Get_Attribute_Name('packing_instructions'));
2408: OE_MSG_PUB.Add;
2409: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2410:
2411: END IF;
2412:

Line 2409: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2405: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2406: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2407: OE_Order_Util.Get_Attribute_Name('packing_instructions'));
2408: OE_MSG_PUB.Add;
2409: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2410:
2411: END IF;
2412:
2413:

Line 2418: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2414: RETURN FALSE;
2415:
2416: WHEN OTHERS THEN
2417:
2418: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2419: THEN
2420: OE_MSG_PUB.Add_Exc_Msg
2421: ( G_PKG_NAME
2422: , 'Packing_Instructions'

Line 2420: OE_MSG_PUB.Add_Exc_Msg

2416: WHEN OTHERS THEN
2417:
2418: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2419: THEN
2420: OE_MSG_PUB.Add_Exc_Msg
2421: ( G_PKG_NAME
2422: , 'Packing_Instructions'
2423: );
2424: END IF;

Line 2457: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2453: EXCEPTION
2454:
2455: WHEN NO_DATA_FOUND THEN
2456:
2457: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2458: THEN
2459:
2460: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_SHIPMENT_TOLERANCE');
2461:

Line 2460: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_SHIPMENT_TOLERANCE');

2456:
2457: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2458: THEN
2459:
2460: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_SHIPMENT_TOLERANCE');
2461:
2462: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2463: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2464: OE_Order_Util.Get_Attribute_Name('under_shipment_tolerance'));

Line 2465: OE_MSG_PUB.Add;

2461:
2462: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2463: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2464: OE_Order_Util.Get_Attribute_Name('under_shipment_tolerance'));
2465: OE_MSG_PUB.Add;
2466: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2467:
2468: END IF;
2469:

Line 2466: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2462: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2463: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2464: OE_Order_Util.Get_Attribute_Name('under_shipment_tolerance'));
2465: OE_MSG_PUB.Add;
2466: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2467:
2468: END IF;
2469:
2470:

Line 2475: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2471: RETURN FALSE;
2472:
2473: WHEN OTHERS THEN
2474:
2475: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2476: THEN
2477: OE_MSG_PUB.Add_Exc_Msg
2478: ( G_PKG_NAME
2479: , 'under_shipment_tolerance'

Line 2477: OE_MSG_PUB.Add_Exc_Msg

2473: WHEN OTHERS THEN
2474:
2475: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2476: THEN
2477: OE_MSG_PUB.Add_Exc_Msg
2478: ( G_PKG_NAME
2479: , 'under_shipment_tolerance'
2480: );
2481: END IF;

Line 2512: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2508: EXCEPTION
2509:
2510: WHEN NO_DATA_FOUND THEN
2511:
2512: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2513: THEN
2514:
2515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIPMENT_TOLERANCE');
2516:

Line 2515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIPMENT_TOLERANCE');

2511:
2512: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2513: THEN
2514:
2515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIPMENT_TOLERANCE');
2516:
2517: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2518: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2519: OE_Order_Util.Get_Attribute_Name('over_shipment_tolerance'));

Line 2520: OE_MSG_PUB.Add;

2516:
2517: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2518: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2519: OE_Order_Util.Get_Attribute_Name('over_shipment_tolerance'));
2520: OE_MSG_PUB.Add;
2521: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2522:
2523: END IF;
2524:

Line 2521: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2517: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2518: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2519: OE_Order_Util.Get_Attribute_Name('over_shipment_tolerance'));
2520: OE_MSG_PUB.Add;
2521: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2522:
2523: END IF;
2524:
2525:

Line 2530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2526: RETURN FALSE;
2527:
2528: WHEN OTHERS THEN
2529:
2530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2531: THEN
2532: OE_MSG_PUB.Add_Exc_Msg
2533: ( G_PKG_NAME
2534: , 'over_shipment_tolerance'

Line 2532: OE_MSG_PUB.Add_Exc_Msg

2528: WHEN OTHERS THEN
2529:
2530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2531: THEN
2532: OE_MSG_PUB.Add_Exc_Msg
2533: ( G_PKG_NAME
2534: , 'over_shipment_tolerance'
2535: );
2536: END IF;

Line 2567: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2563: EXCEPTION
2564:
2565: WHEN NO_DATA_FOUND THEN
2566:
2567: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2568: THEN
2569:
2570: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_RETURN_TOLERANCE');
2571:

Line 2570: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_RETURN_TOLERANCE');

2566:
2567: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2568: THEN
2569:
2570: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_RETURN_TOLERANCE');
2571:
2572: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2573: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2574: OE_Order_Util.Get_Attribute_Name('over_return_tolerance'));

Line 2575: OE_MSG_PUB.Add;

2571:
2572: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2573: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2574: OE_Order_Util.Get_Attribute_Name('over_return_tolerance'));
2575: OE_MSG_PUB.Add;
2576: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2577:
2578: END IF;
2579:

Line 2576: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2572: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2573: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2574: OE_Order_Util.Get_Attribute_Name('over_return_tolerance'));
2575: OE_MSG_PUB.Add;
2576: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2577:
2578: END IF;
2579:
2580:

Line 2585: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2581: RETURN FALSE;
2582:
2583: WHEN OTHERS THEN
2584:
2585: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2586: THEN
2587: OE_MSG_PUB.Add_Exc_Msg
2588: ( G_PKG_NAME
2589: , 'over_return_tolerance'

Line 2587: OE_MSG_PUB.Add_Exc_Msg

2583: WHEN OTHERS THEN
2584:
2585: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2586: THEN
2587: OE_MSG_PUB.Add_Exc_Msg
2588: ( G_PKG_NAME
2589: , 'over_return_tolerance'
2590: );
2591: END IF;

Line 2622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2618: EXCEPTION
2619:
2620: WHEN NO_DATA_FOUND THEN
2621:
2622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2623: THEN
2624:
2625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_RETURN_TOLERANCE');
2626:

Line 2625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_RETURN_TOLERANCE');

2621:
2622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2623: THEN
2624:
2625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_RETURN_TOLERANCE');
2626:
2627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2629: OE_Order_Util.Get_Attribute_Name('under_return_tolerance'));

Line 2630: OE_MSG_PUB.Add;

2626:
2627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2629: OE_Order_Util.Get_Attribute_Name('under_return_tolerance'));
2630: OE_MSG_PUB.Add;
2631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2632:
2633: END IF;
2634:

Line 2631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2629: OE_Order_Util.Get_Attribute_Name('under_return_tolerance'));
2630: OE_MSG_PUB.Add;
2631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2632:
2633: END IF;
2634:
2635:

Line 2640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2636: RETURN FALSE;
2637:
2638: WHEN OTHERS THEN
2639:
2640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2641: THEN
2642: OE_MSG_PUB.Add_Exc_Msg
2643: ( G_PKG_NAME
2644: , 'under_return_tolerance'

Line 2642: OE_MSG_PUB.Add_Exc_Msg

2638: WHEN OTHERS THEN
2639:
2640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2641: THEN
2642: OE_MSG_PUB.Add_Exc_Msg
2643: ( G_PKG_NAME
2644: , 'under_return_tolerance'
2645: );
2646: END IF;

Line 2685: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2681: EXCEPTION
2682:
2683: WHEN NO_DATA_FOUND THEN
2684:
2685: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2686: THEN
2687:
2688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTIONAL_CURR_CODE');
2689:

Line 2688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTIONAL_CURR_CODE');

2684:
2685: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2686: THEN
2687:
2688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTIONAL_CURR_CODE');
2689:
2690: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2691: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2692: OE_Order_Util.Get_Attribute_Name('transactional_curr_code'));

Line 2693: OE_MSG_PUB.Add;

2689:
2690: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2691: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2692: OE_Order_Util.Get_Attribute_Name('transactional_curr_code'));
2693: OE_MSG_PUB.Add;
2694: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2695:
2696: END IF;
2697:

Line 2694: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2690: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2691: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2692: OE_Order_Util.Get_Attribute_Name('transactional_curr_code'));
2693: OE_MSG_PUB.Add;
2694: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2695:
2696: END IF;
2697:
2698:

Line 2703: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2699: RETURN FALSE;
2700:
2701: WHEN OTHERS THEN
2702:
2703: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2704: THEN
2705: OE_MSG_PUB.Add_Exc_Msg
2706: ( G_PKG_NAME
2707: , 'Transactional_Curr'

Line 2705: OE_MSG_PUB.Add_Exc_Msg

2701: WHEN OTHERS THEN
2702:
2703: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2704: THEN
2705: OE_MSG_PUB.Add_Exc_Msg
2706: ( G_PKG_NAME
2707: , 'Transactional_Curr'
2708: );
2709: END IF;

Line 2746: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2742: EXCEPTION
2743:
2744: WHEN NO_DATA_FOUND THEN
2745:
2746: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2747: THEN
2748:
2749: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AGREEMENT_ID');
2750:

Line 2749: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AGREEMENT_ID');

2745:
2746: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2747: THEN
2748:
2749: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AGREEMENT_ID');
2750:
2751: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2752: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2753: OE_Order_Util.Get_Attribute_Name('agreement_id'));

Line 2754: OE_MSG_PUB.Add;

2750:
2751: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2752: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2753: OE_Order_Util.Get_Attribute_Name('agreement_id'));
2754: OE_MSG_PUB.Add;
2755: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2756:
2757: END IF;
2758:

Line 2755: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2751: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2752: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2753: OE_Order_Util.Get_Attribute_Name('agreement_id'));
2754: OE_MSG_PUB.Add;
2755: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2756:
2757: END IF;
2758:
2759:

Line 2765: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2761: RETURN FALSE;
2762:
2763: WHEN OTHERS THEN
2764:
2765: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2766: THEN
2767: OE_MSG_PUB.Add_Exc_Msg
2768: ( G_PKG_NAME
2769: , 'Agreement'

Line 2767: OE_MSG_PUB.Add_Exc_Msg

2763: WHEN OTHERS THEN
2764:
2765: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2766: THEN
2767: OE_MSG_PUB.Add_Exc_Msg
2768: ( G_PKG_NAME
2769: , 'Agreement'
2770: );
2771: END IF;

Line 2809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2805: EXCEPTION
2806:
2807: WHEN NO_DATA_FOUND THEN
2808:
2809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2810: THEN
2811:
2812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_POINT_CODE');
2813:

Line 2812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_POINT_CODE');

2808:
2809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2810: THEN
2811:
2812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_POINT_CODE');
2813:
2814: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2815: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2816: OE_Order_Util.Get_Attribute_Name('tax_point_code'));

Line 2817: OE_MSG_PUB.Add;

2813:
2814: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2815: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2816: OE_Order_Util.Get_Attribute_Name('tax_point_code'));
2817: OE_MSG_PUB.Add;
2818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2819:
2820: END IF;
2821:

Line 2818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2814: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2815: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2816: OE_Order_Util.Get_Attribute_Name('tax_point_code'));
2817: OE_MSG_PUB.Add;
2818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2819:
2820: END IF;
2821:
2822:

Line 2827: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2823: RETURN FALSE;
2824:
2825: WHEN OTHERS THEN
2826:
2827: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2828: THEN
2829: OE_MSG_PUB.Add_Exc_Msg
2830: ( G_PKG_NAME
2831: , 'Tax_Point'

Line 2829: OE_MSG_PUB.Add_Exc_Msg

2825: WHEN OTHERS THEN
2826:
2827: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2828: THEN
2829: OE_MSG_PUB.Add_Exc_Msg
2830: ( G_PKG_NAME
2831: , 'Tax_Point'
2832: );
2833: END IF;

Line 2866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2862: EXCEPTION
2863:
2864: WHEN NO_DATA_FOUND THEN
2865:
2866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2867: THEN
2868:
2869: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PO_NUMBER');
2870:

Line 2869: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PO_NUMBER');

2865:
2866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2867: THEN
2868:
2869: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PO_NUMBER');
2870:
2871: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2872: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2873: OE_Order_Util.Get_Attribute_Name('cust_po_number'));

Line 2874: OE_MSG_PUB.Add;

2870:
2871: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2872: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2873: OE_Order_Util.Get_Attribute_Name('cust_po_number'));
2874: OE_MSG_PUB.Add;
2875: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2876:
2877: END IF;
2878:

Line 2875: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2871: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2872: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2873: OE_Order_Util.Get_Attribute_Name('cust_po_number'));
2874: OE_MSG_PUB.Add;
2875: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2876:
2877: END IF;
2878:
2879:

Line 2884: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2880: RETURN FALSE;
2881:
2882: WHEN OTHERS THEN
2883:
2884: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2885: THEN
2886: OE_MSG_PUB.Add_Exc_Msg
2887: ( G_PKG_NAME
2888: , 'Cust_Po_Number'

Line 2886: OE_MSG_PUB.Add_Exc_Msg

2882: WHEN OTHERS THEN
2883:
2884: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2885: THEN
2886: OE_MSG_PUB.Add_Exc_Msg
2887: ( G_PKG_NAME
2888: , 'Cust_Po_Number'
2889: );
2890: END IF;

Line 2926: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2922: EXCEPTION
2923:
2924: WHEN NO_DATA_FOUND THEN
2925:
2926: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2927: THEN
2928:
2929: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICING_RULE_ID');
2930:

Line 2929: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICING_RULE_ID');

2925:
2926: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2927: THEN
2928:
2929: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICING_RULE_ID');
2930:
2931: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2932: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2933: OE_Order_Util.Get_Attribute_Name('invoicing_rule_id'));

Line 2934: OE_MSG_PUB.Add;

2930:
2931: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2932: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2933: OE_Order_Util.Get_Attribute_Name('invoicing_rule_id'));
2934: OE_MSG_PUB.Add;
2935: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2936:
2937: END IF;
2938:

Line 2935: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2931: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2932: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2933: OE_Order_Util.Get_Attribute_Name('invoicing_rule_id'));
2934: OE_MSG_PUB.Add;
2935: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2936:
2937: END IF;
2938:
2939:

Line 2944: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2940: RETURN FALSE;
2941:
2942: WHEN OTHERS THEN
2943:
2944: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2945: THEN
2946: OE_MSG_PUB.Add_Exc_Msg
2947: ( G_PKG_NAME
2948: , 'Invoicing_Rule'

Line 2946: OE_MSG_PUB.Add_Exc_Msg

2942: WHEN OTHERS THEN
2943:
2944: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2945: THEN
2946: OE_MSG_PUB.Add_Exc_Msg
2947: ( G_PKG_NAME
2948: , 'Invoicing_Rule'
2949: );
2950: END IF;

Line 3005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3001: EXCEPTION
3002:
3003: WHEN NO_DATA_FOUND THEN
3004:
3005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3006: THEN
3007:
3008: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TERM_ID');
3009:

Line 3008: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TERM_ID');

3004:
3005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3006: THEN
3007:
3008: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TERM_ID');
3009:
3010: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3011: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3012: OE_Order_Util.Get_Attribute_Name('payment_term_id'));

Line 3013: OE_MSG_PUB.Add;

3009:
3010: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3011: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3012: OE_Order_Util.Get_Attribute_Name('payment_term_id'));
3013: OE_MSG_PUB.Add;
3014: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3015:
3016: END IF;
3017:

Line 3014: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3010: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3011: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3012: OE_Order_Util.Get_Attribute_Name('payment_term_id'));
3013: OE_MSG_PUB.Add;
3014: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3015:
3016: END IF;
3017:
3018:

Line 3023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3019: RETURN FALSE;
3020:
3021: WHEN OTHERS THEN
3022:
3023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3024: THEN
3025: OE_MSG_PUB.Add_Exc_Msg
3026: ( G_PKG_NAME
3027: , 'Payment_Term'

Line 3025: OE_MSG_PUB.Add_Exc_Msg

3021: WHEN OTHERS THEN
3022:
3023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3024: THEN
3025: OE_MSG_PUB.Add_Exc_Msg
3026: ( G_PKG_NAME
3027: , 'Payment_Term'
3028: );
3029: END IF;

Line 3061: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3057: EXCEPTION
3058:
3059: WHEN NO_DATA_FOUND THEN
3060:
3061: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3062: THEN
3063:
3064: OE_MSG_PUB.Update_Msg_Context
3065: (p_attribute_code => 'PLANNING_PRIORITY');

Line 3064: OE_MSG_PUB.Update_Msg_Context

3060:
3061: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3062: THEN
3063:
3064: OE_MSG_PUB.Update_Msg_Context
3065: (p_attribute_code => 'PLANNING_PRIORITY');
3066: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3067: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3068: OE_Order_Util.Get_Attribute_Name('planning_priority'));

Line 3069: OE_MSG_PUB.Add;

3065: (p_attribute_code => 'PLANNING_PRIORITY');
3066: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3067: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3068: OE_Order_Util.Get_Attribute_Name('planning_priority'));
3069: OE_MSG_PUB.Add;
3070: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3071:
3072: END IF;
3073:

Line 3070: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3066: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3067: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3068: OE_Order_Util.Get_Attribute_Name('planning_priority'));
3069: OE_MSG_PUB.Add;
3070: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3071:
3072: END IF;
3073:
3074:

Line 3079: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3075: RETURN FALSE;
3076:
3077: WHEN OTHERS THEN
3078:
3079: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3080: THEN
3081: OE_MSG_PUB.Add_Exc_Msg
3082: ( G_PKG_NAME
3083: , 'Planning_Priority'

Line 3081: OE_MSG_PUB.Add_Exc_Msg

3077: WHEN OTHERS THEN
3078:
3079: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3080: THEN
3081: OE_MSG_PUB.Add_Exc_Msg
3082: ( G_PKG_NAME
3083: , 'Planning_Priority'
3084: );
3085: END IF;

Line 3124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3120: EXCEPTION
3121:
3122: WHEN NO_DATA_FOUND THEN
3123:
3124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3125: THEN
3126:
3127: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_METHOD_CODE');
3128:

Line 3127: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_METHOD_CODE');

3123:
3124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3125: THEN
3126:
3127: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_METHOD_CODE');
3128:
3129: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3130: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3131: OE_Order_Util.Get_Attribute_Name('shipping_method_code'));

Line 3132: OE_MSG_PUB.Add;

3128:
3129: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3130: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3131: OE_Order_Util.Get_Attribute_Name('shipping_method_code'));
3132: OE_MSG_PUB.Add;
3133: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3134:
3135: END IF;
3136:

Line 3133: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3129: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3130: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3131: OE_Order_Util.Get_Attribute_Name('shipping_method_code'));
3132: OE_MSG_PUB.Add;
3133: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3134:
3135: END IF;
3136:
3137:

Line 3142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3138: RETURN FALSE;
3139:
3140: WHEN OTHERS THEN
3141:
3142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3143: THEN
3144: OE_MSG_PUB.Add_Exc_Msg
3145: ( G_PKG_NAME
3146: , 'Shipping_Method'

Line 3144: OE_MSG_PUB.Add_Exc_Msg

3140: WHEN OTHERS THEN
3141:
3142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3143: THEN
3144: OE_MSG_PUB.Add_Exc_Msg
3145: ( G_PKG_NAME
3146: , 'Shipping_Method'
3147: );
3148: END IF;

Line 3181: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3177: EXCEPTION
3178:
3179: WHEN NO_DATA_FOUND THEN
3180:
3181: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3182: THEN
3183:
3184: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_CARRIER_CODE');
3185:

Line 3184: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_CARRIER_CODE');

3180:
3181: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3182: THEN
3183:
3184: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_CARRIER_CODE');
3185:
3186: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3187: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3188: OE_Order_Util.Get_Attribute_Name('freight_carrier_code'));

Line 3189: OE_MSG_PUB.Add;

3185:
3186: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3187: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3188: OE_Order_Util.Get_Attribute_Name('freight_carrier_code'));
3189: OE_MSG_PUB.Add;
3190: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3191:
3192: END IF;
3193:

Line 3190: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3186: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3187: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3188: OE_Order_Util.Get_Attribute_Name('freight_carrier_code'));
3189: OE_MSG_PUB.Add;
3190: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3191:
3192: END IF;
3193:
3194:

Line 3199: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3195: RETURN FALSE;
3196:
3197: WHEN OTHERS THEN
3198:
3199: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3200: THEN
3201: OE_MSG_PUB.Add_Exc_Msg
3202: ( G_PKG_NAME
3203: , 'Freight_Carrier'

Line 3201: OE_MSG_PUB.Add_Exc_Msg

3197: WHEN OTHERS THEN
3198:
3199: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3200: THEN
3201: OE_MSG_PUB.Add_Exc_Msg
3202: ( G_PKG_NAME
3203: , 'Freight_Carrier'
3204: );
3205: END IF;

Line 3245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3241: EXCEPTION
3242:
3243: WHEN NO_DATA_FOUND THEN
3244:
3245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3246: THEN
3247:
3248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FOB_POINT_CODE');
3249:

Line 3248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FOB_POINT_CODE');

3244:
3245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3246: THEN
3247:
3248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FOB_POINT_CODE');
3249:
3250: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3251: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3252: OE_Order_Util.Get_Attribute_Name('fob_point_code'));

Line 3253: OE_MSG_PUB.Add;

3249:
3250: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3251: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3252: OE_Order_Util.Get_Attribute_Name('fob_point_code'));
3253: OE_MSG_PUB.Add;
3254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3255:
3256: END IF;
3257:

Line 3254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3250: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3251: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3252: OE_Order_Util.Get_Attribute_Name('fob_point_code'));
3253: OE_MSG_PUB.Add;
3254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3255:
3256: END IF;
3257:
3258:

Line 3263: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3259: RETURN FALSE;
3260:
3261: WHEN OTHERS THEN
3262:
3263: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3264: THEN
3265: OE_MSG_PUB.Add_Exc_Msg
3266: ( G_PKG_NAME
3267: , 'Fob_Point'

Line 3265: OE_MSG_PUB.Add_Exc_Msg

3261: WHEN OTHERS THEN
3262:
3263: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3264: THEN
3265: OE_MSG_PUB.Add_Exc_Msg
3266: ( G_PKG_NAME
3267: , 'Fob_Point'
3268: );
3269: END IF;

Line 3311: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3307: EXCEPTION
3308:
3309: WHEN NO_DATA_FOUND THEN
3310:
3311: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3312: THEN
3313:
3314: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_TERMS_CODE');
3315:

Line 3314: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_TERMS_CODE');

3310:
3311: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3312: THEN
3313:
3314: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_TERMS_CODE');
3315:
3316:
3317: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3318: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 3320: OE_MSG_PUB.Add;

3316:
3317: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3318: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3319: OE_Order_Util.Get_Attribute_Name('freight_terms_code'));
3320: OE_MSG_PUB.Add;
3321: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3322:
3323: END IF;
3324:

Line 3321: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3317: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3318: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3319: OE_Order_Util.Get_Attribute_Name('freight_terms_code'));
3320: OE_MSG_PUB.Add;
3321: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3322:
3323: END IF;
3324:
3325:

Line 3330: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3326: RETURN FALSE;
3327:
3328: WHEN OTHERS THEN
3329:
3330: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3331: THEN
3332: OE_MSG_PUB.Add_Exc_Msg
3333: ( G_PKG_NAME
3334: , 'Freight_Terms'

Line 3332: OE_MSG_PUB.Add_Exc_Msg

3328: WHEN OTHERS THEN
3329:
3330: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3331: THEN
3332: OE_MSG_PUB.Add_Exc_Msg
3333: ( G_PKG_NAME
3334: , 'Freight_Terms'
3335: );
3336: END IF;

Line 3374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3370: EXCEPTION
3371:
3372: WHEN NO_DATA_FOUND THEN
3373:
3374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3375: THEN
3376:
3377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_ORG_ID');
3378:

Line 3377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_ORG_ID');

3373:
3374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3375: THEN
3376:
3377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_ORG_ID');
3378:
3379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3381: OE_Order_Util.Get_Attribute_Name('sold_to_org_id'));

Line 3382: OE_MSG_PUB.Add;

3378:
3379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3381: OE_Order_Util.Get_Attribute_Name('sold_to_org_id'));
3382: OE_MSG_PUB.Add;
3383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3384:
3385: END IF;
3386:

Line 3383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3381: OE_Order_Util.Get_Attribute_Name('sold_to_org_id'));
3382: OE_MSG_PUB.Add;
3383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3384:
3385: END IF;
3386:
3387:

Line 3392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3388: RETURN FALSE;
3389:
3390: WHEN OTHERS THEN
3391:
3392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3393: THEN
3394: OE_MSG_PUB.Add_Exc_Msg
3395: ( G_PKG_NAME
3396: , 'Sold_To_Org'

Line 3394: OE_MSG_PUB.Add_Exc_Msg

3390: WHEN OTHERS THEN
3391:
3392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3393: THEN
3394: OE_MSG_PUB.Add_Exc_Msg
3395: ( G_PKG_NAME
3396: , 'Sold_To_Org'
3397: );
3398: END IF;

Line 3432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3428: EXCEPTION
3429:
3430: WHEN NO_DATA_FOUND THEN
3431:
3432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3433: THEN
3434:
3435: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_PHONE_ID');
3436:

Line 3435: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_PHONE_ID');

3431:
3432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3433: THEN
3434:
3435: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_PHONE_ID');
3436:
3437: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3438: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3439: OE_Order_Util.Get_Attribute_Name('sold_to_phone_id'));

Line 3440: OE_MSG_PUB.Add;

3436:
3437: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3438: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3439: OE_Order_Util.Get_Attribute_Name('sold_to_phone_id'));
3440: OE_MSG_PUB.Add;
3441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3442:
3443: END IF;
3444:

Line 3441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3437: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3438: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3439: OE_Order_Util.Get_Attribute_Name('sold_to_phone_id'));
3440: OE_MSG_PUB.Add;
3441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3442:
3443: END IF;
3444:
3445:

Line 3450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3446: RETURN FALSE;
3447:
3448: WHEN OTHERS THEN
3449:
3450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3451: THEN
3452: OE_MSG_PUB.Add_Exc_Msg
3453: ( G_PKG_NAME
3454: , 'Sold_To_Org'

Line 3452: OE_MSG_PUB.Add_Exc_Msg

3448: WHEN OTHERS THEN
3449:
3450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3451: THEN
3452: OE_MSG_PUB.Add_Exc_Msg
3453: ( G_PKG_NAME
3454: , 'Sold_To_Org'
3455: );
3456: END IF;

Line 3493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3489: EXCEPTION
3490:
3491: WHEN NO_DATA_FOUND THEN
3492:
3493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3494: THEN
3495:
3496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_ID');
3497:

Line 3496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_ID');

3492:
3493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3494: THEN
3495:
3496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_ID');
3497:
3498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3500: OE_Order_Util.Get_Attribute_Name('Customer_id'));

Line 3501: OE_MSG_PUB.Add;

3497:
3498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3500: OE_Order_Util.Get_Attribute_Name('Customer_id'));
3501: OE_MSG_PUB.Add;
3502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3503:
3504: END IF;
3505:

Line 3502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3500: OE_Order_Util.Get_Attribute_Name('Customer_id'));
3501: OE_MSG_PUB.Add;
3502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3503:
3504: END IF;
3505:
3506:

Line 3511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3507: RETURN FALSE;
3508:
3509: WHEN OTHERS THEN
3510:
3511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3512: THEN
3513: OE_MSG_PUB.Add_Exc_Msg
3514: ( G_PKG_NAME
3515: , 'Customer'

Line 3513: OE_MSG_PUB.Add_Exc_Msg

3509: WHEN OTHERS THEN
3510:
3511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3512: THEN
3513: OE_MSG_PUB.Add_Exc_Msg
3514: ( G_PKG_NAME
3515: , 'Customer'
3516: );
3517: END IF;

Line 3550: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3546: EXCEPTION
3547:
3548: WHEN NO_DATA_FOUND THEN
3549:
3550: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3551: THEN
3552:
3553: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERNAL_ITEM_ID');
3554:

Line 3553: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERNAL_ITEM_ID');

3549:
3550: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3551: THEN
3552:
3553: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERNAL_ITEM_ID');
3554:
3555:
3556: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3557: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 3559: OE_MSG_PUB.Add;

3555:
3556: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3557: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3558: OE_Order_Util.Get_Attribute_Name('internal_item_id'));
3559: OE_MSG_PUB.Add;
3560: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3561:
3562: END IF;
3563:

Line 3560: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3556: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3557: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3558: OE_Order_Util.Get_Attribute_Name('internal_item_id'));
3559: OE_MSG_PUB.Add;
3560: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3561:
3562: END IF;
3563:
3564:

Line 3569: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3565: RETURN FALSE;
3566:
3567: WHEN OTHERS THEN
3568:
3569: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3570: THEN
3571: OE_MSG_PUB.Add_Exc_Msg
3572: ( G_PKG_NAME
3573: , 'internal_item'

Line 3571: OE_MSG_PUB.Add_Exc_Msg

3567: WHEN OTHERS THEN
3568:
3569: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3570: THEN
3571: OE_MSG_PUB.Add_Exc_Msg
3572: ( G_PKG_NAME
3573: , 'internal_item'
3574: );
3575: END IF;

Line 3608: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3604: EXCEPTION
3605:
3606: WHEN NO_DATA_FOUND THEN
3607:
3608: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3609: THEN
3610:
3611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_ITEM_SETTING_ID');
3612:

Line 3611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_ITEM_SETTING_ID');

3607:
3608: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3609: THEN
3610:
3611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_ITEM_SETTING_ID');
3612:
3613: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3615: OE_Order_Util.Get_Attribute_Name('cust_item_setting_id'));

Line 3616: OE_MSG_PUB.Add;

3612:
3613: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3615: OE_Order_Util.Get_Attribute_Name('cust_item_setting_id'));
3616: OE_MSG_PUB.Add;
3617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3618:
3619: END IF;
3620:

Line 3617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3613: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3615: OE_Order_Util.Get_Attribute_Name('cust_item_setting_id'));
3616: OE_MSG_PUB.Add;
3617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3618:
3619: END IF;
3620:
3621:

Line 3626: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3622: RETURN FALSE;
3623:
3624: WHEN OTHERS THEN
3625:
3626: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3627: THEN
3628: OE_MSG_PUB.Add_Exc_Msg
3629: ( G_PKG_NAME
3630: , 'cust_item_setting'

Line 3628: OE_MSG_PUB.Add_Exc_Msg

3624: WHEN OTHERS THEN
3625:
3626: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3627: THEN
3628: OE_MSG_PUB.Add_Exc_Msg
3629: ( G_PKG_NAME
3630: , 'cust_item_setting'
3631: );
3632: END IF;

Line 3665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3661: EXCEPTION
3662:
3663: WHEN NO_DATA_FOUND THEN
3664:
3665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3666: THEN
3667:
3668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_FROM_ORG_ID');
3669:

Line 3668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_FROM_ORG_ID');

3664:
3665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3666: THEN
3667:
3668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_FROM_ORG_ID');
3669:
3670: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3671: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3672: OE_Order_Util.Get_Attribute_Name('ship_from_org_id'));

Line 3673: OE_MSG_PUB.Add;

3669:
3670: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3671: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3672: OE_Order_Util.Get_Attribute_Name('ship_from_org_id'));
3673: OE_MSG_PUB.Add;
3674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3675:
3676: END IF;
3677:

Line 3674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3670: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3671: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3672: OE_Order_Util.Get_Attribute_Name('ship_from_org_id'));
3673: OE_MSG_PUB.Add;
3674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3675:
3676: END IF;
3677:
3678:

Line 3683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3679: RETURN FALSE;
3680:
3681: WHEN OTHERS THEN
3682:
3683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3684: THEN
3685: OE_MSG_PUB.Add_Exc_Msg
3686: ( G_PKG_NAME
3687: , 'Ship_From_Org'

Line 3685: OE_MSG_PUB.Add_Exc_Msg

3681: WHEN OTHERS THEN
3682:
3683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3684: THEN
3685: OE_MSG_PUB.Add_Exc_Msg
3686: ( G_PKG_NAME
3687: , 'Ship_From_Org'
3688: );
3689: END IF;

Line 3720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3716: EXCEPTION
3717:
3718: WHEN NO_DATA_FOUND THEN
3719:
3720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3721: THEN
3722:
3723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBINVENTORY');
3724:

Line 3723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBINVENTORY');

3719:
3720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3721: THEN
3722:
3723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBINVENTORY');
3724:
3725: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3726: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3727: OE_Order_Util.Get_Attribute_Name('subinventory'));

Line 3728: OE_MSG_PUB.Add;

3724:
3725: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3726: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3727: OE_Order_Util.Get_Attribute_Name('subinventory'));
3728: OE_MSG_PUB.Add;
3729: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3730:
3731: END IF;
3732:

Line 3729: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3725: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3726: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3727: OE_Order_Util.Get_Attribute_Name('subinventory'));
3728: OE_MSG_PUB.Add;
3729: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3730:
3731: END IF;
3732:
3733:

Line 3738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3734: RETURN FALSE;
3735:
3736: WHEN OTHERS THEN
3737:
3738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3739: THEN
3740: OE_MSG_PUB.Add_Exc_Msg
3741: ( G_PKG_NAME
3742: , 'Subinventory'

Line 3740: OE_MSG_PUB.Add_Exc_Msg

3736: WHEN OTHERS THEN
3737:
3738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3739: THEN
3740: OE_MSG_PUB.Add_Exc_Msg
3741: ( G_PKG_NAME
3742: , 'Subinventory'
3743: );
3744: END IF;

Line 3777: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3773: EXCEPTION
3774:
3775: WHEN NO_DATA_FOUND THEN
3776:
3777: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3778: THEN
3779:
3780: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ORG_ID');
3781:

Line 3780: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ORG_ID');

3776:
3777: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3778: THEN
3779:
3780: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ORG_ID');
3781:
3782: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3783: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3784: OE_Order_Util.Get_Attribute_Name('inventory_org_id'));

Line 3785: OE_MSG_PUB.Add;

3781:
3782: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3783: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3784: OE_Order_Util.Get_Attribute_Name('inventory_org_id'));
3785: OE_MSG_PUB.Add;
3786: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3787:
3788: END IF;
3789:

Line 3786: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3782: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3783: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3784: OE_Order_Util.Get_Attribute_Name('inventory_org_id'));
3785: OE_MSG_PUB.Add;
3786: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3787:
3788: END IF;
3789:
3790:

Line 3795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3791: RETURN FALSE;
3792:
3793: WHEN OTHERS THEN
3794:
3795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3796: THEN
3797: OE_MSG_PUB.Add_Exc_Msg
3798: ( G_PKG_NAME
3799: , 'inventory_org'

Line 3797: OE_MSG_PUB.Add_Exc_Msg

3793: WHEN OTHERS THEN
3794:
3795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3796: THEN
3797: OE_MSG_PUB.Add_Exc_Msg
3798: ( G_PKG_NAME
3799: , 'inventory_org'
3800: );
3801: END IF;

Line 3824: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3820: EXCEPTION
3821:
3822: WHEN NO_DATA_FOUND THEN
3823:
3824: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3825: THEN
3826:
3827: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_ORG_ID');
3828:

Line 3827: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_ORG_ID');

3823:
3824: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3825: THEN
3826:
3827: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_ORG_ID');
3828:
3829: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3830: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3831: OE_Order_Util.Get_Attribute_Name('ship_to_org_id'));

Line 3832: OE_MSG_PUB.Add;

3828:
3829: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3830: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3831: OE_Order_Util.Get_Attribute_Name('ship_to_org_id'));
3832: OE_MSG_PUB.Add;
3833: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3834:
3835: END IF;
3836:

Line 3833: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3829: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3830: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3831: OE_Order_Util.Get_Attribute_Name('ship_to_org_id'));
3832: OE_MSG_PUB.Add;
3833: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3834:
3835: END IF;
3836:
3837:

Line 3842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3838: RETURN FALSE;
3839:
3840: WHEN OTHERS THEN
3841:
3842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3843: THEN
3844: OE_MSG_PUB.Add_Exc_Msg
3845: ( G_PKG_NAME
3846: , 'Ship_To_Org'

Line 3844: OE_MSG_PUB.Add_Exc_Msg

3840: WHEN OTHERS THEN
3841:
3842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3843: THEN
3844: OE_MSG_PUB.Add_Exc_Msg
3845: ( G_PKG_NAME
3846: , 'Ship_To_Org'
3847: );
3848: END IF;

Line 3881: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3877: EXCEPTION
3878:
3879: WHEN NO_DATA_FOUND THEN
3880:
3881: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3882: THEN
3883:
3884: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SITE_USE_ID');
3885:

Line 3884: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SITE_USE_ID');

3880:
3881: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3882: THEN
3883:
3884: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SITE_USE_ID');
3885:
3886: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3887: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3888: OE_Order_Util.Get_Attribute_Name('site_use_id'));

Line 3889: OE_MSG_PUB.Add;

3885:
3886: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3887: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3888: OE_Order_Util.Get_Attribute_Name('site_use_id'));
3889: OE_MSG_PUB.Add;
3890: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3891:
3892: END IF;
3893:

Line 3890: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3886: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3887: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3888: OE_Order_Util.Get_Attribute_Name('site_use_id'));
3889: OE_MSG_PUB.Add;
3890: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3891:
3892: END IF;
3893:
3894:

Line 3899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3895: RETURN FALSE;
3896:
3897: WHEN OTHERS THEN
3898:
3899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3900: THEN
3901: OE_MSG_PUB.Add_Exc_Msg
3902: ( G_PKG_NAME
3903: , 'Site_Use'

Line 3901: OE_MSG_PUB.Add_Exc_Msg

3897: WHEN OTHERS THEN
3898:
3899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3900: THEN
3901: OE_MSG_PUB.Add_Exc_Msg
3902: ( G_PKG_NAME
3903: , 'Site_Use'
3904: );
3905: END IF;

Line 3927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3923: EXCEPTION
3924:
3925: WHEN NO_DATA_FOUND THEN
3926:
3927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3928: THEN
3929:
3930: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_ORG_ID');
3931:

Line 3930: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_ORG_ID');

3926:
3927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3928: THEN
3929:
3930: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_ORG_ID');
3931:
3932: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3933: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3934: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_org_id'));

Line 3935: OE_MSG_PUB.Add;

3931:
3932: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3933: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3934: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_org_id'));
3935: OE_MSG_PUB.Add;
3936: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3937:
3938: END IF;
3939:

Line 3936: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3932: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3933: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3934: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_org_id'));
3935: OE_MSG_PUB.Add;
3936: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3937:
3938: END IF;
3939:
3940:

Line 3945: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3941: RETURN FALSE;
3942:
3943: WHEN OTHERS THEN
3944:
3945: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3946: THEN
3947: OE_MSG_PUB.Add_Exc_Msg
3948: ( G_PKG_NAME
3949: , 'Intermed_Ship_To_Org'

Line 3947: OE_MSG_PUB.Add_Exc_Msg

3943: WHEN OTHERS THEN
3944:
3945: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3946: THEN
3947: OE_MSG_PUB.Add_Exc_Msg
3948: ( G_PKG_NAME
3949: , 'Intermed_Ship_To_Org'
3950: );
3951: END IF;

Line 4009: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4005: EXCEPTION
4006:
4007: WHEN NO_DATA_FOUND THEN
4008:
4009: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4010: THEN
4011:
4012: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_ORG_ID');
4013:

Line 4012: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_ORG_ID');

4008:
4009: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4010: THEN
4011:
4012: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_ORG_ID');
4013:
4014: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4015: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4016: OE_Order_Util.Get_Attribute_Name('invoice_to_org_id'));

Line 4017: OE_MSG_PUB.Add;

4013:
4014: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4015: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4016: OE_Order_Util.Get_Attribute_Name('invoice_to_org_id'));
4017: OE_MSG_PUB.Add;
4018: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4019:
4020: END IF;
4021:

Line 4018: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4014: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4015: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4016: OE_Order_Util.Get_Attribute_Name('invoice_to_org_id'));
4017: OE_MSG_PUB.Add;
4018: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4019:
4020: END IF;
4021:
4022:

Line 4027: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4023: RETURN FALSE;
4024:
4025: WHEN OTHERS THEN
4026:
4027: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4028: THEN
4029: OE_MSG_PUB.Add_Exc_Msg
4030: ( G_PKG_NAME
4031: , 'Invoice_To_Org'

Line 4029: OE_MSG_PUB.Add_Exc_Msg

4025: WHEN OTHERS THEN
4026:
4027: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4028: THEN
4029: OE_MSG_PUB.Add_Exc_Msg
4030: ( G_PKG_NAME
4031: , 'Invoice_To_Org'
4032: );
4033: END IF;

Line 4070: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4066: EXCEPTION
4067:
4068: WHEN NO_DATA_FOUND THEN
4069:
4070: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4071: THEN
4072:
4073: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_ORG_ID');
4074:

Line 4073: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_ORG_ID');

4069:
4070: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4071: THEN
4072:
4073: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_ORG_ID');
4074:
4075: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4076: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4077: OE_Order_Util.Get_Attribute_Name('deliver_to_org_id'));

Line 4078: OE_MSG_PUB.Add;

4074:
4075: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4076: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4077: OE_Order_Util.Get_Attribute_Name('deliver_to_org_id'));
4078: OE_MSG_PUB.Add;
4079: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4080:
4081: END IF;
4082:

Line 4079: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4075: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4076: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4077: OE_Order_Util.Get_Attribute_Name('deliver_to_org_id'));
4078: OE_MSG_PUB.Add;
4079: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4080:
4081: END IF;
4082:
4083:

Line 4088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4084: RETURN FALSE;
4085:
4086: WHEN OTHERS THEN
4087:
4088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4089: THEN
4090: OE_MSG_PUB.Add_Exc_Msg
4091: ( G_PKG_NAME
4092: , 'Deliver_To_Org'

Line 4090: OE_MSG_PUB.Add_Exc_Msg

4086: WHEN OTHERS THEN
4087:
4088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4089: THEN
4090: OE_MSG_PUB.Add_Exc_Msg
4091: ( G_PKG_NAME
4092: , 'Deliver_To_Org'
4093: );
4094: END IF;

Line 4130: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4126: EXCEPTION
4127:
4128: WHEN NO_DATA_FOUND THEN
4129:
4130: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4131: THEN
4132:
4133: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_CONTACT_ID');
4134:

Line 4133: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_CONTACT_ID');

4129:
4130: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4131: THEN
4132:
4133: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_CONTACT_ID');
4134:
4135: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4136: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4137: OE_Order_Util.Get_Attribute_Name('sold_to_contact_id'));

Line 4138: OE_MSG_PUB.Add;

4134:
4135: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4136: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4137: OE_Order_Util.Get_Attribute_Name('sold_to_contact_id'));
4138: OE_MSG_PUB.Add;
4139: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4140:
4141: END IF;
4142:

Line 4139: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4135: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4136: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4137: OE_Order_Util.Get_Attribute_Name('sold_to_contact_id'));
4138: OE_MSG_PUB.Add;
4139: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4140:
4141: END IF;
4142:
4143:

Line 4148: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4144: RETURN FALSE;
4145:
4146: WHEN OTHERS THEN
4147:
4148: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4149: THEN
4150: OE_MSG_PUB.Add_Exc_Msg
4151: ( G_PKG_NAME
4152: , 'Sold_To_Contact'

Line 4150: OE_MSG_PUB.Add_Exc_Msg

4146: WHEN OTHERS THEN
4147:
4148: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4149: THEN
4150: OE_MSG_PUB.Add_Exc_Msg
4151: ( G_PKG_NAME
4152: , 'Sold_To_Contact'
4153: );
4154: END IF;

Line 4198: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4194: EXCEPTION
4195:
4196: WHEN NO_DATA_FOUND THEN
4197:
4198: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4199: THEN
4200:
4201: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_CONTACT_ID');
4202:

Line 4201: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_CONTACT_ID');

4197:
4198: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4199: THEN
4200:
4201: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_CONTACT_ID');
4202:
4203: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4204: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4205: OE_Order_Util.Get_Attribute_Name('ship_to_contact_id'));

Line 4206: OE_MSG_PUB.Add;

4202:
4203: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4204: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4205: OE_Order_Util.Get_Attribute_Name('ship_to_contact_id'));
4206: OE_MSG_PUB.Add;
4207: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4208:
4209: END IF;
4210:

Line 4207: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4203: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4204: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4205: OE_Order_Util.Get_Attribute_Name('ship_to_contact_id'));
4206: OE_MSG_PUB.Add;
4207: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4208:
4209: END IF;
4210:
4211:

Line 4216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4212: RETURN FALSE;
4213:
4214: WHEN OTHERS THEN
4215:
4216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4217: THEN
4218: OE_MSG_PUB.Add_Exc_Msg
4219: ( G_PKG_NAME
4220: , 'Ship_To_Contact'

Line 4218: OE_MSG_PUB.Add_Exc_Msg

4214: WHEN OTHERS THEN
4215:
4216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4217: THEN
4218: OE_MSG_PUB.Add_Exc_Msg
4219: ( G_PKG_NAME
4220: , 'Ship_To_Contact'
4221: );
4222: END IF;

Line 4266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4262: EXCEPTION
4263:
4264: WHEN NO_DATA_FOUND THEN
4265:
4266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4267: THEN
4268:
4269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_CONTACT_ID');
4270:

Line 4269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_CONTACT_ID');

4265:
4266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4267: THEN
4268:
4269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_CONTACT_ID');
4270:
4271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4273: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_contact_id'));

Line 4274: OE_MSG_PUB.Add;

4270:
4271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4273: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_contact_id'));
4274: OE_MSG_PUB.Add;
4275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4276:
4277: END IF;
4278:

Line 4275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4273: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_contact_id'));
4274: OE_MSG_PUB.Add;
4275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4276:
4277: END IF;
4278:
4279:

Line 4284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4280: RETURN FALSE;
4281:
4282: WHEN OTHERS THEN
4283:
4284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4285:
4286: THEN
4287: OE_MSG_PUB.Add_Exc_Msg
4288: ( G_PKG_NAME

Line 4287: OE_MSG_PUB.Add_Exc_Msg

4283:
4284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4285:
4286: THEN
4287: OE_MSG_PUB.Add_Exc_Msg
4288: ( G_PKG_NAME
4289: , 'Intermed_Ship_To_Contact'
4290: );
4291: END IF;

Line 4333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4329: RETURN TRUE;
4330:
4331: WHEN NO_DATA_FOUND THEN
4332:
4333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4334: THEN
4335:
4336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_CONTACT_ID');
4337:

Line 4336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_CONTACT_ID');

4332:
4333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4334: THEN
4335:
4336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_CONTACT_ID');
4337:
4338: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4339: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4340: OE_Order_Util.Get_Attribute_Name('invoice_to_contact_id'));

Line 4341: OE_MSG_PUB.Add;

4337:
4338: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4339: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4340: OE_Order_Util.Get_Attribute_Name('invoice_to_contact_id'));
4341: OE_MSG_PUB.Add;
4342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4343:
4344: END IF;
4345:

Line 4342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4338: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4339: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4340: OE_Order_Util.Get_Attribute_Name('invoice_to_contact_id'));
4341: OE_MSG_PUB.Add;
4342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4343:
4344: END IF;
4345:
4346:

Line 4351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4347: RETURN FALSE;
4348:
4349: WHEN OTHERS THEN
4350:
4351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4352: THEN
4353: OE_MSG_PUB.Add_Exc_Msg
4354: ( G_PKG_NAME
4355: , 'Invoice_To_Contact'

Line 4353: OE_MSG_PUB.Add_Exc_Msg

4349: WHEN OTHERS THEN
4350:
4351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4352: THEN
4353: OE_MSG_PUB.Add_Exc_Msg
4354: ( G_PKG_NAME
4355: , 'Invoice_To_Contact'
4356: );
4357: END IF;

Line 4397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4393: WHEN TOO_MANY_ROWS THEN
4394: RETURN TRUE;
4395: WHEN NO_DATA_FOUND THEN
4396:
4397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4398: THEN
4399:
4400: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_CONTACT_ID');
4401:

Line 4400: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_CONTACT_ID');

4396:
4397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4398: THEN
4399:
4400: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_CONTACT_ID');
4401:
4402: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4403: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4404: OE_Order_Util.Get_Attribute_Name('deliver_to_contact_id'));

Line 4405: OE_MSG_PUB.Add;

4401:
4402: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4403: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4404: OE_Order_Util.Get_Attribute_Name('deliver_to_contact_id'));
4405: OE_MSG_PUB.Add;
4406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4407:
4408: END IF;
4409:

Line 4406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4402: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4403: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4404: OE_Order_Util.Get_Attribute_Name('deliver_to_contact_id'));
4405: OE_MSG_PUB.Add;
4406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4407:
4408: END IF;
4409:
4410:

Line 4415: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4411: RETURN FALSE;
4412:
4413: WHEN OTHERS THEN
4414:
4415: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4416: THEN
4417: OE_MSG_PUB.Add_Exc_Msg
4418: ( G_PKG_NAME
4419: , 'Deliver_To_Contact'

Line 4417: OE_MSG_PUB.Add_Exc_Msg

4413: WHEN OTHERS THEN
4414:
4415: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4416: THEN
4417: OE_MSG_PUB.Add_Exc_Msg
4418: ( G_PKG_NAME
4419: , 'Deliver_To_Contact'
4420: );
4421: END IF;

Line 4456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4452: EXCEPTION
4453:
4454: WHEN NO_DATA_FOUND THEN
4455:
4456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4457: THEN
4458:
4459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATED_BY');
4460:

Line 4459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATED_BY');

4455:
4456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4457: THEN
4458:
4459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATED_BY');
4460:
4461: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4462: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4463: OE_Order_Util.Get_Attribute_Name('last_updated_by'));

Line 4464: OE_MSG_PUB.Add;

4460:
4461: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4462: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4463: OE_Order_Util.Get_Attribute_Name('last_updated_by'));
4464: OE_MSG_PUB.Add;
4465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4466:
4467: END IF;
4468:

Line 4465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4461: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4462: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4463: OE_Order_Util.Get_Attribute_Name('last_updated_by'));
4464: OE_MSG_PUB.Add;
4465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4466:
4467: END IF;
4468:
4469:

Line 4474: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4470: RETURN FALSE;
4471:
4472: WHEN OTHERS THEN
4473:
4474: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4475: THEN
4476: OE_MSG_PUB.Add_Exc_Msg
4477: ( G_PKG_NAME
4478: , 'Last_Updated_By'

Line 4476: OE_MSG_PUB.Add_Exc_Msg

4472: WHEN OTHERS THEN
4473:
4474: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4475: THEN
4476: OE_MSG_PUB.Add_Exc_Msg
4477: ( G_PKG_NAME
4478: , 'Last_Updated_By'
4479: );
4480: END IF;

Line 4513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4509: EXCEPTION
4510:
4511: WHEN NO_DATA_FOUND THEN
4512:
4513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4514: THEN
4515:
4516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_DATE');
4517:

Line 4516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_DATE');

4512:
4513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4514: THEN
4515:
4516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_DATE');
4517:
4518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4520: OE_Order_Util.Get_Attribute_Name('last_update_date'));

Line 4521: OE_MSG_PUB.Add;

4517:
4518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4520: OE_Order_Util.Get_Attribute_Name('last_update_date'));
4521: OE_MSG_PUB.Add;
4522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4523:
4524: END IF;
4525:

Line 4522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4520: OE_Order_Util.Get_Attribute_Name('last_update_date'));
4521: OE_MSG_PUB.Add;
4522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4523:
4524: END IF;
4525:
4526:

Line 4531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4527: RETURN FALSE;
4528:
4529: WHEN OTHERS THEN
4530:
4531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4532: THEN
4533: OE_MSG_PUB.Add_Exc_Msg
4534: ( G_PKG_NAME
4535: , 'Last_Update_Date'

Line 4533: OE_MSG_PUB.Add_Exc_Msg

4529: WHEN OTHERS THEN
4530:
4531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4532: THEN
4533: OE_MSG_PUB.Add_Exc_Msg
4534: ( G_PKG_NAME
4535: , 'Last_Update_Date'
4536: );
4537: END IF;

Line 4570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4566: EXCEPTION
4567:
4568: WHEN NO_DATA_FOUND THEN
4569:
4570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4571: THEN
4572:
4573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_LOGIN');
4574:

Line 4573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_LOGIN');

4569:
4570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4571: THEN
4572:
4573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_LOGIN');
4574:
4575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4577: OE_Order_Util.Get_Attribute_Name('last_update_login'));

Line 4578: OE_MSG_PUB.Add;

4574:
4575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4577: OE_Order_Util.Get_Attribute_Name('last_update_login'));
4578: OE_MSG_PUB.Add;
4579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4580:
4581: END IF;
4582:

Line 4579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4577: OE_Order_Util.Get_Attribute_Name('last_update_login'));
4578: OE_MSG_PUB.Add;
4579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4580:
4581: END IF;
4582:
4583:

Line 4588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4584: RETURN FALSE;
4585:
4586: WHEN OTHERS THEN
4587:
4588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4589: THEN
4590: OE_MSG_PUB.Add_Exc_Msg
4591: ( G_PKG_NAME
4592: , 'Last_Update_Login'

Line 4590: OE_MSG_PUB.Add_Exc_Msg

4586: WHEN OTHERS THEN
4587:
4588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4589: THEN
4590: OE_MSG_PUB.Add_Exc_Msg
4591: ( G_PKG_NAME
4592: , 'Last_Update_Login'
4593: );
4594: END IF;

Line 4627: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4623: EXCEPTION
4624:
4625: WHEN NO_DATA_FOUND THEN
4626:
4627: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4628: THEN
4629:
4630: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_APPLICATION_ID');
4631:

Line 4630: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_APPLICATION_ID');

4626:
4627: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4628: THEN
4629:
4630: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_APPLICATION_ID');
4631:
4632: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4633: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4634: OE_Order_Util.Get_Attribute_Name('program_application_id'));

Line 4635: OE_MSG_PUB.Add;

4631:
4632: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4633: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4634: OE_Order_Util.Get_Attribute_Name('program_application_id'));
4635: OE_MSG_PUB.Add;
4636: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4637:
4638: END IF;
4639:

Line 4636: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4632: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4633: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4634: OE_Order_Util.Get_Attribute_Name('program_application_id'));
4635: OE_MSG_PUB.Add;
4636: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4637:
4638: END IF;
4639:
4640:

Line 4645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4641: RETURN FALSE;
4642:
4643: WHEN OTHERS THEN
4644:
4645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4646: THEN
4647: OE_MSG_PUB.Add_Exc_Msg
4648: ( G_PKG_NAME
4649: , 'Program_Application'

Line 4647: OE_MSG_PUB.Add_Exc_Msg

4643: WHEN OTHERS THEN
4644:
4645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4646: THEN
4647: OE_MSG_PUB.Add_Exc_Msg
4648: ( G_PKG_NAME
4649: , 'Program_Application'
4650: );
4651: END IF;

Line 4684: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4680: EXCEPTION
4681:
4682: WHEN NO_DATA_FOUND THEN
4683:
4684: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4685: THEN
4686:
4687: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_ID');
4688:

Line 4687: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_ID');

4683:
4684: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4685: THEN
4686:
4687: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_ID');
4688:
4689: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4690: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4691: OE_Order_Util.Get_Attribute_Name('program_id'));

Line 4692: OE_MSG_PUB.Add;

4688:
4689: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4690: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4691: OE_Order_Util.Get_Attribute_Name('program_id'));
4692: OE_MSG_PUB.Add;
4693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4694:
4695: END IF;
4696:

Line 4693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4689: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4690: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4691: OE_Order_Util.Get_Attribute_Name('program_id'));
4692: OE_MSG_PUB.Add;
4693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4694:
4695: END IF;
4696:
4697:

Line 4702: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4698: RETURN FALSE;
4699:
4700: WHEN OTHERS THEN
4701:
4702: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4703: THEN
4704: OE_MSG_PUB.Add_Exc_Msg
4705: ( G_PKG_NAME
4706: , 'Program'

Line 4704: OE_MSG_PUB.Add_Exc_Msg

4700: WHEN OTHERS THEN
4701:
4702: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4703: THEN
4704: OE_MSG_PUB.Add_Exc_Msg
4705: ( G_PKG_NAME
4706: , 'Program'
4707: );
4708: END IF;

Line 4741: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4737: EXCEPTION
4738:
4739: WHEN NO_DATA_FOUND THEN
4740:
4741: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4742: THEN
4743:
4744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_UPDATE_DATE');
4745:

Line 4744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_UPDATE_DATE');

4740:
4741: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4742: THEN
4743:
4744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_UPDATE_DATE');
4745:
4746: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4747: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4748: OE_Order_Util.Get_Attribute_Name('program_update_date'));

Line 4749: OE_MSG_PUB.Add;

4745:
4746: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4747: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4748: OE_Order_Util.Get_Attribute_Name('program_update_date'));
4749: OE_MSG_PUB.Add;
4750: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4751:
4752: END IF;
4753:

Line 4750: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4746: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4747: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4748: OE_Order_Util.Get_Attribute_Name('program_update_date'));
4749: OE_MSG_PUB.Add;
4750: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4751:
4752: END IF;
4753:
4754:

Line 4759: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4755: RETURN FALSE;
4756:
4757: WHEN OTHERS THEN
4758:
4759: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4760: THEN
4761: OE_MSG_PUB.Add_Exc_Msg
4762: ( G_PKG_NAME
4763: , 'Program_Update_Date'

Line 4761: OE_MSG_PUB.Add_Exc_Msg

4757: WHEN OTHERS THEN
4758:
4759: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4760: THEN
4761: OE_MSG_PUB.Add_Exc_Msg
4762: ( G_PKG_NAME
4763: , 'Program_Update_Date'
4764: );
4765: END IF;

Line 4798: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4794: EXCEPTION
4795:
4796: WHEN NO_DATA_FOUND THEN
4797:
4798: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4799: THEN
4800:
4801: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_ID');
4802:

Line 4801: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_ID');

4797:
4798: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4799: THEN
4800:
4801: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_ID');
4802:
4803: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4804: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4805: OE_Order_Util.Get_Attribute_Name('request_id'));

Line 4806: OE_MSG_PUB.Add;

4802:
4803: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4804: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4805: OE_Order_Util.Get_Attribute_Name('request_id'));
4806: OE_MSG_PUB.Add;
4807: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4808:
4809: END IF;
4810:

Line 4807: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4803: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4804: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4805: OE_Order_Util.Get_Attribute_Name('request_id'));
4806: OE_MSG_PUB.Add;
4807: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4808:
4809: END IF;
4810:
4811:

Line 4816: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4812: RETURN FALSE;
4813:
4814: WHEN OTHERS THEN
4815:
4816: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4817: THEN
4818: OE_MSG_PUB.Add_Exc_Msg
4819: ( G_PKG_NAME
4820: , 'Request'

Line 4818: OE_MSG_PUB.Add_Exc_Msg

4814: WHEN OTHERS THEN
4815:
4816: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4817: THEN
4818: OE_MSG_PUB.Add_Exc_Msg
4819: ( G_PKG_NAME
4820: , 'Request'
4821: );
4822: END IF;

Line 4855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4851: EXCEPTION
4852:
4853: WHEN NO_DATA_FOUND THEN
4854:
4855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4856: THEN
4857:
4858: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE1');
4859:

Line 4858: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE1');

4854:
4855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4856: THEN
4857:
4858: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE1');
4859:
4860: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4861: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4862: OE_Order_Util.Get_Attribute_Name('global_attribute1'));

Line 4863: OE_MSG_PUB.Add;

4859:
4860: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4861: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4862: OE_Order_Util.Get_Attribute_Name('global_attribute1'));
4863: OE_MSG_PUB.Add;
4864: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4865:
4866: END IF;
4867:

Line 4864: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4860: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4861: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4862: OE_Order_Util.Get_Attribute_Name('global_attribute1'));
4863: OE_MSG_PUB.Add;
4864: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4865:
4866: END IF;
4867:
4868:

Line 4873: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4869: RETURN FALSE;
4870:
4871: WHEN OTHERS THEN
4872:
4873: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4874: THEN
4875: OE_MSG_PUB.Add_Exc_Msg
4876: ( G_PKG_NAME
4877: , 'Global_Attribute1'

Line 4875: OE_MSG_PUB.Add_Exc_Msg

4871: WHEN OTHERS THEN
4872:
4873: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4874: THEN
4875: OE_MSG_PUB.Add_Exc_Msg
4876: ( G_PKG_NAME
4877: , 'Global_Attribute1'
4878: );
4879: END IF;

Line 4913: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4909: EXCEPTION
4910:
4911: WHEN NO_DATA_FOUND THEN
4912:
4913: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4914: THEN
4915:
4916: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_ADJUSTMENT_ID');
4917:

Line 4916: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_ADJUSTMENT_ID');

4912:
4913: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4914: THEN
4915:
4916: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_ADJUSTMENT_ID');
4917:
4918: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4919: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4920: OE_Order_Util.Get_Attribute_Name('price_adjustment_id'));

Line 4921: OE_MSG_PUB.Add;

4917:
4918: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4919: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4920: OE_Order_Util.Get_Attribute_Name('price_adjustment_id'));
4921: OE_MSG_PUB.Add;
4922: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4923:
4924: END IF;
4925:

Line 4922: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4918: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4919: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4920: OE_Order_Util.Get_Attribute_Name('price_adjustment_id'));
4921: OE_MSG_PUB.Add;
4922: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4923:
4924: END IF;
4925:
4926:

Line 4931: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4927: RETURN FALSE;
4928:
4929: WHEN OTHERS THEN
4930:
4931: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4932: THEN
4933: OE_MSG_PUB.Add_Exc_Msg
4934: ( G_PKG_NAME
4935: , 'Price_Adjustment'

Line 4933: OE_MSG_PUB.Add_Exc_Msg

4929: WHEN OTHERS THEN
4930:
4931: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4932: THEN
4933: OE_MSG_PUB.Add_Exc_Msg
4934: ( G_PKG_NAME
4935: , 'Price_Adjustment'
4936: );
4937: END IF;

Line 4970: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4966: EXCEPTION
4967:
4968: WHEN NO_DATA_FOUND THEN
4969:
4970: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4971: THEN
4972:
4973: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_ID');
4974:

Line 4973: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_ID');

4969:
4970: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4971: THEN
4972:
4973: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_ID');
4974:
4975: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4976: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4977: OE_Order_Util.Get_Attribute_Name('discount_id'));

Line 4978: OE_MSG_PUB.Add;

4974:
4975: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4976: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4977: OE_Order_Util.Get_Attribute_Name('discount_id'));
4978: OE_MSG_PUB.Add;
4979: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4980:
4981: END IF;
4982:

Line 4979: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4975: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4976: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4977: OE_Order_Util.Get_Attribute_Name('discount_id'));
4978: OE_MSG_PUB.Add;
4979: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4980:
4981: END IF;
4982:
4983:

Line 4988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4984: RETURN FALSE;
4985:
4986: WHEN OTHERS THEN
4987:
4988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4989: THEN
4990: OE_MSG_PUB.Add_Exc_Msg
4991: ( G_PKG_NAME
4992: , 'Discount'

Line 4990: OE_MSG_PUB.Add_Exc_Msg

4986: WHEN OTHERS THEN
4987:
4988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4989: THEN
4990: OE_MSG_PUB.Add_Exc_Msg
4991: ( G_PKG_NAME
4992: , 'Discount'
4993: );
4994: END IF;

Line 5028: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5024: EXCEPTION
5025:
5026: WHEN NO_DATA_FOUND THEN
5027:
5028: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5029: THEN
5030:
5031: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_LINE_ID');
5032:

Line 5031: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_LINE_ID');

5027:
5028: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5029: THEN
5030:
5031: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_LINE_ID');
5032:
5033: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5034: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5035: OE_Order_Util.Get_Attribute_Name('discount_line_id'));

Line 5036: OE_MSG_PUB.Add;

5032:
5033: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5034: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5035: OE_Order_Util.Get_Attribute_Name('discount_line_id'));
5036: OE_MSG_PUB.Add;
5037: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5038:
5039: END IF;
5040:

Line 5037: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5033: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5034: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5035: OE_Order_Util.Get_Attribute_Name('discount_line_id'));
5036: OE_MSG_PUB.Add;
5037: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5038:
5039: END IF;
5040:
5041:

Line 5046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5042: RETURN FALSE;
5043:
5044: WHEN OTHERS THEN
5045:
5046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5047: THEN
5048: OE_MSG_PUB.Add_Exc_Msg
5049: ( G_PKG_NAME
5050: , 'Discount_Line'

Line 5048: OE_MSG_PUB.Add_Exc_Msg

5044: WHEN OTHERS THEN
5045:
5046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5047: THEN
5048: OE_MSG_PUB.Add_Exc_Msg
5049: ( G_PKG_NAME
5050: , 'Discount_Line'
5051: );
5052: END IF;

Line 5085: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5081: EXCEPTION
5082:
5083: WHEN NO_DATA_FOUND THEN
5084:
5085: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5086: THEN
5087:
5088: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTOMATIC_FLAG');
5089:

Line 5088: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTOMATIC_FLAG');

5084:
5085: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5086: THEN
5087:
5088: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTOMATIC_FLAG');
5089:
5090: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5091: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5092: OE_Order_Util.Get_Attribute_Name('automatic_flag'));

Line 5093: OE_MSG_PUB.Add;

5089:
5090: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5091: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5092: OE_Order_Util.Get_Attribute_Name('automatic_flag'));
5093: OE_MSG_PUB.Add;
5094: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5095:
5096: END IF;
5097:

Line 5094: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5090: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5091: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5092: OE_Order_Util.Get_Attribute_Name('automatic_flag'));
5093: OE_MSG_PUB.Add;
5094: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5095:
5096: END IF;
5097:
5098:

Line 5103: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5099: RETURN FALSE;
5100:
5101: WHEN OTHERS THEN
5102:
5103: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5104: THEN
5105: OE_MSG_PUB.Add_Exc_Msg
5106: ( G_PKG_NAME
5107: , 'Automatic'

Line 5105: OE_MSG_PUB.Add_Exc_Msg

5101: WHEN OTHERS THEN
5102:
5103: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5104: THEN
5105: OE_MSG_PUB.Add_Exc_Msg
5106: ( G_PKG_NAME
5107: , 'Automatic'
5108: );
5109: END IF;

Line 5154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5150: EXCEPTION
5151:
5152: WHEN NO_DATA_FOUND THEN
5153:
5154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5155: THEN
5156:
5157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');
5158:

Line 5157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');

5153:
5154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5155: THEN
5156:
5157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');
5158:
5159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5161: OE_Order_Util.Get_Attribute_Name('percent'));

Line 5162: OE_MSG_PUB.Add;

5158:
5159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5161: OE_Order_Util.Get_Attribute_Name('percent'));
5162: OE_MSG_PUB.Add;
5163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5164:
5165: END IF;
5166:

Line 5163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5161: OE_Order_Util.Get_Attribute_Name('percent'));
5162: OE_MSG_PUB.Add;
5163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5164:
5165: END IF;
5166:
5167:

Line 5172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5168: RETURN FALSE;
5169:
5170: WHEN OTHERS THEN
5171:
5172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5173: THEN
5174: OE_MSG_PUB.Add_Exc_Msg
5175: ( G_PKG_NAME
5176: , 'Percent'

Line 5174: OE_MSG_PUB.Add_Exc_Msg

5170: WHEN OTHERS THEN
5171:
5172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5173: THEN
5174: OE_MSG_PUB.Add_Exc_Msg
5175: ( G_PKG_NAME
5176: , 'Percent'
5177: );
5178: END IF;

Line 5211: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5207: EXCEPTION
5208:
5209: WHEN NO_DATA_FOUND THEN
5210:
5211: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5212: THEN
5213:
5214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_ID');
5215:

Line 5214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_ID');

5210:
5211: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5212: THEN
5213:
5214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_ID');
5215:
5216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5218: OE_Order_Util.Get_Attribute_Name('line_id'));

Line 5219: OE_MSG_PUB.Add;

5215:
5216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5218: OE_Order_Util.Get_Attribute_Name('line_id'));
5219: OE_MSG_PUB.Add;
5220: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5221:
5222: END IF;
5223:

Line 5220: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5218: OE_Order_Util.Get_Attribute_Name('line_id'));
5219: OE_MSG_PUB.Add;
5220: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5221:
5222: END IF;
5223:
5224:

Line 5229: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5225: RETURN FALSE;
5226:
5227: WHEN OTHERS THEN
5228:
5229: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5230: THEN
5231: OE_MSG_PUB.Add_Exc_Msg
5232: ( G_PKG_NAME
5233: , 'Line'

Line 5231: OE_MSG_PUB.Add_Exc_Msg

5227: WHEN OTHERS THEN
5228:
5229: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5230: THEN
5231: OE_MSG_PUB.Add_Exc_Msg
5232: ( G_PKG_NAME
5233: , 'Line'
5234: );
5235: END IF;

Line 5268: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5264: EXCEPTION
5265:
5266: WHEN NO_DATA_FOUND THEN
5267:
5268: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5269: THEN
5270:
5271: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');
5272:

Line 5271: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');

5267:
5268: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5269: THEN
5270:
5271: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');
5272:
5273: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5274: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5275: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));

Line 5276: OE_MSG_PUB.Add;

5272:
5273: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5274: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5275: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));
5276: OE_MSG_PUB.Add;
5277: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5278:
5279: END IF;
5280:

Line 5277: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5273: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5274: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5275: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));
5276: OE_MSG_PUB.Add;
5277: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5278:
5279: END IF;
5280:
5281:

Line 5286: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5282: RETURN FALSE;
5283:
5284: WHEN OTHERS THEN
5285:
5286: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5287: THEN
5288: OE_MSG_PUB.Add_Exc_Msg
5289: ( G_PKG_NAME
5290: , 'Applied_Flag'

Line 5288: OE_MSG_PUB.Add_Exc_Msg

5284: WHEN OTHERS THEN
5285:
5286: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5287: THEN
5288: OE_MSG_PUB.Add_Exc_Msg
5289: ( G_PKG_NAME
5290: , 'Applied_Flag'
5291: );
5292: END IF;

Line 5332: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN

5328: IF l_debug_level > 0 THEN
5329: OE_DEBUG_PUB.add('Change/Cancel Reason Code is invalid ',1);
5330: OE_DEBUG_PUB.add('Error Message at 1 : '||sqlerrm,1);
5331: END IF;
5332: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
5333: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_CODE');
5334: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5335: FND_MESSAGE.SET_TOKEN('ATTRIBUTE', OE_Order_Util.Get_Attribute_Name('Change_Reason_Code'));
5336: OE_MSG_PUB.Add;

Line 5333: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_CODE');

5329: OE_DEBUG_PUB.add('Change/Cancel Reason Code is invalid ',1);
5330: OE_DEBUG_PUB.add('Error Message at 1 : '||sqlerrm,1);
5331: END IF;
5332: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
5333: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_CODE');
5334: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5335: FND_MESSAGE.SET_TOKEN('ATTRIBUTE', OE_Order_Util.Get_Attribute_Name('Change_Reason_Code'));
5336: OE_MSG_PUB.Add;
5337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 5336: OE_MSG_PUB.Add;

5332: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
5333: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_CODE');
5334: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5335: FND_MESSAGE.SET_TOKEN('ATTRIBUTE', OE_Order_Util.Get_Attribute_Name('Change_Reason_Code'));
5336: OE_MSG_PUB.Add;
5337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5338: END IF;
5339: RETURN FALSE;
5340: WHEN OTHERS THEN

Line 5337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5333: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_CODE');
5334: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5335: FND_MESSAGE.SET_TOKEN('ATTRIBUTE', OE_Order_Util.Get_Attribute_Name('Change_Reason_Code'));
5336: OE_MSG_PUB.Add;
5337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5338: END IF;
5339: RETURN FALSE;
5340: WHEN OTHERS THEN
5341: IF l_debug_level > 0 THEN

Line 5345: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5341: IF l_debug_level > 0 THEN
5342: OE_DEBUG_PUB.add('Change/Cancel Reason Code is invalid ',1);
5343: OE_DEBUG_PUB.add('Error Message at 2 : '||sqlerrm,1);
5344: END IF;
5345: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5346: OE_MSG_PUB.Add_Exc_Msg ( G_PKG_NAME , 'Change_Reason_Code');
5347: END IF;
5348: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
5349:

Line 5346: OE_MSG_PUB.Add_Exc_Msg ( G_PKG_NAME , 'Change_Reason_Code');

5342: OE_DEBUG_PUB.add('Change/Cancel Reason Code is invalid ',1);
5343: OE_DEBUG_PUB.add('Error Message at 2 : '||sqlerrm,1);
5344: END IF;
5345: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5346: OE_MSG_PUB.Add_Exc_Msg ( G_PKG_NAME , 'Change_Reason_Code');
5347: END IF;
5348: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
5349:
5350: END Change_Reason_Code;

Line 5374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5370: EXCEPTION
5371:
5372: WHEN NO_DATA_FOUND THEN
5373:
5374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5375: THEN
5376:
5377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_TEXT');
5378:

Line 5377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_TEXT');

5373:
5374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5375: THEN
5376:
5377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_TEXT');
5378:
5379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5381: OE_Order_Util.Get_Attribute_Name('Change_Reason_Text'));

Line 5382: OE_MSG_PUB.Add;

5378:
5379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5381: OE_Order_Util.Get_Attribute_Name('Change_Reason_Text'));
5382: OE_MSG_PUB.Add;
5383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5384:
5385: END IF;
5386:

Line 5383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5381: OE_Order_Util.Get_Attribute_Name('Change_Reason_Text'));
5382: OE_MSG_PUB.Add;
5383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5384:
5385: END IF;
5386:
5387:

Line 5392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5388: RETURN FALSE;
5389:
5390: WHEN OTHERS THEN
5391:
5392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5393: THEN
5394: OE_MSG_PUB.Add_Exc_Msg
5395: ( G_PKG_NAME
5396: , 'Change_Reason_Text'

Line 5394: OE_MSG_PUB.Add_Exc_Msg

5390: WHEN OTHERS THEN
5391:
5392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5393: THEN
5394: OE_MSG_PUB.Add_Exc_Msg
5395: ( G_PKG_NAME
5396: , 'Change_Reason_Text'
5397: );
5398: END IF;

Line 5432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5428: EXCEPTION
5429:
5430: WHEN NO_DATA_FOUND THEN
5431:
5432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5433: THEN
5434:
5435: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_HEADER_ID');
5436:

Line 5435: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_HEADER_ID');

5431:
5432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5433: THEN
5434:
5435: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_HEADER_ID');
5436:
5437: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5438: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5439: OE_Order_Util.Get_Attribute_Name('List_Header_id'));

Line 5440: OE_MSG_PUB.Add;

5436:
5437: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5438: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5439: OE_Order_Util.Get_Attribute_Name('List_Header_id'));
5440: OE_MSG_PUB.Add;
5441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5442:
5443: END IF;
5444:

Line 5441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5437: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5438: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5439: OE_Order_Util.Get_Attribute_Name('List_Header_id'));
5440: OE_MSG_PUB.Add;
5441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5442:
5443: END IF;
5444:
5445:

Line 5450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5446: RETURN FALSE;
5447:
5448: WHEN OTHERS THEN
5449:
5450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5451: THEN
5452: OE_MSG_PUB.Add_Exc_Msg
5453: ( G_PKG_NAME
5454: , 'List_Header_id'

Line 5452: OE_MSG_PUB.Add_Exc_Msg

5448: WHEN OTHERS THEN
5449:
5450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5451: THEN
5452: OE_MSG_PUB.Add_Exc_Msg
5453: ( G_PKG_NAME
5454: , 'List_Header_id'
5455: );
5456: END IF;

Line 5490: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5486: EXCEPTION
5487:
5488: WHEN NO_DATA_FOUND THEN
5489:
5490: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5491: THEN
5492:
5493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_ID');
5494:

Line 5493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_ID');

5489:
5490: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5491: THEN
5492:
5493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_ID');
5494:
5495: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5496: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5497: OE_Order_Util.Get_Attribute_Name('List_Line_id'));

Line 5498: OE_MSG_PUB.Add;

5494:
5495: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5496: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5497: OE_Order_Util.Get_Attribute_Name('List_Line_id'));
5498: OE_MSG_PUB.Add;
5499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5500:
5501: END IF;
5502:

Line 5499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5495: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5496: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5497: OE_Order_Util.Get_Attribute_Name('List_Line_id'));
5498: OE_MSG_PUB.Add;
5499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5500:
5501: END IF;
5502:
5503:

Line 5508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5504: RETURN FALSE;
5505:
5506: WHEN OTHERS THEN
5507:
5508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5509: THEN
5510: OE_MSG_PUB.Add_Exc_Msg
5511: ( G_PKG_NAME
5512: , 'List_Line_id'

Line 5510: OE_MSG_PUB.Add_Exc_Msg

5506: WHEN OTHERS THEN
5507:
5508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5509: THEN
5510: OE_MSG_PUB.Add_Exc_Msg
5511: ( G_PKG_NAME
5512: , 'List_Line_id'
5513: );
5514: END IF;

Line 5547: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5543: EXCEPTION
5544:
5545: WHEN NO_DATA_FOUND THEN
5546:
5547: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5548: THEN
5549:
5550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_TYPE_CODE');
5551:

Line 5550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_TYPE_CODE');

5546:
5547: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5548: THEN
5549:
5550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_TYPE_CODE');
5551:
5552: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5553: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5554: OE_Order_Util.Get_Attribute_Name('List_Line_Type_code'));

Line 5555: OE_MSG_PUB.Add;

5551:
5552: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5553: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5554: OE_Order_Util.Get_Attribute_Name('List_Line_Type_code'));
5555: OE_MSG_PUB.Add;
5556: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5557:
5558: END IF;
5559:

Line 5556: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5552: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5553: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5554: OE_Order_Util.Get_Attribute_Name('List_Line_Type_code'));
5555: OE_MSG_PUB.Add;
5556: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5557:
5558: END IF;
5559:
5560:

Line 5565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5561: RETURN FALSE;
5562:
5563: WHEN OTHERS THEN
5564:
5565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5566: THEN
5567: OE_MSG_PUB.Add_Exc_Msg
5568: ( G_PKG_NAME
5569: , 'List_Line_Type_code'

Line 5567: OE_MSG_PUB.Add_Exc_Msg

5563: WHEN OTHERS THEN
5564:
5565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5566: THEN
5567: OE_MSG_PUB.Add_Exc_Msg
5568: ( G_PKG_NAME
5569: , 'List_Line_Type_code'
5570: );
5571: END IF;

Line 5605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5601: EXCEPTION
5602:
5603: WHEN NO_DATA_FOUND THEN
5604:
5605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5606: THEN
5607:
5608: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_FROM');
5609:

Line 5608: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_FROM');

5604:
5605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5606: THEN
5607:
5608: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_FROM');
5609:
5610: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5611: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5612: OE_Order_Util.Get_Attribute_Name('Modified_From'));

Line 5613: OE_MSG_PUB.Add;

5609:
5610: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5611: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5612: OE_Order_Util.Get_Attribute_Name('Modified_From'));
5613: OE_MSG_PUB.Add;
5614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5615:
5616: END IF;
5617:

Line 5614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5610: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5611: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5612: OE_Order_Util.Get_Attribute_Name('Modified_From'));
5613: OE_MSG_PUB.Add;
5614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5615:
5616: END IF;
5617:
5618:

Line 5623: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5619: RETURN FALSE;
5620:
5621: WHEN OTHERS THEN
5622:
5623: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5624: THEN
5625: OE_MSG_PUB.Add_Exc_Msg
5626: ( G_PKG_NAME
5627: , 'Modified_From'

Line 5625: OE_MSG_PUB.Add_Exc_Msg

5621: WHEN OTHERS THEN
5622:
5623: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5624: THEN
5625: OE_MSG_PUB.Add_Exc_Msg
5626: ( G_PKG_NAME
5627: , 'Modified_From'
5628: );
5629: END IF;

Line 5662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5658: EXCEPTION
5659:
5660: WHEN NO_DATA_FOUND THEN
5661:
5662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5663: THEN
5664:
5665: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_TO');
5666:

Line 5665: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_TO');

5661:
5662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5663: THEN
5664:
5665: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_TO');
5666:
5667: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5668: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5669: OE_Order_Util.Get_Attribute_Name('Modified_To'));

Line 5670: OE_MSG_PUB.Add;

5666:
5667: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5668: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5669: OE_Order_Util.Get_Attribute_Name('Modified_To'));
5670: OE_MSG_PUB.Add;
5671: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5672:
5673: END IF;
5674:

Line 5671: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5667: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5668: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5669: OE_Order_Util.Get_Attribute_Name('Modified_To'));
5670: OE_MSG_PUB.Add;
5671: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5672:
5673: END IF;
5674:
5675:

Line 5680: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5676: RETURN FALSE;
5677:
5678: WHEN OTHERS THEN
5679:
5680: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5681: THEN
5682: OE_MSG_PUB.Add_Exc_Msg
5683: ( G_PKG_NAME
5684: , 'Modified_To'

Line 5682: OE_MSG_PUB.Add_Exc_Msg

5678: WHEN OTHERS THEN
5679:
5680: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5681: THEN
5682: OE_MSG_PUB.Add_Exc_Msg
5683: ( G_PKG_NAME
5684: , 'Modified_To'
5685: );
5686: END IF;

Line 5720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5716: EXCEPTION
5717:
5718: WHEN NO_DATA_FOUND THEN
5719:
5720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5721: THEN
5722:
5723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIER_MECHANISM_TYPE_CODE');
5724:

Line 5723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIER_MECHANISM_TYPE_CODE');

5719:
5720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5721: THEN
5722:
5723: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIER_MECHANISM_TYPE_CODE');
5724:
5725: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5726: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5727: OE_Order_Util.Get_Attribute_Name('Modifier_mechanism_type_code'));

Line 5728: OE_MSG_PUB.Add;

5724:
5725: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5726: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5727: OE_Order_Util.Get_Attribute_Name('Modifier_mechanism_type_code'));
5728: OE_MSG_PUB.Add;
5729: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5730:
5731: END IF;
5732:

Line 5729: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5725: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5726: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5727: OE_Order_Util.Get_Attribute_Name('Modifier_mechanism_type_code'));
5728: OE_MSG_PUB.Add;
5729: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5730:
5731: END IF;
5732:
5733:

Line 5738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5734: RETURN FALSE;
5735:
5736: WHEN OTHERS THEN
5737:
5738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5739: THEN
5740: OE_MSG_PUB.Add_Exc_Msg
5741: ( G_PKG_NAME
5742: , 'Modifier_mechanism_type_code'

Line 5740: OE_MSG_PUB.Add_Exc_Msg

5736: WHEN OTHERS THEN
5737:
5738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5739: THEN
5740: OE_MSG_PUB.Add_Exc_Msg
5741: ( G_PKG_NAME
5742: , 'Modifier_mechanism_type_code'
5743: );
5744: END IF;

Line 5779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5775: EXCEPTION
5776:
5777: WHEN NO_DATA_FOUND THEN
5778:
5779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5780: THEN
5781:
5782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATED_FLAG');
5783:

Line 5782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATED_FLAG');

5778:
5779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5780: THEN
5781:
5782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATED_FLAG');
5783:
5784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5786: OE_Order_Util.Get_Attribute_Name('Updated_Flag'));

Line 5787: OE_MSG_PUB.Add;

5783:
5784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5786: OE_Order_Util.Get_Attribute_Name('Updated_Flag'));
5787: OE_MSG_PUB.Add;
5788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5789:
5790: END IF;
5791:

Line 5788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5786: OE_Order_Util.Get_Attribute_Name('Updated_Flag'));
5787: OE_MSG_PUB.Add;
5788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5789:
5790: END IF;
5791:
5792:

Line 5797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5793: RETURN FALSE;
5794:
5795: WHEN OTHERS THEN
5796:
5797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5798: THEN
5799: OE_MSG_PUB.Add_Exc_Msg
5800: ( G_PKG_NAME
5801: , 'Updated_Flag'

Line 5799: OE_MSG_PUB.Add_Exc_Msg

5795: WHEN OTHERS THEN
5796:
5797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5798: THEN
5799: OE_MSG_PUB.Add_Exc_Msg
5800: ( G_PKG_NAME
5801: , 'Updated_Flag'
5802: );
5803: END IF;

Line 5837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5833: EXCEPTION
5834:
5835: WHEN NO_DATA_FOUND THEN
5836:
5837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5838: THEN
5839:
5840: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATE_ALLOWED');
5841:

Line 5840: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATE_ALLOWED');

5836:
5837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5838: THEN
5839:
5840: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATE_ALLOWED');
5841:
5842: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5843: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5844: OE_Order_Util.Get_Attribute_Name('Update_Allowed'));

Line 5845: OE_MSG_PUB.Add;

5841:
5842: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5843: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5844: OE_Order_Util.Get_Attribute_Name('Update_Allowed'));
5845: OE_MSG_PUB.Add;
5846: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5847:
5848: END IF;
5849:

Line 5846: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5842: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5843: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5844: OE_Order_Util.Get_Attribute_Name('Update_Allowed'));
5845: OE_MSG_PUB.Add;
5846: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5847:
5848: END IF;
5849:
5850:

Line 5855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5851: RETURN FALSE;
5852:
5853: WHEN OTHERS THEN
5854:
5855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5856: THEN
5857: OE_MSG_PUB.Add_Exc_Msg
5858: ( G_PKG_NAME
5859: , 'Update_Allowed'

Line 5857: OE_MSG_PUB.Add_Exc_Msg

5853: WHEN OTHERS THEN
5854:
5855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5856: THEN
5857: OE_MSG_PUB.Add_Exc_Msg
5858: ( G_PKG_NAME
5859: , 'Update_Allowed'
5860: );
5861: END IF;

Line 5894: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5890: EXCEPTION
5891:
5892: WHEN NO_DATA_FOUND THEN
5893:
5894: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5895: THEN
5896:
5897: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CREDIT_ID');
5898:

Line 5897: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CREDIT_ID');

5893:
5894: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5895: THEN
5896:
5897: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CREDIT_ID');
5898:
5899: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5900: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5901: OE_Order_Util.Get_Attribute_Name('sales_credit_id'));

Line 5902: OE_MSG_PUB.Add;

5898:
5899: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5900: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5901: OE_Order_Util.Get_Attribute_Name('sales_credit_id'));
5902: OE_MSG_PUB.Add;
5903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5904:
5905: END IF;
5906:

Line 5903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5899: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5900: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5901: OE_Order_Util.Get_Attribute_Name('sales_credit_id'));
5902: OE_MSG_PUB.Add;
5903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5904:
5905: END IF;
5906:
5907:

Line 5912: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5908: RETURN FALSE;
5909:
5910: WHEN OTHERS THEN
5911:
5912: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5913: THEN
5914: OE_MSG_PUB.Add_Exc_Msg
5915: ( G_PKG_NAME
5916: , 'Sales_Credit'

Line 5914: OE_MSG_PUB.Add_Exc_Msg

5910: WHEN OTHERS THEN
5911:
5912: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5913: THEN
5914: OE_MSG_PUB.Add_Exc_Msg
5915: ( G_PKG_NAME
5916: , 'Sales_Credit'
5917: );
5918: END IF;

Line 5950: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5946: IF l_dummy = 'VALID' then
5947:
5948: RETURN TRUE;
5949: ELSE
5950: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5951: THEN
5952:
5953: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Sales_credit_type_id');
5954:

Line 5953: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Sales_credit_type_id');

5949: ELSE
5950: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5951: THEN
5952:
5953: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Sales_credit_type_id');
5954:
5955: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5956: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5957: OE_Order_Util.Get_Attribute_Name('Sales_credit_type_id'));

Line 5958: OE_MSG_PUB.Add;

5954:
5955: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5956: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5957: OE_Order_Util.Get_Attribute_Name('Sales_credit_type_id'));
5958: OE_MSG_PUB.Add;
5959: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5960:
5961: END IF;
5962:

Line 5959: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5955: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5956: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5957: OE_Order_Util.Get_Attribute_Name('Sales_credit_type_id'));
5958: OE_MSG_PUB.Add;
5959: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5960:
5961: END IF;
5962:
5963: RETURN FALSE;

Line 5969: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5965: EXCEPTION
5966:
5967: WHEN OTHERS THEN
5968:
5969: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5970: THEN
5971: OE_MSG_PUB.Add_Exc_Msg
5972: ( G_PKG_NAME
5973: , 'Sales_credit_type'

Line 5971: OE_MSG_PUB.Add_Exc_Msg

5967: WHEN OTHERS THEN
5968:
5969: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5970: THEN
5971: OE_MSG_PUB.Add_Exc_Msg
5972: ( G_PKG_NAME
5973: , 'Sales_credit_type'
5974: );
5975: END IF;

Line 6055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6051: IF l_dummy = 'VALID' then
6052:
6053: RETURN TRUE;
6054: ELSE
6055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6056: THEN
6057:
6058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');
6059:

Line 6058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');

6054: ELSE
6055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6056: THEN
6057:
6058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');
6059:
6060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6062: OE_Order_Util.Get_Attribute_Name('salesrep_id'));

Line 6063: OE_MSG_PUB.Add;

6059:
6060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6062: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
6063: OE_MSG_PUB.Add;
6064: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6065:
6066: END IF;
6067: IF l_debug_level > 0 THEN

Line 6064: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6062: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
6063: OE_MSG_PUB.Add;
6064: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6065:
6066: END IF;
6067: IF l_debug_level > 0 THEN
6068: oe_debug_pub.add(' rtf failed 1');

Line 6091: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6087: ELSE
6088: IF l_debug_level > 0 THEN
6089: oe_debug_pub.add(' rtf failed 2');
6090: END IF;
6091: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6092: THEN
6093:
6094: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');
6095:

Line 6094: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');

6090: END IF;
6091: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6092: THEN
6093:
6094: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');
6095:
6096: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6097: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6098: OE_Order_Util.Get_Attribute_Name('salesrep_id'));

Line 6099: OE_MSG_PUB.Add;

6095:
6096: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6097: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6098: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
6099: OE_MSG_PUB.Add;
6100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6101:
6102: END IF;
6103: END IF;

Line 6100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6096: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6097: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6098: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
6099: OE_MSG_PUB.Add;
6100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6101:
6102: END IF;
6103: END IF;
6104:

Line 6111: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');

6107: End;
6108: EXCEPTION
6109:
6110: WHEN no_data_found Then
6111: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');
6112: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6113: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6114: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
6115: OE_MSG_PUB.Add;

Line 6115: OE_MSG_PUB.Add;

6111: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');
6112: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6113: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6114: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
6115: OE_MSG_PUB.Add;
6116: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6117: Return FALSE;
6118: WHEN OTHERS THEN
6119:

Line 6116: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6112: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6113: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6114: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
6115: OE_MSG_PUB.Add;
6116: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6117: Return FALSE;
6118: WHEN OTHERS THEN
6119:
6120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 6120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6116: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6117: Return FALSE;
6118: WHEN OTHERS THEN
6119:
6120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6121: THEN
6122: OE_MSG_PUB.Add_Exc_Msg
6123: ( G_PKG_NAME
6124: , 'Salesrep'

Line 6122: OE_MSG_PUB.Add_Exc_Msg

6118: WHEN OTHERS THEN
6119:
6120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6121: THEN
6122: OE_MSG_PUB.Add_Exc_Msg
6123: ( G_PKG_NAME
6124: , 'Salesrep'
6125: );
6126: END IF;

Line 6159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6155: EXCEPTION
6156:
6157: WHEN NO_DATA_FOUND THEN
6158:
6159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6160: THEN
6161:
6162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DW_UPDATE_ADVICE_FLAG');
6163:

Line 6162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DW_UPDATE_ADVICE_FLAG');

6158:
6159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6160: THEN
6161:
6162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DW_UPDATE_ADVICE_FLAG');
6163:
6164: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6165: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6166: OE_Order_Util.Get_Attribute_Name('dw_update_advice_flag'));

Line 6167: OE_MSG_PUB.Add;

6163:
6164: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6165: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6166: OE_Order_Util.Get_Attribute_Name('dw_update_advice_flag'));
6167: OE_MSG_PUB.Add;
6168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6169:
6170: END IF;
6171:

Line 6168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6164: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6165: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6166: OE_Order_Util.Get_Attribute_Name('dw_update_advice_flag'));
6167: OE_MSG_PUB.Add;
6168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6169:
6170: END IF;
6171:
6172:

Line 6177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6173: RETURN FALSE;
6174:
6175: WHEN OTHERS THEN
6176:
6177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6178: THEN
6179: OE_MSG_PUB.Add_Exc_Msg
6180: ( G_PKG_NAME
6181: , 'Dw_Update_Advice'

Line 6179: OE_MSG_PUB.Add_Exc_Msg

6175: WHEN OTHERS THEN
6176:
6177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6178: THEN
6179: OE_MSG_PUB.Add_Exc_Msg
6180: ( G_PKG_NAME
6181: , 'Dw_Update_Advice'
6182: );
6183: END IF;

Line 6216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6212: EXCEPTION
6213:
6214: WHEN NO_DATA_FOUND THEN
6215:
6216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6217: THEN
6218:
6219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'WH_UPDATE_DATE');
6220:

Line 6219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'WH_UPDATE_DATE');

6215:
6216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6217: THEN
6218:
6219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'WH_UPDATE_DATE');
6220:
6221: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6222: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6223: OE_Order_Util.Get_Attribute_Name('wh_update_date'));

Line 6224: OE_MSG_PUB.Add;

6220:
6221: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6222: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6223: OE_Order_Util.Get_Attribute_Name('wh_update_date'));
6224: OE_MSG_PUB.Add;
6225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6226:
6227: END IF;
6228:

Line 6225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6221: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6222: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6223: OE_Order_Util.Get_Attribute_Name('wh_update_date'));
6224: OE_MSG_PUB.Add;
6225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6226:
6227: END IF;
6228:
6229:

Line 6234: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6230: RETURN FALSE;
6231:
6232: WHEN OTHERS THEN
6233:
6234: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6235: THEN
6236: OE_MSG_PUB.Add_Exc_Msg
6237: ( G_PKG_NAME
6238: , 'Wh_Update_Date'

Line 6236: OE_MSG_PUB.Add_Exc_Msg

6232: WHEN OTHERS THEN
6233:
6234: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6235: THEN
6236: OE_MSG_PUB.Add_Exc_Msg
6237: ( G_PKG_NAME
6238: , 'Wh_Update_Date'
6239: );
6240: END IF;

Line 6299: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6295: EXCEPTION
6296:
6297: WHEN NO_DATA_FOUND THEN
6298:
6299: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6300: THEN
6301:
6302: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_TYPE_ID');
6303:

Line 6302: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_TYPE_ID');

6298:
6299: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6300: THEN
6301:
6302: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_TYPE_ID');
6303:
6304: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6305: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6306: OE_Order_Util.Get_Attribute_Name('line_type_id'));

Line 6307: OE_MSG_PUB.Add;

6303:
6304: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6305: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6306: OE_Order_Util.Get_Attribute_Name('line_type_id'));
6307: OE_MSG_PUB.Add;
6308: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6309:
6310: END IF;
6311:

Line 6308: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6304: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6305: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6306: OE_Order_Util.Get_Attribute_Name('line_type_id'));
6307: OE_MSG_PUB.Add;
6308: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6309:
6310: END IF;
6311:
6312:

Line 6317: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6313: RETURN FALSE;
6314:
6315: WHEN OTHERS THEN
6316:
6317: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6318: THEN
6319: OE_MSG_PUB.Add_Exc_Msg
6320: ( G_PKG_NAME
6321: , 'Line_Type'

Line 6319: OE_MSG_PUB.Add_Exc_Msg

6315: WHEN OTHERS THEN
6316:
6317: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6318: THEN
6319: OE_MSG_PUB.Add_Exc_Msg
6320: ( G_PKG_NAME
6321: , 'Line_Type'
6322: );
6323: END IF;

Line 6356: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6352: EXCEPTION
6353:
6354: WHEN NO_DATA_FOUND THEN
6355:
6356: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6357: THEN
6358:
6359: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_NUMBER');
6360:

Line 6359: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_NUMBER');

6355:
6356: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6357: THEN
6358:
6359: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_NUMBER');
6360:
6361: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6362: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6363: OE_Order_Util.Get_Attribute_Name('line_number'));

Line 6364: OE_MSG_PUB.Add;

6360:
6361: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6362: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6363: OE_Order_Util.Get_Attribute_Name('line_number'));
6364: OE_MSG_PUB.Add;
6365: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6366:
6367: END IF;
6368:

Line 6365: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6361: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6362: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6363: OE_Order_Util.Get_Attribute_Name('line_number'));
6364: OE_MSG_PUB.Add;
6365: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6366:
6367: END IF;
6368:
6369:

Line 6374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6370: RETURN FALSE;
6371:
6372: WHEN OTHERS THEN
6373:
6374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6375: THEN
6376: OE_MSG_PUB.Add_Exc_Msg
6377: ( G_PKG_NAME
6378: , 'Line_Number'

Line 6376: OE_MSG_PUB.Add_Exc_Msg

6372: WHEN OTHERS THEN
6373:
6374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6375: THEN
6376: OE_MSG_PUB.Add_Exc_Msg
6377: ( G_PKG_NAME
6378: , 'Line_Number'
6379: );
6380: END IF;

Line 6413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6409: EXCEPTION
6410:
6411: WHEN NO_DATA_FOUND THEN
6412:
6413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6414: THEN
6415:
6416: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM_ID');
6417:

Line 6416: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM_ID');

6412:
6413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6414: THEN
6415:
6416: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM_ID');
6417:
6418: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6419: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6420: OE_Order_Util.Get_Attribute_Name('ordered_item_id'));

Line 6421: OE_MSG_PUB.Add;

6417:
6418: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6419: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6420: OE_Order_Util.Get_Attribute_Name('ordered_item_id'));
6421: OE_MSG_PUB.Add;
6422: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6423:
6424: END IF;
6425:

Line 6422: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6418: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6419: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6420: OE_Order_Util.Get_Attribute_Name('ordered_item_id'));
6421: OE_MSG_PUB.Add;
6422: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6423:
6424: END IF;
6425:
6426:

Line 6431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6427: RETURN FALSE;
6428:
6429: WHEN OTHERS THEN
6430:
6431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6432: THEN
6433: OE_MSG_PUB.Add_Exc_Msg
6434: ( G_PKG_NAME
6435: , 'Ordered_Item_Id'

Line 6433: OE_MSG_PUB.Add_Exc_Msg

6429: WHEN OTHERS THEN
6430:
6431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6432: THEN
6433: OE_MSG_PUB.Add_Exc_Msg
6434: ( G_PKG_NAME
6435: , 'Ordered_Item_Id'
6436: );
6437: END IF;

Line 6470: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6466: EXCEPTION
6467:
6468: WHEN NO_DATA_FOUND THEN
6469:
6470: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6471: THEN
6472:
6473: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_IDENTIFIER_TYPE');
6474:

Line 6473: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_IDENTIFIER_TYPE');

6469:
6470: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6471: THEN
6472:
6473: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_IDENTIFIER_TYPE');
6474:
6475: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6476: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6477: OE_Order_Util.Get_Attribute_Name('item_identifier_type'));

Line 6478: OE_MSG_PUB.Add;

6474:
6475: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6476: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6477: OE_Order_Util.Get_Attribute_Name('item_identifier_type'));
6478: OE_MSG_PUB.Add;
6479: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6480:
6481: END IF;
6482:

Line 6479: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6475: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6476: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6477: OE_Order_Util.Get_Attribute_Name('item_identifier_type'));
6478: OE_MSG_PUB.Add;
6479: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6480:
6481: END IF;
6482:
6483:

Line 6488: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6484: RETURN FALSE;
6485:
6486: WHEN OTHERS THEN
6487:
6488: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6489: THEN
6490: OE_MSG_PUB.Add_Exc_Msg
6491: ( G_PKG_NAME
6492: , 'Item_Identifier_Type'

Line 6490: OE_MSG_PUB.Add_Exc_Msg

6486: WHEN OTHERS THEN
6487:
6488: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6489: THEN
6490: OE_MSG_PUB.Add_Exc_Msg
6491: ( G_PKG_NAME
6492: , 'Item_Identifier_Type'
6493: );
6494: END IF;

Line 6527: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6523: EXCEPTION
6524:
6525: WHEN NO_DATA_FOUND THEN
6526:
6527: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6528: THEN
6529:
6530: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM');
6531:

Line 6530: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM');

6526:
6527: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6528: THEN
6529:
6530: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM');
6531:
6532: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6533: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6534: OE_Order_Util.Get_Attribute_Name('ordered_item'));

Line 6535: OE_MSG_PUB.Add;

6531:
6532: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6533: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6534: OE_Order_Util.Get_Attribute_Name('ordered_item'));
6535: OE_MSG_PUB.Add;
6536: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6537:
6538: END IF;
6539:

Line 6536: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6532: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6533: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6534: OE_Order_Util.Get_Attribute_Name('ordered_item'));
6535: OE_MSG_PUB.Add;
6536: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6537:
6538: END IF;
6539:
6540:

Line 6545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6541: RETURN FALSE;
6542:
6543: WHEN OTHERS THEN
6544:
6545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6546: THEN
6547: OE_MSG_PUB.Add_Exc_Msg
6548: ( G_PKG_NAME
6549: , 'Ordered_Item'

Line 6547: OE_MSG_PUB.Add_Exc_Msg

6543: WHEN OTHERS THEN
6544:
6545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6546: THEN
6547: OE_MSG_PUB.Add_Exc_Msg
6548: ( G_PKG_NAME
6549: , 'Ordered_Item'
6550: );
6551: END IF;

Line 6584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6580: EXCEPTION
6581:
6582: WHEN NO_DATA_FOUND THEN
6583:
6584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6585: THEN
6586:
6587: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_REQUESTED');
6588:

Line 6587: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_REQUESTED');

6583:
6584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6585: THEN
6586:
6587: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_REQUESTED');
6588:
6589: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6590: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6591: OE_Order_Util.Get_Attribute_Name('date_and_time_requested'));

Line 6592: OE_MSG_PUB.Add;

6588:
6589: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6590: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6591: OE_Order_Util.Get_Attribute_Name('date_and_time_requested'));
6592: OE_MSG_PUB.Add;
6593: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6594:
6595: END IF;
6596:

Line 6593: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6589: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6590: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6591: OE_Order_Util.Get_Attribute_Name('date_and_time_requested'));
6592: OE_MSG_PUB.Add;
6593: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6594:
6595: END IF;
6596:
6597:

Line 6602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6598: RETURN FALSE;
6599:
6600: WHEN OTHERS THEN
6601:
6602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6603: THEN
6604: OE_MSG_PUB.Add_Exc_Msg
6605: ( G_PKG_NAME
6606: , 'Date_And_Time_Requested'

Line 6604: OE_MSG_PUB.Add_Exc_Msg

6600: WHEN OTHERS THEN
6601:
6602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6603: THEN
6604: OE_MSG_PUB.Add_Exc_Msg
6605: ( G_PKG_NAME
6606: , 'Date_And_Time_Requested'
6607: );
6608: END IF;

Line 6641: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6637: EXCEPTION
6638:
6639: WHEN NO_DATA_FOUND THEN
6640:
6641: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6642: THEN
6643:
6644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_PROMISED');
6645:

Line 6644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_PROMISED');

6640:
6641: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6642: THEN
6643:
6644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_PROMISED');
6645:
6646: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6647: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6648: OE_Order_Util.Get_Attribute_Name('date_and_time_promised'));

Line 6649: OE_MSG_PUB.Add;

6645:
6646: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6647: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6648: OE_Order_Util.Get_Attribute_Name('date_and_time_promised'));
6649: OE_MSG_PUB.Add;
6650: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6651:
6652: END IF;
6653:

Line 6650: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6646: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6647: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6648: OE_Order_Util.Get_Attribute_Name('date_and_time_promised'));
6649: OE_MSG_PUB.Add;
6650: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6651:
6652: END IF;
6653:
6654:

Line 6659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6655: RETURN FALSE;
6656:
6657: WHEN OTHERS THEN
6658:
6659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6660: THEN
6661: OE_MSG_PUB.Add_Exc_Msg
6662: ( G_PKG_NAME
6663: , 'Date_And_Time_Promised'

Line 6661: OE_MSG_PUB.Add_Exc_Msg

6657: WHEN OTHERS THEN
6658:
6659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6660: THEN
6661: OE_MSG_PUB.Add_Exc_Msg
6662: ( G_PKG_NAME
6663: , 'Date_And_Time_Promised'
6664: );
6665: END IF;

Line 6698: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6694: EXCEPTION
6695:
6696: WHEN NO_DATA_FOUND THEN
6697:
6698: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6699: THEN
6700:
6701: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_SCHEDULED');
6702:

Line 6701: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_SCHEDULED');

6697:
6698: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6699: THEN
6700:
6701: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_SCHEDULED');
6702:
6703: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6704: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6705: OE_Order_Util.Get_Attribute_Name('date_and_time_scheduled'));

Line 6706: OE_MSG_PUB.Add;

6702:
6703: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6704: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6705: OE_Order_Util.Get_Attribute_Name('date_and_time_scheduled'));
6706: OE_MSG_PUB.Add;
6707: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6708:
6709: END IF;
6710:

Line 6707: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6703: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6704: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6705: OE_Order_Util.Get_Attribute_Name('date_and_time_scheduled'));
6706: OE_MSG_PUB.Add;
6707: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6708:
6709: END IF;
6710:
6711:

Line 6716: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6712: RETURN FALSE;
6713:
6714: WHEN OTHERS THEN
6715:
6716: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6717: THEN
6718: OE_MSG_PUB.Add_Exc_Msg
6719: ( G_PKG_NAME
6720: , 'Date_And_Time_Scheduled'

Line 6718: OE_MSG_PUB.Add_Exc_Msg

6714: WHEN OTHERS THEN
6715:
6716: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6717: THEN
6718: OE_MSG_PUB.Add_Exc_Msg
6719: ( G_PKG_NAME
6720: , 'Date_And_Time_Scheduled'
6721: );
6722: END IF;

Line 6755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6751: EXCEPTION
6752:
6753: WHEN NO_DATA_FOUND THEN
6754:
6755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6756: THEN
6757:
6758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_QUANTITY_UOM');
6759:

Line 6758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_QUANTITY_UOM');

6754:
6755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6756: THEN
6757:
6758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_QUANTITY_UOM');
6759:
6760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6762: OE_Order_Util.Get_Attribute_Name('order_quantity_uom'));

Line 6763: OE_MSG_PUB.Add;

6759:
6760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6762: OE_Order_Util.Get_Attribute_Name('order_quantity_uom'));
6763: OE_MSG_PUB.Add;
6764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6765:
6766: END IF;
6767:

Line 6764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6762: OE_Order_Util.Get_Attribute_Name('order_quantity_uom'));
6763: OE_MSG_PUB.Add;
6764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6765:
6766: END IF;
6767:
6768:

Line 6773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6769: RETURN FALSE;
6770:
6771: WHEN OTHERS THEN
6772:
6773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6774: THEN
6775: OE_MSG_PUB.Add_Exc_Msg
6776: ( G_PKG_NAME
6777: , 'Order_Quantity_Uom'

Line 6775: OE_MSG_PUB.Add_Exc_Msg

6771: WHEN OTHERS THEN
6772:
6773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6774: THEN
6775: OE_MSG_PUB.Add_Exc_Msg
6776: ( G_PKG_NAME
6777: , 'Order_Quantity_Uom'
6778: );
6779: END IF;

Line 6808: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6804: EXCEPTION
6805:
6806: WHEN NO_DATA_FOUND THEN
6807:
6808: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6809: THEN
6810:
6811: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY_UOM2');
6812:

Line 6811: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY_UOM2');

6807:
6808: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6809: THEN
6810:
6811: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY_UOM2');
6812:
6813: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6814: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6815: OE_Order_Util.Get_Attribute_Name('ordered_quantity_uom2'));

Line 6816: OE_MSG_PUB.Add;

6812:
6813: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6814: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6815: OE_Order_Util.Get_Attribute_Name('ordered_quantity_uom2'));
6816: OE_MSG_PUB.Add;
6817: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6818:
6819: END IF;
6820:

Line 6817: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6813: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6814: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6815: OE_Order_Util.Get_Attribute_Name('ordered_quantity_uom2'));
6816: OE_MSG_PUB.Add;
6817: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6818:
6819: END IF;
6820:
6821:

Line 6826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6822: RETURN FALSE;
6823:
6824: WHEN OTHERS THEN
6825:
6826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6827: THEN
6828: OE_MSG_PUB.Add_Exc_Msg
6829: ( G_PKG_NAME
6830: , 'Ordered_Quantity_Uom2'

Line 6828: OE_MSG_PUB.Add_Exc_Msg

6824: WHEN OTHERS THEN
6825:
6826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6827: THEN
6828: OE_MSG_PUB.Add_Exc_Msg
6829: ( G_PKG_NAME
6830: , 'Ordered_Quantity_Uom2'
6831: );
6832: END IF;

Line 6870: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6866: EXCEPTION
6867:
6868: WHEN NO_DATA_FOUND THEN
6869:
6870: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6871: THEN
6872:
6873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREFERRED_GRADE');
6874:

Line 6873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREFERRED_GRADE');

6869:
6870: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6871: THEN
6872:
6873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREFERRED_GRADE');
6874:
6875: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6876: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6877: OE_Order_Util.Get_Attribute_Name('preferred_grade'));

Line 6878: OE_MSG_PUB.Add;

6874:
6875: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6876: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6877: OE_Order_Util.Get_Attribute_Name('preferred_grade'));
6878: OE_MSG_PUB.Add;
6879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6880:
6881: END IF;
6882:

Line 6879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6875: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6876: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6877: OE_Order_Util.Get_Attribute_Name('preferred_grade'));
6878: OE_MSG_PUB.Add;
6879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6880:
6881: END IF;
6882:
6883:

Line 6888: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6884: RETURN FALSE;
6885:
6886: WHEN OTHERS THEN
6887:
6888: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6889: THEN
6890: IF l_debug_level > 0 THEN
6891: oe_debug_pub.add('OPM preferred_grade exception in VATB', 1);
6892: END IF;

Line 6893: OE_MSG_PUB.Add_Exc_Msg

6889: THEN
6890: IF l_debug_level > 0 THEN
6891: oe_debug_pub.add('OPM preferred_grade exception in VATB', 1);
6892: END IF;
6893: OE_MSG_PUB.Add_Exc_Msg
6894: ( G_PKG_NAME
6895: , 'Preferred_Grade'
6896: );
6897: END IF;

Line 6929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6925: EXCEPTION
6926:
6927: WHEN NO_DATA_FOUND THEN
6928:
6929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6930: THEN
6931:
6932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_REQUEST_CODE');
6933:

Line 6932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_REQUEST_CODE');

6928:
6929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6930: THEN
6931:
6932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_REQUEST_CODE');
6933:
6934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6936: OE_Order_Util.Get_Attribute_Name('price_request_code'));

Line 6937: OE_MSG_PUB.Add;

6933:
6934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6936: OE_Order_Util.Get_Attribute_Name('price_request_code'));
6937: OE_MSG_PUB.Add;
6938: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6939:
6940: END IF;
6941:

Line 6938: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6936: OE_Order_Util.Get_Attribute_Name('price_request_code'));
6937: OE_MSG_PUB.Add;
6938: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6939:
6940: END IF;
6941:
6942:

Line 6947: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6943: RETURN FALSE;
6944:
6945: WHEN OTHERS THEN
6946:
6947: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6948: THEN
6949: OE_MSG_PUB.Add_Exc_Msg
6950: ( G_PKG_NAME
6951: , 'Price_Request_Code'

Line 6949: OE_MSG_PUB.Add_Exc_Msg

6945: WHEN OTHERS THEN
6946:
6947: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6948: THEN
6949: OE_MSG_PUB.Add_Exc_Msg
6950: ( G_PKG_NAME
6951: , 'Price_Request_Code'
6952: );
6953: END IF;

Line 6988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6984: EXCEPTION
6985:
6986: WHEN NO_DATA_FOUND THEN
6987:
6988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6989: THEN
6990:
6991: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY');
6992:

Line 6991: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY');

6987:
6988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6989: THEN
6990:
6991: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY');
6992:
6993: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6994: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6995: OE_Order_Util.Get_Attribute_Name('pricing_quantity'));

Line 6996: OE_MSG_PUB.Add;

6992:
6993: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6994: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6995: OE_Order_Util.Get_Attribute_Name('pricing_quantity'));
6996: OE_MSG_PUB.Add;
6997: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6998:
6999: END IF;
7000:

Line 6997: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6993: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6994: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6995: OE_Order_Util.Get_Attribute_Name('pricing_quantity'));
6996: OE_MSG_PUB.Add;
6997: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6998:
6999: END IF;
7000:
7001:

Line 7006: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7002: RETURN FALSE;
7003:
7004: WHEN OTHERS THEN
7005:
7006: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7007: THEN
7008: OE_MSG_PUB.Add_Exc_Msg
7009: ( G_PKG_NAME
7010: , 'Pricing_Quantity'

Line 7008: OE_MSG_PUB.Add_Exc_Msg

7004: WHEN OTHERS THEN
7005:
7006: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7007: THEN
7008: OE_MSG_PUB.Add_Exc_Msg
7009: ( G_PKG_NAME
7010: , 'Pricing_Quantity'
7011: );
7012: END IF;

Line 7045: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7041: EXCEPTION
7042:
7043: WHEN NO_DATA_FOUND THEN
7044:
7045: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7046: THEN
7047:
7048: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY_UOM');
7049:

Line 7048: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY_UOM');

7044:
7045: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7046: THEN
7047:
7048: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY_UOM');
7049:
7050: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7051: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7052: OE_Order_Util.Get_Attribute_Name('pricing_quantity_uom'));

Line 7053: OE_MSG_PUB.Add;

7049:
7050: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7051: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7052: OE_Order_Util.Get_Attribute_Name('pricing_quantity_uom'));
7053: OE_MSG_PUB.Add;
7054: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7055:
7056: END IF;
7057:

Line 7054: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7050: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7051: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7052: OE_Order_Util.Get_Attribute_Name('pricing_quantity_uom'));
7053: OE_MSG_PUB.Add;
7054: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7055:
7056: END IF;
7057:
7058:

Line 7063: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7059: RETURN FALSE;
7060:
7061: WHEN OTHERS THEN
7062:
7063: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7064: THEN
7065: OE_MSG_PUB.Add_Exc_Msg
7066: ( G_PKG_NAME
7067: , 'Pricing_Quantity_Uom'

Line 7065: OE_MSG_PUB.Add_Exc_Msg

7061: WHEN OTHERS THEN
7062:
7063: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7064: THEN
7065: OE_MSG_PUB.Add_Exc_Msg
7066: ( G_PKG_NAME
7067: , 'Pricing_Quantity_Uom'
7068: );
7069: END IF;

Line 7102: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7098: EXCEPTION
7099:
7100: WHEN NO_DATA_FOUND THEN
7101:
7102: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7103: THEN
7104:
7105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_CANCELLED');
7106:

Line 7105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_CANCELLED');

7101:
7102: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7103: THEN
7104:
7105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_CANCELLED');
7106:
7107: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7108: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7109: OE_Order_Util.Get_Attribute_Name('quantity_cancelled'));

Line 7110: OE_MSG_PUB.Add;

7106:
7107: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7108: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7109: OE_Order_Util.Get_Attribute_Name('quantity_cancelled'));
7110: OE_MSG_PUB.Add;
7111: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7112:
7113: END IF;
7114:

Line 7111: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7107: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7108: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7109: OE_Order_Util.Get_Attribute_Name('quantity_cancelled'));
7110: OE_MSG_PUB.Add;
7111: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7112:
7113: END IF;
7114:
7115:

Line 7120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7116: RETURN FALSE;
7117:
7118: WHEN OTHERS THEN
7119:
7120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7121: THEN
7122: OE_MSG_PUB.Add_Exc_Msg
7123: ( G_PKG_NAME
7124: , 'Quantity_Cancelled'

Line 7122: OE_MSG_PUB.Add_Exc_Msg

7118: WHEN OTHERS THEN
7119:
7120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7121: THEN
7122: OE_MSG_PUB.Add_Exc_Msg
7123: ( G_PKG_NAME
7124: , 'Quantity_Cancelled'
7125: );
7126: END IF;

Line 7159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7155: EXCEPTION
7156:
7157: WHEN NO_DATA_FOUND THEN
7158:
7159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7160: THEN
7161:
7162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_SHIPPED');
7163:

Line 7162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_SHIPPED');

7158:
7159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7160: THEN
7161:
7162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_SHIPPED');
7163:
7164: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7165: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7166: OE_Order_Util.Get_Attribute_Name('quantity_shipped'));

Line 7167: OE_MSG_PUB.Add;

7163:
7164: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7165: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7166: OE_Order_Util.Get_Attribute_Name('quantity_shipped'));
7167: OE_MSG_PUB.Add;
7168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7169:
7170: END IF;
7171:

Line 7168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7164: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7165: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7166: OE_Order_Util.Get_Attribute_Name('quantity_shipped'));
7167: OE_MSG_PUB.Add;
7168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7169:
7170: END IF;
7171:
7172:

Line 7177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7173: RETURN FALSE;
7174:
7175: WHEN OTHERS THEN
7176:
7177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7178: THEN
7179: OE_MSG_PUB.Add_Exc_Msg
7180: ( G_PKG_NAME
7181: , 'Quantity_Shipped'

Line 7179: OE_MSG_PUB.Add_Exc_Msg

7175: WHEN OTHERS THEN
7176:
7177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7178: THEN
7179: OE_MSG_PUB.Add_Exc_Msg
7180: ( G_PKG_NAME
7181: , 'Quantity_Shipped'
7182: );
7183: END IF;

Line 7216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7212: EXCEPTION
7213:
7214: WHEN NO_DATA_FOUND THEN
7215:
7216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7217: THEN
7218:
7219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_ORDERED');
7220:

Line 7219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_ORDERED');

7215:
7216: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7217: THEN
7218:
7219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_ORDERED');
7220:
7221: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7222: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7223: OE_Order_Util.Get_Attribute_Name('quantity_ordered'));

Line 7224: OE_MSG_PUB.Add;

7220:
7221: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7222: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7223: OE_Order_Util.Get_Attribute_Name('quantity_ordered'));
7224: OE_MSG_PUB.Add;
7225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7226:
7227: END IF;
7228:

Line 7225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7221: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7222: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7223: OE_Order_Util.Get_Attribute_Name('quantity_ordered'));
7224: OE_MSG_PUB.Add;
7225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7226:
7227: END IF;
7228:
7229:

Line 7234: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7230: RETURN FALSE;
7231:
7232: WHEN OTHERS THEN
7233:
7234: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7235: THEN
7236: OE_MSG_PUB.Add_Exc_Msg
7237: ( G_PKG_NAME
7238: , 'Quantity_Ordered'

Line 7236: OE_MSG_PUB.Add_Exc_Msg

7232: WHEN OTHERS THEN
7233:
7234: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7235: THEN
7236: OE_MSG_PUB.Add_Exc_Msg
7237: ( G_PKG_NAME
7238: , 'Quantity_Ordered'
7239: );
7240: END IF;

Line 7273: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7269: EXCEPTION
7270:
7271: WHEN NO_DATA_FOUND THEN
7272:
7273: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7274: THEN
7275:
7276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_FULFILLED');
7277:

Line 7276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_FULFILLED');

7272:
7273: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7274: THEN
7275:
7276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_FULFILLED');
7277:
7278: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7279: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7280: OE_Order_Util.Get_Attribute_Name('quantity_fulfilled'));

Line 7281: OE_MSG_PUB.Add;

7277:
7278: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7279: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7280: OE_Order_Util.Get_Attribute_Name('quantity_fulfilled'));
7281: OE_MSG_PUB.Add;
7282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7283:
7284: END IF;
7285:

Line 7282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7278: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7279: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7280: OE_Order_Util.Get_Attribute_Name('quantity_fulfilled'));
7281: OE_MSG_PUB.Add;
7282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7283:
7284: END IF;
7285:
7286:

Line 7291: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7287: RETURN FALSE;
7288:
7289: WHEN OTHERS THEN
7290:
7291: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7292: THEN
7293: OE_MSG_PUB.Add_Exc_Msg
7294: ( G_PKG_NAME
7295: , 'Quantity_Fulfilled'

Line 7293: OE_MSG_PUB.Add_Exc_Msg

7289: WHEN OTHERS THEN
7290:
7291: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7292: THEN
7293: OE_MSG_PUB.Add_Exc_Msg
7294: ( G_PKG_NAME
7295: , 'Quantity_Fulfilled'
7296: );
7297: END IF;

Line 7333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7329: EXCEPTION
7330:
7331: WHEN NO_DATA_FOUND THEN
7332:
7333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7334: THEN
7335:
7336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_FLAG');
7337:

Line 7336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_FLAG');

7332:
7333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7334: THEN
7335:
7336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_FLAG');
7337:
7338: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7339: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7340: OE_Order_Util.Get_Attribute_Name('fulfilled_flag'));

Line 7341: OE_MSG_PUB.Add;

7337:
7338: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7339: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7340: OE_Order_Util.Get_Attribute_Name('fulfilled_flag'));
7341: OE_MSG_PUB.Add;
7342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7343:
7344: END IF;
7345:

Line 7342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7338: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7339: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7340: OE_Order_Util.Get_Attribute_Name('fulfilled_flag'));
7341: OE_MSG_PUB.Add;
7342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7343:
7344: END IF;
7345:
7346:

Line 7351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7347: RETURN FALSE;
7348:
7349: WHEN OTHERS THEN
7350:
7351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7352: THEN
7353: OE_MSG_PUB.Add_Exc_Msg
7354: ( G_PKG_NAME
7355: , 'Fulfilled'

Line 7353: OE_MSG_PUB.Add_Exc_Msg

7349: WHEN OTHERS THEN
7350:
7351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7352: THEN
7353: OE_MSG_PUB.Add_Exc_Msg
7354: ( G_PKG_NAME
7355: , 'Fulfilled'
7356: );
7357: END IF;

Line 7395: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7391: EXCEPTION
7392:
7393: WHEN NO_DATA_FOUND THEN
7394:
7395: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7396: THEN
7397:
7398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CALCULATE_PRICE_FLAG');
7399:

Line 7398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CALCULATE_PRICE_FLAG');

7394:
7395: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7396: THEN
7397:
7398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CALCULATE_PRICE_FLAG');
7399:
7400: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7401: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7402: OE_Order_Util.Get_Attribute_Name('calculate_price_flag'));

Line 7403: OE_MSG_PUB.Add;

7399:
7400: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7401: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7402: OE_Order_Util.Get_Attribute_Name('calculate_price_flag'));
7403: OE_MSG_PUB.Add;
7404: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7405:
7406: END IF;
7407:

Line 7404: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7400: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7401: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7402: OE_Order_Util.Get_Attribute_Name('calculate_price_flag'));
7403: OE_MSG_PUB.Add;
7404: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7405:
7406: END IF;
7407:
7408:

Line 7413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7409: RETURN FALSE;
7410:
7411: WHEN OTHERS THEN
7412:
7413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7414: THEN
7415: OE_MSG_PUB.Add_Exc_Msg
7416: ( G_PKG_NAME
7417: , 'Calculate_Price_Flag'

Line 7415: OE_MSG_PUB.Add_Exc_Msg

7411: WHEN OTHERS THEN
7412:
7413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7414: THEN
7415: OE_MSG_PUB.Add_Exc_Msg
7416: ( G_PKG_NAME
7417: , 'Calculate_Price_Flag'
7418: );
7419: END IF;

Line 7452: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7448: EXCEPTION
7449:
7450: WHEN NO_DATA_FOUND THEN
7451:
7452: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7453: THEN
7454:
7455: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_METHOD_CODE');
7456:

Line 7455: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_METHOD_CODE');

7451:
7452: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7453: THEN
7454:
7455: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_METHOD_CODE');
7456:
7457: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7458: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7459: OE_Order_Util.Get_Attribute_Name('fulfillment_method_code'));

Line 7460: OE_MSG_PUB.Add;

7456:
7457: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7458: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7459: OE_Order_Util.Get_Attribute_Name('fulfillment_method_code'));
7460: OE_MSG_PUB.Add;
7461: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7462:
7463: END IF;
7464:

Line 7461: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7457: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7458: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7459: OE_Order_Util.Get_Attribute_Name('fulfillment_method_code'));
7460: OE_MSG_PUB.Add;
7461: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7462:
7463: END IF;
7464:
7465:

Line 7470: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7466: RETURN FALSE;
7467:
7468: WHEN OTHERS THEN
7469:
7470: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7471: THEN
7472: OE_MSG_PUB.Add_Exc_Msg
7473: ( G_PKG_NAME
7474: , 'Fulfillment_Method'

Line 7472: OE_MSG_PUB.Add_Exc_Msg

7468: WHEN OTHERS THEN
7469:
7470: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7471: THEN
7472: OE_MSG_PUB.Add_Exc_Msg
7473: ( G_PKG_NAME
7474: , 'Fulfillment_Method'
7475: );
7476: END IF;

Line 7508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7504: EXCEPTION
7505:
7506: WHEN NO_DATA_FOUND THEN
7507:
7508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7509: THEN
7510:
7511: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_DATE');
7512:

Line 7511: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_DATE');

7507:
7508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7509: THEN
7510:
7511: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_DATE');
7512:
7513: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7514: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7515: OE_Order_Util.Get_Attribute_Name('fulfillment_date'));

Line 7516: OE_MSG_PUB.Add;

7512:
7513: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7514: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7515: OE_Order_Util.Get_Attribute_Name('fulfillment_date'));
7516: OE_MSG_PUB.Add;
7517: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7518:
7519: END IF;
7520:

Line 7517: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7513: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7514: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7515: OE_Order_Util.Get_Attribute_Name('fulfillment_date'));
7516: OE_MSG_PUB.Add;
7517: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7518:
7519: END IF;
7520:
7521:

Line 7526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7522: RETURN FALSE;
7523:
7524: WHEN OTHERS THEN
7525:
7526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7527: THEN
7528: OE_MSG_PUB.Add_Exc_Msg
7529: ( G_PKG_NAME
7530: , 'Fulfillment_Date'

Line 7528: OE_MSG_PUB.Add_Exc_Msg

7524: WHEN OTHERS THEN
7525:
7526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7527: THEN
7528: OE_MSG_PUB.Add_Exc_Msg
7529: ( G_PKG_NAME
7530: , 'Fulfillment_Date'
7531: );
7532: END IF;

Line 7565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7561: EXCEPTION
7562:
7563: WHEN NO_DATA_FOUND THEN
7564:
7565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7566: THEN
7567:
7568: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY');
7569:

Line 7568: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY');

7564:
7565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7566: THEN
7567:
7568: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY');
7569:
7570: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7571: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7572: OE_Order_Util.Get_Attribute_Name('shipping_quantity'));

Line 7573: OE_MSG_PUB.Add;

7569:
7570: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7571: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7572: OE_Order_Util.Get_Attribute_Name('shipping_quantity'));
7573: OE_MSG_PUB.Add;
7574: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7575:
7576: END IF;
7577:

Line 7574: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7570: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7571: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7572: OE_Order_Util.Get_Attribute_Name('shipping_quantity'));
7573: OE_MSG_PUB.Add;
7574: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7575:
7576: END IF;
7577:
7578:

Line 7583: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7579: RETURN FALSE;
7580:
7581: WHEN OTHERS THEN
7582:
7583: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7584: THEN
7585: OE_MSG_PUB.Add_Exc_Msg
7586: ( G_PKG_NAME
7587: , 'Shipping_Quantity'

Line 7585: OE_MSG_PUB.Add_Exc_Msg

7581: WHEN OTHERS THEN
7582:
7583: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7584: THEN
7585: OE_MSG_PUB.Add_Exc_Msg
7586: ( G_PKG_NAME
7587: , 'Shipping_Quantity'
7588: );
7589: END IF;

Line 7622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7618: EXCEPTION
7619:
7620: WHEN NO_DATA_FOUND THEN
7621:
7622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7623: THEN
7624:
7625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM');
7626:

Line 7625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM');

7621:
7622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7623: THEN
7624:
7625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM');
7626:
7627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7629: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom'));

Line 7630: OE_MSG_PUB.Add;

7626:
7627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7629: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom'));
7630: OE_MSG_PUB.Add;
7631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7632:
7633: END IF;
7634:

Line 7631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7629: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom'));
7630: OE_MSG_PUB.Add;
7631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7632:
7633: END IF;
7634:
7635:

Line 7640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7636: RETURN FALSE;
7637:
7638: WHEN OTHERS THEN
7639:
7640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7641: THEN
7642: OE_MSG_PUB.Add_Exc_Msg
7643: ( G_PKG_NAME
7644: , 'Shipping_Quantity_Uom'

Line 7642: OE_MSG_PUB.Add_Exc_Msg

7638: WHEN OTHERS THEN
7639:
7640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7641: THEN
7642: OE_MSG_PUB.Add_Exc_Msg
7643: ( G_PKG_NAME
7644: , 'Shipping_Quantity_Uom'
7645: );
7646: END IF;

Line 7679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7675: EXCEPTION
7676:
7677: WHEN NO_DATA_FOUND THEN
7678:
7679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7680: THEN
7681:
7682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVERY_LEAD_TIME');
7683:

Line 7682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVERY_LEAD_TIME');

7678:
7679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7680: THEN
7681:
7682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVERY_LEAD_TIME');
7683:
7684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7686: OE_Order_Util.Get_Attribute_Name('delivery_lead_time'));

Line 7687: OE_MSG_PUB.Add;

7683:
7684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7686: OE_Order_Util.Get_Attribute_Name('delivery_lead_time'));
7687: OE_MSG_PUB.Add;
7688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7689:
7690: END IF;
7691:

Line 7688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7686: OE_Order_Util.Get_Attribute_Name('delivery_lead_time'));
7687: OE_MSG_PUB.Add;
7688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7689:
7690: END IF;
7691:
7692:

Line 7697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7693: RETURN FALSE;
7694:
7695: WHEN OTHERS THEN
7696:
7697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7698: THEN
7699: OE_MSG_PUB.Add_Exc_Msg
7700: ( G_PKG_NAME
7701: , 'Delivery_Lead_Time'

Line 7699: OE_MSG_PUB.Add_Exc_Msg

7695: WHEN OTHERS THEN
7696:
7697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7698: THEN
7699: OE_MSG_PUB.Add_Exc_Msg
7700: ( G_PKG_NAME
7701: , 'Delivery_Lead_Time'
7702: );
7703: END IF;

Line 7736: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7732: EXCEPTION
7733:
7734: WHEN NO_DATA_FOUND THEN
7735:
7736: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7737: THEN
7738:
7739: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_BUCKET_TYPE');
7740:

Line 7739: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_BUCKET_TYPE');

7735:
7736: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7737: THEN
7738:
7739: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_BUCKET_TYPE');
7740:
7741: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7742: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7743: OE_Order_Util.Get_Attribute_Name('demand_bucket_type'));

Line 7744: OE_MSG_PUB.Add;

7740:
7741: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7742: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7743: OE_Order_Util.Get_Attribute_Name('demand_bucket_type'));
7744: OE_MSG_PUB.Add;
7745: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7746:
7747: END IF;
7748:

Line 7745: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7741: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7742: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7743: OE_Order_Util.Get_Attribute_Name('demand_bucket_type'));
7744: OE_MSG_PUB.Add;
7745: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7746:
7747: END IF;
7748:
7749:

Line 7754: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7750: RETURN FALSE;
7751:
7752: WHEN OTHERS THEN
7753:
7754: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7755: THEN
7756: OE_MSG_PUB.Add_Exc_Msg
7757: ( G_PKG_NAME
7758: , 'Demand_Bucket_Type'

Line 7756: OE_MSG_PUB.Add_Exc_Msg

7752: WHEN OTHERS THEN
7753:
7754: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7755: THEN
7756: OE_MSG_PUB.Add_Exc_Msg
7757: ( G_PKG_NAME
7758: , 'Demand_Bucket_Type'
7759: );
7760: END IF;

Line 7793: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7789: EXCEPTION
7790:
7791: WHEN NO_DATA_FOUND THEN
7792:
7793: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7794: THEN
7795:
7796: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ITEM_DETAIL_ID');
7797:

Line 7796: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ITEM_DETAIL_ID');

7792:
7793: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7794: THEN
7795:
7796: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ITEM_DETAIL_ID');
7797:
7798: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7799: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7800: OE_Order_Util.Get_Attribute_Name('schedule_item_detail_id'));

Line 7801: OE_MSG_PUB.Add;

7797:
7798: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7799: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7800: OE_Order_Util.Get_Attribute_Name('schedule_item_detail_id'));
7801: OE_MSG_PUB.Add;
7802: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7803:
7804: END IF;
7805:

Line 7802: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7798: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7799: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7800: OE_Order_Util.Get_Attribute_Name('schedule_item_detail_id'));
7801: OE_MSG_PUB.Add;
7802: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7803:
7804: END IF;
7805:
7806:

Line 7811: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7807: RETURN FALSE;
7808:
7809: WHEN OTHERS THEN
7810:
7811: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7812: THEN
7813: OE_MSG_PUB.Add_Exc_Msg
7814: ( G_PKG_NAME
7815: , 'Schedule_Item_Detail'

Line 7813: OE_MSG_PUB.Add_Exc_Msg

7809: WHEN OTHERS THEN
7810:
7811: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7812: THEN
7813: OE_MSG_PUB.Add_Exc_Msg
7814: ( G_PKG_NAME
7815: , 'Schedule_Item_Detail'
7816: );
7817: END IF;

Line 7850: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7846: EXCEPTION
7847:
7848: WHEN NO_DATA_FOUND THEN
7849:
7850: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7851: THEN
7852:
7853: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_STREAM_ID');
7854:

Line 7853: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_STREAM_ID');

7849:
7850: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7851: THEN
7852:
7853: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_STREAM_ID');
7854:
7855: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7856: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7857: OE_Order_Util.Get_Attribute_Name('demand_stream_id'));

Line 7858: OE_MSG_PUB.Add;

7854:
7855: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7856: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7857: OE_Order_Util.Get_Attribute_Name('demand_stream_id'));
7858: OE_MSG_PUB.Add;
7859: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7860:
7861: END IF;
7862:

Line 7859: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7855: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7856: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7857: OE_Order_Util.Get_Attribute_Name('demand_stream_id'));
7858: OE_MSG_PUB.Add;
7859: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7860:
7861: END IF;
7862:
7863:

Line 7868: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7864: RETURN FALSE;
7865:
7866: WHEN OTHERS THEN
7867:
7868: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7869: THEN
7870: OE_MSG_PUB.Add_Exc_Msg
7871: ( G_PKG_NAME
7872: , 'Demand_Stream'

Line 7870: OE_MSG_PUB.Add_Exc_Msg

7866: WHEN OTHERS THEN
7867:
7868: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7869: THEN
7870: OE_MSG_PUB.Add_Exc_Msg
7871: ( G_PKG_NAME
7872: , 'Demand_Stream'
7873: );
7874: END IF;

Line 7907: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7903: EXCEPTION
7904:
7905: WHEN NO_DATA_FOUND THEN
7906:
7907: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7908: THEN
7909:
7910: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_DOCK_CODE');
7911:

Line 7910: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_DOCK_CODE');

7906:
7907: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7908: THEN
7909:
7910: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_DOCK_CODE');
7911:
7912: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7913: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7914: OE_Order_Util.Get_Attribute_Name('cust_dock_code'));

Line 7915: OE_MSG_PUB.Add;

7911:
7912: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7913: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7914: OE_Order_Util.Get_Attribute_Name('cust_dock_code'));
7915: OE_MSG_PUB.Add;
7916: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7917:
7918: END IF;
7919:

Line 7916: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7912: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7913: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7914: OE_Order_Util.Get_Attribute_Name('cust_dock_code'));
7915: OE_MSG_PUB.Add;
7916: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7917:
7918: END IF;
7919:
7920:

Line 7925: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7921: RETURN FALSE;
7922:
7923: WHEN OTHERS THEN
7924:
7925: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7926: THEN
7927: OE_MSG_PUB.Add_Exc_Msg
7928: ( G_PKG_NAME
7929: , 'Cust_Dock'

Line 7927: OE_MSG_PUB.Add_Exc_Msg

7923: WHEN OTHERS THEN
7924:
7925: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7926: THEN
7927: OE_MSG_PUB.Add_Exc_Msg
7928: ( G_PKG_NAME
7929: , 'Cust_Dock'
7930: );
7931: END IF;

Line 7964: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7960: EXCEPTION
7961:
7962: WHEN NO_DATA_FOUND THEN
7963:
7964: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7965: THEN
7966:
7967: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_JOB');
7968:

Line 7967: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_JOB');

7963:
7964: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7965: THEN
7966:
7967: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_JOB');
7968:
7969: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7970: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7971: OE_Order_Util.Get_Attribute_Name('cust_job'));

Line 7972: OE_MSG_PUB.Add;

7968:
7969: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7970: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7971: OE_Order_Util.Get_Attribute_Name('cust_job'));
7972: OE_MSG_PUB.Add;
7973: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7974:
7975: END IF;
7976:

Line 7973: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7969: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7970: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7971: OE_Order_Util.Get_Attribute_Name('cust_job'));
7972: OE_MSG_PUB.Add;
7973: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7974:
7975: END IF;
7976:
7977:

Line 7982: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7978: RETURN FALSE;
7979:
7980: WHEN OTHERS THEN
7981:
7982: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7983: THEN
7984: OE_MSG_PUB.Add_Exc_Msg
7985: ( G_PKG_NAME
7986: , 'Cust_Job'

Line 7984: OE_MSG_PUB.Add_Exc_Msg

7980: WHEN OTHERS THEN
7981:
7982: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7983: THEN
7984: OE_MSG_PUB.Add_Exc_Msg
7985: ( G_PKG_NAME
7986: , 'Cust_Job'
7987: );
7988: END IF;

Line 8021: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8017: EXCEPTION
8018:
8019: WHEN NO_DATA_FOUND THEN
8020:
8021: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8022: THEN
8023:
8024: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_LINE');
8025:

Line 8024: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_LINE');

8020:
8021: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8022: THEN
8023:
8024: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_LINE');
8025:
8026: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8027: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8028: OE_Order_Util.Get_Attribute_Name('cust_production_line'));

Line 8029: OE_MSG_PUB.Add;

8025:
8026: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8027: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8028: OE_Order_Util.Get_Attribute_Name('cust_production_line'));
8029: OE_MSG_PUB.Add;
8030: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8031:
8032: END IF;
8033:

Line 8030: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8026: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8027: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8028: OE_Order_Util.Get_Attribute_Name('cust_production_line'));
8029: OE_MSG_PUB.Add;
8030: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8031:
8032: END IF;
8033:
8034:

Line 8039: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8035: RETURN FALSE;
8036:
8037: WHEN OTHERS THEN
8038:
8039: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8040: THEN
8041: OE_MSG_PUB.Add_Exc_Msg
8042: ( G_PKG_NAME
8043: , 'Cust_Production_Line'

Line 8041: OE_MSG_PUB.Add_Exc_Msg

8037: WHEN OTHERS THEN
8038:
8039: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8040: THEN
8041: OE_MSG_PUB.Add_Exc_Msg
8042: ( G_PKG_NAME
8043: , 'Cust_Production_Line'
8044: );
8045: END IF;

Line 8078: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8074: EXCEPTION
8075:
8076: WHEN NO_DATA_FOUND THEN
8077:
8078: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8079: THEN
8080:
8081: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_MODEL_SERIAL_NUMBER');
8082:

Line 8081: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_MODEL_SERIAL_NUMBER');

8077:
8078: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8079: THEN
8080:
8081: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_MODEL_SERIAL_NUMBER');
8082:
8083: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8084: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8085: OE_Order_Util.Get_Attribute_Name('cust_model_serial_number'));

Line 8086: OE_MSG_PUB.Add;

8082:
8083: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8084: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8085: OE_Order_Util.Get_Attribute_Name('cust_model_serial_number'));
8086: OE_MSG_PUB.Add;
8087: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8088:
8089: END IF;
8090:

Line 8087: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8083: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8084: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8085: OE_Order_Util.Get_Attribute_Name('cust_model_serial_number'));
8086: OE_MSG_PUB.Add;
8087: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8088:
8089: END IF;
8090:
8091:

Line 8096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8092: RETURN FALSE;
8093:
8094: WHEN OTHERS THEN
8095:
8096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8097: THEN
8098: OE_MSG_PUB.Add_Exc_Msg
8099: ( G_PKG_NAME
8100: , 'Cust_Model_Serial_Number'

Line 8098: OE_MSG_PUB.Add_Exc_Msg

8094: WHEN OTHERS THEN
8095:
8096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8097: THEN
8098: OE_MSG_PUB.Add_Exc_Msg
8099: ( G_PKG_NAME
8100: , 'Cust_Model_Serial_Number'
8101: );
8102: END IF;

Line 8134: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8130: EXCEPTION
8131:
8132: WHEN NO_DATA_FOUND THEN
8133:
8134: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8135: THEN
8136:
8137: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PLANNING_PROD_SEQ_NO');
8138:

Line 8137: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PLANNING_PROD_SEQ_NO');

8133:
8134: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8135: THEN
8136:
8137: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PLANNING_PROD_SEQ_NO');
8138:
8139: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8140: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8141: OE_Order_Util.Get_Attribute_Name('planning_prod_seq_no'));

Line 8142: OE_MSG_PUB.Add;

8138:
8139: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8140: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8141: OE_Order_Util.Get_Attribute_Name('planning_prod_seq_no'));
8142: OE_MSG_PUB.Add;
8143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8144:
8145: END IF;
8146:

Line 8143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8139: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8140: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8141: OE_Order_Util.Get_Attribute_Name('planning_prod_seq_no'));
8142: OE_MSG_PUB.Add;
8143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8144:
8145: END IF;
8146:
8147:

Line 8152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8148: RETURN FALSE;
8149:
8150: WHEN OTHERS THEN
8151:
8152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8153: THEN
8154: OE_MSG_PUB.Add_Exc_Msg
8155: ( G_PKG_NAME
8156: , 'Planning_Prod_Seq_No'

Line 8154: OE_MSG_PUB.Add_Exc_Msg

8150: WHEN OTHERS THEN
8151:
8152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8153: THEN
8154: OE_MSG_PUB.Add_Exc_Msg
8155: ( G_PKG_NAME
8156: , 'Planning_Prod_Seq_No'
8157: );
8158: END IF;

Line 8200: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8196: EXCEPTION
8197:
8198: WHEN NO_DATA_FOUND THEN
8199:
8200: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8201: THEN
8202:
8203: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROJECT_ID');
8204:

Line 8203: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROJECT_ID');

8199:
8200: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8201: THEN
8202:
8203: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROJECT_ID');
8204:
8205: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8206: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8207: OE_Order_Util.Get_Attribute_Name('project_id'));

Line 8208: OE_MSG_PUB.Add;

8204:
8205: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8206: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8207: OE_Order_Util.Get_Attribute_Name('project_id'));
8208: OE_MSG_PUB.Add;
8209: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8210:
8211: END IF;
8212:

Line 8209: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8205: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8206: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8207: OE_Order_Util.Get_Attribute_Name('project_id'));
8208: OE_MSG_PUB.Add;
8209: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8210:
8211: END IF;
8212:
8213:

Line 8218: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8214: RETURN FALSE;
8215:
8216: WHEN OTHERS THEN
8217:
8218: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8219: THEN
8220: OE_MSG_PUB.Add_Exc_Msg
8221: ( G_PKG_NAME
8222: , 'Project'

Line 8220: OE_MSG_PUB.Add_Exc_Msg

8216: WHEN OTHERS THEN
8217:
8218: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8219: THEN
8220: OE_MSG_PUB.Add_Exc_Msg
8221: ( G_PKG_NAME
8222: , 'Project'
8223: );
8224: END IF;

Line 8258: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8254: EXCEPTION
8255:
8256: WHEN NO_DATA_FOUND THEN
8257:
8258: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8259: THEN
8260:
8261: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TASK_ID');
8262:

Line 8261: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TASK_ID');

8257:
8258: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8259: THEN
8260:
8261: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TASK_ID');
8262:
8263: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8264: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8265: OE_Order_Util.Get_Attribute_Name('task_id'));

Line 8266: OE_MSG_PUB.Add;

8262:
8263: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8264: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8265: OE_Order_Util.Get_Attribute_Name('task_id'));
8266: OE_MSG_PUB.Add;
8267: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8268:
8269: END IF;
8270:

Line 8267: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8263: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8264: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8265: OE_Order_Util.Get_Attribute_Name('task_id'));
8266: OE_MSG_PUB.Add;
8267: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8268:
8269: END IF;
8270:
8271:

Line 8276: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8272: RETURN FALSE;
8273:
8274: WHEN OTHERS THEN
8275:
8276: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8277: THEN
8278: OE_MSG_PUB.Add_Exc_Msg
8279: ( G_PKG_NAME
8280: , 'Task'

Line 8278: OE_MSG_PUB.Add_Exc_Msg

8274: WHEN OTHERS THEN
8275:
8276: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8277: THEN
8278: OE_MSG_PUB.Add_Exc_Msg
8279: ( G_PKG_NAME
8280: , 'Task'
8281: );
8282: END IF;

Line 8315: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8311: EXCEPTION
8312:
8313: WHEN NO_DATA_FOUND THEN
8314:
8315: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8316: THEN
8317:
8318: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ITEM_ID');
8319:

Line 8318: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ITEM_ID');

8314:
8315: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8316: THEN
8317:
8318: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ITEM_ID');
8319:
8320: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8321: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8322: OE_Order_Util.Get_Attribute_Name('inventory_item_id'));

Line 8323: OE_MSG_PUB.Add;

8319:
8320: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8321: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8322: OE_Order_Util.Get_Attribute_Name('inventory_item_id'));
8323: OE_MSG_PUB.Add;
8324: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8325:
8326: END IF;
8327:

Line 8324: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8320: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8321: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8322: OE_Order_Util.Get_Attribute_Name('inventory_item_id'));
8323: OE_MSG_PUB.Add;
8324: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8325:
8326: END IF;
8327:
8328:

Line 8333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8329: RETURN FALSE;
8330:
8331: WHEN OTHERS THEN
8332:
8333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8334: THEN
8335: OE_MSG_PUB.Add_Exc_Msg
8336: ( G_PKG_NAME
8337: , 'Inventory_Item'

Line 8335: OE_MSG_PUB.Add_Exc_Msg

8331: WHEN OTHERS THEN
8332:
8333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8334: THEN
8335: OE_MSG_PUB.Add_Exc_Msg
8336: ( G_PKG_NAME
8337: , 'Inventory_Item'
8338: );
8339: END IF;

Line 8373: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8369: EXCEPTION
8370:
8371: WHEN NO_DATA_FOUND THEN
8372:
8373: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8374: THEN
8375:
8376: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_DATE');
8377:

Line 8376: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_DATE');

8372:
8373: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8374: THEN
8375:
8376: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_DATE');
8377:
8378: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8379: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8380: OE_Order_Util.Get_Attribute_Name('tax_date'));

Line 8381: OE_MSG_PUB.Add;

8377:
8378: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8379: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8380: OE_Order_Util.Get_Attribute_Name('tax_date'));
8381: OE_MSG_PUB.Add;
8382: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8383:
8384: END IF;
8385:

Line 8382: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8378: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8379: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8380: OE_Order_Util.Get_Attribute_Name('tax_date'));
8381: OE_MSG_PUB.Add;
8382: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8383:
8384: END IF;
8385:
8386:

Line 8391: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8387: RETURN FALSE;
8388:
8389: WHEN OTHERS THEN
8390:
8391: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8392: THEN
8393: OE_MSG_PUB.Add_Exc_Msg
8394: ( G_PKG_NAME
8395: , 'Tax_Date'

Line 8393: OE_MSG_PUB.Add_Exc_Msg

8389: WHEN OTHERS THEN
8390:
8391: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8392: THEN
8393: OE_MSG_PUB.Add_Exc_Msg
8394: ( G_PKG_NAME
8395: , 'Tax_Date'
8396: );
8397: END IF;

Line 8431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8427: EXCEPTION
8428:
8429: WHEN NO_DATA_FOUND THEN
8430:
8431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8432: THEN
8433:
8434: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_DATE');
8435:

Line 8434: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_DATE');

8430:
8431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8432: THEN
8433:
8434: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_DATE');
8435:
8436: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8437: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8438: OE_Order_Util.Get_Attribute_Name('pricing_date'));

Line 8439: OE_MSG_PUB.Add;

8435:
8436: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8437: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8438: OE_Order_Util.Get_Attribute_Name('pricing_date'));
8439: OE_MSG_PUB.Add;
8440: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8441:
8442: END IF;
8443:

Line 8440: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8436: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8437: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8438: OE_Order_Util.Get_Attribute_Name('pricing_date'));
8439: OE_MSG_PUB.Add;
8440: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8441:
8442: END IF;
8443:
8444:

Line 8449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8445: RETURN FALSE;
8446:
8447: WHEN OTHERS THEN
8448:
8449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8450: THEN
8451: OE_MSG_PUB.Add_Exc_Msg
8452: ( G_PKG_NAME
8453: , 'Pricing_Date'

Line 8451: OE_MSG_PUB.Add_Exc_Msg

8447: WHEN OTHERS THEN
8448:
8449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8450: THEN
8451: OE_MSG_PUB.Add_Exc_Msg
8452: ( G_PKG_NAME
8453: , 'Pricing_Date'
8454: );
8455: END IF;

Line 8488: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8484: EXCEPTION
8485:
8486: WHEN NO_DATA_FOUND THEN
8487:
8488: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8489: THEN
8490:
8491: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_NUMBER');
8492:

Line 8491: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_NUMBER');

8487:
8488: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8489: THEN
8490:
8491: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_NUMBER');
8492:
8493: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8494: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8495: OE_Order_Util.Get_Attribute_Name('shipment_number'));

Line 8496: OE_MSG_PUB.Add;

8492:
8493: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8494: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8495: OE_Order_Util.Get_Attribute_Name('shipment_number'));
8496: OE_MSG_PUB.Add;
8497: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8498:
8499: END IF;
8500:

Line 8497: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8493: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8494: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8495: OE_Order_Util.Get_Attribute_Name('shipment_number'));
8496: OE_MSG_PUB.Add;
8497: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8498:
8499: END IF;
8500:
8501:

Line 8506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8502: RETURN FALSE;
8503:
8504: WHEN OTHERS THEN
8505:
8506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8507: THEN
8508: OE_MSG_PUB.Add_Exc_Msg
8509: ( G_PKG_NAME
8510: , 'Shipment_Number'

Line 8508: OE_MSG_PUB.Add_Exc_Msg

8504: WHEN OTHERS THEN
8505:
8506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8507: THEN
8508: OE_MSG_PUB.Add_Exc_Msg
8509: ( G_PKG_NAME
8510: , 'Shipment_Number'
8511: );
8512: END IF;

Line 8545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8541: EXCEPTION
8542:
8543: WHEN NO_DATA_FOUND THEN
8544:
8545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8546: THEN
8547:
8548: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_LINE_REF');
8549:

Line 8548: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_LINE_REF');

8544:
8545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8546: THEN
8547:
8548: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_LINE_REF');
8549:
8550: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8551: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8552: OE_Order_Util.Get_Attribute_Name('orig_sys_line_ref'));

Line 8553: OE_MSG_PUB.Add;

8549:
8550: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8551: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8552: OE_Order_Util.Get_Attribute_Name('orig_sys_line_ref'));
8553: OE_MSG_PUB.Add;
8554: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8555:
8556: END IF;
8557:

Line 8554: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8550: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8551: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8552: OE_Order_Util.Get_Attribute_Name('orig_sys_line_ref'));
8553: OE_MSG_PUB.Add;
8554: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8555:
8556: END IF;
8557:
8558:

Line 8563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8559: RETURN FALSE;
8560:
8561: WHEN OTHERS THEN
8562:
8563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8564: THEN
8565: OE_MSG_PUB.Add_Exc_Msg
8566: ( G_PKG_NAME
8567: , 'Orig_Sys_Line_ref'

Line 8565: OE_MSG_PUB.Add_Exc_Msg

8561: WHEN OTHERS THEN
8562:
8563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8564: THEN
8565: OE_MSG_PUB.Add_Exc_Msg
8566: ( G_PKG_NAME
8567: , 'Orig_Sys_Line_ref'
8568: );
8569: END IF;

Line 8602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8598: EXCEPTION
8599:
8600: WHEN NO_DATA_FOUND THEN
8601:
8602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8603: THEN
8604:
8605: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_LINE_ID');
8606:

Line 8605: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_LINE_ID');

8601:
8602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8603: THEN
8604:
8605: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_LINE_ID');
8606:
8607: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8608: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8609: OE_Order_Util.Get_Attribute_Name('source_document_line_id'));

Line 8610: OE_MSG_PUB.Add;

8606:
8607: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8608: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8609: OE_Order_Util.Get_Attribute_Name('source_document_line_id'));
8610: OE_MSG_PUB.Add;
8611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8612:
8613: END IF;
8614:

Line 8611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8607: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8608: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8609: OE_Order_Util.Get_Attribute_Name('source_document_line_id'));
8610: OE_MSG_PUB.Add;
8611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8612:
8613: END IF;
8614:
8615:

Line 8620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8616: RETURN FALSE;
8617:
8618: WHEN OTHERS THEN
8619:
8620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8621: THEN
8622: OE_MSG_PUB.Add_Exc_Msg
8623: ( G_PKG_NAME
8624: , 'Source_Document_Line'

Line 8622: OE_MSG_PUB.Add_Exc_Msg

8618: WHEN OTHERS THEN
8619:
8620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8621: THEN
8622: OE_MSG_PUB.Add_Exc_Msg
8623: ( G_PKG_NAME
8624: , 'Source_Document_Line'
8625: );
8626: END IF;

Line 8659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8655: EXCEPTION
8656:
8657: WHEN NO_DATA_FOUND THEN
8658:
8659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8660: THEN
8661:
8662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_LINE_ID');
8663:

Line 8662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_LINE_ID');

8658:
8659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8660: THEN
8661:
8662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_LINE_ID');
8663:
8664: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8665: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8666: OE_Order_Util.Get_Attribute_Name('reference_line_id'));

Line 8667: OE_MSG_PUB.Add;

8663:
8664: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8665: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8666: OE_Order_Util.Get_Attribute_Name('reference_line_id'));
8667: OE_MSG_PUB.Add;
8668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8669:
8670: END IF;
8671:

Line 8668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8664: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8665: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8666: OE_Order_Util.Get_Attribute_Name('reference_line_id'));
8667: OE_MSG_PUB.Add;
8668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8669:
8670: END IF;
8671:
8672:

Line 8677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8673: RETURN FALSE;
8674:
8675: WHEN OTHERS THEN
8676:
8677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8678: THEN
8679: OE_MSG_PUB.Add_Exc_Msg
8680: ( G_PKG_NAME
8681: , 'Reference_Line'

Line 8679: OE_MSG_PUB.Add_Exc_Msg

8675: WHEN OTHERS THEN
8676:
8677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8678: THEN
8679: OE_MSG_PUB.Add_Exc_Msg
8680: ( G_PKG_NAME
8681: , 'Reference_Line'
8682: );
8683: END IF;

Line 8717: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8713: EXCEPTION
8714:
8715: WHEN NO_DATA_FOUND THEN
8716:
8717: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8718: THEN
8719:
8720: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_TYPE');
8721:

Line 8720: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_TYPE');

8716:
8717: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8718: THEN
8719:
8720: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_TYPE');
8721:
8722: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8723: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8724: OE_Order_Util.Get_Attribute_Name('reference_type'));

Line 8725: OE_MSG_PUB.Add;

8721:
8722: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8723: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8724: OE_Order_Util.Get_Attribute_Name('reference_type'));
8725: OE_MSG_PUB.Add;
8726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8727:
8728: END IF;
8729:

Line 8726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8722: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8723: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8724: OE_Order_Util.Get_Attribute_Name('reference_type'));
8725: OE_MSG_PUB.Add;
8726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8727:
8728: END IF;
8729:
8730:

Line 8735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8731: RETURN FALSE;
8732:
8733: WHEN OTHERS THEN
8734:
8735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8736: THEN
8737: OE_MSG_PUB.Add_Exc_Msg
8738: ( G_PKG_NAME
8739: , 'Reference_Type'

Line 8737: OE_MSG_PUB.Add_Exc_Msg

8733: WHEN OTHERS THEN
8734:
8735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8736: THEN
8737: OE_MSG_PUB.Add_Exc_Msg
8738: ( G_PKG_NAME
8739: , 'Reference_Type'
8740: );
8741: END IF;

Line 8774: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8770: EXCEPTION
8771:
8772: WHEN NO_DATA_FOUND THEN
8773:
8774: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8775: THEN
8776:
8777: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_HEADER_ID');
8778:

Line 8777: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_HEADER_ID');

8773:
8774: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8775: THEN
8776:
8777: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_HEADER_ID');
8778:
8779: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8780: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8781: OE_Order_Util.Get_Attribute_Name('reference_header_id'));

Line 8782: OE_MSG_PUB.Add;

8778:
8779: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8780: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8781: OE_Order_Util.Get_Attribute_Name('reference_header_id'));
8782: OE_MSG_PUB.Add;
8783: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8784:
8785: END IF;
8786:

Line 8783: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8779: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8780: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8781: OE_Order_Util.Get_Attribute_Name('reference_header_id'));
8782: OE_MSG_PUB.Add;
8783: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8784:
8785: END IF;
8786:
8787:

Line 8792: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8788: RETURN FALSE;
8789:
8790: WHEN OTHERS THEN
8791:
8792: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8793: THEN
8794: OE_MSG_PUB.Add_Exc_Msg
8795: ( G_PKG_NAME
8796: , 'Reference_Header'

Line 8794: OE_MSG_PUB.Add_Exc_Msg

8790: WHEN OTHERS THEN
8791:
8792: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8793: THEN
8794: OE_MSG_PUB.Add_Exc_Msg
8795: ( G_PKG_NAME
8796: , 'Reference_Header'
8797: );
8798: END IF;

Line 8833: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8829: EXCEPTION
8830:
8831: WHEN NO_DATA_FOUND THEN
8832:
8833: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8834: THEN
8835:
8836: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REVISION');
8837:

Line 8836: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REVISION');

8832:
8833: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8834: THEN
8835:
8836: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REVISION');
8837:
8838: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8839: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8840: OE_Order_Util.Get_Attribute_Name('revision'));

Line 8841: OE_MSG_PUB.Add;

8837:
8838: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8839: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8840: OE_Order_Util.Get_Attribute_Name('revision'));
8841: OE_MSG_PUB.Add;
8842: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8843:
8844: END IF;
8845:

Line 8842: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8838: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8839: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8840: OE_Order_Util.Get_Attribute_Name('revision'));
8841: OE_MSG_PUB.Add;
8842: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8843:
8844: END IF;
8845:
8846:

Line 8851: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8847: RETURN FALSE;
8848:
8849: WHEN OTHERS THEN
8850:
8851: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8852: THEN
8853: OE_MSG_PUB.Add_Exc_Msg
8854: ( G_PKG_NAME
8855: , 'Revision'

Line 8853: OE_MSG_PUB.Add_Exc_Msg

8849: WHEN OTHERS THEN
8850:
8851: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8852: THEN
8853: OE_MSG_PUB.Add_Exc_Msg
8854: ( G_PKG_NAME
8855: , 'Revision'
8856: );
8857: END IF;

Line 8890: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8886: EXCEPTION
8887:
8888: WHEN NO_DATA_FOUND THEN
8889:
8890: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8891: THEN
8892:
8893: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE');
8894:

Line 8893: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE');

8889:
8890: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8891: THEN
8892:
8893: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE');
8894:
8895: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8896: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8897: OE_Order_Util.Get_Attribute_Name('unit_selling_price'));

Line 8898: OE_MSG_PUB.Add;

8894:
8895: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8896: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8897: OE_Order_Util.Get_Attribute_Name('unit_selling_price'));
8898: OE_MSG_PUB.Add;
8899: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8900:
8901: END IF;
8902:

Line 8899: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8895: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8896: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8897: OE_Order_Util.Get_Attribute_Name('unit_selling_price'));
8898: OE_MSG_PUB.Add;
8899: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8900:
8901: END IF;
8902:
8903:

Line 8908: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8904: RETURN FALSE;
8905:
8906: WHEN OTHERS THEN
8907:
8908: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8909: THEN
8910: OE_MSG_PUB.Add_Exc_Msg
8911: ( G_PKG_NAME
8912: , 'Unit_Selling_Price'

Line 8910: OE_MSG_PUB.Add_Exc_Msg

8906: WHEN OTHERS THEN
8907:
8908: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8909: THEN
8910: OE_MSG_PUB.Add_Exc_Msg
8911: ( G_PKG_NAME
8912: , 'Unit_Selling_Price'
8913: );
8914: END IF;

Line 8948: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8944: EXCEPTION
8945:
8946: WHEN NO_DATA_FOUND THEN
8947:
8948: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8949: THEN
8950:
8951: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE_PER_PQTY');
8952:

Line 8951: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE_PER_PQTY');

8947:
8948: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8949: THEN
8950:
8951: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE_PER_PQTY');
8952:
8953: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8954: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8955: OE_Order_Util.Get_Attribute_Name('unit_selling_price_per_pqty'));

Line 8956: OE_MSG_PUB.Add;

8952:
8953: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8954: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8955: OE_Order_Util.Get_Attribute_Name('unit_selling_price_per_pqty'));
8956: OE_MSG_PUB.Add;
8957: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8958:
8959: END IF;
8960:

Line 8957: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8953: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8954: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8955: OE_Order_Util.Get_Attribute_Name('unit_selling_price_per_pqty'));
8956: OE_MSG_PUB.Add;
8957: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8958:
8959: END IF;
8960:
8961:

Line 8966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8962: RETURN FALSE;
8963:
8964: WHEN OTHERS THEN
8965:
8966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8967: THEN
8968: OE_MSG_PUB.Add_Exc_Msg
8969: ( G_PKG_NAME
8970: , 'Unit_Selling_Price_Per_Pqty'

Line 8968: OE_MSG_PUB.Add_Exc_Msg

8964: WHEN OTHERS THEN
8965:
8966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8967: THEN
8968: OE_MSG_PUB.Add_Exc_Msg
8969: ( G_PKG_NAME
8970: , 'Unit_Selling_Price_Per_Pqty'
8971: );
8972: END IF;

Line 9006: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9002: EXCEPTION
9003:
9004: WHEN NO_DATA_FOUND THEN
9005:
9006: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9007: THEN
9008:
9009: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE');
9010:

Line 9009: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE');

9005:
9006: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9007: THEN
9008:
9009: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE');
9010:
9011: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9012: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9013: OE_Order_Util.Get_Attribute_Name('unit_list_price'));

Line 9014: OE_MSG_PUB.Add;

9010:
9011: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9012: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9013: OE_Order_Util.Get_Attribute_Name('unit_list_price'));
9014: OE_MSG_PUB.Add;
9015: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9016:
9017: END IF;
9018:

Line 9015: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9011: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9012: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9013: OE_Order_Util.Get_Attribute_Name('unit_list_price'));
9014: OE_MSG_PUB.Add;
9015: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9016:
9017: END IF;
9018:
9019:

Line 9024: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9020: RETURN FALSE;
9021:
9022: WHEN OTHERS THEN
9023:
9024: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9025: THEN
9026: OE_MSG_PUB.Add_Exc_Msg
9027: ( G_PKG_NAME
9028: , 'Unit_List_Price'

Line 9026: OE_MSG_PUB.Add_Exc_Msg

9022: WHEN OTHERS THEN
9023:
9024: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9025: THEN
9026: OE_MSG_PUB.Add_Exc_Msg
9027: ( G_PKG_NAME
9028: , 'Unit_List_Price'
9029: );
9030: END IF;

Line 9063: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9059: EXCEPTION
9060:
9061: WHEN NO_DATA_FOUND THEN
9062:
9063: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9064: THEN
9065:
9066: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE_PER_PQTY');
9067:

Line 9066: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE_PER_PQTY');

9062:
9063: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9064: THEN
9065:
9066: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE_PER_PQTY');
9067:
9068: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9069: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9070: OE_Order_Util.Get_Attribute_Name('unit_list_price_per_pqty'));

Line 9071: OE_MSG_PUB.Add;

9067:
9068: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9069: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9070: OE_Order_Util.Get_Attribute_Name('unit_list_price_per_pqty'));
9071: OE_MSG_PUB.Add;
9072: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9073:
9074: END IF;
9075:

Line 9072: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9068: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9069: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9070: OE_Order_Util.Get_Attribute_Name('unit_list_price_per_pqty'));
9071: OE_MSG_PUB.Add;
9072: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9073:
9074: END IF;
9075:
9076:

Line 9081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9077: RETURN FALSE;
9078:
9079: WHEN OTHERS THEN
9080:
9081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9082: THEN
9083: OE_MSG_PUB.Add_Exc_Msg
9084: ( G_PKG_NAME
9085: , 'Unit_List_Price_Per_Pqty'

Line 9083: OE_MSG_PUB.Add_Exc_Msg

9079: WHEN OTHERS THEN
9080:
9081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9082: THEN
9083: OE_MSG_PUB.Add_Exc_Msg
9084: ( G_PKG_NAME
9085: , 'Unit_List_Price_Per_Pqty'
9086: );
9087: END IF;

Line 9120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9116: EXCEPTION
9117:
9118: WHEN NO_DATA_FOUND THEN
9119:
9120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9121: THEN
9122:
9123: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_VALUE');
9124:

Line 9123: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_VALUE');

9119:
9120: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9121: THEN
9122:
9123: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_VALUE');
9124:
9125: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9126: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9127: OE_Order_Util.Get_Attribute_Name('tax_value'));

Line 9128: OE_MSG_PUB.Add;

9124:
9125: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9126: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9127: OE_Order_Util.Get_Attribute_Name('tax_value'));
9128: OE_MSG_PUB.Add;
9129: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9130:
9131: END IF;
9132:

Line 9129: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9125: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9126: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9127: OE_Order_Util.Get_Attribute_Name('tax_value'));
9128: OE_MSG_PUB.Add;
9129: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9130:
9131: END IF;
9132:
9133:

Line 9138: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9134: RETURN FALSE;
9135:
9136: WHEN OTHERS THEN
9137:
9138: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9139: THEN
9140: OE_MSG_PUB.Add_Exc_Msg
9141: ( G_PKG_NAME
9142: , 'Tax_Value'

Line 9140: OE_MSG_PUB.Add_Exc_Msg

9136: WHEN OTHERS THEN
9137:
9138: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9139: THEN
9140: OE_MSG_PUB.Add_Exc_Msg
9141: ( G_PKG_NAME
9142: , 'Tax_Value'
9143: );
9144: END IF;

Line 9180: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9176: EXCEPTION
9177:
9178: WHEN NO_DATA_FOUND THEN
9179:
9180: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9181: THEN
9182:
9183: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER_SOURCE_ID');
9184:

Line 9183: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER_SOURCE_ID');

9179:
9180: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9181: THEN
9182:
9183: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER_SOURCE_ID');
9184:
9185: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9186: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9187: OE_Order_Util.Get_Attribute_Name('order_number_source_id'));

Line 9188: OE_MSG_PUB.Add;

9184:
9185: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9186: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9187: OE_Order_Util.Get_Attribute_Name('order_number_source_id'));
9188: OE_MSG_PUB.Add;
9189: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9190:
9191: END IF;
9192:

Line 9189: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9185: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9186: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9187: OE_Order_Util.Get_Attribute_Name('order_number_source_id'));
9188: OE_MSG_PUB.Add;
9189: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9190:
9191: END IF;
9192:
9193:

Line 9198: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9194: RETURN FALSE;
9195:
9196: WHEN OTHERS THEN
9197:
9198: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9199: THEN
9200: OE_MSG_PUB.Add_Exc_Msg
9201: ( G_PKG_NAME
9202: , 'Order_Number_Source'

Line 9200: OE_MSG_PUB.Add_Exc_Msg

9196: WHEN OTHERS THEN
9197:
9198: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9199: THEN
9200: OE_MSG_PUB.Add_Exc_Msg
9201: ( G_PKG_NAME
9202: , 'Order_Number_Source'
9203: );
9204: END IF;

Line 9237: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9233: EXCEPTION
9234:
9235: WHEN NO_DATA_FOUND THEN
9236:
9237: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9238: THEN
9239:
9240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'NAME');
9241:

Line 9240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'NAME');

9236:
9237: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9238: THEN
9239:
9240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'NAME');
9241:
9242: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9243: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9244: OE_Order_Util.Get_Attribute_Name('name'));

Line 9245: OE_MSG_PUB.Add;

9241:
9242: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9243: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9244: OE_Order_Util.Get_Attribute_Name('name'));
9245: OE_MSG_PUB.Add;
9246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9247:
9248: END IF;
9249:

Line 9246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9242: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9243: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9244: OE_Order_Util.Get_Attribute_Name('name'));
9245: OE_MSG_PUB.Add;
9246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9247:
9248: END IF;
9249:
9250:

Line 9255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9251: RETURN FALSE;
9252:
9253: WHEN OTHERS THEN
9254:
9255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9256: THEN
9257: OE_MSG_PUB.Add_Exc_Msg
9258: ( G_PKG_NAME
9259: , 'Name'

Line 9257: OE_MSG_PUB.Add_Exc_Msg

9253: WHEN OTHERS THEN
9254:
9255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9256: THEN
9257: OE_MSG_PUB.Add_Exc_Msg
9258: ( G_PKG_NAME
9259: , 'Name'
9260: );
9261: END IF;

Line 9294: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9290: EXCEPTION
9291:
9292: WHEN NO_DATA_FOUND THEN
9293:
9294: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9295: THEN
9296:
9297: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SEQUENCE_STARTING_POINT');
9298:

Line 9297: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SEQUENCE_STARTING_POINT');

9293:
9294: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9295: THEN
9296:
9297: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SEQUENCE_STARTING_POINT');
9298:
9299: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9300: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9301: OE_Order_Util.Get_Attribute_Name('sequence_starting_point'));

Line 9302: OE_MSG_PUB.Add;

9298:
9299: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9300: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9301: OE_Order_Util.Get_Attribute_Name('sequence_starting_point'));
9302: OE_MSG_PUB.Add;
9303: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9304:
9305: END IF;
9306:

Line 9303: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9299: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9300: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9301: OE_Order_Util.Get_Attribute_Name('sequence_starting_point'));
9302: OE_MSG_PUB.Add;
9303: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9304:
9305: END IF;
9306:
9307:

Line 9312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9308: RETURN FALSE;
9309:
9310: WHEN OTHERS THEN
9311:
9312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9313: THEN
9314: OE_MSG_PUB.Add_Exc_Msg
9315: ( G_PKG_NAME
9316: , 'Sequence_Starting_Point'

Line 9314: OE_MSG_PUB.Add_Exc_Msg

9310: WHEN OTHERS THEN
9311:
9312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9313: THEN
9314: OE_MSG_PUB.Add_Exc_Msg
9315: ( G_PKG_NAME
9316: , 'Sequence_Starting_Point'
9317: );
9318: END IF;

Line 9352: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9348: EXCEPTION
9349:
9350: WHEN NO_DATA_FOUND THEN
9351:
9352: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9353: THEN
9354:
9355: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DESCRIPTION');
9356:

Line 9355: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DESCRIPTION');

9351:
9352: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9353: THEN
9354:
9355: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DESCRIPTION');
9356:
9357:
9358: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9359: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 9361: OE_MSG_PUB.Add;

9357:
9358: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9359: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9360: OE_Order_Util.Get_Attribute_Name('description'));
9361: OE_MSG_PUB.Add;
9362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9363:
9364: END IF;
9365:

Line 9362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9358: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9359: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9360: OE_Order_Util.Get_Attribute_Name('description'));
9361: OE_MSG_PUB.Add;
9362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9363:
9364: END IF;
9365:
9366:

Line 9371: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9367: RETURN FALSE;
9368:
9369: WHEN OTHERS THEN
9370:
9371: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9372: THEN
9373: OE_MSG_PUB.Add_Exc_Msg
9374: ( G_PKG_NAME
9375: , 'Description'

Line 9373: OE_MSG_PUB.Add_Exc_Msg

9369: WHEN OTHERS THEN
9370:
9371: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9372: THEN
9373: OE_MSG_PUB.Add_Exc_Msg
9374: ( G_PKG_NAME
9375: , 'Description'
9376: );
9377: END IF;

Line 9410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9406: EXCEPTION
9407:
9408: WHEN NO_DATA_FOUND THEN
9409:
9410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9411: THEN
9412:
9413: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'START_DATE_ACTIVE');
9414:

Line 9413: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'START_DATE_ACTIVE');

9409:
9410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9411: THEN
9412:
9413: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'START_DATE_ACTIVE');
9414:
9415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9417: OE_Order_Util.Get_Attribute_Name('start_date_active'));

Line 9418: OE_MSG_PUB.Add;

9414:
9415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9417: OE_Order_Util.Get_Attribute_Name('start_date_active'));
9418: OE_MSG_PUB.Add;
9419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9420:
9421: END IF;
9422:

Line 9419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9417: OE_Order_Util.Get_Attribute_Name('start_date_active'));
9418: OE_MSG_PUB.Add;
9419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9420:
9421: END IF;
9422:
9423:

Line 9428: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9424: RETURN FALSE;
9425:
9426: WHEN OTHERS THEN
9427:
9428: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9429: THEN
9430: OE_MSG_PUB.Add_Exc_Msg
9431: ( G_PKG_NAME
9432: , 'Start_Date_Active'

Line 9430: OE_MSG_PUB.Add_Exc_Msg

9426: WHEN OTHERS THEN
9427:
9428: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9429: THEN
9430: OE_MSG_PUB.Add_Exc_Msg
9431: ( G_PKG_NAME
9432: , 'Start_Date_Active'
9433: );
9434: END IF;

Line 9467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9463: EXCEPTION
9464:
9465: WHEN NO_DATA_FOUND THEN
9466:
9467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9468: THEN
9469:
9470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_DATE_ACTIVE');
9471:

Line 9470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_DATE_ACTIVE');

9466:
9467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9468: THEN
9469:
9470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_DATE_ACTIVE');
9471:
9472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9474: OE_Order_Util.Get_Attribute_Name('end_date_active'));

Line 9475: OE_MSG_PUB.Add;

9471:
9472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9474: OE_Order_Util.Get_Attribute_Name('end_date_active'));
9475: OE_MSG_PUB.Add;
9476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9477:
9478: END IF;
9479:

Line 9476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9474: OE_Order_Util.Get_Attribute_Name('end_date_active'));
9475: OE_MSG_PUB.Add;
9476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9477:
9478: END IF;
9479:
9480:

Line 9485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9481: RETURN FALSE;
9482:
9483: WHEN OTHERS THEN
9484:
9485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9486: THEN
9487: OE_MSG_PUB.Add_Exc_Msg
9488: ( G_PKG_NAME
9489: , 'End_Date_Active'

Line 9487: OE_MSG_PUB.Add_Exc_Msg

9483: WHEN OTHERS THEN
9484:
9485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9486: THEN
9487: OE_MSG_PUB.Add_Exc_Msg
9488: ( G_PKG_NAME
9489: , 'End_Date_Active'
9490: );
9491: END IF;

Line 9503: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');

9499: IS
9500: BEGIN
9501:
9502:
9503: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');
9504:
9505:
9506: IF p_percent = FND_API.G_MISS_NUM THEN
9507:

Line 9513: OE_MSG_PUB.Add;

9509: END IF;
9510:
9511: IF P_Percent < 0 OR P_Percent > 100 THEN
9512: fnd_message.set_name('ONT','OE_INVALID_CREDIT_PERCENT');
9513: OE_MSG_PUB.Add;
9514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9515:
9516: RETURN FALSE;
9517: ELSE

Line 9514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9510:
9511: IF P_Percent < 0 OR P_Percent > 100 THEN
9512: fnd_message.set_name('ONT','OE_INVALID_CREDIT_PERCENT');
9513: OE_MSG_PUB.Add;
9514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9515:
9516: RETURN FALSE;
9517: ELSE
9518:

Line 9551: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9547: EXCEPTION
9548:
9549: WHEN NO_DATA_FOUND THEN
9550:
9551: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9552: THEN
9553:
9554: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIGURATION_ID');
9555:

Line 9554: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIGURATION_ID');

9550:
9551: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9552: THEN
9553:
9554: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIGURATION_ID');
9555:
9556: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9557: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9558: OE_Order_Util.Get_Attribute_Name('configuration_id'));

Line 9559: OE_MSG_PUB.Add;

9555:
9556: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9557: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9558: OE_Order_Util.Get_Attribute_Name('configuration_id'));
9559: OE_MSG_PUB.Add;
9560: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9561:
9562: END IF;
9563:

Line 9560: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9556: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9557: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9558: OE_Order_Util.Get_Attribute_Name('configuration_id'));
9559: OE_MSG_PUB.Add;
9560: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9561:
9562: END IF;
9563:
9564:

Line 9569: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9565: RETURN FALSE;
9566:
9567: WHEN OTHERS THEN
9568:
9569: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9570: THEN
9571: OE_MSG_PUB.Add_Exc_Msg
9572: ( G_PKG_NAME
9573: , 'Configuration'

Line 9571: OE_MSG_PUB.Add_Exc_Msg

9567: WHEN OTHERS THEN
9568:
9569: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9570: THEN
9571: OE_MSG_PUB.Add_Exc_Msg
9572: ( G_PKG_NAME
9573: , 'Configuration'
9574: );
9575: END IF;

Line 9608: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9604: EXCEPTION
9605:
9606: WHEN NO_DATA_FOUND THEN
9607:
9608: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9609: THEN
9610:
9611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TOP_MODEL_LINE_ID');
9612:

Line 9611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TOP_MODEL_LINE_ID');

9607:
9608: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9609: THEN
9610:
9611: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TOP_MODEL_LINE_ID');
9612:
9613: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9615: OE_Order_Util.Get_Attribute_Name('top_model_line_id'));

Line 9616: OE_MSG_PUB.Add;

9612:
9613: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9615: OE_Order_Util.Get_Attribute_Name('top_model_line_id'));
9616: OE_MSG_PUB.Add;
9617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9618:
9619: END IF;
9620:

Line 9617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9613: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9615: OE_Order_Util.Get_Attribute_Name('top_model_line_id'));
9616: OE_MSG_PUB.Add;
9617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9618:
9619: END IF;
9620:
9621:

Line 9626: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9622: RETURN FALSE;
9623:
9624: WHEN OTHERS THEN
9625:
9626: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9627: THEN
9628: OE_MSG_PUB.Add_Exc_Msg
9629: ( G_PKG_NAME
9630: , 'Top_Model_Line'

Line 9628: OE_MSG_PUB.Add_Exc_Msg

9624: WHEN OTHERS THEN
9625:
9626: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9627: THEN
9628: OE_MSG_PUB.Add_Exc_Msg
9629: ( G_PKG_NAME
9630: , 'Top_Model_Line'
9631: );
9632: END IF;

Line 9665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9661: EXCEPTION
9662:
9663: WHEN NO_DATA_FOUND THEN
9664:
9665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9666: THEN
9667:
9668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINK_TO_LINE_ID');
9669:

Line 9668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINK_TO_LINE_ID');

9664:
9665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9666: THEN
9667:
9668: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINK_TO_LINE_ID');
9669:
9670: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9671: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9672: OE_Order_Util.Get_Attribute_Name('LINK_TO_LINE_ID'));

Line 9673: OE_MSG_PUB.Add;

9669:
9670: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9671: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9672: OE_Order_Util.Get_Attribute_Name('LINK_TO_LINE_ID'));
9673: OE_MSG_PUB.Add;
9674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9675:
9676: END IF;
9677:

Line 9674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9670: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9671: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9672: OE_Order_Util.Get_Attribute_Name('LINK_TO_LINE_ID'));
9673: OE_MSG_PUB.Add;
9674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9675:
9676: END IF;
9677:
9678:

Line 9683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9679: RETURN FALSE;
9680:
9681: WHEN OTHERS THEN
9682:
9683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9684: THEN
9685: OE_MSG_PUB.Add_Exc_Msg
9686: ( G_PKG_NAME
9687: , 'Link_To_Line'

Line 9685: OE_MSG_PUB.Add_Exc_Msg

9681: WHEN OTHERS THEN
9682:
9683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9684: THEN
9685: OE_MSG_PUB.Add_Exc_Msg
9686: ( G_PKG_NAME
9687: , 'Link_To_Line'
9688: );
9689: END IF;

Line 9722: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9718: EXCEPTION
9719:
9720: WHEN NO_DATA_FOUND THEN
9721:
9722: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9723: THEN
9724:
9725: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_SEQUENCE_ID');
9726:

Line 9725: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_SEQUENCE_ID');

9721:
9722: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9723: THEN
9724:
9725: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_SEQUENCE_ID');
9726:
9727: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9728: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9729: OE_Order_Util.Get_Attribute_Name('COMPONENT_SEQUENCE_ID'));

Line 9730: OE_MSG_PUB.Add;

9726:
9727: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9728: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9729: OE_Order_Util.Get_Attribute_Name('COMPONENT_SEQUENCE_ID'));
9730: OE_MSG_PUB.Add;
9731: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9732:
9733: END IF;
9734:

Line 9731: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9727: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9728: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9729: OE_Order_Util.Get_Attribute_Name('COMPONENT_SEQUENCE_ID'));
9730: OE_MSG_PUB.Add;
9731: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9732:
9733: END IF;
9734:
9735:

Line 9740: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9736: RETURN FALSE;
9737:
9738: WHEN OTHERS THEN
9739:
9740: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9741: THEN
9742: OE_MSG_PUB.Add_Exc_Msg
9743: ( G_PKG_NAME
9744: , 'Component_Sequence'

Line 9742: OE_MSG_PUB.Add_Exc_Msg

9738: WHEN OTHERS THEN
9739:
9740: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9741: THEN
9742: OE_MSG_PUB.Add_Exc_Msg
9743: ( G_PKG_NAME
9744: , 'Component_Sequence'
9745: );
9746: END IF;

Line 9779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9775: EXCEPTION
9776:
9777: WHEN NO_DATA_FOUND THEN
9778:
9779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9780: THEN
9781:
9782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_HEADER');
9783:

Line 9782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_HEADER');

9778:
9779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9780: THEN
9781:
9782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_HEADER');
9783:
9784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9786: OE_Order_Util.Get_Attribute_Name('CONFIG_HEADER_ID'));

Line 9787: OE_MSG_PUB.Add;

9783:
9784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9786: OE_Order_Util.Get_Attribute_Name('CONFIG_HEADER_ID'));
9787: OE_MSG_PUB.Add;
9788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9789:
9790: END IF;
9791:

Line 9788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9786: OE_Order_Util.Get_Attribute_Name('CONFIG_HEADER_ID'));
9787: OE_MSG_PUB.Add;
9788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9789:
9790: END IF;
9791:
9792:

Line 9797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9793: RETURN FALSE;
9794:
9795: WHEN OTHERS THEN
9796:
9797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9798: THEN
9799: OE_MSG_PUB.Add_Exc_Msg
9800: ( G_PKG_NAME
9801: , 'Config_Header'

Line 9799: OE_MSG_PUB.Add_Exc_Msg

9795: WHEN OTHERS THEN
9796:
9797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9798: THEN
9799: OE_MSG_PUB.Add_Exc_Msg
9800: ( G_PKG_NAME
9801: , 'Config_Header'
9802: );
9803: END IF;

Line 9836: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9832: EXCEPTION
9833:
9834: WHEN NO_DATA_FOUND THEN
9835:
9836: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9837: THEN
9838:
9839: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_REV_NBR');
9840:

Line 9839: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_REV_NBR');

9835:
9836: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9837: THEN
9838:
9839: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_REV_NBR');
9840:
9841: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9842: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9843: OE_Order_Util.Get_Attribute_Name('CONFIG_REV_NBR'));

Line 9844: OE_MSG_PUB.Add;

9840:
9841: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9842: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9843: OE_Order_Util.Get_Attribute_Name('CONFIG_REV_NBR'));
9844: OE_MSG_PUB.Add;
9845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9846:
9847: END IF;
9848:

Line 9845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9841: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9842: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9843: OE_Order_Util.Get_Attribute_Name('CONFIG_REV_NBR'));
9844: OE_MSG_PUB.Add;
9845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9846:
9847: END IF;
9848:
9849:

Line 9854: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9850: RETURN FALSE;
9851:
9852: WHEN OTHERS THEN
9853:
9854: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9855: THEN
9856: OE_MSG_PUB.Add_Exc_Msg
9857: ( G_PKG_NAME
9858: , 'Config_Rev_Nbr'

Line 9856: OE_MSG_PUB.Add_Exc_Msg

9852: WHEN OTHERS THEN
9853:
9854: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9855: THEN
9856: OE_MSG_PUB.Add_Exc_Msg
9857: ( G_PKG_NAME
9858: , 'Config_Rev_Nbr'
9859: );
9860: END IF;

Line 9893: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9889: EXCEPTION
9890:
9891: WHEN NO_DATA_FOUND THEN
9892:
9893: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9894: THEN
9895:
9896: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_CODE');
9897:

Line 9896: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_CODE');

9892:
9893: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9894: THEN
9895:
9896: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_CODE');
9897:
9898: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9899: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9900: OE_Order_Util.Get_Attribute_Name('Component_Code'));

Line 9901: OE_MSG_PUB.Add;

9897:
9898: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9899: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9900: OE_Order_Util.Get_Attribute_Name('Component_Code'));
9901: OE_MSG_PUB.Add;
9902: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9903:
9904: END IF;
9905:

Line 9902: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9898: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9899: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9900: OE_Order_Util.Get_Attribute_Name('Component_Code'));
9901: OE_MSG_PUB.Add;
9902: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9903:
9904: END IF;
9905:
9906:

Line 9911: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9907: RETURN FALSE;
9908:
9909: WHEN OTHERS THEN
9910:
9911: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9912: THEN
9913: OE_MSG_PUB.Add_Exc_Msg
9914: ( G_PKG_NAME
9915: , 'Component'

Line 9913: OE_MSG_PUB.Add_Exc_Msg

9909: WHEN OTHERS THEN
9910:
9911: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9912: THEN
9913: OE_MSG_PUB.Add_Exc_Msg
9914: ( G_PKG_NAME
9915: , 'Component'
9916: );
9917: END IF;

Line 9950: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9946: EXCEPTION
9947:
9948: WHEN NO_DATA_FOUND THEN
9949:
9950: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9951: THEN
9952:
9953: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_DISPLAY_SEQUENCE');
9954:

Line 9953: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_DISPLAY_SEQUENCE');

9949:
9950: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9951: THEN
9952:
9953: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_DISPLAY_SEQUENCE');
9954:
9955: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9956: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9957: OE_Order_Util.Get_Attribute_Name('CONFIG_DISPLAY_SEQUENCE'));

Line 9958: OE_MSG_PUB.Add;

9954:
9955: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9956: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9957: OE_Order_Util.Get_Attribute_Name('CONFIG_DISPLAY_SEQUENCE'));
9958: OE_MSG_PUB.Add;
9959: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9960:
9961: END IF;
9962:

Line 9959: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9955: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9956: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9957: OE_Order_Util.Get_Attribute_Name('CONFIG_DISPLAY_SEQUENCE'));
9958: OE_MSG_PUB.Add;
9959: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9960:
9961: END IF;
9962:
9963:

Line 9968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9964: RETURN FALSE;
9965:
9966: WHEN OTHERS THEN
9967:
9968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9969: THEN
9970: OE_MSG_PUB.Add_Exc_Msg
9971: ( G_PKG_NAME
9972: , 'Config_Display_Sequence'

Line 9970: OE_MSG_PUB.Add_Exc_Msg

9966: WHEN OTHERS THEN
9967:
9968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9969: THEN
9970: OE_MSG_PUB.Add_Exc_Msg
9971: ( G_PKG_NAME
9972: , 'Config_Display_Sequence'
9973: );
9974: END IF;

Line 10007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10003: EXCEPTION
10004:
10005: WHEN NO_DATA_FOUND THEN
10006:
10007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10008: THEN
10009:
10010: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SORT_ORDER');
10011:

Line 10010: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SORT_ORDER');

10006:
10007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10008: THEN
10009:
10010: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SORT_ORDER');
10011:
10012: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10013: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10014: OE_Order_Util.Get_Attribute_Name('Sort_Order'));

Line 10015: OE_MSG_PUB.Add;

10011:
10012: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10013: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10014: OE_Order_Util.Get_Attribute_Name('Sort_Order'));
10015: OE_MSG_PUB.Add;
10016: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10017:
10018: END IF;
10019:

Line 10016: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10012: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10013: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10014: OE_Order_Util.Get_Attribute_Name('Sort_Order'));
10015: OE_MSG_PUB.Add;
10016: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10017:
10018: END IF;
10019:
10020:

Line 10025: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10021: RETURN FALSE;
10022:
10023: WHEN OTHERS THEN
10024:
10025: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10026: THEN
10027: OE_MSG_PUB.Add_Exc_Msg
10028: ( G_PKG_NAME
10029: , 'Sort_Order'

Line 10027: OE_MSG_PUB.Add_Exc_Msg

10023: WHEN OTHERS THEN
10024:
10025: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10026: THEN
10027: OE_MSG_PUB.Add_Exc_Msg
10028: ( G_PKG_NAME
10029: , 'Sort_Order'
10030: );
10031: END IF;

Line 10064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10060: EXCEPTION
10061:
10062: WHEN NO_DATA_FOUND THEN
10063:
10064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10065: THEN
10066:
10067: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OE_ITEM_TYPE');
10068: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 10067: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OE_ITEM_TYPE');

10063:
10064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10065: THEN
10066:
10067: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OE_ITEM_TYPE');
10068: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10069: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10070: OE_Order_Util.Get_Attribute_Name('Oe_Item_Type'));
10071: OE_MSG_PUB.Add;

Line 10071: OE_MSG_PUB.Add;

10067: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OE_ITEM_TYPE');
10068: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10069: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10070: OE_Order_Util.Get_Attribute_Name('Oe_Item_Type'));
10071: OE_MSG_PUB.Add;
10072: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10073:
10074: END IF;
10075:

Line 10072: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10068: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10069: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10070: OE_Order_Util.Get_Attribute_Name('Oe_Item_Type'));
10071: OE_MSG_PUB.Add;
10072: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10073:
10074: END IF;
10075:
10076:

Line 10081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10077: RETURN FALSE;
10078:
10079: WHEN OTHERS THEN
10080:
10081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10082: THEN
10083: OE_MSG_PUB.Add_Exc_Msg
10084: ( G_PKG_NAME
10085: , 'Item_Type'

Line 10083: OE_MSG_PUB.Add_Exc_Msg

10079: WHEN OTHERS THEN
10080:
10081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10082: THEN
10083: OE_MSG_PUB.Add_Exc_Msg
10084: ( G_PKG_NAME
10085: , 'Item_Type'
10086: );
10087: END IF;

Line 10121: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10117: EXCEPTION
10118:
10119: WHEN NO_DATA_FOUND THEN
10120:
10121: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10122: THEN
10123:
10124: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_NUMBER');
10125:

Line 10124: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_NUMBER');

10120:
10121: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10122: THEN
10123:
10124: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_NUMBER');
10125:
10126: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10127: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10128: OE_Order_Util.Get_Attribute_Name('Option_Number'));

Line 10129: OE_MSG_PUB.Add;

10125:
10126: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10127: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10128: OE_Order_Util.Get_Attribute_Name('Option_Number'));
10129: OE_MSG_PUB.Add;
10130: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10131:
10132: END IF;
10133:

Line 10130: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10126: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10127: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10128: OE_Order_Util.Get_Attribute_Name('Option_Number'));
10129: OE_MSG_PUB.Add;
10130: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10131:
10132: END IF;
10133:
10134:

Line 10139: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10135: RETURN FALSE;
10136:
10137: WHEN OTHERS THEN
10138:
10139: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10140: THEN
10141: OE_MSG_PUB.Add_Exc_Msg
10142: ( G_PKG_NAME
10143: , 'Option_Number'

Line 10141: OE_MSG_PUB.Add_Exc_Msg

10137: WHEN OTHERS THEN
10138:
10139: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10140: THEN
10141: OE_MSG_PUB.Add_Exc_Msg
10142: ( G_PKG_NAME
10143: , 'Option_Number'
10144: );
10145: END IF;

Line 10178: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10174: EXCEPTION
10175:
10176: WHEN NO_DATA_FOUND THEN
10177:
10178: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10179: THEN
10180:
10181: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_NUMBER');
10182:

Line 10181: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_NUMBER');

10177:
10178: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10179: THEN
10180:
10181: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_NUMBER');
10182:
10183: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10184: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10185: OE_Order_Util.Get_Attribute_Name('Component_Number'));

Line 10186: OE_MSG_PUB.Add;

10182:
10183: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10184: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10185: OE_Order_Util.Get_Attribute_Name('Component_Number'));
10186: OE_MSG_PUB.Add;
10187: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10188:
10189:
10190: END IF;

Line 10187: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10183: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10184: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10185: OE_Order_Util.Get_Attribute_Name('Component_Number'));
10186: OE_MSG_PUB.Add;
10187: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10188:
10189:
10190: END IF;
10191:

Line 10197: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10193: RETURN FALSE;
10194:
10195: WHEN OTHERS THEN
10196:
10197: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10198: THEN
10199: OE_MSG_PUB.Add_Exc_Msg
10200: ( G_PKG_NAME
10201: , 'Component_Number'

Line 10199: OE_MSG_PUB.Add_Exc_Msg

10195: WHEN OTHERS THEN
10196:
10197: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10198: THEN
10199: OE_MSG_PUB.Add_Exc_Msg
10200: ( G_PKG_NAME
10201: , 'Component_Number'
10202: );
10203: END IF;

Line 10217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');

10213: IS
10214: l_dummy VARCHAR2(10);
10215: BEGIN
10216:
10217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');
10218:
10219: IF p_explosion_date IS NULL OR
10220: p_explosion_date = FND_API.G_MISS_DATE
10221: THEN

Line 10238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10234: EXCEPTION
10235:
10236: WHEN NO_DATA_FOUND THEN
10237:
10238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10239: THEN
10240:
10241: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');
10242:

Line 10241: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');

10237:
10238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10239: THEN
10240:
10241: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');
10242:
10243: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10244: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10245: OE_Order_Util.Get_Attribute_Name('explosion_date'));

Line 10246: OE_MSG_PUB.Add;

10242:
10243: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10244: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10245: OE_Order_Util.Get_Attribute_Name('explosion_date'));
10246: OE_MSG_PUB.Add;
10247: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10248:
10249: END IF;
10250:

Line 10247: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10243: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10244: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10245: OE_Order_Util.Get_Attribute_Name('explosion_date'));
10246: OE_MSG_PUB.Add;
10247: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10248:
10249: END IF;
10250:
10251:

Line 10256: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10252: RETURN FALSE;
10253:
10254: WHEN OTHERS THEN
10255:
10256: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10257: THEN
10258: OE_MSG_PUB.Add_Exc_Msg
10259: ( G_PKG_NAME
10260: , 'Explosion_Date'

Line 10258: OE_MSG_PUB.Add_Exc_Msg

10254: WHEN OTHERS THEN
10255:
10256: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10257: THEN
10258: OE_MSG_PUB.Add_Exc_Msg
10259: ( G_PKG_NAME
10260: , 'Explosion_Date'
10261: );
10262: END IF;

Line 10397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10393: EXCEPTION
10394:
10395: WHEN NO_DATA_FOUND THEN
10396:
10397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10398: THEN
10399:
10400: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_ID');
10401:

Line 10400: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_ID');

10396:
10397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10398: THEN
10399:
10400: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_ID');
10401:
10402: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10403: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10404: OE_Order_Util.Get_Attribute_Name('accounting_rule_id'));

Line 10405: OE_MSG_PUB.Add;

10401:
10402: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10403: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10404: OE_Order_Util.Get_Attribute_Name('accounting_rule_id'));
10405: OE_MSG_PUB.Add;
10406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10407:
10408: END IF;
10409:

Line 10406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10402: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10403: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10404: OE_Order_Util.Get_Attribute_Name('accounting_rule_id'));
10405: OE_MSG_PUB.Add;
10406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10407:
10408: END IF;
10409:
10410:

Line 10415: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10411: RETURN FALSE;
10412:
10413: WHEN OTHERS THEN
10414:
10415: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10416: THEN
10417: OE_MSG_PUB.Add_Exc_Msg
10418: ( G_PKG_NAME
10419: , 'Accounting_Rule'

Line 10417: OE_MSG_PUB.Add_Exc_Msg

10413: WHEN OTHERS THEN
10414:
10415: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10416: THEN
10417: OE_MSG_PUB.Add_Exc_Msg
10418: ( G_PKG_NAME
10419: , 'Accounting_Rule'
10420: );
10421: END IF;

Line 10455: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10451: EXCEPTION
10452:
10453: WHEN NO_DATA_FOUND THEN
10454:
10455: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10456: THEN
10457:
10458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_DURATION');
10459:

Line 10458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_DURATION');

10454:
10455: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10456: THEN
10457:
10458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_DURATION');
10459:
10460: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10461: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10462: OE_Order_Util.Get_Attribute_Name('accounting_rule_duration'));

Line 10463: OE_MSG_PUB.Add;

10459:
10460: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10461: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10462: OE_Order_Util.Get_Attribute_Name('accounting_rule_duration'));
10463: OE_MSG_PUB.Add;
10464: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10465:
10466: END IF;
10467:

Line 10464: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10460: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10461: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10462: OE_Order_Util.Get_Attribute_Name('accounting_rule_duration'));
10463: OE_MSG_PUB.Add;
10464: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10465:
10466: END IF;
10467:
10468:

Line 10473: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10469: RETURN FALSE;
10470:
10471: WHEN OTHERS THEN
10472:
10473: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10474: THEN
10475: OE_MSG_PUB.Add_Exc_Msg
10476: ( G_PKG_NAME
10477: , 'Accounting_Rule_Duration'

Line 10475: OE_MSG_PUB.Add_Exc_Msg

10471: WHEN OTHERS THEN
10472:
10473: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10474: THEN
10475: OE_MSG_PUB.Add_Exc_Msg
10476: ( G_PKG_NAME
10477: , 'Accounting_Rule_Duration'
10478: );
10479: END IF;

Line 10513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10509: EXCEPTION
10510:
10511: WHEN NO_DATA_FOUND THEN
10512:
10513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10514: THEN
10515:
10516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATED_BY');
10517:

Line 10516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATED_BY');

10512:
10513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10514: THEN
10515:
10516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATED_BY');
10517:
10518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10520: OE_Order_Util.Get_Attribute_Name('created_by'));

Line 10521: OE_MSG_PUB.Add;

10517:
10518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10520: OE_Order_Util.Get_Attribute_Name('created_by'));
10521: OE_MSG_PUB.Add;
10522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10523:
10524: END IF;
10525:

Line 10522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10520: OE_Order_Util.Get_Attribute_Name('created_by'));
10521: OE_MSG_PUB.Add;
10522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10523:
10524: END IF;
10525:
10526:

Line 10531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10527: RETURN FALSE;
10528:
10529: WHEN OTHERS THEN
10530:
10531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10532: THEN
10533: OE_MSG_PUB.Add_Exc_Msg
10534: ( G_PKG_NAME
10535: , 'Created_By'

Line 10533: OE_MSG_PUB.Add_Exc_Msg

10529: WHEN OTHERS THEN
10530:
10531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10532: THEN
10533: OE_MSG_PUB.Add_Exc_Msg
10534: ( G_PKG_NAME
10535: , 'Created_By'
10536: );
10537: END IF;

Line 10570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10566: EXCEPTION
10567:
10568: WHEN NO_DATA_FOUND THEN
10569:
10570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10571: THEN
10572:
10573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATION_DATE');
10574:

Line 10573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATION_DATE');

10569:
10570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10571: THEN
10572:
10573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATION_DATE');
10574:
10575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10577: OE_Order_Util.Get_Attribute_Name('creation_date'));

Line 10578: OE_MSG_PUB.Add;

10574:
10575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10577: OE_Order_Util.Get_Attribute_Name('creation_date'));
10578: OE_MSG_PUB.Add;
10579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10580:
10581: END IF;
10582:

Line 10579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10577: OE_Order_Util.Get_Attribute_Name('creation_date'));
10578: OE_MSG_PUB.Add;
10579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10580:
10581: END IF;
10582:
10583:

Line 10588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10584: RETURN FALSE;
10585:
10586: WHEN OTHERS THEN
10587:
10588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10589: THEN
10590: OE_MSG_PUB.Add_Exc_Msg
10591: ( G_PKG_NAME
10592: , 'Creation_Date'

Line 10590: OE_MSG_PUB.Add_Exc_Msg

10586: WHEN OTHERS THEN
10587:
10588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10589: THEN
10590: OE_MSG_PUB.Add_Exc_Msg
10591: ( G_PKG_NAME
10592: , 'Creation_Date'
10593: );
10594: END IF;

Line 10628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10624: EXCEPTION
10625:
10626: WHEN NO_DATA_FOUND THEN
10627:
10628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10629: THEN
10630:
10631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_DATE');
10632:

Line 10631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_DATE');

10627:
10628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10629: THEN
10630:
10631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_DATE');
10632:
10633: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10634: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10635: OE_Order_Util.Get_Attribute_Name('ordered_date'));

Line 10636: OE_MSG_PUB.Add;

10632:
10633: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10634: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10635: OE_Order_Util.Get_Attribute_Name('ordered_date'));
10636: OE_MSG_PUB.Add;
10637: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10638:
10639: END IF;
10640:

Line 10637: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10633: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10634: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10635: OE_Order_Util.Get_Attribute_Name('ordered_date'));
10636: OE_MSG_PUB.Add;
10637: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10638:
10639: END IF;
10640:
10641:

Line 10646: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10642: RETURN FALSE;
10643:
10644: WHEN OTHERS THEN
10645:
10646: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10647: THEN
10648: OE_MSG_PUB.Add_Exc_Msg
10649: ( G_PKG_NAME
10650: , 'Ordered_Date'

Line 10648: OE_MSG_PUB.Add_Exc_Msg

10644: WHEN OTHERS THEN
10645:
10646: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10647: THEN
10648: OE_MSG_PUB.Add_Exc_Msg
10649: ( G_PKG_NAME
10650: , 'Ordered_Date'
10651: );
10652: END IF;

Line 10690: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10686: EXCEPTION
10687:
10688: WHEN NO_DATA_FOUND THEN
10689:
10690: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10691: THEN
10692:
10693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_DATE_TYPE_CODE');
10694:

Line 10693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_DATE_TYPE_CODE');

10689:
10690: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10691: THEN
10692:
10693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_DATE_TYPE_CODE');
10694:
10695: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10696: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10697: OE_Order_Util.Get_Attribute_Name('order_date_type_code'));

Line 10698: OE_MSG_PUB.Add;

10694:
10695: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10696: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10697: OE_Order_Util.Get_Attribute_Name('order_date_type_code'));
10698: OE_MSG_PUB.Add;
10699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10700:
10701:
10702: END IF;

Line 10699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10695: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10696: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10697: OE_Order_Util.Get_Attribute_Name('order_date_type_code'));
10698: OE_MSG_PUB.Add;
10699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10700:
10701:
10702: END IF;
10703:

Line 10709: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10705: RETURN FALSE;
10706:
10707: WHEN OTHERS THEN
10708:
10709: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10710: THEN
10711: OE_MSG_PUB.Add_Exc_Msg
10712: ( G_PKG_NAME
10713: , 'Order_Date_Type_Code'

Line 10711: OE_MSG_PUB.Add_Exc_Msg

10707: WHEN OTHERS THEN
10708:
10709: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10710: THEN
10711: OE_MSG_PUB.Add_Exc_Msg
10712: ( G_PKG_NAME
10713: , 'Order_Date_Type_Code'
10714: );
10715: END IF;

Line 10750: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10746: EXCEPTION
10747:
10748: WHEN NO_DATA_FOUND THEN
10749:
10750: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10751: THEN
10752:
10753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_DATE');
10754:

Line 10753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_DATE');

10749:
10750: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10751: THEN
10752:
10753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_DATE');
10754:
10755: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10756: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10757: OE_Order_Util.Get_Attribute_Name('request_date'));

Line 10758: OE_MSG_PUB.Add;

10754:
10755: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10756: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10757: OE_Order_Util.Get_Attribute_Name('request_date'));
10758: OE_MSG_PUB.Add;
10759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10760:
10761: END IF;
10762:

Line 10759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10755: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10756: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10757: OE_Order_Util.Get_Attribute_Name('request_date'));
10758: OE_MSG_PUB.Add;
10759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10760:
10761: END IF;
10762:
10763:

Line 10768: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10764: RETURN FALSE;
10765:
10766: WHEN OTHERS THEN
10767:
10768: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10769: THEN
10770: OE_MSG_PUB.Add_Exc_Msg
10771: ( G_PKG_NAME
10772: , 'Request_Date'

Line 10770: OE_MSG_PUB.Add_Exc_Msg

10766: WHEN OTHERS THEN
10767:
10768: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10769: THEN
10770: OE_MSG_PUB.Add_Exc_Msg
10771: ( G_PKG_NAME
10772: , 'Request_Date'
10773: );
10774: END IF;

Line 10807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10803: EXCEPTION
10804:
10805: WHEN NO_DATA_FOUND THEN
10806:
10807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10808: THEN
10809:
10810: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RESERVED_QUANTITY');
10811:

Line 10810: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RESERVED_QUANTITY');

10806:
10807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10808: THEN
10809:
10810: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RESERVED_QUANTITY');
10811:
10812: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10813: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10814: OE_Order_Util.Get_Attribute_Name('reserved_quantity'));

Line 10815: OE_MSG_PUB.Add;

10811:
10812: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10813: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10814: OE_Order_Util.Get_Attribute_Name('reserved_quantity'));
10815: OE_MSG_PUB.Add;
10816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10817:
10818: END IF;
10819:

Line 10816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10812: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10813: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10814: OE_Order_Util.Get_Attribute_Name('reserved_quantity'));
10815: OE_MSG_PUB.Add;
10816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10817:
10818: END IF;
10819:
10820:

Line 10825: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10821: RETURN FALSE;
10822:
10823: WHEN OTHERS THEN
10824:
10825: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10826: THEN
10827: OE_MSG_PUB.Add_Exc_Msg
10828: ( G_PKG_NAME
10829: , 'Reserved_Quantity'

Line 10827: OE_MSG_PUB.Add_Exc_Msg

10823: WHEN OTHERS THEN
10824:
10825: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10826: THEN
10827: OE_MSG_PUB.Add_Exc_Msg
10828: ( G_PKG_NAME
10829: , 'Reserved_Quantity'
10830: );
10831: END IF;

Line 10864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10860: EXCEPTION
10861:
10862: WHEN NO_DATA_FOUND THEN
10863:
10864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10865: THEN
10866:
10867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_ARRIVAL_DATE');
10868:

Line 10867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_ARRIVAL_DATE');

10863:
10864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10865: THEN
10866:
10867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_ARRIVAL_DATE');
10868:
10869: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10870: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10871: OE_Order_Util.Get_Attribute_Name('actual_arrival_date'));

Line 10872: OE_MSG_PUB.Add;

10868:
10869: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10870: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10871: OE_Order_Util.Get_Attribute_Name('actual_arrival_date'));
10872: OE_MSG_PUB.Add;
10873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10874:
10875: END IF;
10876:

Line 10873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10869: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10870: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10871: OE_Order_Util.Get_Attribute_Name('actual_arrival_date'));
10872: OE_MSG_PUB.Add;
10873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10874:
10875: END IF;
10876:
10877:

Line 10882: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10878: RETURN FALSE;
10879:
10880: WHEN OTHERS THEN
10881:
10882: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10883: THEN
10884: OE_MSG_PUB.Add_Exc_Msg
10885: ( G_PKG_NAME
10886: , 'Actual_Arrival_Date'

Line 10884: OE_MSG_PUB.Add_Exc_Msg

10880: WHEN OTHERS THEN
10881:
10882: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10883: THEN
10884: OE_MSG_PUB.Add_Exc_Msg
10885: ( G_PKG_NAME
10886: , 'Actual_Arrival_Date'
10887: );
10888: END IF;

Line 10922: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10918: EXCEPTION
10919:
10920: WHEN NO_DATA_FOUND THEN
10921:
10922: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10923: THEN
10924:
10925: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_SHIPMENT_DATE');
10926:

Line 10925: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_SHIPMENT_DATE');

10921:
10922: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10923: THEN
10924:
10925: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_SHIPMENT_DATE');
10926:
10927: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10928: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10929: OE_Order_Util.Get_Attribute_Name('actual_shipment_date'));

Line 10930: OE_MSG_PUB.Add;

10926:
10927: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10928: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10929: OE_Order_Util.Get_Attribute_Name('actual_shipment_date'));
10930: OE_MSG_PUB.Add;
10931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10932:
10933: END IF;
10934:

Line 10931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10927: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10928: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10929: OE_Order_Util.Get_Attribute_Name('actual_shipment_date'));
10930: OE_MSG_PUB.Add;
10931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10932:
10933: END IF;
10934:
10935:

Line 10940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10936: RETURN FALSE;
10937:
10938: WHEN OTHERS THEN
10939:
10940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10941: THEN
10942: OE_MSG_PUB.Add_Exc_Msg
10943: ( G_PKG_NAME
10944: , 'Actual_Shipment_Date'

Line 10942: OE_MSG_PUB.Add_Exc_Msg

10938: WHEN OTHERS THEN
10939:
10940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10941: THEN
10942: OE_MSG_PUB.Add_Exc_Msg
10943: ( G_PKG_NAME
10944: , 'Actual_Shipment_Date'
10945: );
10946: END IF;

Line 10980: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10976: EXCEPTION
10977:
10978: WHEN NO_DATA_FOUND THEN
10979:
10980: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10981: THEN
10982:
10983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ATO_LINE_ID');
10984:

Line 10983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ATO_LINE_ID');

10979:
10980: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10981: THEN
10982:
10983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ATO_LINE_ID');
10984:
10985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10987: OE_Order_Util.Get_Attribute_Name('ato_line_id'));

Line 10988: OE_MSG_PUB.Add;

10984:
10985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10987: OE_Order_Util.Get_Attribute_Name('ato_line_id'));
10988: OE_MSG_PUB.Add;
10989: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10990:
10991: END IF;
10992:

Line 10989: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10987: OE_Order_Util.Get_Attribute_Name('ato_line_id'));
10988: OE_MSG_PUB.Add;
10989: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10990:
10991: END IF;
10992:
10993:

Line 10998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10994: RETURN FALSE;
10995:
10996: WHEN OTHERS THEN
10997:
10998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10999: THEN
11000: OE_MSG_PUB.Add_Exc_Msg
11001: ( G_PKG_NAME
11002: , 'Ato_Line_Id'

Line 11000: OE_MSG_PUB.Add_Exc_Msg

10996: WHEN OTHERS THEN
10997:
10998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10999: THEN
11000: OE_MSG_PUB.Add_Exc_Msg
11001: ( G_PKG_NAME
11002: , 'Ato_Line_Id'
11003: );
11004: END IF;

Line 11038: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11034: EXCEPTION
11035:
11036: WHEN NO_DATA_FOUND THEN
11037:
11038: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11039: THEN
11040:
11041: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTO_SELECTED_QUANTITY');
11042:

Line 11041: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTO_SELECTED_QUANTITY');

11037:
11038: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11039: THEN
11040:
11041: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTO_SELECTED_QUANTITY');
11042:
11043: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11044: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11045: OE_Order_Util.Get_Attribute_Name('auto_selected_quantity'));

Line 11046: OE_MSG_PUB.Add;

11042:
11043: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11044: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11045: OE_Order_Util.Get_Attribute_Name('auto_selected_quantity'));
11046: OE_MSG_PUB.Add;
11047: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11048:
11049: END IF;
11050:

Line 11047: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11043: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11044: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11045: OE_Order_Util.Get_Attribute_Name('auto_selected_quantity'));
11046: OE_MSG_PUB.Add;
11047: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11048:
11049: END IF;
11050:
11051:

Line 11056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11052: RETURN FALSE;
11053:
11054: WHEN OTHERS THEN
11055:
11056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11057: THEN
11058: OE_MSG_PUB.Add_Exc_Msg
11059: ( G_PKG_NAME
11060: , 'Auto_Selected_Quantity'

Line 11058: OE_MSG_PUB.Add_Exc_Msg

11054: WHEN OTHERS THEN
11055:
11056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11057: THEN
11058: OE_MSG_PUB.Add_Exc_Msg
11059: ( G_PKG_NAME
11060: , 'Auto_Selected_Quantity'
11061: );
11062: END IF;

Line 11102: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11098: EXCEPTION
11099:
11100: WHEN NO_DATA_FOUND THEN
11101:
11102: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11103: THEN
11104:
11105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BLANKET_NUMBER');
11106:

Line 11105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BLANKET_NUMBER');

11101:
11102: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11103: THEN
11104:
11105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BLANKET_NUMBER');
11106:
11107: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
11108: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11109: 'BLANKET NUMBER');

Line 11110: OE_MSG_PUB.Add;

11106:
11107: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
11108: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11109: 'BLANKET NUMBER');
11110: OE_MSG_PUB.Add;
11111:
11112: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11113:
11114: END IF;

Line 11112: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11108: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11109: 'BLANKET NUMBER');
11110: OE_MSG_PUB.Add;
11111:
11112: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11113:
11114: END IF;
11115:
11116: RETURN FALSE;

Line 11119: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11115:
11116: RETURN FALSE;
11117:
11118: WHEN OTHERS THEN
11119: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11120: THEN
11121: OE_MSG_PUB.Add_Exc_Msg
11122: ( G_PKG_NAME
11123: , 'Blanket_Number'

Line 11121: OE_MSG_PUB.Add_Exc_Msg

11117:
11118: WHEN OTHERS THEN
11119: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11120: THEN
11121: OE_MSG_PUB.Add_Exc_Msg
11122: ( G_PKG_NAME
11123: , 'Blanket_Number'
11124: );
11125: END IF;

Line 11157: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11153: EXCEPTION
11154:
11155: WHEN NO_DATA_FOUND THEN
11156:
11157: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11158: THEN
11159:
11160: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BOOKED_FLAG');
11161:

Line 11160: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BOOKED_FLAG');

11156:
11157: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11158: THEN
11159:
11160: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BOOKED_FLAG');
11161:
11162: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11163: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11164: OE_Order_Util.Get_Attribute_Name('booked_flag'));

Line 11165: OE_MSG_PUB.Add;

11161:
11162: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11163: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11164: OE_Order_Util.Get_Attribute_Name('booked_flag'));
11165: OE_MSG_PUB.Add;
11166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11167:
11168: END IF;
11169:

Line 11166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11162: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11163: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11164: OE_Order_Util.Get_Attribute_Name('booked_flag'));
11165: OE_MSG_PUB.Add;
11166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11167:
11168: END IF;
11169:
11170:

Line 11175: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11171: RETURN FALSE;
11172:
11173: WHEN OTHERS THEN
11174:
11175: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11176: THEN
11177: OE_MSG_PUB.Add_Exc_Msg
11178: ( G_PKG_NAME
11179: , 'Booked'

Line 11177: OE_MSG_PUB.Add_Exc_Msg

11173: WHEN OTHERS THEN
11174:
11175: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11176: THEN
11177: OE_MSG_PUB.Add_Exc_Msg
11178: ( G_PKG_NAME
11179: , 'Booked'
11180: );
11181: END IF;

Line 11214: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11210: EXCEPTION
11211:
11212: WHEN NO_DATA_FOUND THEN
11213:
11214: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11215: THEN
11216:
11217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_FLAG');
11218:

Line 11217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_FLAG');

11213:
11214: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11215: THEN
11216:
11217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_FLAG');
11218:
11219: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11220: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11221: OE_Order_Util.Get_Attribute_Name('cancelled_flag'));

Line 11222: OE_MSG_PUB.Add;

11218:
11219: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11220: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11221: OE_Order_Util.Get_Attribute_Name('cancelled_flag'));
11222: OE_MSG_PUB.Add;
11223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11224:
11225: END IF;
11226:

Line 11223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11219: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11220: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11221: OE_Order_Util.Get_Attribute_Name('cancelled_flag'));
11222: OE_MSG_PUB.Add;
11223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11224:
11225: END IF;
11226:
11227:

Line 11232: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11228: RETURN FALSE;
11229:
11230: WHEN OTHERS THEN
11231:
11232: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11233: THEN
11234: OE_MSG_PUB.Add_Exc_Msg
11235: ( G_PKG_NAME
11236: , 'Cancelled'

Line 11234: OE_MSG_PUB.Add_Exc_Msg

11230: WHEN OTHERS THEN
11231:
11232: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11233: THEN
11234: OE_MSG_PUB.Add_Exc_Msg
11235: ( G_PKG_NAME
11236: , 'Cancelled'
11237: );
11238: END IF;

Line 11272: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11268: EXCEPTION
11269:
11270: WHEN NO_DATA_FOUND THEN
11271:
11272: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11273: THEN
11274:
11275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_QUANTITY');
11276:

Line 11275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_QUANTITY');

11271:
11272: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11273: THEN
11274:
11275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_QUANTITY');
11276:
11277: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11278: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11279: OE_Order_Util.Get_Attribute_Name('cancelled_quantity'));

Line 11280: OE_MSG_PUB.Add;

11276:
11277: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11278: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11279: OE_Order_Util.Get_Attribute_Name('cancelled_quantity'));
11280: OE_MSG_PUB.Add;
11281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11282:
11283: END IF;
11284:

Line 11281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11277: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11278: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11279: OE_Order_Util.Get_Attribute_Name('cancelled_quantity'));
11280: OE_MSG_PUB.Add;
11281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11282:
11283: END IF;
11284:
11285:

Line 11290: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11286: RETURN FALSE;
11287:
11288: WHEN OTHERS THEN
11289:
11290: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11291: THEN
11292: OE_MSG_PUB.Add_Exc_Msg
11293: ( G_PKG_NAME
11294: , 'Cancelled_Quantity'

Line 11292: OE_MSG_PUB.Add_Exc_Msg

11288: WHEN OTHERS THEN
11289:
11290: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11291: THEN
11292: OE_MSG_PUB.Add_Exc_Msg
11293: ( G_PKG_NAME
11294: , 'Cancelled_Quantity'
11295: );
11296: END IF;

Line 11331: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11327: EXCEPTION
11328:
11329: WHEN NO_DATA_FOUND THEN
11330:
11331: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11332: THEN
11333:
11334: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_INVOICE_LINE_ID');
11335:

Line 11334: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_INVOICE_LINE_ID');

11330:
11331: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11332: THEN
11333:
11334: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_INVOICE_LINE_ID');
11335:
11336: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11337: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11338: OE_Order_Util.Get_Attribute_Name('credit_invoice_line'));

Line 11339: OE_MSG_PUB.Add;

11335:
11336: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11337: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11338: OE_Order_Util.Get_Attribute_Name('credit_invoice_line'));
11339: OE_MSG_PUB.Add;
11340: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11341:
11342: END IF;
11343:

Line 11340: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11336: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11337: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11338: OE_Order_Util.Get_Attribute_Name('credit_invoice_line'));
11339: OE_MSG_PUB.Add;
11340: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11341:
11342: END IF;
11343:
11344:

Line 11349: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11345: RETURN FALSE;
11346:
11347: WHEN OTHERS THEN
11348:
11349: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11350: THEN
11351: OE_MSG_PUB.Add_Exc_Msg
11352: ( G_PKG_NAME
11353: , 'Credit_Invoice_Line'

Line 11351: OE_MSG_PUB.Add_Exc_Msg

11347: WHEN OTHERS THEN
11348:
11349: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11350: THEN
11351: OE_MSG_PUB.Add_Exc_Msg
11352: ( G_PKG_NAME
11353: , 'Credit_Invoice_Line'
11354: );
11355: END IF;

Line 11389: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11385: EXCEPTION
11386:
11387: WHEN NO_DATA_FOUND THEN
11388:
11389: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11390: THEN
11391:
11392: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_DOCK_CODE');
11393:

Line 11392: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_DOCK_CODE');

11388:
11389: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11390: THEN
11391:
11392: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_DOCK_CODE');
11393:
11394: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11395: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11396: OE_Order_Util.Get_Attribute_Name('customer_dock_code'));

Line 11397: OE_MSG_PUB.Add;

11393:
11394: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11395: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11396: OE_Order_Util.Get_Attribute_Name('customer_dock_code'));
11397: OE_MSG_PUB.Add;
11398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11399:
11400:
11401: END IF;

Line 11398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11394: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11395: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11396: OE_Order_Util.Get_Attribute_Name('customer_dock_code'));
11397: OE_MSG_PUB.Add;
11398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11399:
11400:
11401: END IF;
11402:

Line 11408: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11404: RETURN FALSE;
11405:
11406: WHEN OTHERS THEN
11407:
11408: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11409: THEN
11410: OE_MSG_PUB.Add_Exc_Msg
11411: ( G_PKG_NAME
11412: , 'Customer_Dock'

Line 11410: OE_MSG_PUB.Add_Exc_Msg

11406: WHEN OTHERS THEN
11407:
11408: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11409: THEN
11410: OE_MSG_PUB.Add_Exc_Msg
11411: ( G_PKG_NAME
11412: , 'Customer_Dock'
11413: );
11414: END IF;

Line 11449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11445: EXCEPTION
11446:
11447: WHEN NO_DATA_FOUND THEN
11448:
11449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11450: THEN
11451:
11452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_JOB');
11453:

Line 11452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_JOB');

11448:
11449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11450: THEN
11451:
11452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_JOB');
11453:
11454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11456: OE_Order_Util.Get_Attribute_Name('customer_job'));

Line 11457: OE_MSG_PUB.Add;

11453:
11454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11456: OE_Order_Util.Get_Attribute_Name('customer_job'));
11457: OE_MSG_PUB.Add;
11458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11459:
11460: END IF;
11461:

Line 11458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11456: OE_Order_Util.Get_Attribute_Name('customer_job'));
11457: OE_MSG_PUB.Add;
11458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11459:
11460: END IF;
11461:
11462: RETURN FALSE;

Line 11467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11463:
11464:
11465: WHEN OTHERS THEN
11466:
11467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11468: THEN
11469: OE_MSG_PUB.Add_Exc_Msg
11470: ( G_PKG_NAME
11471: , 'Customer_Job'

Line 11469: OE_MSG_PUB.Add_Exc_Msg

11465: WHEN OTHERS THEN
11466:
11467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11468: THEN
11469: OE_MSG_PUB.Add_Exc_Msg
11470: ( G_PKG_NAME
11471: , 'Customer_Job'
11472: );
11473: END IF;

Line 11506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11502: EXCEPTION
11503:
11504: WHEN NO_DATA_FOUND THEN
11505:
11506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11507: THEN
11508:
11509: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PRODUCTION_LINE');
11510:

Line 11509: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PRODUCTION_LINE');

11505:
11506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11507: THEN
11508:
11509: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PRODUCTION_LINE');
11510:
11511: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11512: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11513: OE_Order_Util.Get_Attribute_Name('customer_production_line'));

Line 11514: OE_MSG_PUB.Add;

11510:
11511: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11512: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11513: OE_Order_Util.Get_Attribute_Name('customer_production_line'));
11514: OE_MSG_PUB.Add;
11515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11516:
11517: END IF;
11518:

Line 11515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11511: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11512: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11513: OE_Order_Util.Get_Attribute_Name('customer_production_line'));
11514: OE_MSG_PUB.Add;
11515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11516:
11517: END IF;
11518:
11519:

Line 11524: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11520: RETURN FALSE;
11521:
11522: WHEN OTHERS THEN
11523:
11524: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11525: THEN
11526: OE_MSG_PUB.Add_Exc_Msg
11527: ( G_PKG_NAME
11528: , 'Customer_Production_Line'

Line 11526: OE_MSG_PUB.Add_Exc_Msg

11522: WHEN OTHERS THEN
11523:
11524: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11525: THEN
11526: OE_MSG_PUB.Add_Exc_Msg
11527: ( G_PKG_NAME
11528: , 'Customer_Production_Line'
11529: );
11530: END IF;

Line 11563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11559: EXCEPTION
11560:
11561: WHEN NO_DATA_FOUND THEN
11562:
11563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11564: THEN
11565:
11566: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_TRX_LINE_ID');
11567:

Line 11566: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_TRX_LINE_ID');

11562:
11563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11564: THEN
11565:
11566: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_TRX_LINE_ID');
11567:
11568: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11569: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11570: OE_Order_Util.Get_Attribute_Name('customer_trx_line_id'));

Line 11571: OE_MSG_PUB.Add;

11567:
11568: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11569: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11570: OE_Order_Util.Get_Attribute_Name('customer_trx_line_id'));
11571: OE_MSG_PUB.Add;
11572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11573:
11574: END IF;
11575:

Line 11572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11568: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11569: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11570: OE_Order_Util.Get_Attribute_Name('customer_trx_line_id'));
11571: OE_MSG_PUB.Add;
11572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11573:
11574: END IF;
11575:
11576:

Line 11581: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11577: RETURN FALSE;
11578:
11579: WHEN OTHERS THEN
11580:
11581: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11582: THEN
11583: OE_MSG_PUB.Add_Exc_Msg
11584: ( G_PKG_NAME
11585: , 'Customer_Trx_Line'

Line 11583: OE_MSG_PUB.Add_Exc_Msg

11579: WHEN OTHERS THEN
11580:
11581: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11582: THEN
11583: OE_MSG_PUB.Add_Exc_Msg
11584: ( G_PKG_NAME
11585: , 'Customer_Trx_Line'
11586: );
11587: END IF;

Line 11622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11618: EXCEPTION
11619:
11620: WHEN NO_DATA_FOUND THEN
11621:
11622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11623: THEN
11624:
11625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEP_PLAN_REQUIRED_FLAG');
11626:

Line 11625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEP_PLAN_REQUIRED_FLAG');

11621:
11622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11623: THEN
11624:
11625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEP_PLAN_REQUIRED_FLAG');
11626:
11627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11629: OE_Order_Util.Get_Attribute_Name('dep_plan_required_flag'));

Line 11630: OE_MSG_PUB.Add;

11626:
11627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11629: OE_Order_Util.Get_Attribute_Name('dep_plan_required_flag'));
11630: OE_MSG_PUB.Add;
11631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11632:
11633: END IF;
11634:

Line 11631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11629: OE_Order_Util.Get_Attribute_Name('dep_plan_required_flag'));
11630: OE_MSG_PUB.Add;
11631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11632:
11633: END IF;
11634:
11635:

Line 11640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11636: RETURN FALSE;
11637:
11638: WHEN OTHERS THEN
11639:
11640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11641: THEN
11642: OE_MSG_PUB.Add_Exc_Msg
11643: ( G_PKG_NAME
11644: , 'Dep_Plan_Required'

Line 11642: OE_MSG_PUB.Add_Exc_Msg

11638: WHEN OTHERS THEN
11639:
11640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11641: THEN
11642: OE_MSG_PUB.Add_Exc_Msg
11643: ( G_PKG_NAME
11644: , 'Dep_Plan_Required'
11645: );
11646: END IF;

Line 11680: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11676: EXCEPTION
11677:
11678: WHEN NO_DATA_FOUND THEN
11679:
11680: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11681: THEN
11682:
11683: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY');
11684:

Line 11683: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY');

11679:
11680: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11681: THEN
11682:
11683: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY');
11684:
11685: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11686: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11687: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity'));

Line 11688: OE_MSG_PUB.Add;

11684:
11685: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11686: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11687: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity'));
11688: OE_MSG_PUB.Add;
11689: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11690:
11691: END IF;
11692:

Line 11689: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11685: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11686: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11687: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity'));
11688: OE_MSG_PUB.Add;
11689: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11690:
11691: END IF;
11692:
11693:

Line 11698: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11694: RETURN FALSE;
11695:
11696: WHEN OTHERS THEN
11697:
11698: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11699: THEN
11700: OE_MSG_PUB.Add_Exc_Msg
11701: ( G_PKG_NAME
11702: , 'Fulfilled_Quantity'

Line 11700: OE_MSG_PUB.Add_Exc_Msg

11696: WHEN OTHERS THEN
11697:
11698: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11699: THEN
11700: OE_MSG_PUB.Add_Exc_Msg
11701: ( G_PKG_NAME
11702: , 'Fulfilled_Quantity'
11703: );
11704: END IF;

Line 11738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11734: EXCEPTION
11735:
11736: WHEN NO_DATA_FOUND THEN
11737:
11738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11739: THEN
11740:
11741: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_INTERFACE_STATUS_CODE');
11742:

Line 11741: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_INTERFACE_STATUS_CODE');

11737:
11738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11739: THEN
11740:
11741: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_INTERFACE_STATUS_CODE');
11742:
11743: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11744: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11745: OE_Order_Util.Get_Attribute_Name('invoice_interface_status_code'));

Line 11746: OE_MSG_PUB.Add;

11742:
11743: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11744: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11745: OE_Order_Util.Get_Attribute_Name('invoice_interface_status_code'));
11746: OE_MSG_PUB.Add;
11747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11748:
11749: END IF;
11750:

Line 11747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11743: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11744: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11745: OE_Order_Util.Get_Attribute_Name('invoice_interface_status_code'));
11746: OE_MSG_PUB.Add;
11747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11748:
11749: END IF;
11750:
11751:

Line 11756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11752: RETURN FALSE;
11753:
11754: WHEN OTHERS THEN
11755:
11756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11757: THEN
11758: OE_MSG_PUB.Add_Exc_Msg
11759: ( G_PKG_NAME
11760: , 'Invoice_Interface_Status'

Line 11758: OE_MSG_PUB.Add_Exc_Msg

11754: WHEN OTHERS THEN
11755:
11756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11757: THEN
11758: OE_MSG_PUB.Add_Exc_Msg
11759: ( G_PKG_NAME
11760: , 'Invoice_Interface_Status'
11761: );
11762: END IF;

Line 11797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11793: EXCEPTION
11794:
11795: WHEN NO_DATA_FOUND THEN
11796:
11797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11798: THEN
11799:
11800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_REVISION');
11801:

Line 11800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_REVISION');

11796:
11797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11798: THEN
11799:
11800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_REVISION');
11801:
11802: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11803: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11804: OE_Order_Util.Get_Attribute_Name('item_revision'));

Line 11805: OE_MSG_PUB.Add;

11801:
11802: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11803: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11804: OE_Order_Util.Get_Attribute_Name('item_revision'));
11805: OE_MSG_PUB.Add;
11806: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11807:
11808: END IF;
11809:

Line 11806: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11802: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11803: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11804: OE_Order_Util.Get_Attribute_Name('item_revision'));
11805: OE_MSG_PUB.Add;
11806: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11807:
11808: END IF;
11809:
11810:

Line 11815: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11811: RETURN FALSE;
11812:
11813: WHEN OTHERS THEN
11814:
11815: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11816: THEN
11817: OE_MSG_PUB.Add_Exc_Msg
11818: ( G_PKG_NAME
11819: , 'Item_Revision'

Line 11817: OE_MSG_PUB.Add_Exc_Msg

11813: WHEN OTHERS THEN
11814:
11815: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11816: THEN
11817: OE_MSG_PUB.Add_Exc_Msg
11818: ( G_PKG_NAME
11819: , 'Item_Revision'
11820: );
11821: END IF;

Line 11854: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11850: EXCEPTION
11851:
11852: WHEN NO_DATA_FOUND THEN
11853:
11854: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11855: THEN
11856:
11857: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');
11858:

Line 11857: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');

11853:
11854: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11855: THEN
11856:
11857: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');
11858:
11859: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11860: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11861: OE_Order_Util.Get_Attribute_Name('item_type_code'));

Line 11862: OE_MSG_PUB.Add;

11858:
11859: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11860: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11861: OE_Order_Util.Get_Attribute_Name('item_type_code'));
11862: OE_MSG_PUB.Add;
11863: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11864:
11865: END IF;
11866:

Line 11863: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11859: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11860: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11861: OE_Order_Util.Get_Attribute_Name('item_type_code'));
11862: OE_MSG_PUB.Add;
11863: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11864:
11865: END IF;
11866:
11867:

Line 11872: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11868: RETURN FALSE;
11869:
11870: WHEN OTHERS THEN
11871:
11872: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11873: THEN
11874: OE_MSG_PUB.Add_Exc_Msg
11875: ( G_PKG_NAME
11876: , 'Item_Type'

Line 11874: OE_MSG_PUB.Add_Exc_Msg

11870: WHEN OTHERS THEN
11871:
11872: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11873: THEN
11874: OE_MSG_PUB.Add_Exc_Msg
11875: ( G_PKG_NAME
11876: , 'Item_Type'
11877: );
11878: END IF;

Line 11911: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11907: EXCEPTION
11908:
11909: WHEN NO_DATA_FOUND THEN
11910:
11911: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11912: THEN
11913:
11914: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');
11915:

Line 11914: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');

11910:
11911: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11912: THEN
11913:
11914: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');
11915:
11916: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11917: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11918: OE_Order_Util.Get_Attribute_Name('line_category_code'));

Line 11919: OE_MSG_PUB.Add;

11915:
11916: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11917: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11918: OE_Order_Util.Get_Attribute_Name('line_category_code'));
11919: OE_MSG_PUB.Add;
11920: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11921:
11922: END IF;
11923:

Line 11920: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11916: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11917: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11918: OE_Order_Util.Get_Attribute_Name('line_category_code'));
11919: OE_MSG_PUB.Add;
11920: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11921:
11922: END IF;
11923:
11924:

Line 11929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11925: RETURN FALSE;
11926:
11927: WHEN OTHERS THEN
11928:
11929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11930: THEN
11931: OE_MSG_PUB.Add_Exc_Msg
11932: ( G_PKG_NAME
11933: , 'Line_Category'

Line 11931: OE_MSG_PUB.Add_Exc_Msg

11927: WHEN OTHERS THEN
11928:
11929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11930: THEN
11931: OE_MSG_PUB.Add_Exc_Msg
11932: ( G_PKG_NAME
11933: , 'Line_Category'
11934: );
11935: END IF;

Line 11968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11964: EXCEPTION
11965:
11966: WHEN NO_DATA_FOUND THEN
11967:
11968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11969: THEN
11970:
11971: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');
11972:

Line 11971: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');

11967:
11968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11969: THEN
11970:
11971: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');
11972:
11973: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11974: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11975: OE_Order_Util.Get_Attribute_Name('open_flag'));

Line 11976: OE_MSG_PUB.Add;

11972:
11973: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11974: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11975: OE_Order_Util.Get_Attribute_Name('open_flag'));
11976: OE_MSG_PUB.Add;
11977: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11978:
11979: END IF;
11980:

Line 11977: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11973: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11974: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11975: OE_Order_Util.Get_Attribute_Name('open_flag'));
11976: OE_MSG_PUB.Add;
11977: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11978:
11979: END IF;
11980:
11981:

Line 11986: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11982: RETURN FALSE;
11983:
11984: WHEN OTHERS THEN
11985:
11986: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11987: THEN
11988: OE_MSG_PUB.Add_Exc_Msg
11989: ( G_PKG_NAME
11990: , 'Open'

Line 11988: OE_MSG_PUB.Add_Exc_Msg

11984: WHEN OTHERS THEN
11985:
11986: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11987: THEN
11988: OE_MSG_PUB.Add_Exc_Msg
11989: ( G_PKG_NAME
11990: , 'Open'
11991: );
11992: END IF;

Line 12026: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12022: EXCEPTION
12023:
12024: WHEN NO_DATA_FOUND THEN
12025:
12026: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12027: THEN
12028:
12029: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');
12030:

Line 12029: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');

12025:
12026: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12027: THEN
12028:
12029: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');
12030:
12031: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12032: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12033: OE_Order_Util.Get_Attribute_Name('option_flag'));

Line 12034: OE_MSG_PUB.Add;

12030:
12031: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12032: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12033: OE_Order_Util.Get_Attribute_Name('option_flag'));
12034: OE_MSG_PUB.Add;
12035: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12036:
12037: END IF;
12038:

Line 12035: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12031: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12032: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12033: OE_Order_Util.Get_Attribute_Name('option_flag'));
12034: OE_MSG_PUB.Add;
12035: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12036:
12037: END IF;
12038:
12039:

Line 12044: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12040: RETURN FALSE;
12041:
12042: WHEN OTHERS THEN
12043:
12044: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12045: THEN
12046: OE_MSG_PUB.Add_Exc_Msg
12047: ( G_PKG_NAME
12048: , 'Option_Flag'

Line 12046: OE_MSG_PUB.Add_Exc_Msg

12042: WHEN OTHERS THEN
12043:
12044: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12045: THEN
12046: OE_MSG_PUB.Add_Exc_Msg
12047: ( G_PKG_NAME
12048: , 'Option_Flag'
12049: );
12050: END IF;

Line 12088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12084: EXCEPTION
12085:
12086: WHEN NO_DATA_FOUND THEN
12087:
12088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12089: THEN
12090:
12091: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');
12092:

Line 12091: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');

12087:
12088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12089: THEN
12090:
12091: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');
12092:
12093: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12094: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12095: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));

Line 12096: OE_MSG_PUB.Add;

12092:
12093: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12094: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12095: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
12096: OE_MSG_PUB.Add;
12097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12098:
12099: END IF;
12100:

Line 12097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12093: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12094: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12095: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
12096: OE_MSG_PUB.Add;
12097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12098:
12099: END IF;
12100:
12101:

Line 12106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12102: RETURN FALSE;
12103:
12104: WHEN OTHERS THEN
12105:
12106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12107: THEN
12108: OE_MSG_PUB.Add_Exc_Msg
12109: ( G_PKG_NAME
12110: , 'Ordered_Quantity'

Line 12108: OE_MSG_PUB.Add_Exc_Msg

12104: WHEN OTHERS THEN
12105:
12106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12107: THEN
12108: OE_MSG_PUB.Add_Exc_Msg
12109: ( G_PKG_NAME
12110: , 'Ordered_Quantity'
12111: );
12112: END IF;

Line 12142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12138: EXCEPTION
12139:
12140: WHEN NO_DATA_FOUND THEN
12141:
12142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12143: THEN
12144:
12145: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
12146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 12145: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');

12141:
12142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12143: THEN
12144:
12145: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
12146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12148: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
12149: OE_MSG_PUB.Add;

Line 12149: OE_MSG_PUB.Add;

12145: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
12146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12148: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
12149: OE_MSG_PUB.Add;
12150: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12151:
12152: END IF;
12153:

Line 12150: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12148: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
12149: OE_MSG_PUB.Add;
12150: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12151:
12152: END IF;
12153:
12154:

Line 12159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12155: RETURN FALSE;
12156:
12157: WHEN OTHERS THEN
12158:
12159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12160: THEN
12161: OE_MSG_PUB.Add_Exc_Msg
12162: ( G_PKG_NAME
12163: , 'Ordered_Quantity2'

Line 12161: OE_MSG_PUB.Add_Exc_Msg

12157: WHEN OTHERS THEN
12158:
12159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12160: THEN
12161: OE_MSG_PUB.Add_Exc_Msg
12162: ( G_PKG_NAME
12163: , 'Ordered_Quantity2'
12164: );
12165: END IF;

Line 12202: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12198: EXCEPTION
12199:
12200: WHEN NO_DATA_FOUND THEN
12201:
12202: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12203: THEN
12204:
12205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');
12206:

Line 12205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');

12201:
12202: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12203: THEN
12204:
12205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');
12206:
12207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12209: OE_Order_Util.Get_Attribute_Name('promise_date'));

Line 12210: OE_MSG_PUB.Add;

12206:
12207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12209: OE_Order_Util.Get_Attribute_Name('promise_date'));
12210: OE_MSG_PUB.Add;
12211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12212:
12213: END IF;
12214:

Line 12211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12209: OE_Order_Util.Get_Attribute_Name('promise_date'));
12210: OE_MSG_PUB.Add;
12211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12212:
12213: END IF;
12214:
12215:

Line 12220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12216: RETURN FALSE;
12217:
12218: WHEN OTHERS THEN
12219:
12220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12221: THEN
12222: OE_MSG_PUB.Add_Exc_Msg
12223: ( G_PKG_NAME
12224: , 'Promise_Date'

Line 12222: OE_MSG_PUB.Add_Exc_Msg

12218: WHEN OTHERS THEN
12219:
12220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12221: THEN
12222: OE_MSG_PUB.Add_Exc_Msg
12223: ( G_PKG_NAME
12224: , 'Promise_Date'
12225: );
12226: END IF;

Line 12261: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12257: EXCEPTION
12258:
12259: WHEN NO_DATA_FOUND THEN
12260:
12261: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12262: THEN
12263:
12264: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');
12265:

Line 12264: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');

12260:
12261: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12262: THEN
12263:
12264: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');
12265:
12266: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12267: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12268: OE_Order_Util.Get_Attribute_Name('re_source_flag'));

Line 12269: OE_MSG_PUB.Add;

12265:
12266: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12267: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12268: OE_Order_Util.Get_Attribute_Name('re_source_flag'));
12269: OE_MSG_PUB.Add;
12270: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12271:
12272: END IF;
12273:

Line 12270: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12266: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12267: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12268: OE_Order_Util.Get_Attribute_Name('re_source_flag'));
12269: OE_MSG_PUB.Add;
12270: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12271:
12272: END IF;
12273:
12274:

Line 12279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12275: RETURN FALSE;
12276:
12277: WHEN OTHERS THEN
12278:
12279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12280: THEN
12281: OE_MSG_PUB.Add_Exc_Msg
12282: ( G_PKG_NAME
12283: , 'Re_Source_Flag'

Line 12281: OE_MSG_PUB.Add_Exc_Msg

12277: WHEN OTHERS THEN
12278:
12279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12280: THEN
12281: OE_MSG_PUB.Add_Exc_Msg
12282: ( G_PKG_NAME
12283: , 'Re_Source_Flag'
12284: );
12285: END IF;

Line 12319: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12315: EXCEPTION
12316:
12317: WHEN NO_DATA_FOUND THEN
12318:
12319: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12320: THEN
12321:
12322: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');
12323:

Line 12322: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');

12318:
12319: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12320: THEN
12321:
12322: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');
12323:
12324: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12325: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12326: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));

Line 12327: OE_MSG_PUB.Add;

12323:
12324: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12325: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12326: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));
12327: OE_MSG_PUB.Add;
12328: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12329:
12330: END IF;
12331:

Line 12328: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12324: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12325: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12326: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));
12327: OE_MSG_PUB.Add;
12328: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12329:
12330: END IF;
12331:
12332:

Line 12337: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12333: RETURN FALSE;
12334:
12335: WHEN OTHERS THEN
12336:
12337: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12338: THEN
12339: OE_MSG_PUB.Add_Exc_Msg
12340: ( G_PKG_NAME
12341: , 'Rla_Schedule_Type'

Line 12339: OE_MSG_PUB.Add_Exc_Msg

12335: WHEN OTHERS THEN
12336:
12337: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12338: THEN
12339: OE_MSG_PUB.Add_Exc_Msg
12340: ( G_PKG_NAME
12341: , 'Rla_Schedule_Type'
12342: );
12343: END IF;

Line 12376: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12372: EXCEPTION
12373:
12374: WHEN NO_DATA_FOUND THEN
12375:
12376: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12377: THEN
12378:
12379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');
12380:

Line 12379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');

12375:
12376: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12377: THEN
12378:
12379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');
12380:
12381: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12382: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12383: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));

Line 12384: OE_MSG_PUB.Add;

12380:
12381: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12382: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12383: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));
12384: OE_MSG_PUB.Add;
12385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12386:
12387: END IF;
12388:

Line 12385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12381: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12382: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12383: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));
12384: OE_MSG_PUB.Add;
12385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12386:
12387: END IF;
12388:
12389:

Line 12394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12390: RETURN FALSE;
12391:
12392: WHEN OTHERS THEN
12393:
12394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12395: THEN
12396: OE_MSG_PUB.Add_Exc_Msg
12397: ( G_PKG_NAME
12398: , 'schedule_ship_date'

Line 12396: OE_MSG_PUB.Add_Exc_Msg

12392: WHEN OTHERS THEN
12393:
12394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12395: THEN
12396: OE_MSG_PUB.Add_Exc_Msg
12397: ( G_PKG_NAME
12398: , 'schedule_ship_date'
12399: );
12400: END IF;

Line 12436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12432: EXCEPTION
12433:
12434: WHEN NO_DATA_FOUND THEN
12435:
12436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12437: THEN
12438:
12439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATE_DEMAND_PENALTY_FACTOR');
12440:

Line 12439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATE_DEMAND_PENALTY_FACTOR');

12435:
12436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12437: THEN
12438:
12439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATE_DEMAND_PENALTY_FACTOR');
12440:
12441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12443: OE_Order_Util.Get_Attribute_Name('late_demand_penalty_factor'));

Line 12444: OE_MSG_PUB.Add;

12440:
12441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12443: OE_Order_Util.Get_Attribute_Name('late_demand_penalty_factor'));
12444: OE_MSG_PUB.Add;
12445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12446:
12447: END IF;
12448:

Line 12445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12443: OE_Order_Util.Get_Attribute_Name('late_demand_penalty_factor'));
12444: OE_MSG_PUB.Add;
12445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12446:
12447: END IF;
12448:
12449:

Line 12454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12450: RETURN FALSE;
12451:
12452: WHEN OTHERS THEN
12453:
12454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12455: THEN
12456: OE_MSG_PUB.Add_Exc_Msg
12457: ( G_PKG_NAME
12458: , 'late_demand_penalty_factor'

Line 12456: OE_MSG_PUB.Add_Exc_Msg

12452: WHEN OTHERS THEN
12453:
12454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12455: THEN
12456: OE_MSG_PUB.Add_Exc_Msg
12457: ( G_PKG_NAME
12458: , 'late_demand_penalty_factor'
12459: );
12460: END IF;

Line 12493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12489: EXCEPTION
12490:
12491: WHEN NO_DATA_FOUND THEN
12492:
12493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12494: THEN
12495:
12496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');
12497:

Line 12496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');

12492:
12493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12494: THEN
12495:
12496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');
12497:
12498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12500: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));

Line 12501: OE_MSG_PUB.Add;

12497:
12498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12500: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));
12501: OE_MSG_PUB.Add;
12502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12503:
12504: END IF;
12505:

Line 12502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12500: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));
12501: OE_MSG_PUB.Add;
12502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12503:
12504: END IF;
12505:
12506:

Line 12511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12507: RETURN FALSE;
12508:
12509: WHEN OTHERS THEN
12510:
12511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12512: THEN
12513: OE_MSG_PUB.Add_Exc_Msg
12514: ( G_PKG_NAME
12515: , 'Schedule_Status'

Line 12513: OE_MSG_PUB.Add_Exc_Msg

12509: WHEN OTHERS THEN
12510:
12511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12512: THEN
12513: OE_MSG_PUB.Add_Exc_Msg
12514: ( G_PKG_NAME
12515: , 'Schedule_Status'
12516: );
12517: END IF;

Line 12562: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12558: EXCEPTION
12559:
12560: WHEN NO_DATA_FOUND THEN
12561:
12562: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12563: THEN
12564:
12565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');
12566:

Line 12565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');

12561:
12562: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12563: THEN
12564:
12565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');
12566:
12567: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12568: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12569: OE_Order_Util.Get_Attribute_Name('tax_code'));

Line 12570: OE_MSG_PUB.Add;

12566:
12567: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12568: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12569: OE_Order_Util.Get_Attribute_Name('tax_code'));
12570: OE_MSG_PUB.Add;
12571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12572:
12573: END IF;
12574:

Line 12571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12567: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12568: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12569: OE_Order_Util.Get_Attribute_Name('tax_code'));
12570: OE_MSG_PUB.Add;
12571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12572:
12573: END IF;
12574:
12575:

Line 12580: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12576: RETURN FALSE;
12577:
12578: WHEN OTHERS THEN
12579:
12580: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12581: THEN
12582: OE_MSG_PUB.Add_Exc_Msg
12583: ( G_PKG_NAME
12584: , 'Tax'

Line 12582: OE_MSG_PUB.Add_Exc_Msg

12578: WHEN OTHERS THEN
12579:
12580: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12581: THEN
12582: OE_MSG_PUB.Add_Exc_Msg
12583: ( G_PKG_NAME
12584: , 'Tax'
12585: );
12586: END IF;

Line 12620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12616: EXCEPTION
12617:
12618: WHEN NO_DATA_FOUND THEN
12619:
12620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12621: THEN
12622: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');
12623:
12624: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 12622: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');

12618: WHEN NO_DATA_FOUND THEN
12619:
12620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12621: THEN
12622: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');
12623:
12624: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12625: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12626: OE_Order_Util.Get_Attribute_Name('tax_rate'));

Line 12627: OE_MSG_PUB.Add;

12623:
12624: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12625: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12626: OE_Order_Util.Get_Attribute_Name('tax_rate'));
12627: OE_MSG_PUB.Add;
12628: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12629:
12630: END IF;
12631:

Line 12628: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12624: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12625: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12626: OE_Order_Util.Get_Attribute_Name('tax_rate'));
12627: OE_MSG_PUB.Add;
12628: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12629:
12630: END IF;
12631:
12632:

Line 12637: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12633: RETURN FALSE;
12634:
12635: WHEN OTHERS THEN
12636:
12637: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12638: THEN
12639: OE_MSG_PUB.Add_Exc_Msg
12640: ( G_PKG_NAME
12641: , 'Tax_Rate'

Line 12639: OE_MSG_PUB.Add_Exc_Msg

12635: WHEN OTHERS THEN
12636:
12637: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12638: THEN
12639: OE_MSG_PUB.Add_Exc_Msg
12640: ( G_PKG_NAME
12641: , 'Tax_Rate'
12642: );
12643: END IF;

Line 12679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12675: EXCEPTION
12676:
12677: WHEN NO_DATA_FOUND THEN
12678:
12679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12680: THEN
12681:
12682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');
12683:

Line 12682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');

12678:
12679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12680: THEN
12681:
12682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');
12683:
12684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12686: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));

Line 12687: OE_MSG_PUB.Add;

12683:
12684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12686: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));
12687: OE_MSG_PUB.Add;
12688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12689:
12690: END IF;
12691:

Line 12688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12686: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));
12687: OE_MSG_PUB.Add;
12688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12689:
12690: END IF;
12691:
12692:

Line 12697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12693: RETURN FALSE;
12694:
12695: WHEN OTHERS THEN
12696:
12697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12698: THEN
12699: OE_MSG_PUB.Add_Exc_Msg
12700: ( G_PKG_NAME
12701: , 'Visible_Demand'

Line 12699: OE_MSG_PUB.Add_Exc_Msg

12695: WHEN OTHERS THEN
12696:
12697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12698: THEN
12699: OE_MSG_PUB.Add_Exc_Msg
12700: ( G_PKG_NAME
12701: , 'Visible_Demand'
12702: );
12703: END IF;

Line 12738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12734: EXCEPTION
12735:
12736: WHEN NO_DATA_FOUND THEN
12737:
12738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12739: THEN
12740:
12741: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');
12742:

Line 12741: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');

12737:
12738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12739: THEN
12740:
12741: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');
12742:
12743: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12744: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12745: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));

Line 12746: OE_MSG_PUB.Add;

12742:
12743: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12744: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12745: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));
12746: OE_MSG_PUB.Add;
12747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12748:
12749: END IF;
12750:

Line 12747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12743: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12744: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12745: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));
12746: OE_MSG_PUB.Add;
12747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12748:
12749: END IF;
12750:
12751:

Line 12756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12752: RETURN FALSE;
12753:
12754: WHEN OTHERS THEN
12755:
12756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12757: THEN
12758: OE_MSG_PUB.Add_Exc_Msg
12759: ( G_PKG_NAME
12760: , 'Shipped_Quantity'

Line 12758: OE_MSG_PUB.Add_Exc_Msg

12754: WHEN OTHERS THEN
12755:
12756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12757: THEN
12758: OE_MSG_PUB.Add_Exc_Msg
12759: ( G_PKG_NAME
12760: , 'Shipped_Quantity'
12761: );
12762: END IF;

Line 12795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12791: EXCEPTION
12792:
12793: WHEN NO_DATA_FOUND THEN
12794:
12795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12796: THEN
12797:
12798: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');
12799:

Line 12798: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');

12794:
12795: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12796: THEN
12797:
12798: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');
12799:
12800: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12801: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12802: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));

Line 12803: OE_MSG_PUB.Add;

12799:
12800: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12801: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12802: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));
12803: OE_MSG_PUB.Add;
12804: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12805:
12806: END IF;
12807:

Line 12804: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12800: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12801: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12802: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));
12803: OE_MSG_PUB.Add;
12804: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12805:
12806: END IF;
12807:
12808:

Line 12813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12809: RETURN FALSE;
12810:
12811: WHEN OTHERS THEN
12812:
12813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12814: THEN
12815: OE_MSG_PUB.Add_Exc_Msg
12816: ( G_PKG_NAME
12817: , 'Earliest_Acceptable_Date'

Line 12815: OE_MSG_PUB.Add_Exc_Msg

12811: WHEN OTHERS THEN
12812:
12813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12814: THEN
12815: OE_MSG_PUB.Add_Exc_Msg
12816: ( G_PKG_NAME
12817: , 'Earliest_Acceptable_Date'
12818: );
12819: END IF;

Line 12852: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12848: EXCEPTION
12849:
12850: WHEN NO_DATA_FOUND THEN
12851:
12852: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12853: THEN
12854: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');
12855:
12856: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 12854: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');

12850: WHEN NO_DATA_FOUND THEN
12851:
12852: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12853: THEN
12854: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');
12855:
12856: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12857: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12858: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));

Line 12859: OE_MSG_PUB.Add;

12855:
12856: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12857: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12858: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));
12859: OE_MSG_PUB.Add;
12860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12861:
12862: END IF;
12863:

Line 12860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12856: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12857: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12858: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));
12859: OE_MSG_PUB.Add;
12860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12861:
12862: END IF;
12863:
12864:

Line 12869: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12865: RETURN FALSE;
12866:
12867: WHEN OTHERS THEN
12868:
12869: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12870: THEN
12871: OE_MSG_PUB.Add_Exc_Msg
12872: ( G_PKG_NAME
12873: , 'Earliest_Schedule_Limit'

Line 12871: OE_MSG_PUB.Add_Exc_Msg

12867: WHEN OTHERS THEN
12868:
12869: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12870: THEN
12871: OE_MSG_PUB.Add_Exc_Msg
12872: ( G_PKG_NAME
12873: , 'Earliest_Schedule_Limit'
12874: );
12875: END IF;

Line 12909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12905: EXCEPTION
12906:
12907: WHEN NO_DATA_FOUND THEN
12908:
12909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12910: THEN
12911: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');
12912:
12913:

Line 12911: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');

12907: WHEN NO_DATA_FOUND THEN
12908:
12909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12910: THEN
12911: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');
12912:
12913:
12914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 12917: OE_MSG_PUB.Add;

12913:
12914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12916: OE_Order_Util.Get_Attribute_Name('latest_acceptable_date'));
12917: OE_MSG_PUB.Add;
12918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12919:
12920: END IF;
12921:

Line 12918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12916: OE_Order_Util.Get_Attribute_Name('latest_acceptable_date'));
12917: OE_MSG_PUB.Add;
12918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12919:
12920: END IF;
12921:
12922:

Line 12927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12923: RETURN FALSE;
12924:
12925: WHEN OTHERS THEN
12926:
12927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12928: THEN
12929: OE_MSG_PUB.Add_Exc_Msg
12930: ( G_PKG_NAME
12931: , 'Latest_Acceptable_Date'

Line 12929: OE_MSG_PUB.Add_Exc_Msg

12925: WHEN OTHERS THEN
12926:
12927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12928: THEN
12929: OE_MSG_PUB.Add_Exc_Msg
12930: ( G_PKG_NAME
12931: , 'Latest_Acceptable_Date'
12932: );
12933: END IF;

Line 12966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12962: EXCEPTION
12963:
12964: WHEN NO_DATA_FOUND THEN
12965:
12966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12967: THEN
12968:
12969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');
12970:

Line 12969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');

12965:
12966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12967: THEN
12968:
12969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');
12970:
12971: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12973: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));

Line 12974: OE_MSG_PUB.Add;

12970:
12971: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12973: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));
12974: OE_MSG_PUB.Add;
12975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12976:
12977: END IF;
12978:

Line 12975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12971: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12973: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));
12974: OE_MSG_PUB.Add;
12975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12976:
12977: END IF;
12978:
12979:

Line 12984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12980: RETURN FALSE;
12981:
12982: WHEN OTHERS THEN
12983:
12984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12985: THEN
12986: OE_MSG_PUB.Add_Exc_Msg
12987: ( G_PKG_NAME
12988: , 'Latest_Schedule_Limit'

Line 12986: OE_MSG_PUB.Add_Exc_Msg

12982: WHEN OTHERS THEN
12983:
12984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12985: THEN
12986: OE_MSG_PUB.Add_Exc_Msg
12987: ( G_PKG_NAME
12988: , 'Latest_Schedule_Limit'
12989: );
12990: END IF;

Line 13023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13019: EXCEPTION
13020:
13021: WHEN NO_DATA_FOUND THEN
13022:
13023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13024: THEN
13025:
13026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');
13027:

Line 13026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');

13022:
13023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13024: THEN
13025:
13026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');
13027:
13028: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13029: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13030: OE_Order_Util.Get_Attribute_Name('model_group_number'));

Line 13031: OE_MSG_PUB.Add;

13027:
13028: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13029: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13030: OE_Order_Util.Get_Attribute_Name('model_group_number'));
13031: OE_MSG_PUB.Add;
13032: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13033:
13034: END IF;
13035:

Line 13032: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13028: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13029: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13030: OE_Order_Util.Get_Attribute_Name('model_group_number'));
13031: OE_MSG_PUB.Add;
13032: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13033:
13034: END IF;
13035:
13036:

Line 13041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13037: RETURN FALSE;
13038:
13039: WHEN OTHERS THEN
13040:
13041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13042: THEN
13043: OE_MSG_PUB.Add_Exc_Msg
13044: ( G_PKG_NAME
13045: , 'Model_Group_Number'

Line 13043: OE_MSG_PUB.Add_Exc_Msg

13039: WHEN OTHERS THEN
13040:
13041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13042: THEN
13043: OE_MSG_PUB.Add_Exc_Msg
13044: ( G_PKG_NAME
13045: , 'Model_Group_Number'
13046: );
13047: END IF;

Line 13081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13077: EXCEPTION
13078:
13079: WHEN NO_DATA_FOUND THEN
13080:
13081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13082: THEN
13083:
13084: OE_MSG_PUB.Update_Msg_Context
13085: (p_attribute_code => 'MFG_COMPONENT_SEQUENCE_ID');

Line 13084: OE_MSG_PUB.Update_Msg_Context

13080:
13081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13082: THEN
13083:
13084: OE_MSG_PUB.Update_Msg_Context
13085: (p_attribute_code => 'MFG_COMPONENT_SEQUENCE_ID');
13086:
13087: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13088: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 13091: OE_MSG_PUB.Add;

13087: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13088: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13089: OE_Order_Util.Get_Attribute_Name
13090: ('mfg_component_sequence_id'));
13091: OE_MSG_PUB.Add;
13092: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13093:
13094: END IF;
13095:

Line 13092: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13088: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13089: OE_Order_Util.Get_Attribute_Name
13090: ('mfg_component_sequence_id'));
13091: OE_MSG_PUB.Add;
13092: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13093:
13094: END IF;
13095:
13096:

Line 13101: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13097: RETURN FALSE;
13098:
13099: WHEN OTHERS THEN
13100:
13101: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13102: THEN
13103: OE_MSG_PUB.Add_Exc_Msg
13104: ( G_PKG_NAME
13105: , 'Mfg_Component_Sequence_Id'

Line 13103: OE_MSG_PUB.Add_Exc_Msg

13099: WHEN OTHERS THEN
13100:
13101: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13102: THEN
13103: OE_MSG_PUB.Add_Exc_Msg
13104: ( G_PKG_NAME
13105: , 'Mfg_Component_Sequence_Id'
13106: );
13107: END IF;

Line 13140: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13136: EXCEPTION
13137:
13138: WHEN NO_DATA_FOUND THEN
13139:
13140: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13141: THEN
13142:
13143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');
13144:

Line 13143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');

13139:
13140: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13141: THEN
13142:
13143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');
13144:
13145: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13146: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13147: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));

Line 13148: OE_MSG_PUB.Add;

13144:
13145: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13146: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13147: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));
13148: OE_MSG_PUB.Add;
13149: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13150:
13151: END IF;
13152:

Line 13149: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13145: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13146: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13147: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));
13148: OE_MSG_PUB.Add;
13149: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13150:
13151: END IF;
13152:
13153:

Line 13158: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13154: RETURN FALSE;
13155:
13156: WHEN OTHERS THEN
13157:
13158: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13159: THEN
13160: OE_MSG_PUB.Add_Exc_Msg
13161: ( G_PKG_NAME
13162: , 'Schedule_Arrival_Date'

Line 13160: OE_MSG_PUB.Add_Exc_Msg

13156: WHEN OTHERS THEN
13157:
13158: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13159: THEN
13160: OE_MSG_PUB.Add_Exc_Msg
13161: ( G_PKG_NAME
13162: , 'Schedule_Arrival_Date'
13163: );
13164: END IF;

Line 13199: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13195: EXCEPTION
13196:
13197: WHEN NO_DATA_FOUND THEN
13198:
13199: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13200: THEN
13201:
13202: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');
13203:

Line 13202: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');

13198:
13199: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13200: THEN
13201:
13202: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');
13203:
13204: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13205: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13206: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));

Line 13207: OE_MSG_PUB.Add;

13203:
13204: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13205: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13206: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));
13207: OE_MSG_PUB.Add;
13208: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13209:
13210: END IF;
13211:

Line 13208: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13204: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13205: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13206: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));
13207: OE_MSG_PUB.Add;
13208: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13209:
13210: END IF;
13211:
13212:

Line 13217: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13213: RETURN FALSE;
13214:
13215: WHEN OTHERS THEN
13216:
13217: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13218: THEN
13219: OE_MSG_PUB.Add_Exc_Msg
13220: ( G_PKG_NAME
13221: , 'Ship_Model_Complete_Flag'

Line 13219: OE_MSG_PUB.Add_Exc_Msg

13215: WHEN OTHERS THEN
13216:
13217: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13218: THEN
13219: OE_MSG_PUB.Add_Exc_Msg
13220: ( G_PKG_NAME
13221: , 'Ship_Model_Complete_Flag'
13222: );
13223: END IF;

Line 13256: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13252: EXCEPTION
13253:
13254: WHEN NO_DATA_FOUND THEN
13255:
13256: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13257: THEN
13258:
13259: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');
13260:

Line 13259: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');

13255:
13256: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13257: THEN
13258:
13259: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');
13260:
13261: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13262: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13263: OE_Order_Util.Get_Attribute_Name('from_serial_number'));

Line 13264: OE_MSG_PUB.Add;

13260:
13261: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13262: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13263: OE_Order_Util.Get_Attribute_Name('from_serial_number'));
13264: OE_MSG_PUB.Add;
13265: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13266:
13267: END IF;
13268:

Line 13265: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13261: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13262: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13263: OE_Order_Util.Get_Attribute_Name('from_serial_number'));
13264: OE_MSG_PUB.Add;
13265: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13266:
13267: END IF;
13268:
13269:

Line 13274: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13270: RETURN FALSE;
13271:
13272: WHEN OTHERS THEN
13273:
13274: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13275: THEN
13276: OE_MSG_PUB.Add_Exc_Msg
13277: ( G_PKG_NAME
13278: , 'From_Serial_Number'

Line 13276: OE_MSG_PUB.Add_Exc_Msg

13272: WHEN OTHERS THEN
13273:
13274: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13275: THEN
13276: OE_MSG_PUB.Add_Exc_Msg
13277: ( G_PKG_NAME
13278: , 'From_Serial_Number'
13279: );
13280: END IF;

Line 13313: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13309: EXCEPTION
13310:
13311: WHEN NO_DATA_FOUND THEN
13312:
13313: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13314: THEN
13315:
13316: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');
13317:

Line 13316: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');

13312:
13313: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13314: THEN
13315:
13316: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');
13317:
13318: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13319: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13320: OE_Order_Util.Get_Attribute_Name('lot_number'));

Line 13321: OE_MSG_PUB.Add;

13317:
13318: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13319: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13320: OE_Order_Util.Get_Attribute_Name('lot_number'));
13321: OE_MSG_PUB.Add;
13322: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13323:
13324: END IF;
13325:

Line 13322: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13318: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13319: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13320: OE_Order_Util.Get_Attribute_Name('lot_number'));
13321: OE_MSG_PUB.Add;
13322: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13323:
13324: END IF;
13325:
13326:

Line 13331: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13327: RETURN FALSE;
13328:
13329: WHEN OTHERS THEN
13330:
13331: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13332: THEN
13333: OE_MSG_PUB.Add_Exc_Msg
13334: ( G_PKG_NAME
13335: , 'Lot_Number'

Line 13333: OE_MSG_PUB.Add_Exc_Msg

13329: WHEN OTHERS THEN
13330:
13331: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13332: THEN
13333: OE_MSG_PUB.Add_Exc_Msg
13334: ( G_PKG_NAME
13335: , 'Lot_Number'
13336: );
13337: END IF;

Line 13370: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13366: EXCEPTION
13367:
13368: WHEN NO_DATA_FOUND THEN
13369:
13370: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13371: THEN
13372:
13373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');
13374:

Line 13373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');

13369:
13370: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13371: THEN
13372:
13373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');
13374:
13375: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13376: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13377: OE_Order_Util.Get_Attribute_Name('sublot_number'));

Line 13378: OE_MSG_PUB.Add;

13374:
13375: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13376: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13377: OE_Order_Util.Get_Attribute_Name('sublot_number'));
13378: OE_MSG_PUB.Add;
13379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13380:
13381: END IF;
13382:

Line 13379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13375: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13376: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13377: OE_Order_Util.Get_Attribute_Name('sublot_number'));
13378: OE_MSG_PUB.Add;
13379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13380:
13381: END IF;
13382:
13383:

Line 13388: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13384: RETURN FALSE;
13385:
13386: WHEN OTHERS THEN
13387:
13388: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13389: THEN
13390: OE_MSG_PUB.Add_Exc_Msg
13391: ( G_PKG_NAME
13392: , 'Sublot_Number'

Line 13390: OE_MSG_PUB.Add_Exc_Msg

13386: WHEN OTHERS THEN
13387:
13388: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13389: THEN
13390: OE_MSG_PUB.Add_Exc_Msg
13391: ( G_PKG_NAME
13392: , 'Sublot_Number'
13393: );
13394: END IF;

Line 13427: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13423: EXCEPTION
13424:
13425: WHEN NO_DATA_FOUND THEN
13426:
13427: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13428: THEN
13429:
13430: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');
13431:

Line 13430: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');

13426:
13427: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13428: THEN
13429:
13430: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');
13431:
13432: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13433: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13434: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));

Line 13435: OE_MSG_PUB.Add;

13431:
13432: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13433: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13434: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));
13435: OE_MSG_PUB.Add;
13436: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13437:
13438: END IF;
13439:

Line 13436: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13432: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13433: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13434: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));
13435: OE_MSG_PUB.Add;
13436: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13437:
13438: END IF;
13439:
13440:

Line 13445: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13441: RETURN FALSE;
13442:
13443: WHEN OTHERS THEN
13444:
13445: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13446: THEN
13447: OE_MSG_PUB.Add_Exc_Msg
13448: ( G_PKG_NAME
13449: , 'Lot_Serial'

Line 13447: OE_MSG_PUB.Add_Exc_Msg

13443: WHEN OTHERS THEN
13444:
13445: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13446: THEN
13447: OE_MSG_PUB.Add_Exc_Msg
13448: ( G_PKG_NAME
13449: , 'Lot_Serial'
13450: );
13451: END IF;

Line 13484: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13480: EXCEPTION
13481:
13482: WHEN NO_DATA_FOUND THEN
13483:
13484: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13485: THEN
13486:
13487: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');
13488:

Line 13487: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');

13483:
13484: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13485: THEN
13486:
13487: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');
13488:
13489: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13490: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13491: OE_Order_Util.Get_Attribute_Name('quantity'));

Line 13492: OE_MSG_PUB.Add;

13488:
13489: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13490: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13491: OE_Order_Util.Get_Attribute_Name('quantity'));
13492: OE_MSG_PUB.Add;
13493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13494:
13495: END IF;
13496:

Line 13493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13489: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13490: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13491: OE_Order_Util.Get_Attribute_Name('quantity'));
13492: OE_MSG_PUB.Add;
13493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13494:
13495: END IF;
13496:
13497:

Line 13502: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13498: RETURN FALSE;
13499:
13500: WHEN OTHERS THEN
13501:
13502: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13503: THEN
13504: OE_MSG_PUB.Add_Exc_Msg
13505: ( G_PKG_NAME
13506: , 'Quantity'

Line 13504: OE_MSG_PUB.Add_Exc_Msg

13500: WHEN OTHERS THEN
13501:
13502: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13503: THEN
13504: OE_MSG_PUB.Add_Exc_Msg
13505: ( G_PKG_NAME
13506: , 'Quantity'
13507: );
13508: END IF;

Line 13541: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13537: EXCEPTION
13538:
13539: WHEN NO_DATA_FOUND THEN
13540:
13541: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13542: THEN
13543:
13544: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');
13545:

Line 13544: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');

13540:
13541: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13542: THEN
13543:
13544: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');
13545:
13546: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13547: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13548: OE_Order_Util.Get_Attribute_Name('quantity2'));

Line 13549: OE_MSG_PUB.Add;

13545:
13546: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13547: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13548: OE_Order_Util.Get_Attribute_Name('quantity2'));
13549: OE_MSG_PUB.Add;
13550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13551:
13552: END IF;
13553:

Line 13550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13546: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13547: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13548: OE_Order_Util.Get_Attribute_Name('quantity2'));
13549: OE_MSG_PUB.Add;
13550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13551:
13552: END IF;
13553:
13554:

Line 13559: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13555: RETURN FALSE;
13556:
13557: WHEN OTHERS THEN
13558:
13559: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13560: THEN
13561: OE_MSG_PUB.Add_Exc_Msg
13562: ( G_PKG_NAME
13563: , 'Quantity2'

Line 13561: OE_MSG_PUB.Add_Exc_Msg

13557: WHEN OTHERS THEN
13558:
13559: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13560: THEN
13561: OE_MSG_PUB.Add_Exc_Msg
13562: ( G_PKG_NAME
13563: , 'Quantity2'
13564: );
13565: END IF;

Line 13598: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13594: EXCEPTION
13595:
13596: WHEN NO_DATA_FOUND THEN
13597:
13598: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13599: THEN
13600:
13601: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');
13602:

Line 13601: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');

13597:
13598: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13599: THEN
13600:
13601: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');
13602:
13603: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13604: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13605: OE_Order_Util.Get_Attribute_Name('to_serial_number'));

Line 13606: OE_MSG_PUB.Add;

13602:
13603: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13604: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13605: OE_Order_Util.Get_Attribute_Name('to_serial_number'));
13606: OE_MSG_PUB.Add;
13607: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13608:
13609: END IF;
13610:

Line 13607: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13603: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13604: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13605: OE_Order_Util.Get_Attribute_Name('to_serial_number'));
13606: OE_MSG_PUB.Add;
13607: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13608:
13609: END IF;
13610:
13611:

Line 13616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13612: RETURN FALSE;
13613:
13614: WHEN OTHERS THEN
13615:
13616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13617: THEN
13618: OE_MSG_PUB.Add_Exc_Msg
13619: ( G_PKG_NAME
13620: , 'To_Serial_Number'

Line 13618: OE_MSG_PUB.Add_Exc_Msg

13614: WHEN OTHERS THEN
13615:
13616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13617: THEN
13618: OE_MSG_PUB.Add_Exc_Msg
13619: ( G_PKG_NAME
13620: , 'To_Serial_Number'
13621: );
13622: END IF;

Line 13655: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13651: EXCEPTION
13652:
13653: WHEN NO_DATA_FOUND THEN
13654:
13655: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13656: THEN
13657:
13658: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');
13659:

Line 13658: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');

13654:
13655: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13656: THEN
13657:
13658: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');
13659:
13660: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13661: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13662: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));

Line 13663: OE_MSG_PUB.Add;

13659:
13660: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13661: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13662: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));
13663: OE_MSG_PUB.Add;
13664: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13665:
13666: END IF;
13667:

Line 13664: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13660: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13661: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13662: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));
13663: OE_MSG_PUB.Add;
13664: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13665:
13666: END IF;
13667:
13668:

Line 13673: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13669: RETURN FALSE;
13670:
13671: WHEN OTHERS THEN
13672:
13673: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13674: THEN
13675: OE_MSG_PUB.Add_Exc_Msg
13676: ( G_PKG_NAME
13677: , 'Line_Set'

Line 13675: OE_MSG_PUB.Add_Exc_Msg

13671: WHEN OTHERS THEN
13672:
13673: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13674: THEN
13675: OE_MSG_PUB.Add_Exc_Msg
13676: ( G_PKG_NAME
13677: , 'Line_Set'
13678: );
13679: END IF;

Line 13712: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13708: EXCEPTION
13709:
13710: WHEN NO_DATA_FOUND THEN
13711:
13712: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13713: THEN
13714:
13715: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');
13716:

Line 13715: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');

13711:
13712: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13713: THEN
13714:
13715: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');
13716:
13717: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13718: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13719: OE_Order_Util.Get_Attribute_Name('amount'));

Line 13720: OE_MSG_PUB.Add;

13716:
13717: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13718: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13719: OE_Order_Util.Get_Attribute_Name('amount'));
13720: OE_MSG_PUB.Add;
13721: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13722:
13723: END IF;
13724:

Line 13721: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13717: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13718: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13719: OE_Order_Util.Get_Attribute_Name('amount'));
13720: OE_MSG_PUB.Add;
13721: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13722:
13723: END IF;
13724:
13725:

Line 13730: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13726: RETURN FALSE;
13727:
13728: WHEN OTHERS THEN
13729:
13730: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13731: THEN
13732: OE_MSG_PUB.Add_Exc_Msg
13733: ( G_PKG_NAME
13734: , 'Amount'

Line 13732: OE_MSG_PUB.Add_Exc_Msg

13728: WHEN OTHERS THEN
13729:
13730: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13731: THEN
13732: OE_MSG_PUB.Add_Exc_Msg
13733: ( G_PKG_NAME
13734: , 'Amount'
13735: );
13736: END IF;

Line 13769: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13765: EXCEPTION
13766:
13767: WHEN NO_DATA_FOUND THEN
13768:
13769: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13770: THEN
13771:
13772: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');
13773:

Line 13772: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');

13768:
13769: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13770: THEN
13771:
13772: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');
13773:
13774: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13775: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13776: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));

Line 13777: OE_MSG_PUB.Add;

13773:
13774: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13775: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13776: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));
13777: OE_MSG_PUB.Add;
13778: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13779:
13780: END IF;
13781:

Line 13778: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13774: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13775: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13776: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));
13777: OE_MSG_PUB.Add;
13778: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13779:
13780: END IF;
13781:
13782:

Line 13787: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13783: RETURN FALSE;
13784:
13785: WHEN OTHERS THEN
13786:
13787: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13788: THEN
13789: OE_MSG_PUB.Add_Exc_Msg
13790: ( G_PKG_NAME
13791: , 'Appear_On_Ack'

Line 13789: OE_MSG_PUB.Add_Exc_Msg

13785: WHEN OTHERS THEN
13786:
13787: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13788: THEN
13789: OE_MSG_PUB.Add_Exc_Msg
13790: ( G_PKG_NAME
13791: , 'Appear_On_Ack'
13792: );
13793: END IF;

Line 13826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13822: EXCEPTION
13823:
13824: WHEN NO_DATA_FOUND THEN
13825:
13826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13827: THEN
13828:
13829: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');
13830:

Line 13829: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');

13825:
13826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13827: THEN
13828:
13829: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');
13830:
13831: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13832: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13833: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));

Line 13834: OE_MSG_PUB.Add;

13830:
13831: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13832: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13833: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));
13834: OE_MSG_PUB.Add;
13835: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13836:
13837: END IF;
13838:

Line 13835: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13831: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13832: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13833: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));
13834: OE_MSG_PUB.Add;
13835: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13836:
13837: END IF;
13838:
13839:

Line 13844: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13840: RETURN FALSE;
13841:
13842: WHEN OTHERS THEN
13843:
13844: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13845: THEN
13846: OE_MSG_PUB.Add_Exc_Msg
13847: ( G_PKG_NAME
13848: , 'Appear_On_Invoice'

Line 13846: OE_MSG_PUB.Add_Exc_Msg

13842: WHEN OTHERS THEN
13843:
13844: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13845: THEN
13846: OE_MSG_PUB.Add_Exc_Msg
13847: ( G_PKG_NAME
13848: , 'Appear_On_Invoice'
13849: );
13850: END IF;

Line 13883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13879: EXCEPTION
13880:
13881: WHEN NO_DATA_FOUND THEN
13882:
13883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13884: THEN
13885:
13886: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');
13887:

Line 13886: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');

13882:
13883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13884: THEN
13885:
13886: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');
13887:
13888: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13889: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13890: OE_Order_Util.Get_Attribute_Name('charge_id'));

Line 13891: OE_MSG_PUB.Add;

13887:
13888: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13889: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13890: OE_Order_Util.Get_Attribute_Name('charge_id'));
13891: OE_MSG_PUB.Add;
13892: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13893:
13894:
13895: END IF;

Line 13892: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13888: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13889: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13890: OE_Order_Util.Get_Attribute_Name('charge_id'));
13891: OE_MSG_PUB.Add;
13892: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13893:
13894:
13895: END IF;
13896:

Line 13901: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13897: RETURN FALSE;
13898:
13899: WHEN OTHERS THEN
13900:
13901: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13902: THEN
13903: OE_MSG_PUB.Add_Exc_Msg
13904: ( G_PKG_NAME
13905: , 'Charge'

Line 13903: OE_MSG_PUB.Add_Exc_Msg

13899: WHEN OTHERS THEN
13900:
13901: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13902: THEN
13903: OE_MSG_PUB.Add_Exc_Msg
13904: ( G_PKG_NAME
13905: , 'Charge'
13906: );
13907: END IF;

Line 13940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13936: EXCEPTION
13937:
13938: WHEN NO_DATA_FOUND THEN
13939:
13940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13941: THEN
13942:
13943: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');
13944:

Line 13943: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');

13939:
13940: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13941: THEN
13942:
13943: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');
13944:
13945: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13946: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13947: OE_Order_Util.Get_Attribute_Name('charge_type_id'));

Line 13948: OE_MSG_PUB.Add;

13944:
13945: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13946: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13947: OE_Order_Util.Get_Attribute_Name('charge_type_id'));
13948: OE_MSG_PUB.Add;
13949: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13950:
13951: END IF;
13952:

Line 13949: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13945: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13946: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13947: OE_Order_Util.Get_Attribute_Name('charge_type_id'));
13948: OE_MSG_PUB.Add;
13949: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13950:
13951: END IF;
13952:
13953:

Line 13958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13954: RETURN FALSE;
13955:
13956: WHEN OTHERS THEN
13957:
13958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13959: THEN
13960: OE_MSG_PUB.Add_Exc_Msg
13961: ( G_PKG_NAME
13962: , 'Charge_Type'

Line 13960: OE_MSG_PUB.Add_Exc_Msg

13956: WHEN OTHERS THEN
13957:
13958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13959: THEN
13960: OE_MSG_PUB.Add_Exc_Msg
13961: ( G_PKG_NAME
13962: , 'Charge_Type'
13963: );
13964: END IF;

Line 13997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13993: EXCEPTION
13994:
13995: WHEN NO_DATA_FOUND THEN
13996:
13997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13998: THEN
13999:
14000: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');
14001:

Line 14000: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');

13996:
13997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13998: THEN
13999:
14000: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');
14001:
14002: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14003: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14004: OE_Order_Util.Get_Attribute_Name('conversion_date'));

Line 14006: OE_MSG_PUB.Add;

14002: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14003: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14004: OE_Order_Util.Get_Attribute_Name('conversion_date'));
14005:
14006: OE_MSG_PUB.Add;
14007: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14008:
14009:
14010: END IF;

Line 14007: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14003: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14004: OE_Order_Util.Get_Attribute_Name('conversion_date'));
14005:
14006: OE_MSG_PUB.Add;
14007: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14008:
14009:
14010: END IF;
14011:

Line 14017: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14013: RETURN FALSE;
14014:
14015: WHEN OTHERS THEN
14016:
14017: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14018: THEN
14019: OE_MSG_PUB.Add_Exc_Msg
14020: ( G_PKG_NAME
14021: , 'Conversion_Date'

Line 14019: OE_MSG_PUB.Add_Exc_Msg

14015: WHEN OTHERS THEN
14016:
14017: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14018: THEN
14019: OE_MSG_PUB.Add_Exc_Msg
14020: ( G_PKG_NAME
14021: , 'Conversion_Date'
14022: );
14023: END IF;

Line 14056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14052: EXCEPTION
14053:
14054: WHEN NO_DATA_FOUND THEN
14055:
14056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14057: THEN
14058:
14059: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');
14060:

Line 14059: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');

14055:
14056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14057: THEN
14058:
14059: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');
14060:
14061: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14062: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14063: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));

Line 14064: OE_MSG_PUB.Add;

14060:
14061: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14062: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14063: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));
14064: OE_MSG_PUB.Add;
14065: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14066:
14067: END IF;
14068:

Line 14065: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14061: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14062: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14063: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));
14064: OE_MSG_PUB.Add;
14065: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14066:
14067: END IF;
14068:
14069:

Line 14074: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14070: RETURN FALSE;
14071:
14072: WHEN OTHERS THEN
14073:
14074: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14075: THEN
14076: OE_MSG_PUB.Add_Exc_Msg
14077: ( G_PKG_NAME
14078: , 'Cost_Or_Charge'

Line 14076: OE_MSG_PUB.Add_Exc_Msg

14072: WHEN OTHERS THEN
14073:
14074: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14075: THEN
14076: OE_MSG_PUB.Add_Exc_Msg
14077: ( G_PKG_NAME
14078: , 'Cost_Or_Charge'
14079: );
14080: END IF;

Line 14113: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14109: EXCEPTION
14110:
14111: WHEN NO_DATA_FOUND THEN
14112:
14113: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14114: THEN
14115:
14116: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');
14117:

Line 14116: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');

14112:
14113: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14114: THEN
14115:
14116: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');
14117:
14118: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14119: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14120: OE_Order_Util.Get_Attribute_Name('currency_code'));

Line 14121: OE_MSG_PUB.Add;

14117:
14118: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14119: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14120: OE_Order_Util.Get_Attribute_Name('currency_code'));
14121: OE_MSG_PUB.Add;
14122: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14123:
14124: END IF;
14125:

Line 14122: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14118: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14119: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14120: OE_Order_Util.Get_Attribute_Name('currency_code'));
14121: OE_MSG_PUB.Add;
14122: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14123:
14124: END IF;
14125:
14126:

Line 14131: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14127: RETURN FALSE;
14128:
14129: WHEN OTHERS THEN
14130:
14131: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14132: THEN
14133: OE_MSG_PUB.Add_Exc_Msg
14134: ( G_PKG_NAME
14135: , 'Currency'

Line 14133: OE_MSG_PUB.Add_Exc_Msg

14129: WHEN OTHERS THEN
14130:
14131: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14132: THEN
14133: OE_MSG_PUB.Add_Exc_Msg
14134: ( G_PKG_NAME
14135: , 'Currency'
14136: );
14137: END IF;

Line 14170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14166: EXCEPTION
14167:
14168: WHEN NO_DATA_FOUND THEN
14169:
14170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14171: THEN
14172:
14173: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');
14174:

Line 14173: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');

14169:
14170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14171: THEN
14172:
14173: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');
14174:
14175: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14176: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14177: OE_Order_Util.Get_Attribute_Name('departure_id'));

Line 14178: OE_MSG_PUB.Add;

14174:
14175: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14176: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14177: OE_Order_Util.Get_Attribute_Name('departure_id'));
14178: OE_MSG_PUB.Add;
14179: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14180:
14181: END IF;
14182:

Line 14179: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14175: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14176: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14177: OE_Order_Util.Get_Attribute_Name('departure_id'));
14178: OE_MSG_PUB.Add;
14179: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14180:
14181: END IF;
14182:
14183:

Line 14188: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14184: RETURN FALSE;
14185:
14186: WHEN OTHERS THEN
14187:
14188: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14189: THEN
14190: OE_MSG_PUB.Add_Exc_Msg
14191: ( G_PKG_NAME
14192: , 'Departure'

Line 14190: OE_MSG_PUB.Add_Exc_Msg

14186: WHEN OTHERS THEN
14187:
14188: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14189: THEN
14190: OE_MSG_PUB.Add_Exc_Msg
14191: ( G_PKG_NAME
14192: , 'Departure'
14193: );
14194: END IF;

Line 14227: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14223: EXCEPTION
14224:
14225: WHEN NO_DATA_FOUND THEN
14226:
14227: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14228: THEN
14229:
14230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');
14231:

Line 14230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');

14226:
14227: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14228: THEN
14229:
14230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');
14231:
14232: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14233: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14234: OE_Order_Util.Get_Attribute_Name('estimated_flag'));

Line 14235: OE_MSG_PUB.Add;

14231:
14232: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14233: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14234: OE_Order_Util.Get_Attribute_Name('estimated_flag'));
14235: OE_MSG_PUB.Add;
14236: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14237:
14238: END IF;
14239:

Line 14236: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14232: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14233: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14234: OE_Order_Util.Get_Attribute_Name('estimated_flag'));
14235: OE_MSG_PUB.Add;
14236: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14237:
14238: END IF;
14239:
14240:

Line 14245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14241: RETURN FALSE;
14242:
14243: WHEN OTHERS THEN
14244:
14245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14246: THEN
14247: OE_MSG_PUB.Add_Exc_Msg
14248: ( G_PKG_NAME
14249: , 'Estimated'

Line 14247: OE_MSG_PUB.Add_Exc_Msg

14243: WHEN OTHERS THEN
14244:
14245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14246: THEN
14247: OE_MSG_PUB.Add_Exc_Msg
14248: ( G_PKG_NAME
14249: , 'Estimated'
14250: );
14251: END IF;

Line 14284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14280: EXCEPTION
14281:
14282: WHEN NO_DATA_FOUND THEN
14283:
14284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14285: THEN
14286:
14287: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');
14288:

Line 14287: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');

14283:
14284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14285: THEN
14286:
14287: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');
14288:
14289: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14290: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14291: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));

Line 14292: OE_MSG_PUB.Add;

14288:
14289: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14290: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14291: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));
14292: OE_MSG_PUB.Add;
14293: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14294:
14295:
14296: END IF;

Line 14293: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14289: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14290: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14291: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));
14292: OE_MSG_PUB.Add;
14293: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14294:
14295:
14296: END IF;
14297:

Line 14303: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14299: RETURN FALSE;
14300:
14301: WHEN OTHERS THEN
14302:
14303: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14304: THEN
14305: OE_MSG_PUB.Add_Exc_Msg
14306: ( G_PKG_NAME
14307: , 'Inc_In_Sales_Performance'

Line 14305: OE_MSG_PUB.Add_Exc_Msg

14301: WHEN OTHERS THEN
14302:
14303: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14304: THEN
14305: OE_MSG_PUB.Add_Exc_Msg
14306: ( G_PKG_NAME
14307: , 'Inc_In_Sales_Performance'
14308: );
14309: END IF;

Line 14342: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14338: EXCEPTION
14339:
14340: WHEN NO_DATA_FOUND THEN
14341:
14342: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14343: THEN
14344:
14345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');
14346:

Line 14345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');

14341:
14342: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14343: THEN
14344:
14345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');
14346:
14347: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14348: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14349: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));

Line 14350: OE_MSG_PUB.Add;

14346:
14347: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14348: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14349: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));
14350: OE_MSG_PUB.Add;
14351: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14352:
14353: END IF;
14354:

Line 14351: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14347: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14348: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14349: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));
14350: OE_MSG_PUB.Add;
14351: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14352:
14353: END IF;
14354:
14355:

Line 14360: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14356: RETURN FALSE;
14357:
14358: WHEN OTHERS THEN
14359:
14360: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14361: THEN
14362: OE_MSG_PUB.Add_Exc_Msg
14363: ( G_PKG_NAME
14364: , 'Invoiced'

Line 14362: OE_MSG_PUB.Add_Exc_Msg

14358: WHEN OTHERS THEN
14359:
14360: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14361: THEN
14362: OE_MSG_PUB.Add_Exc_Msg
14363: ( G_PKG_NAME
14364: , 'Invoiced'
14365: );
14366: END IF;

Line 14399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14395: EXCEPTION
14396:
14397: WHEN NO_DATA_FOUND THEN
14398:
14399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14400: THEN
14401:
14402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');
14403:

Line 14402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');

14398:
14399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14400: THEN
14401:
14402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');
14403:
14404: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14405: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14406: OE_Order_Util.Get_Attribute_Name('lpn'));

Line 14407: OE_MSG_PUB.Add;

14403:
14404: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14405: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14406: OE_Order_Util.Get_Attribute_Name('lpn'));
14407: OE_MSG_PUB.Add;
14408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14409:
14410: END IF;
14411:

Line 14408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14404: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14405: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14406: OE_Order_Util.Get_Attribute_Name('lpn'));
14407: OE_MSG_PUB.Add;
14408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14409:
14410: END IF;
14411:
14412:

Line 14417: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14413: RETURN FALSE;
14414:
14415: WHEN OTHERS THEN
14416:
14417: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14418: THEN
14419: OE_MSG_PUB.Add_Exc_Msg
14420: ( G_PKG_NAME
14421: , 'Lpn'

Line 14419: OE_MSG_PUB.Add_Exc_Msg

14415: WHEN OTHERS THEN
14416:
14417: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14418: THEN
14419: OE_MSG_PUB.Add_Exc_Msg
14420: ( G_PKG_NAME
14421: , 'Lpn'
14422: );
14423: END IF;

Line 14456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14452: EXCEPTION
14453:
14454: WHEN NO_DATA_FOUND THEN
14455:
14456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14457: THEN
14458:
14459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');
14460:

Line 14459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');

14455:
14456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14457: THEN
14458:
14459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');
14460:
14461: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14462: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14463: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));

Line 14464: OE_MSG_PUB.Add;

14460:
14461: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14462: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14463: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));
14464: OE_MSG_PUB.Add;
14465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14466:
14467: END IF;
14468:

Line 14465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14461: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14462: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14463: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));
14464: OE_MSG_PUB.Add;
14465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14466:
14467: END IF;
14468:
14469:

Line 14474: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14470: RETURN FALSE;
14471:
14472: WHEN OTHERS THEN
14473:
14474: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14475: THEN
14476: OE_MSG_PUB.Add_Exc_Msg
14477: ( G_PKG_NAME
14478: , 'Parent_Charge'

Line 14476: OE_MSG_PUB.Add_Exc_Msg

14472: WHEN OTHERS THEN
14473:
14474: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14475: THEN
14476: OE_MSG_PUB.Add_Exc_Msg
14477: ( G_PKG_NAME
14478: , 'Parent_Charge'
14479: );
14480: END IF;

Line 14513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14509: EXCEPTION
14510:
14511: WHEN NO_DATA_FOUND THEN
14512:
14513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14514: THEN
14515:
14516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');
14517:

Line 14516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');

14512:
14513: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14514: THEN
14515:
14516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');
14517:
14518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14520: OE_Order_Util.Get_Attribute_Name('returnable_flag'));

Line 14521: OE_MSG_PUB.Add;

14517:
14518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14520: OE_Order_Util.Get_Attribute_Name('returnable_flag'));
14521: OE_MSG_PUB.Add;
14522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14523:
14524: END IF;
14525:

Line 14522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14518: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14519: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14520: OE_Order_Util.Get_Attribute_Name('returnable_flag'));
14521: OE_MSG_PUB.Add;
14522: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14523:
14524: END IF;
14525:
14526:

Line 14531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14527: RETURN FALSE;
14528:
14529: WHEN OTHERS THEN
14530:
14531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14532: THEN
14533: OE_MSG_PUB.Add_Exc_Msg
14534: ( G_PKG_NAME
14535: , 'Returnable'

Line 14533: OE_MSG_PUB.Add_Exc_Msg

14529: WHEN OTHERS THEN
14530:
14531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14532: THEN
14533: OE_MSG_PUB.Add_Exc_Msg
14534: ( G_PKG_NAME
14535: , 'Returnable'
14536: );
14537: END IF;

Line 14570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14566: EXCEPTION
14567:
14568: WHEN NO_DATA_FOUND THEN
14569:
14570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14571: THEN
14572:
14573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');
14574:

Line 14573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');

14569:
14570: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14571: THEN
14572:
14573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');
14574:
14575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14577: OE_Order_Util.Get_Attribute_Name('tax_group_code'));

Line 14578: OE_MSG_PUB.Add;

14574:
14575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14577: OE_Order_Util.Get_Attribute_Name('tax_group_code'));
14578: OE_MSG_PUB.Add;
14579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14580:
14581: END IF;
14582:

Line 14579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14575: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14576: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14577: OE_Order_Util.Get_Attribute_Name('tax_group_code'));
14578: OE_MSG_PUB.Add;
14579: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14580:
14581: END IF;
14582:
14583:

Line 14588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14584: RETURN FALSE;
14585:
14586: WHEN OTHERS THEN
14587:
14588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14589: THEN
14590: OE_MSG_PUB.Add_Exc_Msg
14591: ( G_PKG_NAME
14592: , 'Tax_Group'

Line 14590: OE_MSG_PUB.Add_Exc_Msg

14586: WHEN OTHERS THEN
14587:
14588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14589: THEN
14590: OE_MSG_PUB.Add_Exc_Msg
14591: ( G_PKG_NAME
14592: , 'Tax_Group'
14593: );
14594: END IF;

Line 14638: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

14634: IS
14635: l_column_value VARCHAR2(240) := null;
14636: BEGIN
14637:
14638: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
14639: -- Assiging the segment names so as to map the values after the FND call.
14640: g_context_name := 'CONTEXT';
14641: g_attribute1_name := 'ATTRIBUTE1';
14642: g_attribute2_name := 'ATTRIBUTE2';

Line 14984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14980:
14981: WHEN OTHERS THEN
14982:
14983:
14984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14985: THEN
14986:
14987: OE_MSG_PUB.Add_Exc_Msg
14988: ( G_PKG_NAME

Line 14987: OE_MSG_PUB.Add_Exc_Msg

14983:
14984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14985: THEN
14986:
14987: OE_MSG_PUB.Add_Exc_Msg
14988: ( G_PKG_NAME
14989: , 'Header_Desc_Flex');
14990: END IF;
14991:

Line 15024: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

15020: IS
15021: l_column_value VARCHAR2(240) := null;
15022: BEGIN
15023:
15024: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
15025:
15026: g_context_name := 'GLOBAL_ATTRIBUTE_CATEGORY';
15027: g_attribute1_name := 'GLOBAL_ATTRIBUTE1';
15028: g_attribute2_name := 'GLOBAL_ATTRIBUTE2';

Line 15363: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

15359:
15360: WHEN OTHERS THEN
15361:
15362:
15363: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15364: THEN
15365:
15366: OE_MSG_PUB.Add_Exc_Msg
15367: ( G_PKG_NAME

Line 15366: OE_MSG_PUB.Add_Exc_Msg

15362:
15363: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15364: THEN
15365:
15366: OE_MSG_PUB.Add_Exc_Msg
15367: ( G_PKG_NAME
15368: , 'G_Header_Desc_Flex');
15369: END IF;
15370:

Line 15395: --OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

15391: IS
15392: l_column_value VARCHAR2(240) := null;
15393: BEGIN
15394:
15395: --OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
15396:
15397: g_context_name := 'TP_CONTEXT';
15398: g_attribute1_name := 'TP_ATTRIBUTE1';
15399: g_attribute2_name := 'TP_ATTRIBUTE2';

Line 15659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

15655:
15656: WHEN OTHERS THEN
15657:
15658:
15659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15660: THEN
15661:
15662: OE_MSG_PUB.Add_Exc_Msg
15663: ( G_PKG_NAME

Line 15662: OE_MSG_PUB.Add_Exc_Msg

15658:
15659: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15660: THEN
15661:
15662: OE_MSG_PUB.Add_Exc_Msg
15663: ( G_PKG_NAME
15664: , 'TP_Header_Desc_Flex');
15665: END IF;
15666:

Line 15700: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

15696: IS
15697: l_column_value VARCHAR2(240) := null;
15698: BEGIN
15699:
15700: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
15701: g_context_name := 'CONTEXT';
15702: g_attribute1_name := 'ATTRIBUTE1';
15703: g_attribute2_name := 'ATTRIBUTE2';
15704: g_attribute3_name := 'ATTRIBUTE3';

Line 16046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

16042:
16043: WHEN OTHERS THEN
16044:
16045:
16046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16047: THEN
16048:
16049: OE_MSG_PUB.Add_Exc_Msg
16050: ( G_PKG_NAME

Line 16049: OE_MSG_PUB.Add_Exc_Msg

16045:
16046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16047: THEN
16048:
16049: OE_MSG_PUB.Add_Exc_Msg
16050: ( G_PKG_NAME
16051: , 'Line_Desc_Flex');
16052: END IF;
16053:

Line 16085: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

16081: IS
16082: l_column_value VARCHAR2(240) := null;
16083: BEGIN
16084:
16085: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
16086:
16087:
16088: g_context_name := 'GLOBAL_ATTRIBUTE_CATEGORY';
16089: g_attribute1_name := 'GLOBAL_ATTRIBUTE1';

Line 16426: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

16422:
16423: WHEN OTHERS THEN
16424:
16425:
16426: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16427: THEN
16428:
16429: OE_MSG_PUB.Add_Exc_Msg
16430: ( G_PKG_NAME

Line 16429: OE_MSG_PUB.Add_Exc_Msg

16425:
16426: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16427: THEN
16428:
16429: OE_MSG_PUB.Add_Exc_Msg
16430: ( G_PKG_NAME
16431: , 'G_Line_Desc_Flex');
16432: END IF;
16433:

Line 16454: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_CONTEXT');

16450: IS
16451: l_column_value VARCHAR2(240) := null;
16452: BEGIN
16453:
16454: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_CONTEXT');
16455:
16456: g_context_name := 'PRICING_CONTEXT';
16457: g_attribute1_name := 'PRICING_ATTRIBUTE1';
16458: g_attribute2_name := 'PRICING_ATTRIBUTE2';

Line 16645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

16641:
16642: WHEN OTHERS THEN
16643:
16644:
16645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16646: THEN
16647:
16648: OE_MSG_PUB.Add_Exc_Msg
16649: ( G_PKG_NAME

Line 16648: OE_MSG_PUB.Add_Exc_Msg

16644:
16645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16646: THEN
16647:
16648: OE_MSG_PUB.Add_Exc_Msg
16649: ( G_PKG_NAME
16650: , 'P_Line_Desc_Flex');
16651: END IF;
16652:

Line 16702: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INDUSTRY_CONTEXT');

16698: l_rlm_product_id NUMBER := 662;
16699:
16700: BEGIN
16701:
16702: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INDUSTRY_CONTEXT');
16703:
16704: /*** commented out for bug 1701377
16705: -- Check if RLM is installed
16706: if (FND_INSTALLATION.Get(l_rlm_product_id,l_rlm_product_id,

Line 17225: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17221:
17222: WHEN OTHERS THEN
17223:
17224:
17225: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17226: THEN
17227:
17228: OE_MSG_PUB.Add_Exc_Msg
17229: ( G_PKG_NAME

Line 17228: OE_MSG_PUB.Add_Exc_Msg

17224:
17225: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17226: THEN
17227:
17228: OE_MSG_PUB.Add_Exc_Msg
17229: ( G_PKG_NAME
17230: , 'I_Line_Desc_Flex');
17231: END IF;
17232:

Line 17262: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TP_CONTEXT');

17258: IS
17259: l_column_value VARCHAR2(240) := null;
17260: BEGIN
17261:
17262: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TP_CONTEXT');
17263:
17264: g_context_name := 'TP_CONTEXT';
17265: g_attribute1_name := 'TP_ATTRIBUTE1';
17266: g_attribute2_name := 'TP_ATTRIBUTE2';

Line 17529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17525:
17526: WHEN OTHERS THEN
17527:
17528:
17529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17530: THEN
17531:
17532: OE_MSG_PUB.Add_Exc_Msg
17533: ( G_PKG_NAME

Line 17532: OE_MSG_PUB.Add_Exc_Msg

17528:
17529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17530: THEN
17531:
17532: OE_MSG_PUB.Add_Exc_Msg
17533: ( G_PKG_NAME
17534: , 'TP_Line_Desc_Flex');
17535: END IF;
17536:

Line 17565: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_CONTEXT');

17561: IS
17562: l_column_value VARCHAR2(240) := null;
17563: BEGIN
17564:
17565: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_CONTEXT');
17566:
17567: /* Following assignments have been added for bug 2755607, since the call
17568: to oe_validate.desc_flex is commented for Return Flex field, the global
17569: variables holding the flex values need to be assigned with NULL, this

Line 17855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17851:
17852: WHEN OTHERS THEN
17853:
17854:
17855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17856: THEN
17857:
17858: OE_MSG_PUB.Add_Exc_Msg
17859: ( G_PKG_NAME

Line 17858: OE_MSG_PUB.Add_Exc_Msg

17854:
17855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17856: THEN
17857:
17858: OE_MSG_PUB.Add_Exc_Msg
17859: ( G_PKG_NAME
17860: , 'R_Line_Desc_Flex');
17861: END IF;
17862:

Line 17891: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

17887: IS
17888: l_column_value VARCHAR2(240) := null;
17889: BEGIN
17890:
17891: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
17892:
17893: IF (p_attribute1 = FND_API.G_MISS_CHAR)
17894: AND (p_attribute2 = FND_API.G_MISS_CHAR)
17895: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 18139: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18135:
18136: WHEN OTHERS THEN
18137:
18138:
18139: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18140: THEN
18141:
18142: OE_MSG_PUB.Add_Exc_Msg
18143: ( G_PKG_NAME

Line 18142: OE_MSG_PUB.Add_Exc_Msg

18138:
18139: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18140: THEN
18141:
18142: OE_MSG_PUB.Add_Exc_Msg
18143: ( G_PKG_NAME
18144: , 'Price_Adj_Desc_Flex');
18145: END IF;
18146:

Line 18175: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

18171: IS
18172: l_column_value VARCHAR2(240) := null;
18173: BEGIN
18174:
18175: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
18176: -- Added the following lines to fix the bug 3006018 */
18177: -- Assiging the segment names so as to map the values after the FND call.
18178: g_context_name := 'CONTEXT';
18179: g_attribute1_name := 'ATTRIBUTE1';

Line 18450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18446:
18447: WHEN OTHERS THEN
18448:
18449:
18450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18451: THEN
18452:
18453: OE_MSG_PUB.Add_Exc_Msg
18454: ( G_PKG_NAME

Line 18453: OE_MSG_PUB.Add_Exc_Msg

18449:
18450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18451: THEN
18452:
18453: OE_MSG_PUB.Add_Exc_Msg
18454: ( G_PKG_NAME
18455: , 'Sales_Credits_Desc_Flex');
18456: END IF;
18457:

Line 18495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18491: EXCEPTION
18492:
18493: WHEN NO_DATA_FOUND THEN
18494:
18495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18496: THEN
18497: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');
18498:
18499:

Line 18497: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');

18493: WHEN NO_DATA_FOUND THEN
18494:
18495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18496: THEN
18497: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');
18498:
18499:
18500: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18501: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18503: OE_MSG_PUB.Add;

18499:
18500: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18501: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18502: OE_Order_Util.Get_Attribute_Name('return_reason_code'));
18503: OE_MSG_PUB.Add;
18504: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18505:
18506: END IF;
18507:

Line 18504: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18500: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18501: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18502: OE_Order_Util.Get_Attribute_Name('return_reason_code'));
18503: OE_MSG_PUB.Add;
18504: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18505:
18506: END IF;
18507:
18508:

Line 18515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18511: RETURN FALSE;
18512:
18513: WHEN OTHERS THEN
18514:
18515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18516: THEN
18517: OE_MSG_PUB.Add_Exc_Msg
18518: ( G_PKG_NAME
18519: , 'return_reason'

Line 18517: OE_MSG_PUB.Add_Exc_Msg

18513: WHEN OTHERS THEN
18514:
18515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18516: THEN
18517: OE_MSG_PUB.Add_Exc_Msg
18518: ( G_PKG_NAME
18519: , 'return_reason'
18520: );
18521: END IF;

Line 18556: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18552: EXCEPTION
18553:
18554: WHEN NO_DATA_FOUND THEN
18555:
18556: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18557: THEN
18558:
18559: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');
18560:

Line 18559: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');

18555:
18556: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18557: THEN
18558:
18559: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');
18560:
18561: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18562: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18563: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));

Line 18564: OE_MSG_PUB.Add;

18560:
18561: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18562: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18563: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));
18564: OE_MSG_PUB.Add;
18565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18566:
18567: END IF;
18568:

Line 18565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18561: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18562: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18563: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));
18564: OE_MSG_PUB.Add;
18565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18566:
18567: END IF;
18568:
18569:

Line 18575: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18571: RETURN FALSE;
18572:
18573: WHEN OTHERS THEN
18574:
18575: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18576: THEN
18577: OE_MSG_PUB.Add_Exc_Msg
18578: ( G_PKG_NAME
18579: , 'split_from_line'

Line 18577: OE_MSG_PUB.Add_Exc_Msg

18573: WHEN OTHERS THEN
18574:
18575: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18576: THEN
18577: OE_MSG_PUB.Add_Exc_Msg
18578: ( G_PKG_NAME
18579: , 'split_from_line'
18580: );
18581: END IF;

Line 18616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18612: EXCEPTION
18613:
18614: WHEN NO_DATA_FOUND THEN
18615:
18616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18617: THEN
18618:
18619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');
18620:

Line 18619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');

18615:
18616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18617: THEN
18618:
18619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');
18620:
18621: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18622: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18623: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));

Line 18624: OE_MSG_PUB.Add;

18620:
18621: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18622: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18623: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));
18624: OE_MSG_PUB.Add;
18625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18626:
18627: END IF;
18628:

Line 18625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18621: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18622: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18623: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));
18624: OE_MSG_PUB.Add;
18625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18626:
18627: END IF;
18628:
18629:

Line 18635: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18631: RETURN FALSE;
18632:
18633: WHEN OTHERS THEN
18634:
18635: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18636: THEN
18637: OE_MSG_PUB.Add_Exc_Msg
18638: ( G_PKG_NAME
18639: , 'cust_production_seq_num'

Line 18637: OE_MSG_PUB.Add_Exc_Msg

18633: WHEN OTHERS THEN
18634:
18635: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18636: THEN
18637: OE_MSG_PUB.Add_Exc_Msg
18638: ( G_PKG_NAME
18639: , 'cust_production_seq_num'
18640: );
18641: END IF;

Line 18677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18673: EXCEPTION
18674:
18675: WHEN NO_DATA_FOUND THEN
18676:
18677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18678: THEN
18679:
18680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');
18681:

Line 18680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');

18676:
18677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18678: THEN
18679:
18680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');
18681:
18682: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18683: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18684: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));

Line 18685: OE_MSG_PUB.Add;

18681:
18682: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18683: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18684: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));
18685: OE_MSG_PUB.Add;
18686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18687:
18688: END IF;
18689:

Line 18686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18682: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18683: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18684: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));
18685: OE_MSG_PUB.Add;
18686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18687:
18688: END IF;
18689:
18690:

Line 18696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18692: RETURN FALSE;
18693:
18694: WHEN OTHERS THEN
18695:
18696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18697: THEN
18698: OE_MSG_PUB.Add_Exc_Msg
18699: ( G_PKG_NAME
18700: , 'authorized_to_ship'

Line 18698: OE_MSG_PUB.Add_Exc_Msg

18694: WHEN OTHERS THEN
18695:
18696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18697: THEN
18698: OE_MSG_PUB.Add_Exc_Msg
18699: ( G_PKG_NAME
18700: , 'authorized_to_ship'
18701: );
18702: END IF;

Line 18737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18733: EXCEPTION
18734:
18735: WHEN NO_DATA_FOUND THEN
18736:
18737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18738: THEN
18739:
18740: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');
18741:

Line 18740: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');

18736:
18737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18738: THEN
18739:
18740: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');
18741:
18742: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18743: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18744: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));

Line 18745: OE_MSG_PUB.Add;

18741:
18742: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18743: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18744: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));
18745: OE_MSG_PUB.Add;
18746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18747:
18748: END IF;
18749:

Line 18746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18742: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18743: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18744: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));
18745: OE_MSG_PUB.Add;
18746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18747:
18748: END IF;
18749:
18750:

Line 18756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18752: RETURN FALSE;
18753:
18754: WHEN OTHERS THEN
18755:
18756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18757: THEN
18758: OE_MSG_PUB.Add_Exc_Msg
18759: ( G_PKG_NAME
18760: , 'veh_cus_item_cum_key'

Line 18758: OE_MSG_PUB.Add_Exc_Msg

18754: WHEN OTHERS THEN
18755:
18756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18757: THEN
18758: OE_MSG_PUB.Add_Exc_Msg
18759: ( G_PKG_NAME
18760: , 'veh_cus_item_cum_key'
18761: );
18762: END IF;

Line 18797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18793: EXCEPTION
18794:
18795: WHEN NO_DATA_FOUND THEN
18796:
18797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18798: THEN
18799:
18800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');
18801:

Line 18800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');

18796:
18797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18798: THEN
18799:
18800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');
18801:
18802:
18803: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18804: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18806: OE_MSG_PUB.Add;

18802:
18803: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18804: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18805: OE_Order_Util.Get_Attribute_Name('arrival_set_id'));
18806: OE_MSG_PUB.Add;
18807: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18808:
18809: END IF;
18810:

Line 18807: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18803: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18804: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18805: OE_Order_Util.Get_Attribute_Name('arrival_set_id'));
18806: OE_MSG_PUB.Add;
18807: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18808:
18809: END IF;
18810:
18811:

Line 18817: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18813: RETURN FALSE;
18814:
18815: WHEN OTHERS THEN
18816:
18817: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18818: THEN
18819: OE_MSG_PUB.Add_Exc_Msg
18820: ( G_PKG_NAME
18821: , 'arrival_set'

Line 18819: OE_MSG_PUB.Add_Exc_Msg

18815: WHEN OTHERS THEN
18816:
18817: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18818: THEN
18819: OE_MSG_PUB.Add_Exc_Msg
18820: ( G_PKG_NAME
18821: , 'arrival_set'
18822: );
18823: END IF;

Line 18858: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18854: EXCEPTION
18855:
18856: WHEN NO_DATA_FOUND THEN
18857:
18858: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18859: THEN
18860:
18861: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');
18862:

Line 18861: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');

18857:
18858: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18859: THEN
18860:
18861: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');
18862:
18863: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18864: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18865: OE_Order_Util.Get_Attribute_Name('ship_set_id'));

Line 18866: OE_MSG_PUB.Add;

18862:
18863: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18864: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18865: OE_Order_Util.Get_Attribute_Name('ship_set_id'));
18866: OE_MSG_PUB.Add;
18867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18868:
18869: END IF;
18870:

Line 18867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18863: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18864: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18865: OE_Order_Util.Get_Attribute_Name('ship_set_id'));
18866: OE_MSG_PUB.Add;
18867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18868:
18869: END IF;
18870:
18871:

Line 18877: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18873: RETURN FALSE;
18874:
18875: WHEN OTHERS THEN
18876:
18877: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18878: THEN
18879: OE_MSG_PUB.Add_Exc_Msg
18880: ( G_PKG_NAME
18881: , 'ship_set'

Line 18879: OE_MSG_PUB.Add_Exc_Msg

18875: WHEN OTHERS THEN
18876:
18877: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18878: THEN
18879: OE_MSG_PUB.Add_Exc_Msg
18880: ( G_PKG_NAME
18881: , 'ship_set'
18882: );
18883: END IF;

Line 18918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18914: EXCEPTION
18915:
18916: WHEN NO_DATA_FOUND THEN
18917:
18918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18919: THEN
18920:
18921: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');
18922:

Line 18921: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');

18917:
18918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18919: THEN
18920:
18921: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');
18922:
18923: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18924: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18925: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));

Line 18926: OE_MSG_PUB.Add;

18922:
18923: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18924: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18925: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));
18926: OE_MSG_PUB.Add;
18927: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18928:
18929: END IF;
18930:

Line 18927: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18923: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18924: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18925: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));
18926: OE_MSG_PUB.Add;
18927: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18928:
18929: END IF;
18930:
18931:

Line 18937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18933: RETURN FALSE;
18934:
18935: WHEN OTHERS THEN
18936:
18937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18938: THEN
18939: OE_MSG_PUB.Add_Exc_Msg
18940: ( G_PKG_NAME
18941: , 'over_ship_reason'

Line 18939: OE_MSG_PUB.Add_Exc_Msg

18935: WHEN OTHERS THEN
18936:
18937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18938: THEN
18939: OE_MSG_PUB.Add_Exc_Msg
18940: ( G_PKG_NAME
18941: , 'over_ship_reason'
18942: );
18943: END IF;

Line 18979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18975: EXCEPTION
18976:
18977: WHEN NO_DATA_FOUND THEN
18978:
18979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18980: THEN
18981:
18982: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');
18983:

Line 18982: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');

18978:
18979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18980: THEN
18981:
18982: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');
18983:
18984: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18985: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18986: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));

Line 18987: OE_MSG_PUB.Add;

18983:
18984: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18985: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18986: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));
18987: OE_MSG_PUB.Add;
18988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18989:
18990: END IF;
18991:

Line 18988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18984: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18985: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18986: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));
18987: OE_MSG_PUB.Add;
18988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18989:
18990: END IF;
18991:
18992:

Line 18998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18994: RETURN FALSE;
18995:
18996: WHEN OTHERS THEN
18997:
18998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18999: THEN
19000: OE_MSG_PUB.Add_Exc_Msg
19001: ( G_PKG_NAME
19002: , 'over_ship_resolved'

Line 19000: OE_MSG_PUB.Add_Exc_Msg

18996: WHEN OTHERS THEN
18997:
18998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18999: THEN
19000: OE_MSG_PUB.Add_Exc_Msg
19001: ( G_PKG_NAME
19002: , 'over_ship_resolved'
19003: );
19004: END IF;

Line 19052: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19048: EXCEPTION
19049:
19050: WHEN NO_DATA_FOUND THEN
19051:
19052: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19053: THEN
19054:
19055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');
19056:

Line 19055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');

19051:
19052: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19053: THEN
19054:
19055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');
19056:
19057: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19058: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19059: OE_Order_Util.Get_Attribute_Name('payment_type_code'));

Line 19060: OE_MSG_PUB.Add;

19056:
19057: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19058: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19059: OE_Order_Util.Get_Attribute_Name('payment_type_code'));
19060: OE_MSG_PUB.Add;
19061: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19062:
19063: END IF;
19064:

Line 19061: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19057: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19058: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19059: OE_Order_Util.Get_Attribute_Name('payment_type_code'));
19060: OE_MSG_PUB.Add;
19061: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19062:
19063: END IF;
19064:
19065:

Line 19070: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19066: RETURN FALSE;
19067:
19068: WHEN OTHERS THEN
19069:
19070: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19071: THEN
19072: OE_MSG_PUB.Add_Exc_Msg
19073: ( G_PKG_NAME
19074: , 'Payment_Type'

Line 19072: OE_MSG_PUB.Add_Exc_Msg

19068: WHEN OTHERS THEN
19069:
19070: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19071: THEN
19072: OE_MSG_PUB.Add_Exc_Msg
19073: ( G_PKG_NAME
19074: , 'Payment_Type'
19075: );
19076: END IF;

Line 19110: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19106: EXCEPTION
19107:
19108: WHEN NO_DATA_FOUND THEN
19109:
19110: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19111: THEN
19112:
19113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');
19114:

Line 19113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');

19109:
19110: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19111: THEN
19112:
19113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');
19114:
19115: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19116: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19117: OE_Order_Util.Get_Attribute_Name('payment_amount'));

Line 19118: OE_MSG_PUB.Add;

19114:
19115: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19116: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19117: OE_Order_Util.Get_Attribute_Name('payment_amount'));
19118: OE_MSG_PUB.Add;
19119: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19120:
19121: END IF;
19122:

Line 19119: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19115: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19116: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19117: OE_Order_Util.Get_Attribute_Name('payment_amount'));
19118: OE_MSG_PUB.Add;
19119: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19120:
19121: END IF;
19122:
19123:

Line 19129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19125: RETURN FALSE;
19126:
19127: WHEN OTHERS THEN
19128:
19129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19130: THEN
19131: OE_MSG_PUB.Add_Exc_Msg
19132: ( G_PKG_NAME
19133: , 'payment_amount'

Line 19131: OE_MSG_PUB.Add_Exc_Msg

19127: WHEN OTHERS THEN
19128:
19129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19130: THEN
19131: OE_MSG_PUB.Add_Exc_Msg
19132: ( G_PKG_NAME
19133: , 'payment_amount'
19134: );
19135: END IF;

Line 19169: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19165: EXCEPTION
19166:
19167: WHEN NO_DATA_FOUND THEN
19168:
19169: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19170: THEN
19171:
19172: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');
19173:

Line 19172: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');

19168:
19169: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19170: THEN
19171:
19172: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');
19173:
19174: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19175: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19176: OE_Order_Util.Get_Attribute_Name('check_number'));

Line 19177: OE_MSG_PUB.Add;

19173:
19174: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19175: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19176: OE_Order_Util.Get_Attribute_Name('check_number'));
19177: OE_MSG_PUB.Add;
19178: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19179:
19180: END IF;
19181:

Line 19178: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19174: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19175: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19176: OE_Order_Util.Get_Attribute_Name('check_number'));
19177: OE_MSG_PUB.Add;
19178: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19179:
19180: END IF;
19181:
19182:

Line 19187: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19183: RETURN FALSE;
19184:
19185: WHEN OTHERS THEN
19186:
19187: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19188: THEN
19189: OE_MSG_PUB.Add_Exc_Msg
19190: ( G_PKG_NAME
19191: , 'Check_Number'

Line 19189: OE_MSG_PUB.Add_Exc_Msg

19185: WHEN OTHERS THEN
19186:
19187: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19188: THEN
19189: OE_MSG_PUB.Add_Exc_Msg
19190: ( G_PKG_NAME
19191: , 'Check_Number'
19192: );
19193: END IF;

Line 19243: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19239: EXCEPTION
19240:
19241: WHEN NO_DATA_FOUND THEN
19242:
19243: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19244: THEN
19245:
19246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');
19247:

Line 19246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');

19242:
19243: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19244: THEN
19245:
19246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');
19247:
19248: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19249: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19250: OE_Order_Util.Get_Attribute_Name('credit_card_code'));

Line 19251: OE_MSG_PUB.Add;

19247:
19248: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19249: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19250: OE_Order_Util.Get_Attribute_Name('credit_card_code'));
19251: OE_MSG_PUB.Add;
19252: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19253:
19254: END IF;
19255:

Line 19252: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19248: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19249: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19250: OE_Order_Util.Get_Attribute_Name('credit_card_code'));
19251: OE_MSG_PUB.Add;
19252: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19253:
19254: END IF;
19255:
19256: IF l_debug_level > 0 THEN

Line 19264: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19260: RETURN FALSE;
19261:
19262: WHEN OTHERS THEN
19263:
19264: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19265: THEN
19266: OE_MSG_PUB.Add_Exc_Msg
19267: ( G_PKG_NAME
19268: , 'Credit_Card'

Line 19266: OE_MSG_PUB.Add_Exc_Msg

19262: WHEN OTHERS THEN
19263:
19264: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19265: THEN
19266: OE_MSG_PUB.Add_Exc_Msg
19267: ( G_PKG_NAME
19268: , 'Credit_Card'
19269: );
19270: END IF;

Line 19307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19303: EXCEPTION
19304:
19305: WHEN NO_DATA_FOUND THEN
19306:
19307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19308: THEN
19309:
19310: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');
19311:

Line 19310: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');

19306:
19307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19308: THEN
19309:
19310: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');
19311:
19312: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19313: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19314: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));

Line 19315: OE_MSG_PUB.Add;

19311:
19312: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19313: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19314: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));
19315: OE_MSG_PUB.Add;
19316: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19317:
19318: END IF;
19319:

Line 19316: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19312: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19313: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19314: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));
19315: OE_MSG_PUB.Add;
19316: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19317:
19318: END IF;
19319:
19320:

Line 19325: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19321: RETURN FALSE;
19322:
19323: WHEN OTHERS THEN
19324:
19325: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19326: THEN
19327: OE_MSG_PUB.Add_Exc_Msg
19328: ( G_PKG_NAME
19329: , 'Credit_Card_Holder_Name'

Line 19327: OE_MSG_PUB.Add_Exc_Msg

19323: WHEN OTHERS THEN
19324:
19325: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19326: THEN
19327: OE_MSG_PUB.Add_Exc_Msg
19328: ( G_PKG_NAME
19329: , 'Credit_Card_Holder_Name'
19330: );
19331: END IF;

Line 19364: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19360: EXCEPTION
19361:
19362: WHEN NO_DATA_FOUND THEN
19363:
19364: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19365: THEN
19366:
19367: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');
19368:

Line 19367: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');

19363:
19364: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19365: THEN
19366:
19367: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');
19368:
19369: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19370: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19371: OE_Order_Util.Get_Attribute_Name('credit_card_number'));

Line 19372: OE_MSG_PUB.Add;

19368:
19369: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19370: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19371: OE_Order_Util.Get_Attribute_Name('credit_card_number'));
19372: OE_MSG_PUB.Add;
19373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19374:
19375: END IF;
19376:

Line 19373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19369: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19370: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19371: OE_Order_Util.Get_Attribute_Name('credit_card_number'));
19372: OE_MSG_PUB.Add;
19373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19374:
19375: END IF;
19376:
19377:

Line 19382: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19378: RETURN FALSE;
19379:
19380: WHEN OTHERS THEN
19381:
19382: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19383: THEN
19384: OE_MSG_PUB.Add_Exc_Msg
19385: ( G_PKG_NAME
19386: , 'Credit_Card_Number'

Line 19384: OE_MSG_PUB.Add_Exc_Msg

19380: WHEN OTHERS THEN
19381:
19382: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19383: THEN
19384: OE_MSG_PUB.Add_Exc_Msg
19385: ( G_PKG_NAME
19386: , 'Credit_Card_Number'
19387: );
19388: END IF;

Line 19412: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19408: -- WHERE DB_COLUMN = p_credit_card_approval_date;
19409: RETURN TRUE;
19410: EXCEPTION
19411: WHEN NO_DATA_FOUND THEN
19412: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19413: THEN
19414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
19415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 19414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');

19410: EXCEPTION
19411: WHEN NO_DATA_FOUND THEN
19412: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19413: THEN
19414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
19415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19417: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
19418: OE_MSG_PUB.Add;

Line 19418: OE_MSG_PUB.Add;

19414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
19415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19417: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
19418: OE_MSG_PUB.Add;
19419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19420: END IF;
19421: RETURN FALSE;
19422: WHEN OTHERS THEN

Line 19419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19417: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
19418: OE_MSG_PUB.Add;
19419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19420: END IF;
19421: RETURN FALSE;
19422: WHEN OTHERS THEN
19423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 19423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19420: END IF;
19421: RETURN FALSE;
19422: WHEN OTHERS THEN
19423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19424: THEN
19425: OE_MSG_PUB.Add_Exc_Msg
19426: ( G_PKG_NAME
19427: , 'Credit_Card_Approval_Date'

Line 19425: OE_MSG_PUB.Add_Exc_Msg

19421: RETURN FALSE;
19422: WHEN OTHERS THEN
19423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19424: THEN
19425: OE_MSG_PUB.Add_Exc_Msg
19426: ( G_PKG_NAME
19427: , 'Credit_Card_Approval_Date'
19428: );
19429: END IF;

Line 19450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19446: -- WHERE DB_COLUMN = p_credit_card_expiration_date;
19447: RETURN TRUE;
19448: EXCEPTION
19449: WHEN NO_DATA_FOUND THEN
19450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19451: THEN
19452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
19453: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19454: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 19452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');

19448: EXCEPTION
19449: WHEN NO_DATA_FOUND THEN
19450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19451: THEN
19452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
19453: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19454: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19455: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
19456: OE_MSG_PUB.Add;

Line 19456: OE_MSG_PUB.Add;

19452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
19453: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19454: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19455: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
19456: OE_MSG_PUB.Add;
19457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19458: END IF;
19459: RETURN FALSE;
19460: WHEN OTHERS THEN

Line 19457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19453: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19454: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19455: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
19456: OE_MSG_PUB.Add;
19457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19458: END IF;
19459: RETURN FALSE;
19460: WHEN OTHERS THEN
19461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 19461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19458: END IF;
19459: RETURN FALSE;
19460: WHEN OTHERS THEN
19461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19462: THEN
19463: OE_MSG_PUB.Add_Exc_Msg
19464: ( G_PKG_NAME
19465: , 'Credit_Card_Expiration_Date'

Line 19463: OE_MSG_PUB.Add_Exc_Msg

19459: RETURN FALSE;
19460: WHEN OTHERS THEN
19461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19462: THEN
19463: OE_MSG_PUB.Add_Exc_Msg
19464: ( G_PKG_NAME
19465: , 'Credit_Card_Expiration_Date'
19466: );
19467: END IF;

Line 19497: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19493: EXCEPTION
19494:
19495: WHEN NO_DATA_FOUND THEN
19496:
19497: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19498: THEN
19499:
19500: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');
19501:

Line 19500: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');

19496:
19497: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19498: THEN
19499:
19500: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');
19501:
19502: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19503: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19504: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));

Line 19505: OE_MSG_PUB.Add;

19501:
19502: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19503: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19504: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));
19505: OE_MSG_PUB.Add;
19506: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19507:
19508: END IF;
19509:

Line 19506: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19502: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19503: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19504: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));
19505: OE_MSG_PUB.Add;
19506: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19507:
19508: END IF;
19509:
19510:

Line 19515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19511: RETURN FALSE;
19512:
19513: WHEN OTHERS THEN
19514:
19515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19516: THEN
19517: OE_MSG_PUB.Add_Exc_Msg
19518: ( G_PKG_NAME
19519: , 'Credit_Card_Approval'

Line 19517: OE_MSG_PUB.Add_Exc_Msg

19513: WHEN OTHERS THEN
19514:
19515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19516: THEN
19517: OE_MSG_PUB.Add_Exc_Msg
19518: ( G_PKG_NAME
19519: , 'Credit_Card_Approval'
19520: );
19521: END IF;

Line 19555: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19551: EXCEPTION
19552:
19553: WHEN NO_DATA_FOUND THEN
19554:
19555: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19556: THEN
19557:
19558: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');
19559:

Line 19558: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');

19554:
19555: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19556: THEN
19557:
19558: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');
19559:
19560: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19561: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19562: OE_Order_Util.Get_Attribute_Name('first_ack_code'));

Line 19563: OE_MSG_PUB.Add;

19559:
19560: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19561: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19562: OE_Order_Util.Get_Attribute_Name('first_ack_code'));
19563: OE_MSG_PUB.Add;
19564:
19565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19566:
19567: END IF;

Line 19565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19561: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19562: OE_Order_Util.Get_Attribute_Name('first_ack_code'));
19563: OE_MSG_PUB.Add;
19564:
19565: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19566:
19567: END IF;
19568:
19569:

Line 19574: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19570: RETURN FALSE;
19571:
19572: WHEN OTHERS THEN
19573:
19574: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19575: THEN
19576: OE_MSG_PUB.Add_Exc_Msg
19577: ( G_PKG_NAME
19578: , 'First_Ack'

Line 19576: OE_MSG_PUB.Add_Exc_Msg

19572: WHEN OTHERS THEN
19573:
19574: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19575: THEN
19576: OE_MSG_PUB.Add_Exc_Msg
19577: ( G_PKG_NAME
19578: , 'First_Ack'
19579: );
19580: END IF;

Line 19614: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19610: EXCEPTION
19611:
19612: WHEN NO_DATA_FOUND THEN
19613:
19614: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19615: THEN
19616:
19617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');
19618:

Line 19617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');

19613:
19614: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19615: THEN
19616:
19617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');
19618:
19619: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19620: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19621: OE_Order_Util.Get_Attribute_Name('first_ack_date'));

Line 19622: OE_MSG_PUB.Add;

19618:
19619: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19620: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19621: OE_Order_Util.Get_Attribute_Name('first_ack_date'));
19622: OE_MSG_PUB.Add;
19623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19624:
19625: END IF;
19626:

Line 19623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19619: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19620: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19621: OE_Order_Util.Get_Attribute_Name('first_ack_date'));
19622: OE_MSG_PUB.Add;
19623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19624:
19625: END IF;
19626:
19627:

Line 19632: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19628: RETURN FALSE;
19629:
19630: WHEN OTHERS THEN
19631:
19632: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19633: THEN
19634: OE_MSG_PUB.Add_Exc_Msg
19635: ( G_PKG_NAME
19636: , 'First_Ack_Date'

Line 19634: OE_MSG_PUB.Add_Exc_Msg

19630: WHEN OTHERS THEN
19631:
19632: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19633: THEN
19634: OE_MSG_PUB.Add_Exc_Msg
19635: ( G_PKG_NAME
19636: , 'First_Ack_Date'
19637: );
19638: END IF;

Line 19671: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19667: EXCEPTION
19668:
19669: WHEN NO_DATA_FOUND THEN
19670:
19671: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19672: THEN
19673:
19674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');
19675:

Line 19674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');

19670:
19671: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19672: THEN
19673:
19674: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');
19675:
19676: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19677: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19678: OE_Order_Util.Get_Attribute_Name('last_ack_code'));

Line 19679: OE_MSG_PUB.Add;

19675:
19676: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19677: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19678: OE_Order_Util.Get_Attribute_Name('last_ack_code'));
19679: OE_MSG_PUB.Add;
19680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19681:
19682: END IF;
19683:

Line 19680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19676: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19677: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19678: OE_Order_Util.Get_Attribute_Name('last_ack_code'));
19679: OE_MSG_PUB.Add;
19680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19681:
19682: END IF;
19683:
19684:

Line 19689: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19685: RETURN FALSE;
19686:
19687: WHEN OTHERS THEN
19688:
19689: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19690: THEN
19691: OE_MSG_PUB.Add_Exc_Msg
19692: ( G_PKG_NAME
19693: , 'Last_Ack'

Line 19691: OE_MSG_PUB.Add_Exc_Msg

19687: WHEN OTHERS THEN
19688:
19689: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19690: THEN
19691: OE_MSG_PUB.Add_Exc_Msg
19692: ( G_PKG_NAME
19693: , 'Last_Ack'
19694: );
19695: END IF;

Line 19729: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19725: EXCEPTION
19726:
19727: WHEN NO_DATA_FOUND THEN
19728:
19729: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19730: THEN
19731:
19732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');
19733:

Line 19732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');

19728:
19729: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19730: THEN
19731:
19732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');
19733:
19734: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19735: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19736: OE_Order_Util.Get_Attribute_Name('last_ack_date'));

Line 19737: OE_MSG_PUB.Add;

19733:
19734: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19735: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19736: OE_Order_Util.Get_Attribute_Name('last_ack_date'));
19737: OE_MSG_PUB.Add;
19738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19739:
19740: END IF;
19741:

Line 19738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19734: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19735: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19736: OE_Order_Util.Get_Attribute_Name('last_ack_date'));
19737: OE_MSG_PUB.Add;
19738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19739:
19740: END IF;
19741:
19742:

Line 19747: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19743: RETURN FALSE;
19744:
19745: WHEN OTHERS THEN
19746:
19747: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19748: THEN
19749: OE_MSG_PUB.Add_Exc_Msg
19750: ( G_PKG_NAME
19751: , 'Last_Ack_Date'

Line 19749: OE_MSG_PUB.Add_Exc_Msg

19745: WHEN OTHERS THEN
19746:
19747: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19748: THEN
19749: OE_MSG_PUB.Add_Exc_Msg
19750: ( G_PKG_NAME
19751: , 'Last_Ack_Date'
19752: );
19753: END IF;

Line 19784: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19780: EXCEPTION
19781:
19782: WHEN NO_DATA_FOUND THEN
19783:
19784: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19785: THEN
19786:
19787: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');
19788:

Line 19787: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');

19783:
19784: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19785: THEN
19786:
19787: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');
19788:
19789:
19790: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19791: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 19793: OE_MSG_PUB.Add;

19789:
19790: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19791: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19792: OE_Order_Util.Get_Attribute_Name('end_item_unit_number'));
19793: OE_MSG_PUB.Add;
19794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19795:
19796: END IF;
19797:

Line 19794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19790: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19791: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19792: OE_Order_Util.Get_Attribute_Name('end_item_unit_number'));
19793: OE_MSG_PUB.Add;
19794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19795:
19796: END IF;
19797:
19798:

Line 19803: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19799: RETURN FALSE;
19800:
19801: WHEN OTHERS THEN
19802:
19803: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19804: THEN
19805: OE_MSG_PUB.Add_Exc_Msg
19806: ( G_PKG_NAME
19807: , 'end_item_unit_number'

Line 19805: OE_MSG_PUB.Add_Exc_Msg

19801: WHEN OTHERS THEN
19802:
19803: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19804: THEN
19805: OE_MSG_PUB.Add_Exc_Msg
19806: ( G_PKG_NAME
19807: , 'end_item_unit_number'
19808: );
19809: END IF;

Line 19842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19838: EXCEPTION
19839:
19840: WHEN NO_DATA_FOUND THEN
19841:
19842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19843: THEN
19844:
19845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');
19846:

Line 19845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');

19841:
19842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19843: THEN
19844:
19845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');
19846:
19847: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19848: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19849: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));

Line 19850: OE_MSG_PUB.Add;

19846:
19847: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19848: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19849: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));
19850: OE_MSG_PUB.Add;
19851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19852:
19853: END IF;
19854:

Line 19851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19847: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19848: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19849: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));
19850: OE_MSG_PUB.Add;
19851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19852:
19853: END IF;
19854:
19855:

Line 19860: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19856: RETURN FALSE;
19857:
19858: WHEN OTHERS THEN
19859:
19860: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19861: THEN
19862: OE_MSG_PUB.Add_Exc_Msg
19863: ( G_PKG_NAME
19864: , 'Invoiced_Quantity'

Line 19862: OE_MSG_PUB.Add_Exc_Msg

19858: WHEN OTHERS THEN
19859:
19860: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19861: THEN
19862: OE_MSG_PUB.Add_Exc_Msg
19863: ( G_PKG_NAME
19864: , 'Invoiced_Quantity'
19865: );
19866: END IF;

Line 19900: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19896: EXCEPTION
19897:
19898: WHEN NO_DATA_FOUND THEN
19899:
19900: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19901: THEN
19902:
19903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');
19904:

Line 19903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');

19899:
19900: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19901: THEN
19902:
19903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');
19904:
19905: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19906: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19907: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));

Line 19908: OE_MSG_PUB.Add;

19904:
19905: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19906: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19907: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));
19908: OE_MSG_PUB.Add;
19909: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19910:
19911: END IF;
19912:

Line 19909: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19905: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19906: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19907: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));
19908: OE_MSG_PUB.Add;
19909: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19910:
19911: END IF;
19912:
19913:

Line 19918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19914: RETURN FALSE;
19915:
19916: WHEN OTHERS THEN
19917:
19918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19919: THEN
19920: OE_MSG_PUB.Add_Exc_Msg
19921: ( G_PKG_NAME
19922: , 'Service_Txn_Reason'

Line 19920: OE_MSG_PUB.Add_Exc_Msg

19916: WHEN OTHERS THEN
19917:
19918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19919: THEN
19920: OE_MSG_PUB.Add_Exc_Msg
19921: ( G_PKG_NAME
19922: , 'Service_Txn_Reason'
19923: );
19924: END IF;

Line 19958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19954: EXCEPTION
19955:
19956: WHEN NO_DATA_FOUND THEN
19957:
19958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19959: THEN
19960:
19961: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');
19962:

Line 19961: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');

19957:
19958: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19959: THEN
19960:
19961: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');
19962:
19963: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19964: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19965: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));

Line 19966: OE_MSG_PUB.Add;

19962:
19963: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19964: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19965: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));
19966: OE_MSG_PUB.Add;
19967: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19968:
19969: END IF;
19970:

Line 19967: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19963: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19964: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19965: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));
19966: OE_MSG_PUB.Add;
19967: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19968:
19969: END IF;
19970:
19971:

Line 19976: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19972: RETURN FALSE;
19973:
19974: WHEN OTHERS THEN
19975:
19976: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19977: THEN
19978: OE_MSG_PUB.Add_Exc_Msg
19979: ( G_PKG_NAME
19980: , 'Service_Txn_Comments'

Line 19978: OE_MSG_PUB.Add_Exc_Msg

19974: WHEN OTHERS THEN
19975:
19976: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19977: THEN
19978: OE_MSG_PUB.Add_Exc_Msg
19979: ( G_PKG_NAME
19980: , 'Service_Txn_Comments'
19981: );
19982: END IF;

Line 20016: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20012: EXCEPTION
20013:
20014: WHEN NO_DATA_FOUND THEN
20015:
20016: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20017: THEN
20018:
20019: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');
20020:

Line 20019: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');

20015:
20016: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20017: THEN
20018:
20019: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');
20020:
20021: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20022: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20023: OE_Order_Util.Get_Attribute_Name('Service_Duration'));

Line 20024: OE_MSG_PUB.Add;

20020:
20021: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20022: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20023: OE_Order_Util.Get_Attribute_Name('Service_Duration'));
20024: OE_MSG_PUB.Add;
20025: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20026:
20027: END IF;
20028:

Line 20025: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20021: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20022: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20023: OE_Order_Util.Get_Attribute_Name('Service_Duration'));
20024: OE_MSG_PUB.Add;
20025: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20026:
20027: END IF;
20028:
20029:

Line 20034: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20030: RETURN FALSE;
20031:
20032: WHEN OTHERS THEN
20033:
20034: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20035: THEN
20036: OE_MSG_PUB.Add_Exc_Msg
20037: ( G_PKG_NAME
20038: , 'Serviced_Duration'

Line 20036: OE_MSG_PUB.Add_Exc_Msg

20032: WHEN OTHERS THEN
20033:
20034: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20035: THEN
20036: OE_MSG_PUB.Add_Exc_Msg
20037: ( G_PKG_NAME
20038: , 'Serviced_Duration'
20039: );
20040: END IF;

Line 20073: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20069: EXCEPTION
20070:
20071: WHEN NO_DATA_FOUND THEN
20072:
20073: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20074: THEN
20075:
20076: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');
20077:

Line 20076: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');

20072:
20073: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20074: THEN
20075:
20076: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');
20077:
20078: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20079: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20080: OE_Order_Util.Get_Attribute_Name('Service_Period'));

Line 20081: OE_MSG_PUB.Add;

20077:
20078: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20079: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20080: OE_Order_Util.Get_Attribute_Name('Service_Period'));
20081: OE_MSG_PUB.Add;
20082: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20083:
20084: END IF;
20085:

Line 20082: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20078: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20079: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20080: OE_Order_Util.Get_Attribute_Name('Service_Period'));
20081: OE_MSG_PUB.Add;
20082: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20083:
20084: END IF;
20085:
20086:

Line 20091: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20087: RETURN FALSE;
20088:
20089: WHEN OTHERS THEN
20090:
20091: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20092: THEN
20093: OE_MSG_PUB.Add_Exc_Msg
20094: ( G_PKG_NAME
20095: , 'Service_Period'

Line 20093: OE_MSG_PUB.Add_Exc_Msg

20089: WHEN OTHERS THEN
20090:
20091: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20092: THEN
20093: OE_MSG_PUB.Add_Exc_Msg
20094: ( G_PKG_NAME
20095: , 'Service_Period'
20096: );
20097: END IF;

Line 20131: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20127: EXCEPTION
20128:
20129: WHEN NO_DATA_FOUND THEN
20130:
20131: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20132: THEN
20133:
20134: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');
20135:

Line 20134: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');

20130:
20131: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20132: THEN
20133:
20134: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');
20135:
20136: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20137: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20138: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));

Line 20139: OE_MSG_PUB.Add;

20135:
20136: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20137: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20138: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));
20139: OE_MSG_PUB.Add;
20140: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20141:
20142: END IF;
20143:

Line 20140: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20136: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20137: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20138: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));
20139: OE_MSG_PUB.Add;
20140: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20141:
20142: END IF;
20143:
20144:

Line 20149: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20145: RETURN FALSE;
20146:
20147: WHEN OTHERS THEN
20148:
20149: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20150: THEN
20151: OE_MSG_PUB.Add_Exc_Msg
20152: ( G_PKG_NAME
20153: , 'Serviced_Start_Date'

Line 20151: OE_MSG_PUB.Add_Exc_Msg

20147: WHEN OTHERS THEN
20148:
20149: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20150: THEN
20151: OE_MSG_PUB.Add_Exc_Msg
20152: ( G_PKG_NAME
20153: , 'Serviced_Start_Date'
20154: );
20155: END IF;

Line 20188: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20184: EXCEPTION
20185:
20186: WHEN NO_DATA_FOUND THEN
20187:
20188: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20189: THEN
20190:
20191: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');
20192:

Line 20191: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');

20187:
20188: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20189: THEN
20190:
20191: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');
20192:
20193: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20194: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20195: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));

Line 20196: OE_MSG_PUB.Add;

20192:
20193: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20194: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20195: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));
20196: OE_MSG_PUB.Add;
20197: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20198:
20199: END IF;
20200:

Line 20197: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20193: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20194: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20195: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));
20196: OE_MSG_PUB.Add;
20197: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20198:
20199: END IF;
20200:
20201:

Line 20206: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20202: RETURN FALSE;
20203:
20204: WHEN OTHERS THEN
20205:
20206: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20207: THEN
20208: OE_MSG_PUB.Add_Exc_Msg
20209: ( G_PKG_NAME
20210: , 'Service_End_Date'

Line 20208: OE_MSG_PUB.Add_Exc_Msg

20204: WHEN OTHERS THEN
20205:
20206: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20207: THEN
20208: OE_MSG_PUB.Add_Exc_Msg
20209: ( G_PKG_NAME
20210: , 'Service_End_Date'
20211: );
20212: END IF;

Line 20245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20241: EXCEPTION
20242:
20243: WHEN NO_DATA_FOUND THEN
20244:
20245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20246: THEN
20247:
20248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');
20249:

Line 20248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');

20244:
20245: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20246: THEN
20247:
20248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');
20249:
20250: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20251: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20252: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));

Line 20253: OE_MSG_PUB.Add;

20249:
20250: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20251: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20252: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));
20253: OE_MSG_PUB.Add;
20254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20255:
20256: END IF;
20257:

Line 20254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20250: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20251: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20252: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));
20253: OE_MSG_PUB.Add;
20254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20255:
20256: END IF;
20257:
20258:

Line 20263: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20259: RETURN FALSE;
20260:
20261: WHEN OTHERS THEN
20262:
20263: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20264: THEN
20265: OE_MSG_PUB.Add_Exc_Msg
20266: ( G_PKG_NAME
20267: , 'Service_Coterminate'

Line 20265: OE_MSG_PUB.Add_Exc_Msg

20261: WHEN OTHERS THEN
20262:
20263: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20264: THEN
20265: OE_MSG_PUB.Add_Exc_Msg
20266: ( G_PKG_NAME
20267: , 'Service_Coterminate'
20268: );
20269: END IF;

Line 20302: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20298: EXCEPTION
20299:
20300: WHEN NO_DATA_FOUND THEN
20301:
20302: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20303: THEN
20304:
20305: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');
20306:

Line 20305: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');

20301:
20302: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20303: THEN
20304:
20305: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');
20306:
20307: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20308: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20309: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));

Line 20310: OE_MSG_PUB.Add;

20306:
20307: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20308: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20309: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));
20310: OE_MSG_PUB.Add;
20311: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20312:
20313: END IF;
20314:

Line 20311: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20307: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20308: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20309: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));
20310: OE_MSG_PUB.Add;
20311: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20312:
20313: END IF;
20314:
20315:

Line 20320: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20316: RETURN FALSE;
20317:
20318: WHEN OTHERS THEN
20319:
20320: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20321: THEN
20322: OE_MSG_PUB.Add_Exc_Msg
20323: ( G_PKG_NAME
20324: , 'Unit_List_Percent'

Line 20322: OE_MSG_PUB.Add_Exc_Msg

20318: WHEN OTHERS THEN
20319:
20320: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20321: THEN
20322: OE_MSG_PUB.Add_Exc_Msg
20323: ( G_PKG_NAME
20324: , 'Unit_List_Percent'
20325: );
20326: END IF;

Line 20359: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20355: EXCEPTION
20356:
20357: WHEN NO_DATA_FOUND THEN
20358:
20359: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20360: THEN
20361:
20362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');
20363:

Line 20362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');

20358:
20359: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20360: THEN
20361:
20362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');
20363:
20364: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20365: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20366: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));

Line 20367: OE_MSG_PUB.Add;

20363:
20364: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20365: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20366: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));
20367: OE_MSG_PUB.Add;
20368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20369:
20370: END IF;
20371:

Line 20368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20364: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20365: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20366: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));
20367: OE_MSG_PUB.Add;
20368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20369:
20370: END IF;
20371:
20372:

Line 20377: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20373: RETURN FALSE;
20374:
20375: WHEN OTHERS THEN
20376:
20377: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20378: THEN
20379: OE_MSG_PUB.Add_Exc_Msg
20380: ( G_PKG_NAME
20381: , 'Unit_Selling_Percent'

Line 20379: OE_MSG_PUB.Add_Exc_Msg

20375: WHEN OTHERS THEN
20376:
20377: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20378: THEN
20379: OE_MSG_PUB.Add_Exc_Msg
20380: ( G_PKG_NAME
20381: , 'Unit_Selling_Percent'
20382: );
20383: END IF;

Line 20416: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20412: EXCEPTION
20413:
20414: WHEN NO_DATA_FOUND THEN
20415:
20416: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20417: THEN
20418:
20419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');
20420:

Line 20419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');

20415:
20416: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20417: THEN
20418:
20419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');
20420:
20421: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20422: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20423: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));

Line 20424: OE_MSG_PUB.Add;

20420:
20421: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20422: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20423: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));
20424: OE_MSG_PUB.Add;
20425: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20426:
20427: END IF;
20428:

Line 20425: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20421: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20422: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20423: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));
20424: OE_MSG_PUB.Add;
20425: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20426:
20427: END IF;
20428:
20429:

Line 20434: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20430: RETURN FALSE;
20431:
20432: WHEN OTHERS THEN
20433:
20434: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20435: THEN
20436: OE_MSG_PUB.Add_Exc_Msg
20437: ( G_PKG_NAME
20438: , 'Unit_Percent_Base_Price'

Line 20436: OE_MSG_PUB.Add_Exc_Msg

20432: WHEN OTHERS THEN
20433:
20434: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20435: THEN
20436: OE_MSG_PUB.Add_Exc_Msg
20437: ( G_PKG_NAME
20438: , 'Unit_Percent_Base_Price'
20439: );
20440: END IF;

Line 20473: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20469: EXCEPTION
20470:
20471: WHEN NO_DATA_FOUND THEN
20472:
20473: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20474: THEN
20475:
20476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');
20477:

Line 20476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');

20472:
20473: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20474: THEN
20475:
20476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');
20477:
20478: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20479: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20480: OE_Order_Util.Get_Attribute_Name('Service_Number'));

Line 20481: OE_MSG_PUB.Add;

20477:
20478: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20479: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20480: OE_Order_Util.Get_Attribute_Name('Service_Number'));
20481: OE_MSG_PUB.Add;
20482: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20483:
20484: END IF;
20485:

Line 20482: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20478: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20479: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20480: OE_Order_Util.Get_Attribute_Name('Service_Number'));
20481: OE_MSG_PUB.Add;
20482: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20483:
20484: END IF;
20485:
20486:

Line 20491: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20487: RETURN FALSE;
20488:
20489: WHEN OTHERS THEN
20490:
20491: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20492: THEN
20493: OE_MSG_PUB.Add_Exc_Msg
20494: ( G_PKG_NAME
20495: , 'Service_Number'

Line 20493: OE_MSG_PUB.Add_Exc_Msg

20489: WHEN OTHERS THEN
20490:
20491: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20492: THEN
20493: OE_MSG_PUB.Add_Exc_Msg
20494: ( G_PKG_NAME
20495: , 'Service_Number'
20496: );
20497: END IF;

Line 20530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20526: EXCEPTION
20527:
20528: WHEN NO_DATA_FOUND THEN
20529:
20530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20531: THEN
20532:
20533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');
20534:

Line 20533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');

20529:
20530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20531: THEN
20532:
20533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');
20534:
20535: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20536: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20537: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));

Line 20538: OE_MSG_PUB.Add;

20534:
20535: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20536: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20537: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));
20538: OE_MSG_PUB.Add;
20539: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20540:
20541: END IF;
20542:

Line 20539: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20535: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20536: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20537: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));
20538: OE_MSG_PUB.Add;
20539: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20540:
20541: END IF;
20542:
20543:

Line 20548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20544: RETURN FALSE;
20545:
20546: WHEN OTHERS THEN
20547:
20548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20549: THEN
20550: OE_MSG_PUB.Add_Exc_Msg
20551: ( G_PKG_NAME
20552: , 'Service_Reference_Type_Code'

Line 20550: OE_MSG_PUB.Add_Exc_Msg

20546: WHEN OTHERS THEN
20547:
20548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20549: THEN
20550: OE_MSG_PUB.Add_Exc_Msg
20551: ( G_PKG_NAME
20552: , 'Service_Reference_Type_Code'
20553: );
20554: END IF;

Line 20587: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20583: EXCEPTION
20584:
20585: WHEN NO_DATA_FOUND THEN
20586:
20587: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20588: THEN
20589:
20590: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');
20591:

Line 20590: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');

20586:
20587: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20588: THEN
20589:
20590: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');
20591:
20592: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20593: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20594: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));

Line 20595: OE_MSG_PUB.Add;

20591:
20592: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20593: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20594: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));
20595: OE_MSG_PUB.Add;
20596: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20597:
20598: END IF;
20599:

Line 20596: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20592: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20593: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20594: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));
20595: OE_MSG_PUB.Add;
20596: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20597:
20598: END IF;
20599:
20600:

Line 20605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20601: RETURN FALSE;
20602:
20603: WHEN OTHERS THEN
20604:
20605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20606: THEN
20607: OE_MSG_PUB.Add_Exc_Msg
20608: ( G_PKG_NAME
20609: , 'Service_Reference_Line'

Line 20607: OE_MSG_PUB.Add_Exc_Msg

20603: WHEN OTHERS THEN
20604:
20605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20606: THEN
20607: OE_MSG_PUB.Add_Exc_Msg
20608: ( G_PKG_NAME
20609: , 'Service_Reference_Line'
20610: );
20611: END IF;

Line 20644: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20640: EXCEPTION
20641:
20642: WHEN NO_DATA_FOUND THEN
20643:
20644: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20645: THEN
20646:
20647: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');
20648:

Line 20647: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');

20643:
20644: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20645: THEN
20646:
20647: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');
20648:
20649: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20650: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20651: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));

Line 20652: OE_MSG_PUB.Add;

20648:
20649: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20650: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20651: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));
20652: OE_MSG_PUB.Add;
20653: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20654:
20655: END IF;
20656:

Line 20653: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20649: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20650: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20651: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));
20652: OE_MSG_PUB.Add;
20653: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20654:
20655: END IF;
20656:
20657:

Line 20662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20658: RETURN FALSE;
20659:
20660: WHEN OTHERS THEN
20661:
20662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20663: THEN
20664: OE_MSG_PUB.Add_Exc_Msg
20665: ( G_PKG_NAME
20666: , 'Service_Reference_System'

Line 20664: OE_MSG_PUB.Add_Exc_Msg

20660: WHEN OTHERS THEN
20661:
20662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20663: THEN
20664: OE_MSG_PUB.Add_Exc_Msg
20665: ( G_PKG_NAME
20666: , 'Service_Reference_System'
20667: );
20668: END IF;

Line 20707: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20703: EXCEPTION
20704:
20705: WHEN NO_DATA_FOUND THEN
20706:
20707: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20708: THEN
20709:
20710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
20711:

Line 20710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');

20706:
20707: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20708: THEN
20709:
20710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
20711:
20712: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20713: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20714: OE_Order_Util.Get_Attribute_Name('flow_status_code'));

Line 20715: OE_MSG_PUB.Add;

20711:
20712: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20713: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20714: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
20715: OE_MSG_PUB.Add;
20716: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20717:
20718: END IF;
20719:

Line 20716: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20712: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20713: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20714: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
20715: OE_MSG_PUB.Add;
20716: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20717:
20718: END IF;
20719:
20720:

Line 20725: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20721: RETURN FALSE;
20722:
20723: WHEN OTHERS THEN
20724:
20725: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20726: THEN
20727: OE_MSG_PUB.Add_Exc_Msg
20728: ( G_PKG_NAME
20729: , 'Line_Flow_Status'

Line 20727: OE_MSG_PUB.Add_Exc_Msg

20723: WHEN OTHERS THEN
20724:
20725: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20726: THEN
20727: OE_MSG_PUB.Add_Exc_Msg
20728: ( G_PKG_NAME
20729: , 'Line_Flow_Status'
20730: );
20731: END IF;

Line 20770: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20766: EXCEPTION
20767:
20768: WHEN NO_DATA_FOUND THEN
20769:
20770: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20771: THEN
20772:
20773: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
20774:

Line 20773: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');

20769:
20770: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20771: THEN
20772:
20773: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
20774:
20775: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20776: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20777: OE_Order_Util.Get_Attribute_Name('flow_status_code'));

Line 20778: OE_MSG_PUB.Add;

20774:
20775: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20776: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20777: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
20778: OE_MSG_PUB.Add;
20779: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20780:
20781: END IF;
20782:

Line 20779: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20775: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20776: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20777: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
20778: OE_MSG_PUB.Add;
20779: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20780:
20781: END IF;
20782:
20783:

Line 20788: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20784: RETURN FALSE;
20785:
20786: WHEN OTHERS THEN
20787:
20788: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20789: THEN
20790: OE_MSG_PUB.Add_Exc_Msg
20791: ( G_PKG_NAME
20792: , 'Flow_Status'

Line 20790: OE_MSG_PUB.Add_Exc_Msg

20786: WHEN OTHERS THEN
20787:
20788: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20789: THEN
20790: OE_MSG_PUB.Add_Exc_Msg
20791: ( G_PKG_NAME
20792: , 'Flow_Status'
20793: );
20794: END IF;

Line 20826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20822:
20823: WHEN NO_DATA_FOUND THEN
20824:
20825:
20826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20827: THEN
20828:
20829: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');
20830:

Line 20829: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');

20825:
20826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20827: THEN
20828:
20829: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');
20830:
20831: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20832: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20833: OE_Order_Util.Get_Attribute_Name('split_action_code'));

Line 20834: OE_MSG_PUB.Add;

20830:
20831: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20832: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20833: OE_Order_Util.Get_Attribute_Name('split_action_code'));
20834: OE_MSG_PUB.Add;
20835: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20836:
20837: END IF;
20838:

Line 20835: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20831: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20832: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20833: OE_Order_Util.Get_Attribute_Name('split_action_code'));
20834: OE_MSG_PUB.Add;
20835: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20836:
20837: END IF;
20838:
20839:

Line 20844: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20840: RETURN FALSE;
20841:
20842: WHEN OTHERS THEN
20843:
20844: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20845: THEN
20846: OE_MSG_PUB.Add_Exc_Msg
20847: ( G_PKG_NAME
20848: , 'Split Action'

Line 20846: OE_MSG_PUB.Add_Exc_Msg

20842: WHEN OTHERS THEN
20843:
20844: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20845: THEN
20846: OE_MSG_PUB.Add_Exc_Msg
20847: ( G_PKG_NAME
20848: , 'Split Action'
20849: );
20850: END IF;

Line 20884: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20880: EXCEPTION
20881:
20882: WHEN NO_DATA_FOUND THEN
20883:
20884: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20885: THEN
20886:
20887: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');
20888:

Line 20887: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');

20883:
20884: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20885: THEN
20886:
20887: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');
20888:
20889: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20890: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20891: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));

Line 20892: OE_MSG_PUB.Add;

20888:
20889: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20890: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20891: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));
20892: OE_MSG_PUB.Add;
20893: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20894:
20895: END IF;
20896:

Line 20893: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20889: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20890: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20891: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));
20892: OE_MSG_PUB.Add;
20893: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20894:
20895: END IF;
20896:
20897:

Line 20902: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20898: RETURN FALSE;
20899:
20900: WHEN OTHERS THEN
20901:
20902: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20903: THEN
20904: OE_MSG_PUB.Add_Exc_Msg
20905: ( G_PKG_NAME
20906: , 'Marketing_Source_Code'

Line 20904: OE_MSG_PUB.Add_Exc_Msg

20900: WHEN OTHERS THEN
20901:
20902: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20903: THEN
20904: OE_MSG_PUB.Add_Exc_Msg
20905: ( G_PKG_NAME
20906: , 'Marketing_Source_Code'
20907: );
20908: END IF;

Line 20941: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20937:
20938: WHEN NO_DATA_FOUND THEN
20939:
20940:
20941: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20942: THEN
20943:
20944: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');
20945:

Line 20944: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');

20940:
20941: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20942: THEN
20943:
20944: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');
20945:
20946: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20947: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20948: OE_Order_Util.Get_Attribute_Name('COST_ID'));

Line 20949: OE_MSG_PUB.Add;

20945:
20946: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20947: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20948: OE_Order_Util.Get_Attribute_Name('COST_ID'));
20949: OE_MSG_PUB.Add;
20950: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20951:
20952: END IF;
20953:

Line 20950: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20946: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20947: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20948: OE_Order_Util.Get_Attribute_Name('COST_ID'));
20949: OE_MSG_PUB.Add;
20950: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20951:
20952: END IF;
20953:
20954:

Line 20959: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20955: RETURN FALSE;
20956:
20957: WHEN OTHERS THEN
20958:
20959: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20960: THEN
20961: OE_MSG_PUB.Add_Exc_Msg
20962: ( G_PKG_NAME
20963: , 'Cost Id '

Line 20961: OE_MSG_PUB.Add_Exc_Msg

20957: WHEN OTHERS THEN
20958:
20959: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20960: THEN
20961: OE_MSG_PUB.Add_Exc_Msg
20962: ( G_PKG_NAME
20963: , 'Cost Id '
20964: );
20965: END IF;

Line 20996: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20992:
20993: WHEN NO_DATA_FOUND THEN
20994:
20995:
20996: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20997: THEN
20998:
20999: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');
21000:

Line 20999: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');

20995:
20996: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20997: THEN
20998:
20999: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');
21000:
21001: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21002: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21003: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));

Line 21004: OE_MSG_PUB.Add;

21000:
21001: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21002: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21003: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));
21004: OE_MSG_PUB.Add;
21005: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21006:
21007: END IF;
21008:

Line 21005: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21001: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21002: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21003: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));
21004: OE_MSG_PUB.Add;
21005: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21006:
21007: END IF;
21008:
21009:

Line 21014: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21010: RETURN FALSE;
21011:
21012: WHEN OTHERS THEN
21013:
21014: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21015: THEN
21016: OE_MSG_PUB.Add_Exc_Msg
21017: ( G_PKG_NAME
21018: , 'Charge Type'

Line 21016: OE_MSG_PUB.Add_Exc_Msg

21012: WHEN OTHERS THEN
21013:
21014: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21015: THEN
21016: OE_MSG_PUB.Add_Exc_Msg
21017: ( G_PKG_NAME
21018: , 'Charge Type'
21019: );
21020: END IF;

Line 21051: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21047:
21048: WHEN NO_DATA_FOUND THEN
21049:
21050:
21051: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21052: THEN
21053:
21054: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');
21055:

Line 21054: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');

21050:
21051: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21052: THEN
21053:
21054: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');
21055:
21056: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21057: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21058: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));

Line 21059: OE_MSG_PUB.Add;

21055:
21056: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21057: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21058: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));
21059: OE_MSG_PUB.Add;
21060: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21061:
21062: END IF;
21063:

Line 21060: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21056: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21057: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21058: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));
21059: OE_MSG_PUB.Add;
21060: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21061:
21062: END IF;
21063:
21064:

Line 21069: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21065: RETURN FALSE;
21066:
21067: WHEN OTHERS THEN
21068:
21069: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21070: THEN
21071: OE_MSG_PUB.Add_Exc_Msg
21072: ( G_PKG_NAME
21073: , 'Charge Sub Type'

Line 21071: OE_MSG_PUB.Add_Exc_Msg

21067: WHEN OTHERS THEN
21068:
21069: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21070: THEN
21071: OE_MSG_PUB.Add_Exc_Msg
21072: ( G_PKG_NAME
21073: , 'Charge Sub Type'
21074: );
21075: END IF;

Line 21106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21102:
21103: WHEN NO_DATA_FOUND THEN
21104:
21105:
21106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21107: THEN
21108:
21109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');
21110:

Line 21109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');

21105:
21106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21107: THEN
21108:
21109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');
21110:
21111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21113: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));

Line 21114: OE_MSG_PUB.Add;

21110:
21111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21113: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));
21114: OE_MSG_PUB.Add;
21115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21116:
21117: END IF;
21118:

Line 21115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21113: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));
21114: OE_MSG_PUB.Add;
21115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21116:
21117: END IF;
21118:
21119:

Line 21124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21120: RETURN FALSE;
21121:
21122: WHEN OTHERS THEN
21123:
21124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21125: THEN
21126: OE_MSG_PUB.Add_Exc_Msg
21127: ( G_PKG_NAME
21128: , 'Commitment'

Line 21126: OE_MSG_PUB.Add_Exc_Msg

21122: WHEN OTHERS THEN
21123:
21124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21125: THEN
21126: OE_MSG_PUB.Add_Exc_Msg
21127: ( G_PKG_NAME
21128: , 'Commitment'
21129: );
21130: END IF;

Line 21165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21161:
21162: WHEN NO_DATA_FOUND THEN
21163:
21164:
21165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21166: THEN
21167:
21168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');
21169:

Line 21168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');

21164:
21165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21166: THEN
21167:
21168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');
21169:
21170: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21171: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21172: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));

Line 21173: OE_MSG_PUB.Add;

21169:
21170: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21171: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21172: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));
21173: OE_MSG_PUB.Add;
21174: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21175:
21176: END IF;
21177:

Line 21174: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21170: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21171: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21172: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));
21173: OE_MSG_PUB.Add;
21174: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21175:
21176: END IF;
21177:
21178:

Line 21183: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21179: RETURN FALSE;
21180:
21181: WHEN OTHERS THEN
21182:
21183: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21184: THEN
21185: OE_MSG_PUB.Add_Exc_Msg
21186: ( G_PKG_NAME
21187: , 'Credit Or Charge Flag '

Line 21185: OE_MSG_PUB.Add_Exc_Msg

21181: WHEN OTHERS THEN
21182:
21183: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21184: THEN
21185: OE_MSG_PUB.Add_Exc_Msg
21186: ( G_PKG_NAME
21187: , 'Credit Or Charge Flag '
21188: );
21189: END IF;

Line 21224: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21220:
21221: WHEN NO_DATA_FOUND THEN
21222:
21223:
21224: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21225: THEN
21226:
21227: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');
21228:

Line 21227: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');

21223:
21224: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21225: THEN
21226:
21227: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');
21228:
21229: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21230: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21231: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));

Line 21232: OE_MSG_PUB.Add;

21228:
21229: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21230: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21231: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));
21232: OE_MSG_PUB.Add;
21233: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21234:
21235: END IF;
21236:

Line 21233: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21229: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21230: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21231: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));
21232: OE_MSG_PUB.Add;
21233: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21234:
21235: END IF;
21236:
21237:

Line 21242: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21238: RETURN FALSE;
21239:
21240: WHEN OTHERS THEN
21241:
21242: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21243: THEN
21244: OE_MSG_PUB.Add_Exc_Msg
21245: ( G_PKG_NAME
21246: , 'Include On Returns Flag'

Line 21244: OE_MSG_PUB.Add_Exc_Msg

21240: WHEN OTHERS THEN
21241:
21242: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21243: THEN
21244: OE_MSG_PUB.Add_Exc_Msg
21245: ( G_PKG_NAME
21246: , 'Include On Returns Flag'
21247: );
21248: END IF;

Line 21307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21303:
21304: WHEN NO_DATA_FOUND THEN
21305:
21306:
21307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21308: THEN
21309:
21310: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');
21311:

Line 21310: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');

21306:
21307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21308: THEN
21309:
21310: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');
21311:
21312: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
21313: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21314: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));

Line 21315: OE_MSG_PUB.Add;

21311:
21312: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
21313: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21314: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));
21315: OE_MSG_PUB.Add;
21316:
21317: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21318:
21319: END IF;

Line 21317: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21313: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21314: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));
21315: OE_MSG_PUB.Add;
21316:
21317: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21318:
21319: END IF;
21320:
21321:

Line 21326: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21322: RETURN FALSE;
21323:
21324: WHEN OTHERS THEN
21325:
21326: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21327: THEN
21328: OE_MSG_PUB.Add_Exc_Msg
21329: ( G_PKG_NAME
21330: , 'Sales_Channel'

Line 21328: OE_MSG_PUB.Add_Exc_Msg

21324: WHEN OTHERS THEN
21325:
21326: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21327: THEN
21328: OE_MSG_PUB.Add_Exc_Msg
21329: ( G_PKG_NAME
21330: , 'Sales_Channel'
21331: );
21332: END IF;

Line 21364: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21360: EXCEPTION
21361:
21362: WHEN NO_DATA_FOUND THEN
21363:
21364: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21365: THEN
21366:
21367: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'USER_ITEM_DESCRIPTION');
21368:

Line 21367: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'USER_ITEM_DESCRIPTION');

21363:
21364: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21365: THEN
21366:
21367: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'USER_ITEM_DESCRIPTION');
21368:
21369: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21370: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21371: OE_Order_Util.Get_Attribute_Name('user_item_description'));

Line 21372: OE_MSG_PUB.Add;

21368:
21369: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21370: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21371: OE_Order_Util.Get_Attribute_Name('user_item_description'));
21372: OE_MSG_PUB.Add;
21373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21374:
21375: END IF;
21376:

Line 21373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21369: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21370: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21371: OE_Order_Util.Get_Attribute_Name('user_item_description'));
21372: OE_MSG_PUB.Add;
21373: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21374:
21375: END IF;
21376:
21377:

Line 21382: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21378: RETURN FALSE;
21379:
21380: WHEN OTHERS THEN
21381:
21382: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21383: THEN
21384: OE_MSG_PUB.Add_Exc_Msg
21385: ( G_PKG_NAME
21386: , 'User_Item_Description'

Line 21384: OE_MSG_PUB.Add_Exc_Msg

21380: WHEN OTHERS THEN
21381:
21382: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21383: THEN
21384: OE_MSG_PUB.Add_Exc_Msg
21385: ( G_PKG_NAME
21386: , 'User_Item_Description'
21387: );
21388: END IF;

Line 21420: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21416: RETURN TRUE;
21417:
21418: EXCEPTION
21419: WHEN NO_DATA_FOUND THEN
21420: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21421: THEN
21422: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_RELATIONSHIP_TYPE');
21423: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21424: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 21422: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_RELATIONSHIP_TYPE');

21418: EXCEPTION
21419: WHEN NO_DATA_FOUND THEN
21420: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21421: THEN
21422: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_RELATIONSHIP_TYPE');
21423: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21424: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21425: OE_Order_Util.Get_Attribute_Name('ITEM_RELATIONSHIP_TYPE'));
21426: OE_MSG_PUB.Add;

Line 21426: OE_MSG_PUB.Add;

21422: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_RELATIONSHIP_TYPE');
21423: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21424: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21425: OE_Order_Util.Get_Attribute_Name('ITEM_RELATIONSHIP_TYPE'));
21426: OE_MSG_PUB.Add;
21427: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21428: END IF;
21429: RETURN FALSE;
21430:

Line 21427: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21423: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21424: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21425: OE_Order_Util.Get_Attribute_Name('ITEM_RELATIONSHIP_TYPE'));
21426: OE_MSG_PUB.Add;
21427: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21428: END IF;
21429: RETURN FALSE;
21430:
21431: WHEN OTHERS THEN

Line 21432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21428: END IF;
21429: RETURN FALSE;
21430:
21431: WHEN OTHERS THEN
21432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21433: THEN
21434: OE_MSG_PUB.Add_Exc_Msg(g_pkg_name,'Item_Relationship_Type');
21435: END IF;
21436: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 21434: OE_MSG_PUB.Add_Exc_Msg(g_pkg_name,'Item_Relationship_Type');

21430:
21431: WHEN OTHERS THEN
21432: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21433: THEN
21434: OE_MSG_PUB.Add_Exc_Msg(g_pkg_name,'Item_Relationship_Type');
21435: END IF;
21436: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
21437: END Item_Relationship_Type;
21438:

Line 21464: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21460: EXCEPTION
21461:
21462: WHEN NO_DATA_FOUND THEN
21463:
21464: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21465: THEN
21466:
21467: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Default_Fulfillment_Set');
21468:

Line 21467: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Default_Fulfillment_Set');

21463:
21464: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21465: THEN
21466:
21467: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Default_Fulfillment_Set');
21468:
21469: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
21470: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21471: OE_Order_Util.Get_Attribute_Name('Default_Fulfillment_Set'));

Line 21472: OE_MSG_PUB.Add;

21468:
21469: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
21470: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21471: OE_Order_Util.Get_Attribute_Name('Default_Fulfillment_Set'));
21472: OE_MSG_PUB.Add;
21473: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21474:
21475: END IF;
21476:

Line 21473: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21469: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
21470: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21471: OE_Order_Util.Get_Attribute_Name('Default_Fulfillment_Set'));
21472: OE_MSG_PUB.Add;
21473: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21474:
21475: END IF;
21476:
21477:

Line 21482: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21478: RETURN FALSE;
21479:
21480: WHEN OTHERS THEN
21481:
21482: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21483: THEN
21484: OE_MSG_PUB.Add_Exc_Msg
21485: ( G_PKG_NAME
21486: , 'Default_Fulfillment_Set'

Line 21484: OE_MSG_PUB.Add_Exc_Msg

21480: WHEN OTHERS THEN
21481:
21482: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21483: THEN
21484: OE_MSG_PUB.Add_Exc_Msg
21485: ( G_PKG_NAME
21486: , 'Default_Fulfillment_Set'
21487: );
21488: END IF;

Line 21515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21511: EXCEPTION
21512:
21513: WHEN NO_DATA_FOUND THEN
21514:
21515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21516: THEN
21517:
21518: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Fulfillment_Set_Name');
21519:

Line 21518: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Fulfillment_Set_Name');

21514:
21515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21516: THEN
21517:
21518: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Fulfillment_Set_Name');
21519:
21520: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21521: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21522: OE_Order_Util.Get_Attribute_Name('Fulfillment_Set_Name'));

Line 21523: OE_MSG_PUB.Add;

21519:
21520: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21521: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21522: OE_Order_Util.Get_Attribute_Name('Fulfillment_Set_Name'));
21523: OE_MSG_PUB.Add;
21524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21525:
21526: END IF;
21527:

Line 21524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21520: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21521: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21522: OE_Order_Util.Get_Attribute_Name('Fulfillment_Set_Name'));
21523: OE_MSG_PUB.Add;
21524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21525:
21526: END IF;
21527:
21528:

Line 21533: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21529: RETURN FALSE;
21530:
21531: WHEN OTHERS THEN
21532:
21533: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21534: THEN
21535: OE_MSG_PUB.Add_Exc_Msg
21536: ( G_PKG_NAME
21537: , 'Fulfillment_Set_Name'

Line 21535: OE_MSG_PUB.Add_Exc_Msg

21531: WHEN OTHERS THEN
21532:
21533: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21534: THEN
21535: OE_MSG_PUB.Add_Exc_Msg
21536: ( G_PKG_NAME
21537: , 'Fulfillment_Set_Name'
21538: );
21539: END IF;

Line 21566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21562: EXCEPTION
21563:
21564: WHEN NO_DATA_FOUND THEN
21565:
21566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21567: THEN
21568:
21569: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_Name');
21570:

Line 21569: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_Name');

21565:
21566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21567: THEN
21568:
21569: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_Name');
21570:
21571: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21572: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21573: OE_Order_Util.Get_Attribute_Name('Line_Set_Name'));

Line 21574: OE_MSG_PUB.Add;

21570:
21571: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21572: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21573: OE_Order_Util.Get_Attribute_Name('Line_Set_Name'));
21574: OE_MSG_PUB.Add;
21575: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21576:
21577: END IF;
21578:

Line 21575: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21571: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21572: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21573: OE_Order_Util.Get_Attribute_Name('Line_Set_Name'));
21574: OE_MSG_PUB.Add;
21575: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21576:
21577: END IF;
21578:
21579:

Line 21584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21580: RETURN FALSE;
21581:
21582: WHEN OTHERS THEN
21583:
21584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21585: THEN
21586: OE_MSG_PUB.Add_Exc_Msg
21587: ( G_PKG_NAME
21588: , 'Line_Set_Name'

Line 21586: OE_MSG_PUB.Add_Exc_Msg

21582: WHEN OTHERS THEN
21583:
21584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21585: THEN
21586: OE_MSG_PUB.Add_Exc_Msg
21587: ( G_PKG_NAME
21588: , 'Line_Set_Name'
21589: );
21590: END IF;

Line 21620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21616: EXCEPTION
21617:
21618: WHEN NO_DATA_FOUND THEN
21619:
21620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21621: THEN
21622:
21623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Customer_Shipment_Number');
21624:

Line 21623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Customer_Shipment_Number');

21619:
21620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21621: THEN
21622:
21623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Customer_Shipment_Number');
21624:
21625: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
21626: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21627: OE_Order_Util.Get_Attribute_Name('Customer_Shipment_Number'));

Line 21628: OE_MSG_PUB.Add;

21624:
21625: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
21626: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21627: OE_Order_Util.Get_Attribute_Name('Customer_Shipment_Number'));
21628: OE_MSG_PUB.Add;
21629: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21630:
21631: END IF;
21632:

Line 21629: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21625: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
21626: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21627: OE_Order_Util.Get_Attribute_Name('Customer_Shipment_Number'));
21628: OE_MSG_PUB.Add;
21629: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21630:
21631: END IF;
21632:
21633:

Line 21638: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21634: RETURN FALSE;
21635:
21636: WHEN OTHERS THEN
21637:
21638: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21639: THEN
21640: OE_MSG_PUB.Add_Exc_Msg
21641: ( G_PKG_NAME
21642: , 'Customer_Shipment_Number'

Line 21640: OE_MSG_PUB.Add_Exc_Msg

21636: WHEN OTHERS THEN
21637:
21638: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21639: THEN
21640: OE_MSG_PUB.Add_Exc_Msg
21641: ( G_PKG_NAME
21642: , 'Customer_Shipment_Number'
21643: );
21644: END IF;

Line 21683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21679: EXCEPTION
21680:
21681: WHEN NO_DATA_FOUND THEN
21682:
21683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21684: THEN
21685:
21686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTION_PHASE_CODE');
21687:

Line 21686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTION_PHASE_CODE');

21682:
21683: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21684: THEN
21685:
21686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTION_PHASE_CODE');
21687:
21688: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21689: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21690: OE_Order_Util.Get_Attribute_Name('TRANSACTION_PHASE_CODE'));

Line 21691: OE_MSG_PUB.Add;

21687:
21688: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21689: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21690: OE_Order_Util.Get_Attribute_Name('TRANSACTION_PHASE_CODE'));
21691: OE_MSG_PUB.Add;
21692: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21693:
21694: END IF;
21695:

Line 21692: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21688: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21689: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21690: OE_Order_Util.Get_Attribute_Name('TRANSACTION_PHASE_CODE'));
21691: OE_MSG_PUB.Add;
21692: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21693:
21694: END IF;
21695:
21696:

Line 21701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21697: RETURN FALSE;
21698:
21699: WHEN OTHERS THEN
21700:
21701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21702: THEN
21703: OE_MSG_PUB.Add_Exc_Msg
21704: ( G_PKG_NAME
21705: , 'Transaction_Phase'

Line 21703: OE_MSG_PUB.Add_Exc_Msg

21699: WHEN OTHERS THEN
21700:
21701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21702: THEN
21703: OE_MSG_PUB.Add_Exc_Msg
21704: ( G_PKG_NAME
21705: , 'Transaction_Phase'
21706: );
21707: END IF;

Line 21744: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21740: EXCEPTION
21741:
21742: WHEN NO_DATA_FOUND THEN
21743:
21744: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21745: THEN
21746:
21747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'USER_STATUS_CODE');
21748:

Line 21747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'USER_STATUS_CODE');

21743:
21744: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21745: THEN
21746:
21747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'USER_STATUS_CODE');
21748:
21749: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21750: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21751: OE_Order_Util.Get_Attribute_Name('USER_STATUS_CODE'));

Line 21752: OE_MSG_PUB.Add;

21748:
21749: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21750: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21751: OE_Order_Util.Get_Attribute_Name('USER_STATUS_CODE'));
21752: OE_MSG_PUB.Add;
21753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21754:
21755: END IF;
21756:

Line 21753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21749: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21750: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21751: OE_Order_Util.Get_Attribute_Name('USER_STATUS_CODE'));
21752: OE_MSG_PUB.Add;
21753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21754:
21755: END IF;
21756:
21757:

Line 21762: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21758: RETURN FALSE;
21759:
21760: WHEN OTHERS THEN
21761:
21762: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21763: THEN
21764: OE_MSG_PUB.Add_Exc_Msg
21765: ( G_PKG_NAME
21766: , 'User_Status'

Line 21764: OE_MSG_PUB.Add_Exc_Msg

21760: WHEN OTHERS THEN
21761:
21762: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21763: THEN
21764: OE_MSG_PUB.Add_Exc_Msg
21765: ( G_PKG_NAME
21766: , 'User_Status'
21767: );
21768: END IF;

Line 21803: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21799: EXCEPTION
21800:
21801: WHEN NO_DATA_FOUND THEN
21802:
21803: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21804: THEN
21805:
21806: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');
21807:

Line 21806: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');

21802:
21803: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21804: THEN
21805:
21806: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');
21807:
21808: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21809: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21810: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));

Line 21811: OE_MSG_PUB.Add;

21807:
21808: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21809: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21810: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));
21811: OE_MSG_PUB.Add;
21812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21813:
21814: END IF;
21815:

Line 21812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21808: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21809: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21810: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));
21811: OE_MSG_PUB.Add;
21812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21813:
21814: END IF;
21815:
21816:

Line 21821: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21817: RETURN FALSE;
21818:
21819: WHEN OTHERS THEN
21820:
21821: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21822: THEN
21823: OE_MSG_PUB.Add_Exc_Msg
21824: ( G_PKG_NAME
21825: , 'Customer_Location'

Line 21823: OE_MSG_PUB.Add_Exc_Msg

21819: WHEN OTHERS THEN
21820:
21821: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21822: THEN
21823: OE_MSG_PUB.Add_Exc_Msg
21824: ( G_PKG_NAME
21825: , 'Customer_Location'
21826: );
21827: END IF;

Line 21876: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21872: EXCEPTION
21873:
21874: WHEN NO_DATA_FOUND THEN
21875:
21876: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21877: THEN
21878:
21879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MINISITE_ID');
21880:

Line 21879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MINISITE_ID');

21875:
21876: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21877: THEN
21878:
21879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MINISITE_ID');
21880:
21881: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
21882: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21883: 'MINISITE_ID');

Line 21884: OE_MSG_PUB.Add;

21880:
21881: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
21882: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21883: 'MINISITE_ID');
21884: OE_MSG_PUB.Add;
21885:
21886: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21887:
21888: END IF;

Line 21886: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21882: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21883: 'MINISITE_ID');
21884: OE_MSG_PUB.Add;
21885:
21886: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21887:
21888: END IF;
21889:
21890: RETURN FALSE;

Line 21901: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21897: RETURN FALSE;
21898: END IF; */
21899:
21900: WHEN OTHERS THEN
21901: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21902: THEN
21903: OE_MSG_PUB.Add_Exc_Msg
21904: ( G_PKG_NAME
21905: , 'Minisite'

Line 21903: OE_MSG_PUB.Add_Exc_Msg

21899:
21900: WHEN OTHERS THEN
21901: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21902: THEN
21903: OE_MSG_PUB.Add_Exc_Msg
21904: ( G_PKG_NAME
21905: , 'Minisite'
21906: );
21907: END IF;

Line 21942: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21938: EXCEPTION
21939:
21940: WHEN NO_DATA_FOUND THEN
21941:
21942: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21943: THEN
21944:
21945: OE_DEBUG_PUB.ADD('Validation failed for IB_OWNER in OEXSVATB.pls');
21946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_OWNER');

Line 21946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_OWNER');

21942: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
21943: THEN
21944:
21945: OE_DEBUG_PUB.ADD('Validation failed for IB_OWNER in OEXSVATB.pls');
21946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_OWNER');
21947:
21948: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21949: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21950: OE_Order_Util.Get_Attribute_Name('ib_owner'));

Line 21951: OE_MSG_PUB.Add;

21947:
21948: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21949: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21950: OE_Order_Util.Get_Attribute_Name('ib_owner'));
21951: OE_MSG_PUB.Add;
21952: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21953:
21954: END IF;
21955:

Line 21952: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

21948: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
21949: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
21950: OE_Order_Util.Get_Attribute_Name('ib_owner'));
21951: OE_MSG_PUB.Add;
21952: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
21953:
21954: END IF;
21955:
21956:

Line 21961: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

21957: RETURN FALSE;
21958:
21959: WHEN OTHERS THEN
21960:
21961: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21962: THEN
21963: OE_MSG_PUB.Add_Exc_Msg
21964: ( G_PKG_NAME
21965: , 'IB_OWNER'

Line 21963: OE_MSG_PUB.Add_Exc_Msg

21959: WHEN OTHERS THEN
21960:
21961: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
21962: THEN
21963: OE_MSG_PUB.Add_Exc_Msg
21964: ( G_PKG_NAME
21965: , 'IB_OWNER'
21966: );
21967: END IF;

Line 22003: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

21999: EXCEPTION
22000:
22001: WHEN NO_DATA_FOUND THEN
22002:
22003: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22004: THEN
22005:
22006: OE_DEBUG_PUB.ADD('Validation failed for IB_INSTALLED_AT_LOCATION in OEXSVATB.pls');
22007: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_INSTALLED_AT_LOCATION');

Line 22007: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_INSTALLED_AT_LOCATION');

22003: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22004: THEN
22005:
22006: OE_DEBUG_PUB.ADD('Validation failed for IB_INSTALLED_AT_LOCATION in OEXSVATB.pls');
22007: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_INSTALLED_AT_LOCATION');
22008:
22009: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22010: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22011: OE_Order_Util.Get_Attribute_Name('ib_installed_at_location'));

Line 22012: OE_MSG_PUB.Add;

22008:
22009: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22010: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22011: OE_Order_Util.Get_Attribute_Name('ib_installed_at_location'));
22012: OE_MSG_PUB.Add;
22013: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22014:
22015: END IF;
22016:

Line 22013: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22009: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22010: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22011: OE_Order_Util.Get_Attribute_Name('ib_installed_at_location'));
22012: OE_MSG_PUB.Add;
22013: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22014:
22015: END IF;
22016:
22017:

Line 22022: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22018: RETURN FALSE;
22019:
22020: WHEN OTHERS THEN
22021:
22022: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22023: THEN
22024: OE_MSG_PUB.Add_Exc_Msg
22025: ( G_PKG_NAME
22026: , 'IB_INSTALLED_AT_LOCATION'

Line 22024: OE_MSG_PUB.Add_Exc_Msg

22020: WHEN OTHERS THEN
22021:
22022: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22023: THEN
22024: OE_MSG_PUB.Add_Exc_Msg
22025: ( G_PKG_NAME
22026: , 'IB_INSTALLED_AT_LOCATION'
22027: );
22028: END IF;

Line 22064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22060: EXCEPTION
22061:
22062: WHEN NO_DATA_FOUND THEN
22063:
22064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22065: THEN
22066:
22067: OE_DEBUG_PUB.ADD('Validation failed for IB_CURRENT_LOCATION in OEXSVATB.pls');
22068: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_CURRENT_LOCATION');

Line 22068: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_CURRENT_LOCATION');

22064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22065: THEN
22066:
22067: OE_DEBUG_PUB.ADD('Validation failed for IB_CURRENT_LOCATION in OEXSVATB.pls');
22068: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_CURRENT_LOCATION');
22069:
22070: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22071: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22072: OE_Order_Util.Get_Attribute_Name('ib_current_location'));

Line 22073: OE_MSG_PUB.Add;

22069:
22070: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22071: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22072: OE_Order_Util.Get_Attribute_Name('ib_current_location'));
22073: OE_MSG_PUB.Add;
22074: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22075:
22076: END IF;
22077:

Line 22074: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22070: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22071: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22072: OE_Order_Util.Get_Attribute_Name('ib_current_location'));
22073: OE_MSG_PUB.Add;
22074: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22075:
22076: END IF;
22077:
22078:

Line 22083: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22079: RETURN FALSE;
22080:
22081: WHEN OTHERS THEN
22082:
22083: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22084: THEN
22085: OE_MSG_PUB.Add_Exc_Msg
22086: ( G_PKG_NAME
22087: , 'IB_CURRENT_LOCATION'

Line 22085: OE_MSG_PUB.Add_Exc_Msg

22081: WHEN OTHERS THEN
22082:
22083: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22084: THEN
22085: OE_MSG_PUB.Add_Exc_Msg
22086: ( G_PKG_NAME
22087: , 'IB_CURRENT_LOCATION'
22088: );
22089: END IF;

Line 22125: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22121: EXCEPTION
22122:
22123: WHEN NO_DATA_FOUND THEN
22124:
22125: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22126: THEN
22127:
22128: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_ID');
22129:

Line 22128: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_ID');

22124:
22125: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22126: THEN
22127:
22128: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_ID');
22129:
22130: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22131: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22132: OE_Order_Util.Get_Attribute_Name('END_CUSTOMER_ID')||':validation:'||to_char(p_end_customer_id));

Line 22133: OE_MSG_PUB.Add;

22129:
22130: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22131: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22132: OE_Order_Util.Get_Attribute_Name('END_CUSTOMER_ID')||':validation:'||to_char(p_end_customer_id));
22133: OE_MSG_PUB.Add;
22134: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22135:
22136: END IF;
22137:

Line 22134: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22130: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22131: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22132: OE_Order_Util.Get_Attribute_Name('END_CUSTOMER_ID')||':validation:'||to_char(p_end_customer_id));
22133: OE_MSG_PUB.Add;
22134: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22135:
22136: END IF;
22137:
22138:

Line 22143: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22139: RETURN FALSE;
22140:
22141: WHEN OTHERS THEN
22142:
22143: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22144: THEN
22145: OE_MSG_PUB.Add_Exc_Msg
22146: ( G_PKG_NAME
22147: , 'END_CUSOTMER'

Line 22145: OE_MSG_PUB.Add_Exc_Msg

22141: WHEN OTHERS THEN
22142:
22143: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22144: THEN
22145: OE_MSG_PUB.Add_Exc_Msg
22146: ( G_PKG_NAME
22147: , 'END_CUSOTMER'
22148: );
22149: END IF;

Line 22182: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22178: EXCEPTION
22179:
22180: WHEN NO_DATA_FOUND THEN
22181:
22182: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22183: THEN
22184:
22185: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_CONTACT_ID');
22186:

Line 22185: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_CONTACT_ID');

22181:
22182: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22183: THEN
22184:
22185: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_CONTACT_ID');
22186:
22187: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22188: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22189: OE_Order_Util.Get_Attribute_Name('end_customer_contact_id'));

Line 22190: OE_MSG_PUB.Add;

22186:
22187: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22188: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22189: OE_Order_Util.Get_Attribute_Name('end_customer_contact_id'));
22190: OE_MSG_PUB.Add;
22191: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22192:
22193: END IF;
22194:

Line 22191: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22187: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22188: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22189: OE_Order_Util.Get_Attribute_Name('end_customer_contact_id'));
22190: OE_MSG_PUB.Add;
22191: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22192:
22193: END IF;
22194:
22195:

Line 22200: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22196: RETURN FALSE;
22197:
22198: WHEN OTHERS THEN
22199:
22200: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22201: THEN
22202: OE_MSG_PUB.Add_Exc_Msg
22203: ( G_PKG_NAME
22204: , 'End_Customer_Contact'

Line 22202: OE_MSG_PUB.Add_Exc_Msg

22198: WHEN OTHERS THEN
22199:
22200: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22201: THEN
22202: OE_MSG_PUB.Add_Exc_Msg
22203: ( G_PKG_NAME
22204: , 'End_Customer_Contact'
22205: );
22206: END IF;

Line 22239: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22235: EXCEPTION
22236:
22237: WHEN NO_DATA_FOUND THEN
22238:
22239: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22240: THEN
22241:
22242: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_SITE_USE_ID');
22243:

Line 22242: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_SITE_USE_ID');

22238:
22239: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22240: THEN
22241:
22242: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_SITE_USE_ID');
22243:
22244: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22245: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22246: OE_Order_Util.Get_Attribute_Name('end_customer_site_use_id'));

Line 22247: OE_MSG_PUB.Add;

22243:
22244: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22245: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22246: OE_Order_Util.Get_Attribute_Name('end_customer_site_use_id'));
22247: OE_MSG_PUB.Add;
22248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22249:
22250: END IF;
22251:

Line 22248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22244: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22245: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22246: OE_Order_Util.Get_Attribute_Name('end_customer_site_use_id'));
22247: OE_MSG_PUB.Add;
22248: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22249:
22250: END IF;
22251:
22252:

Line 22257: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22253: RETURN FALSE;
22254:
22255: WHEN OTHERS THEN
22256:
22257: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22258: THEN
22259: OE_MSG_PUB.Add_Exc_Msg
22260: ( G_PKG_NAME
22261: , 'END_CUSTOMER_SITE_USE_ID'

Line 22259: OE_MSG_PUB.Add_Exc_Msg

22255: WHEN OTHERS THEN
22256:
22257: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22258: THEN
22259: OE_MSG_PUB.Add_Exc_Msg
22260: ( G_PKG_NAME
22261: , 'END_CUSTOMER_SITE_USE_ID'
22262: );
22263: END IF;

Line 22296: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22292: EXCEPTION
22293:
22294: WHEN NO_DATA_FOUND THEN
22295:
22296: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22297: THEN
22298:
22299: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUPPLIER_SIGNATURE');
22300:

Line 22299: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUPPLIER_SIGNATURE');

22295:
22296: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22297: THEN
22298:
22299: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUPPLIER_SIGNATURE');
22300:
22301: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22302: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22303: OE_Order_Util.Get_Attribute_Name('supplier_signature'));

Line 22304: OE_MSG_PUB.Add;

22300:
22301: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22302: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22303: OE_Order_Util.Get_Attribute_Name('supplier_signature'));
22304: OE_MSG_PUB.Add;
22305: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22306:
22307: END IF;
22308:

Line 22305: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22301: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22302: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22303: OE_Order_Util.Get_Attribute_Name('supplier_signature'));
22304: OE_MSG_PUB.Add;
22305: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22306:
22307: END IF;
22308:
22309:

Line 22314: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22310: RETURN FALSE;
22311:
22312: WHEN OTHERS THEN
22313:
22314: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22315: THEN
22316: OE_MSG_PUB.Add_Exc_Msg
22317: ( G_PKG_NAME
22318: , 'SUPPLIER_SIGNATURE'

Line 22316: OE_MSG_PUB.Add_Exc_Msg

22312: WHEN OTHERS THEN
22313:
22314: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22315: THEN
22316: OE_MSG_PUB.Add_Exc_Msg
22317: ( G_PKG_NAME
22318: , 'SUPPLIER_SIGNATURE'
22319: );
22320: END IF;

Line 22353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22349: EXCEPTION
22350:
22351: WHEN NO_DATA_FOUND THEN
22352:
22353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22354: THEN
22355:
22356: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUPPLIER_SIGNATURE');
22357:

Line 22356: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUPPLIER_SIGNATURE');

22352:
22353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22354: THEN
22355:
22356: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUPPLIER_SIGNATURE');
22357:
22358: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22359: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22360: OE_Order_Util.Get_Attribute_Name('supplier_signature_date'));

Line 22361: OE_MSG_PUB.Add;

22357:
22358: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22359: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22360: OE_Order_Util.Get_Attribute_Name('supplier_signature_date'));
22361: OE_MSG_PUB.Add;
22362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22363:
22364: END IF;
22365:

Line 22362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22358: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22359: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22360: OE_Order_Util.Get_Attribute_Name('supplier_signature_date'));
22361: OE_MSG_PUB.Add;
22362: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22363:
22364: END IF;
22365:
22366:

Line 22371: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22367: RETURN FALSE;
22368:
22369: WHEN OTHERS THEN
22370:
22371: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22372: THEN
22373: OE_MSG_PUB.Add_Exc_Msg
22374: ( G_PKG_NAME
22375: , 'SUPPLIER_SIGNATURE_DATE'

Line 22373: OE_MSG_PUB.Add_Exc_Msg

22369: WHEN OTHERS THEN
22370:
22371: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22372: THEN
22373: OE_MSG_PUB.Add_Exc_Msg
22374: ( G_PKG_NAME
22375: , 'SUPPLIER_SIGNATURE_DATE'
22376: );
22377: END IF;

Line 22410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22406: EXCEPTION
22407:
22408: WHEN NO_DATA_FOUND THEN
22409:
22410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22411: THEN
22412:
22413: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_SIGNATURE');
22414:

Line 22413: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_SIGNATURE');

22409:
22410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22411: THEN
22412:
22413: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_SIGNATURE');
22414:
22415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22417: OE_Order_Util.Get_Attribute_Name('customer_signature'));

Line 22418: OE_MSG_PUB.Add;

22414:
22415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22417: OE_Order_Util.Get_Attribute_Name('customer_signature'));
22418: OE_MSG_PUB.Add;
22419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22420:
22421: END IF;
22422:

Line 22419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22415: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22416: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22417: OE_Order_Util.Get_Attribute_Name('customer_signature'));
22418: OE_MSG_PUB.Add;
22419: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22420:
22421: END IF;
22422:
22423:

Line 22428: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22424: RETURN FALSE;
22425:
22426: WHEN OTHERS THEN
22427:
22428: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22429: THEN
22430: OE_MSG_PUB.Add_Exc_Msg
22431: ( G_PKG_NAME
22432: , 'CUSTOMER_SIGNATURE'

Line 22430: OE_MSG_PUB.Add_Exc_Msg

22426: WHEN OTHERS THEN
22427:
22428: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22429: THEN
22430: OE_MSG_PUB.Add_Exc_Msg
22431: ( G_PKG_NAME
22432: , 'CUSTOMER_SIGNATURE'
22433: );
22434: END IF;

Line 22467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22463: EXCEPTION
22464:
22465: WHEN NO_DATA_FOUND THEN
22466:
22467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22468: THEN
22469:
22470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_SIGNATURE_DATE');
22471:

Line 22470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_SIGNATURE_DATE');

22466:
22467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22468: THEN
22469:
22470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_SIGNATURE_DATE');
22471:
22472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22474: OE_Order_Util.Get_Attribute_Name('customer_signature_date'));

Line 22475: OE_MSG_PUB.Add;

22471:
22472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22474: OE_Order_Util.Get_Attribute_Name('customer_signature_date'));
22475: OE_MSG_PUB.Add;
22476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22477:
22478: END IF;
22479:

Line 22476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22474: OE_Order_Util.Get_Attribute_Name('customer_signature_date'));
22475: OE_MSG_PUB.Add;
22476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22477:
22478: END IF;
22479:
22480:

Line 22485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22481: RETURN FALSE;
22482:
22483: WHEN OTHERS THEN
22484:
22485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22486: THEN
22487: OE_MSG_PUB.Add_Exc_Msg
22488: ( G_PKG_NAME
22489: , 'CUSTOMER_SIGNATURE_DATE'

Line 22487: OE_MSG_PUB.Add_Exc_Msg

22483: WHEN OTHERS THEN
22484:
22485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22486: THEN
22487: OE_MSG_PUB.Add_Exc_Msg
22488: ( G_PKG_NAME
22489: , 'CUSTOMER_SIGNATURE_DATE'
22490: );
22491: END IF;

Line 22523: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22519: EXCEPTION
22520:
22521: WHEN NO_DATA_FOUND THEN
22522:
22523: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22524: THEN
22525:
22526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_TEMPLATE_ID
22527: ');

Line 22526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_TEMPLATE_ID

22522:
22523: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22524: THEN
22525:
22526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_TEMPLATE_ID
22527: ');
22528:
22529: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22530: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 22532: OE_MSG_PUB.Add;

22528:
22529: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22530: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22531: OE_Order_Util.Get_Attribute_Name('contract_template_id'));
22532: OE_MSG_PUB.Add;
22533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22534:
22535: END IF;
22536:

Line 22533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22529: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22530: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22531: OE_Order_Util.Get_Attribute_Name('contract_template_id'));
22532: OE_MSG_PUB.Add;
22533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22534:
22535: END IF;
22536:
22537: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 22566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22562: EXCEPTION
22563:
22564: WHEN NO_DATA_FOUND THEN
22565:
22566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22567: THEN
22568:
22569: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_SOURCE_DOC_TYPE_CODE
22570: ');

Line 22569: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_SOURCE_DOC_TYPE_CODE

22565:
22566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22567: THEN
22568:
22569: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_SOURCE_DOC_TYPE_CODE
22570: ');
22571:
22572: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22573: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 22575: OE_MSG_PUB.Add;

22571:
22572: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22573: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22574: OE_Order_Util.Get_Attribute_Name('contract_source_doc_type_code'));
22575: OE_MSG_PUB.Add;
22576: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22577:
22578: END IF;
22579:

Line 22576: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22572: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22573: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22574: OE_Order_Util.Get_Attribute_Name('contract_source_doc_type_code'));
22575: OE_MSG_PUB.Add;
22576: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22577:
22578: END IF;
22579:
22580: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 22610: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22606: EXCEPTION
22607:
22608: WHEN NO_DATA_FOUND THEN
22609:
22610: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22611: THEN
22612:
22613: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_SOURCE_DOCUMENT_ID');
22614:

Line 22613: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_SOURCE_DOCUMENT_ID');

22609:
22610: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22611: THEN
22612:
22613: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTRACT_SOURCE_DOCUMENT_ID');
22614:
22615: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22616: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22617: OE_Order_Util.Get_Attribute_Name('contract_source_document_id'));

Line 22618: OE_MSG_PUB.Add;

22614:
22615: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22616: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22617: OE_Order_Util.Get_Attribute_Name('contract_source_document_id'));
22618: OE_MSG_PUB.Add;
22619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22620:
22621: END IF;
22622:

Line 22619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22615: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22616: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22617: OE_Order_Util.Get_Attribute_Name('contract_source_document_id'));
22618: OE_MSG_PUB.Add;
22619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22620:
22621: END IF;
22622:
22623: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 22890: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22886:
22887: WHEN OTHERS THEN
22888:
22889:
22890: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22891: THEN
22892:
22893: OE_MSG_PUB.Add_Exc_Msg
22894: ( G_PKG_NAME

Line 22893: OE_MSG_PUB.Add_Exc_Msg

22889:
22890: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22891: THEN
22892:
22893: OE_MSG_PUB.Add_Exc_Msg
22894: ( G_PKG_NAME
22895: , 'Payments_Desc_Flex');
22896: END IF;
22897:

Line 22928: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22924: EXCEPTION
22925:
22926: WHEN NO_DATA_FOUND THEN
22927:
22928: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22929: THEN
22930:
22931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Payment_Level_Code');
22932:

Line 22931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Payment_Level_Code');

22927:
22928: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22929: THEN
22930:
22931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Payment_Level_Code');
22932:
22933: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22934: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22935: OE_Order_Util.Get_Attribute_Name('Payment_Level_Code'));

Line 22936: OE_MSG_PUB.Add;

22932:
22933: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22934: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22935: OE_Order_Util.Get_Attribute_Name('Payment_Level_Code'));
22936: OE_MSG_PUB.Add;
22937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22938:
22939: END IF;
22940:

Line 22937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22933: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22934: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22935: OE_Order_Util.Get_Attribute_Name('Payment_Level_Code'));
22936: OE_MSG_PUB.Add;
22937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22938:
22939: END IF;
22940:
22941:

Line 22946: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22942: RETURN FALSE;
22943:
22944: WHEN OTHERS THEN
22945:
22946: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22947: THEN
22948: OE_MSG_PUB.Add_Exc_Msg
22949: ( G_PKG_NAME
22950: , 'Payment_Level'

Line 22948: OE_MSG_PUB.Add_Exc_Msg

22944: WHEN OTHERS THEN
22945:
22946: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
22947: THEN
22948: OE_MSG_PUB.Add_Exc_Msg
22949: ( G_PKG_NAME
22950: , 'Payment_Level'
22951: );
22952: END IF;

Line 22983: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

22979:
22980: EXCEPTION
22981: WHEN NO_DATA_FOUND THEN
22982:
22983: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22984: THEN
22985:
22986: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_APPLIED_AMOUNT');
22987:

Line 22986: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_APPLIED_AMOUNT');

22982:
22983: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
22984: THEN
22985:
22986: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_APPLIED_AMOUNT');
22987:
22988: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22989: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22990: OE_Order_Util.Get_Attribute_Name('commitment_applied_amount'));

Line 22991: OE_MSG_PUB.Add;

22987:
22988: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22989: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22990: OE_Order_Util.Get_Attribute_Name('commitment_applied_amount'));
22991: OE_MSG_PUB.Add;
22992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22993:
22994: END IF;
22995:

Line 22992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

22988: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
22989: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
22990: OE_Order_Util.Get_Attribute_Name('commitment_applied_amount'));
22991: OE_MSG_PUB.Add;
22992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
22993:
22994: END IF;
22995:
22996:

Line 23001: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

22997: RETURN FALSE;
22998:
22999: WHEN OTHERS THEN
23000:
23001: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23002: THEN
23003: OE_MSG_PUB.Add_Exc_Msg
23004: ( G_PKG_NAME
23005: , 'Commitment_Applied_Amount'

Line 23003: OE_MSG_PUB.Add_Exc_Msg

22999: WHEN OTHERS THEN
23000:
23001: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23002: THEN
23003: OE_MSG_PUB.Add_Exc_Msg
23004: ( G_PKG_NAME
23005: , 'Commitment_Applied_Amount'
23006: );
23007: END IF;

Line 23037: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23033:
23034: EXCEPTION
23035: WHEN NO_DATA_FOUND THEN
23036:
23037: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23038: THEN
23039:
23040: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_INTERFACED_AMOUNT');
23041:

Line 23040: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_INTERFACED_AMOUNT');

23036:
23037: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23038: THEN
23039:
23040: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_INTERFACED_AMOUNT');
23041:
23042: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23043: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23044: OE_Order_Util.Get_Attribute_Name('commitment_interfaced_amount'));

Line 23045: OE_MSG_PUB.Add;

23041:
23042: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23043: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23044: OE_Order_Util.Get_Attribute_Name('commitment_interfaced_amount'));
23045: OE_MSG_PUB.Add;
23046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23047:
23048: END IF;
23049:

Line 23046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23042: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23043: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23044: OE_Order_Util.Get_Attribute_Name('commitment_interfaced_amount'));
23045: OE_MSG_PUB.Add;
23046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23047:
23048: END IF;
23049:
23050:

Line 23055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23051: RETURN FALSE;
23052:
23053: WHEN OTHERS THEN
23054:
23055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23056: THEN
23057: OE_MSG_PUB.Add_Exc_Msg
23058: ( G_PKG_NAME
23059: , 'Commitment_Interfaced_Amount'

Line 23057: OE_MSG_PUB.Add_Exc_Msg

23053: WHEN OTHERS THEN
23054:
23055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23056: THEN
23057: OE_MSG_PUB.Add_Exc_Msg
23058: ( G_PKG_NAME
23059: , 'Commitment_Interfaced_Amount'
23060: );
23061: END IF;

Line 23093: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23089:
23090: EXCEPTION
23091: WHEN NO_DATA_FOUND THEN
23092:
23093: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23094: THEN
23095:
23096: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_COLLECTION_EVENT');
23097:

Line 23096: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_COLLECTION_EVENT');

23092:
23093: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23094: THEN
23095:
23096: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_COLLECTION_EVENT');
23097:
23098: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23099: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23100: OE_Order_Util.Get_Attribute_Name('payment_collection_event'));

Line 23101: OE_MSG_PUB.Add;

23097:
23098: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23099: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23100: OE_Order_Util.Get_Attribute_Name('payment_collection_event'));
23101: OE_MSG_PUB.Add;
23102: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23103:
23104: END IF;
23105:

Line 23102: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23098: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23099: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23100: OE_Order_Util.Get_Attribute_Name('payment_collection_event'));
23101: OE_MSG_PUB.Add;
23102: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23103:
23104: END IF;
23105:
23106:

Line 23111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23107: RETURN FALSE;
23108:
23109: WHEN OTHERS THEN
23110:
23111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23112: THEN
23113: OE_MSG_PUB.Add_Exc_Msg
23114: ( G_PKG_NAME
23115: , 'Payment_Collection_Event'

Line 23113: OE_MSG_PUB.Add_Exc_Msg

23109: WHEN OTHERS THEN
23110:
23111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23112: THEN
23113: OE_MSG_PUB.Add_Exc_Msg
23114: ( G_PKG_NAME
23115: , 'Payment_Collection_Event'
23116: );
23117: END IF;

Line 23147: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23143:
23144: EXCEPTION
23145: WHEN NO_DATA_FOUND THEN
23146:
23147: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23148: THEN
23149:
23150: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TRX_ID');
23151:

Line 23150: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TRX_ID');

23146:
23147: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23148: THEN
23149:
23150: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TRX_ID');
23151:
23152: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23153: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23154: OE_Order_Util.Get_Attribute_Name('payment_trx_id'));

Line 23155: OE_MSG_PUB.Add;

23151:
23152: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23153: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23154: OE_Order_Util.Get_Attribute_Name('payment_trx_id'));
23155: OE_MSG_PUB.Add;
23156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23157:
23158: END IF;
23159:

Line 23156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23152: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23153: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23154: OE_Order_Util.Get_Attribute_Name('payment_trx_id'));
23155: OE_MSG_PUB.Add;
23156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23157:
23158: END IF;
23159:
23160:

Line 23165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23161: RETURN FALSE;
23162:
23163: WHEN OTHERS THEN
23164:
23165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23166: THEN
23167: OE_MSG_PUB.Add_Exc_Msg
23168: ( G_PKG_NAME
23169: , 'Payment_Trx'

Line 23167: OE_MSG_PUB.Add_Exc_Msg

23163: WHEN OTHERS THEN
23164:
23165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23166: THEN
23167: OE_MSG_PUB.Add_Exc_Msg
23168: ( G_PKG_NAME
23169: , 'Payment_Trx'
23170: );
23171: END IF;

Line 23201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23197:
23198: EXCEPTION
23199: WHEN NO_DATA_FOUND THEN
23200:
23201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23202: THEN
23203:
23204: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_SET_ID');
23205:

Line 23204: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_SET_ID');

23200:
23201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23202: THEN
23203:
23204: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_SET_ID');
23205:
23206: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23207: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23208: OE_Order_Util.Get_Attribute_Name('payment_set_id'));

Line 23209: OE_MSG_PUB.Add;

23205:
23206: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23207: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23208: OE_Order_Util.Get_Attribute_Name('payment_set_id'));
23209: OE_MSG_PUB.Add;
23210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23211:
23212: END IF;
23213:

Line 23210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23206: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23207: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23208: OE_Order_Util.Get_Attribute_Name('payment_set_id'));
23209: OE_MSG_PUB.Add;
23210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23211:
23212: END IF;
23213:
23214:

Line 23219: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23215: RETURN FALSE;
23216:
23217: WHEN OTHERS THEN
23218:
23219: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23220: THEN
23221: OE_MSG_PUB.Add_Exc_Msg
23222: ( G_PKG_NAME
23223: , 'Payment_Set'

Line 23221: OE_MSG_PUB.Add_Exc_Msg

23217: WHEN OTHERS THEN
23218:
23219: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23220: THEN
23221: OE_MSG_PUB.Add_Exc_Msg
23222: ( G_PKG_NAME
23223: , 'Payment_Set'
23224: );
23225: END IF;

Line 23255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23251:
23252: EXCEPTION
23253: WHEN NO_DATA_FOUND THEN
23254:
23255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23256: THEN
23257:
23258: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREPAID_AMOUNT');
23259:

Line 23258: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREPAID_AMOUNT');

23254:
23255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23256: THEN
23257:
23258: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREPAID_AMOUNT');
23259:
23260: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23261: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23262: OE_Order_Util.Get_Attribute_Name('prepaid_amoun'));

Line 23263: OE_MSG_PUB.Add;

23259:
23260: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23261: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23262: OE_Order_Util.Get_Attribute_Name('prepaid_amoun'));
23263: OE_MSG_PUB.Add;
23264: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23265:
23266: END IF;
23267:

Line 23264: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23260: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23261: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23262: OE_Order_Util.Get_Attribute_Name('prepaid_amoun'));
23263: OE_MSG_PUB.Add;
23264: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23265:
23266: END IF;
23267:
23268:

Line 23273: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23269: RETURN FALSE;
23270:
23271: WHEN OTHERS THEN
23272:
23273: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23274: THEN
23275: OE_MSG_PUB.Add_Exc_Msg
23276: ( G_PKG_NAME
23277: , 'Prepaid_Amount'

Line 23275: OE_MSG_PUB.Add_Exc_Msg

23271: WHEN OTHERS THEN
23272:
23273: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23274: THEN
23275: OE_MSG_PUB.Add_Exc_Msg
23276: ( G_PKG_NAME
23277: , 'Prepaid_Amount'
23278: );
23279: END IF;

Line 23312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23308:
23309: EXCEPTION
23310: WHEN NO_DATA_FOUND THEN
23311:
23312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23313: THEN
23314:
23315: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RECEIPT_METHOD');
23316:

Line 23315: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RECEIPT_METHOD');

23311:
23312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23313: THEN
23314:
23315: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RECEIPT_METHOD');
23316:
23317: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23318: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23319: OE_Order_Util.Get_Attribute_Name('receipt_method_id'));

Line 23320: OE_MSG_PUB.Add;

23316:
23317: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23318: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23319: OE_Order_Util.Get_Attribute_Name('receipt_method_id'));
23320: OE_MSG_PUB.Add;
23321: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23322:
23323: END IF;
23324:

Line 23321: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23317: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23318: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23319: OE_Order_Util.Get_Attribute_Name('receipt_method_id'));
23320: OE_MSG_PUB.Add;
23321: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23322:
23323: END IF;
23324:
23325: RETURN FALSE;

Line 23329: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23325: RETURN FALSE;
23326:
23327: WHEN OTHERS THEN
23328:
23329: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23330: THEN
23331: OE_MSG_PUB.Add_Exc_Msg
23332: ( G_PKG_NAME
23333: , 'Receipt_Method'

Line 23331: OE_MSG_PUB.Add_Exc_Msg

23327: WHEN OTHERS THEN
23328:
23329: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23330: THEN
23331: OE_MSG_PUB.Add_Exc_Msg
23332: ( G_PKG_NAME
23333: , 'Receipt_Method'
23334: );
23335: END IF;

Line 23365: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23361:
23362: EXCEPTION
23363: WHEN NO_DATA_FOUND THEN
23364:
23365: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23366: THEN
23367:
23368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TANGIBLE_ID');
23369:

Line 23368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TANGIBLE_ID');

23364:
23365: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23366: THEN
23367:
23368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TANGIBLE_ID');
23369:
23370: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23371: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23372: OE_Order_Util.Get_Attribute_Name('tangible_id'));

Line 23373: OE_MSG_PUB.Add;

23369:
23370: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23371: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23372: OE_Order_Util.Get_Attribute_Name('tangible_id'));
23373: OE_MSG_PUB.Add;
23374: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23375:
23376: END IF;
23377:

Line 23374: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23370: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23371: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23372: OE_Order_Util.Get_Attribute_Name('tangible_id'));
23373: OE_MSG_PUB.Add;
23374: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23375:
23376: END IF;
23377:
23378:

Line 23383: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23379: RETURN FALSE;
23380:
23381: WHEN OTHERS THEN
23382:
23383: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23384: THEN
23385: OE_MSG_PUB.Add_Exc_Msg
23386: ( G_PKG_NAME
23387: , 'Tangible'

Line 23385: OE_MSG_PUB.Add_Exc_Msg

23381: WHEN OTHERS THEN
23382:
23383: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23384: THEN
23385: OE_MSG_PUB.Add_Exc_Msg
23386: ( G_PKG_NAME
23387: , 'Tangible'
23388: );
23389: END IF;

Line 23420: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23416:
23417: EXCEPTION
23418: WHEN NO_DATA_FOUND THEN
23419:
23420: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23421: THEN
23422:
23423: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_NUMBER');
23424:

Line 23423: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_NUMBER');

23419:
23420: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23421: THEN
23422:
23423: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_NUMBER');
23424:
23425: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23426: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23427: OE_Order_Util.Get_Attribute_Name('payment_number'));

Line 23428: OE_MSG_PUB.Add;

23424:
23425: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23426: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23427: OE_Order_Util.Get_Attribute_Name('payment_number'));
23428: OE_MSG_PUB.Add;
23429: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23430:
23431: END IF;
23432:

Line 23429: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23425: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23426: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23427: OE_Order_Util.Get_Attribute_Name('payment_number'));
23428: OE_MSG_PUB.Add;
23429: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23430:
23431: END IF;
23432:
23433:

Line 23438: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23434: RETURN FALSE;
23435:
23436: WHEN OTHERS THEN
23437:
23438: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23439: THEN
23440: OE_MSG_PUB.Add_Exc_Msg
23441: ( G_PKG_NAME
23442: , 'Payment_Number'

Line 23440: OE_MSG_PUB.Add_Exc_Msg

23436: WHEN OTHERS THEN
23437:
23438: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23439: THEN
23440: OE_MSG_PUB.Add_Exc_Msg
23441: ( G_PKG_NAME
23442: , 'Payment_Number'
23443: );
23444: END IF;

Line 23481: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN

23477: WHEN NO_DATA_FOUND THEN
23478: IF l_debug_level > 0 THEN
23479: OE_DEBUG_PUB.Add ('Charge Periodicity: NO_DATA_FOUND!!',1);
23480: END IF;
23481: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
23482: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_PERIODICITY');
23483: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
23484: FND_MESSAGE.Set_Token('ATTRIBUTE',
23485: OE_ORDER_UTIL.Get_Attribute_Name('Charge_Periodicity'));

Line 23482: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_PERIODICITY');

23478: IF l_debug_level > 0 THEN
23479: OE_DEBUG_PUB.Add ('Charge Periodicity: NO_DATA_FOUND!!',1);
23480: END IF;
23481: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
23482: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_PERIODICITY');
23483: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
23484: FND_MESSAGE.Set_Token('ATTRIBUTE',
23485: OE_ORDER_UTIL.Get_Attribute_Name('Charge_Periodicity'));
23486: OE_MSG_PUB.Add;

Line 23486: OE_MSG_PUB.Add;

23482: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_PERIODICITY');
23483: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
23484: FND_MESSAGE.Set_Token('ATTRIBUTE',
23485: OE_ORDER_UTIL.Get_Attribute_Name('Charge_Periodicity'));
23486: OE_MSG_PUB.Add;
23487: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => NULL);
23488: END IF;
23489: RETURN FALSE;
23490:

Line 23487: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => NULL);

23483: FND_MESSAGE.Set_Name('ONT','OE_INVALID_ATTRIBUTE');
23484: FND_MESSAGE.Set_Token('ATTRIBUTE',
23485: OE_ORDER_UTIL.Get_Attribute_Name('Charge_Periodicity'));
23486: OE_MSG_PUB.Add;
23487: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => NULL);
23488: END IF;
23489: RETURN FALSE;
23490:
23491: WHEN OTHERS THEN

Line 23495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

23491: WHEN OTHERS THEN
23492: IF l_debug_level > 0 THEN
23493: OE_DEBUG_PUB.Add ('Charge_Periodicity: OTHERS Exception',1);
23494: END IF;
23495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
23496: OE_MSG_PUB.Add_Exc_Msg
23497: ( G_PKG_NAME
23498: ,'Charge_Periodicity');
23499: END IF;

Line 23496: OE_MSG_PUB.Add_Exc_Msg

23492: IF l_debug_level > 0 THEN
23493: OE_DEBUG_PUB.Add ('Charge_Periodicity: OTHERS Exception',1);
23494: END IF;
23495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
23496: OE_MSG_PUB.Add_Exc_Msg
23497: ( G_PKG_NAME
23498: ,'Charge_Periodicity');
23499: END IF;
23500: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 23531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23527: EXCEPTION
23528:
23529: WHEN NO_DATA_FOUND THEN
23530:
23531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23532: THEN
23533:
23534: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');
23535:

Line 23534: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');

23530:
23531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23532: THEN
23533:
23534: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');
23535:
23536: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23537: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23538: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));

Line 23539: OE_MSG_PUB.Add;

23535:
23536: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23537: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23538: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));
23539: OE_MSG_PUB.Add;
23540: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23541:
23542: END IF;
23543:

Line 23540: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23536: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23537: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23538: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));
23539: OE_MSG_PUB.Add;
23540: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23541:
23542: END IF;
23543:
23544:

Line 23549: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23545: RETURN FALSE;
23546:
23547: WHEN OTHERS THEN
23548:
23549: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23550: THEN
23551: OE_MSG_PUB.Add_Exc_Msg
23552: ( G_PKG_NAME
23553: , 'Shipped_Quantity2'

Line 23551: OE_MSG_PUB.Add_Exc_Msg

23547: WHEN OTHERS THEN
23548:
23549: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23550: THEN
23551: OE_MSG_PUB.Add_Exc_Msg
23552: ( G_PKG_NAME
23553: , 'Shipped_Quantity2'
23554: );
23555: END IF;

Line 23588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23584: EXCEPTION
23585:
23586: WHEN NO_DATA_FOUND THEN
23587:
23588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23589: THEN
23590:
23591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY2');
23592:

Line 23591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY2');

23587:
23588: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23589: THEN
23590:
23591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY2');
23592:
23593: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23594: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23595: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity2'));

Line 23596: OE_MSG_PUB.Add;

23592:
23593: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23594: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23595: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity2'));
23596: OE_MSG_PUB.Add;
23597: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23598:
23599: END IF;
23600:

Line 23597: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23593: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23594: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23595: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity2'));
23596: OE_MSG_PUB.Add;
23597: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23598:
23599: END IF;
23600:
23601:

Line 23606: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23602: RETURN FALSE;
23603:
23604: WHEN OTHERS THEN
23605:
23606: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23607: THEN
23608: OE_MSG_PUB.Add_Exc_Msg
23609: ( G_PKG_NAME
23610: , 'Fulfilled_Quantity2'

Line 23608: OE_MSG_PUB.Add_Exc_Msg

23604: WHEN OTHERS THEN
23605:
23606: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23607: THEN
23608: OE_MSG_PUB.Add_Exc_Msg
23609: ( G_PKG_NAME
23610: , 'Fulfilled_Quantity2'
23611: );
23612: END IF;

Line 23645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23641: EXCEPTION
23642:
23643: WHEN NO_DATA_FOUND THEN
23644:
23645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23646: THEN
23647:
23648: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY2');
23649:

Line 23648: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY2');

23644:
23645: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23646: THEN
23647:
23648: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY2');
23649:
23650: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23651: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23652: OE_Order_Util.Get_Attribute_Name('shipping_quantity2'));

Line 23653: OE_MSG_PUB.Add;

23649:
23650: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23651: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23652: OE_Order_Util.Get_Attribute_Name('shipping_quantity2'));
23653: OE_MSG_PUB.Add;
23654: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23655:
23656: END IF;
23657:

Line 23654: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23650: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23651: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23652: OE_Order_Util.Get_Attribute_Name('shipping_quantity2'));
23653: OE_MSG_PUB.Add;
23654: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23655:
23656: END IF;
23657:
23658:

Line 23663: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23659: RETURN FALSE;
23660:
23661: WHEN OTHERS THEN
23662:
23663: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23664: THEN
23665: OE_MSG_PUB.Add_Exc_Msg
23666: ( G_PKG_NAME
23667: , 'Shipping_Quantity2'

Line 23665: OE_MSG_PUB.Add_Exc_Msg

23661: WHEN OTHERS THEN
23662:
23663: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23664: THEN
23665: OE_MSG_PUB.Add_Exc_Msg
23666: ( G_PKG_NAME
23667: , 'Shipping_Quantity2'
23668: );
23669: END IF;

Line 23702: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23698: EXCEPTION
23699:
23700: WHEN NO_DATA_FOUND THEN
23701:
23702: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23703: THEN
23704:
23705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM2');
23706:

Line 23705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM2');

23701:
23702: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23703: THEN
23704:
23705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM2');
23706:
23707: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23708: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23709: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom2'));

Line 23710: OE_MSG_PUB.Add;

23706:
23707: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23708: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23709: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom2'));
23710: OE_MSG_PUB.Add;
23711: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23712:
23713: END IF;
23714:

Line 23711: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23707: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23708: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23709: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom2'));
23710: OE_MSG_PUB.Add;
23711: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23712:
23713: END IF;
23714:
23715:

Line 23720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23716: RETURN FALSE;
23717:
23718: WHEN OTHERS THEN
23719:
23720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23721: THEN
23722: OE_MSG_PUB.Add_Exc_Msg
23723: ( G_PKG_NAME
23724: , 'Shipping_Quantity_Uom2'

Line 23722: OE_MSG_PUB.Add_Exc_Msg

23718: WHEN OTHERS THEN
23719:
23720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23721: THEN
23722: OE_MSG_PUB.Add_Exc_Msg
23723: ( G_PKG_NAME
23724: , 'Shipping_Quantity_Uom2'
23725: );
23726: END IF;

Line 23761: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23757: EXCEPTION
23758:
23759: WHEN NO_DATA_FOUND THEN
23760:
23761: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23762: THEN
23763:
23764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRXN_EXTENSION_ID');
23765:

Line 23764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRXN_EXTENSION_ID');

23760:
23761: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23762: THEN
23763:
23764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRXN_EXTENSION_ID');
23765:
23766: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23767: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23768: OE_Order_Util.Get_Attribute_Name('trxn_extension_id'));

Line 23769: OE_MSG_PUB.Add;

23765:
23766: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23767: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23768: OE_Order_Util.Get_Attribute_Name('trxn_extension_id'));
23769: OE_MSG_PUB.Add;
23770: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23771:
23772: END IF;
23773:

Line 23770: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23766: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23767: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23768: OE_Order_Util.Get_Attribute_Name('trxn_extension_id'));
23769: OE_MSG_PUB.Add;
23770: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23771:
23772: END IF;
23773:
23774:

Line 23779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23775: RETURN FALSE;
23776:
23777: WHEN OTHERS THEN
23778:
23779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23780: THEN
23781: OE_MSG_PUB.Add_Exc_Msg
23782: ( G_PKG_NAME
23783: , 'Payment_Trxn_Extension'

Line 23781: OE_MSG_PUB.Add_Exc_Msg

23777: WHEN OTHERS THEN
23778:
23779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23780: THEN
23781: OE_MSG_PUB.Add_Exc_Msg
23782: ( G_PKG_NAME
23783: , 'Payment_Trxn_Extension'
23784: );
23785: END IF;

Line 23820: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

23816: EXCEPTION
23817:
23818: WHEN NO_DATA_FOUND THEN
23819:
23820: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23821: THEN
23822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE_ID');
23823:
23824: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 23822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE_ID');

23818: WHEN NO_DATA_FOUND THEN
23819:
23820: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
23821: THEN
23822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE_ID');
23823:
23824: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23825: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23826: OE_Order_Util.Get_Attribute_Name('tax_rate_id'));

Line 23827: OE_MSG_PUB.Add;

23823:
23824: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23825: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23826: OE_Order_Util.Get_Attribute_Name('tax_rate_id'));
23827: OE_MSG_PUB.Add;
23828: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23829:
23830: END IF;
23831:

Line 23828: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

23824: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
23825: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
23826: OE_Order_Util.Get_Attribute_Name('tax_rate_id'));
23827: OE_MSG_PUB.Add;
23828: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
23829:
23830: END IF;
23831:
23832:

Line 23837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

23833: RETURN FALSE;
23834:
23835: WHEN OTHERS THEN
23836:
23837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23838: THEN
23839: OE_MSG_PUB.Add_Exc_Msg
23840: ( G_PKG_NAME
23841: , 'Tax_Rate_ID'

Line 23839: OE_MSG_PUB.Add_Exc_Msg

23835: WHEN OTHERS THEN
23836:
23837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
23838: THEN
23839: OE_MSG_PUB.Add_Exc_Msg
23840: ( G_PKG_NAME
23841: , 'Tax_Rate_ID'
23842: );
23843: END IF;