DBA Data[Home] [Help]

APPS.OE_SERVICE_UTIL dependencies on FND_MESSAGE

Line 335: /* fnd_message.set_encoded(l_msg_data);

331: IF l_debug_level > 0 THEN
332: oe_debug_pub.add( 'EXITING NOTIFY_OC API' ) ;
333: END IF;
334: IF l_msg_data is not null THEN
335: /* fnd_message.set_encoded(l_msg_data);
336: l_buffer := fnd_message.get;
337: oe_msg_pub.add_text(p_message_text => l_buffer);
338: IF l_debug_level > 0 THEN
339: oe_debug_pub.add( L_BUFFER , 1 ) ;

Line 336: l_buffer := fnd_message.get;

332: oe_debug_pub.add( 'EXITING NOTIFY_OC API' ) ;
333: END IF;
334: IF l_msg_data is not null THEN
335: /* fnd_message.set_encoded(l_msg_data);
336: l_buffer := fnd_message.get;
337: oe_msg_pub.add_text(p_message_text => l_buffer);
338: IF l_debug_level > 0 THEN
339: oe_debug_pub.add( L_BUFFER , 1 ) ;
340: END IF;*/

Line 768: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');

764: oe_debug_pub.add( 'ENTERING GET_SERVICE_ATTRIBUTE REF TYPE NULL' ) ;
765: END IF;
766: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
767: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_REFERENCE_TYPE_CODE');
768: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');
769: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
770: OE_Order_Util.Get_Attribute_Name('service_reference_type_code'));
771: OE_MSG_PUB.Add;
772: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 769: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

765: END IF;
766: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
767: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_REFERENCE_TYPE_CODE');
768: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');
769: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
770: OE_Order_Util.Get_Attribute_Name('service_reference_type_code'));
771: OE_MSG_PUB.Add;
772: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
773: END IF;

Line 910: FND_MESSAGE.SET_NAME('ONT','ONT_INVALID_SERV_REF');

906:
907: -- Bug 9001060
908: EXCEPTION
909: WHEN No_Data_Found THEN
910: FND_MESSAGE.SET_NAME('ONT','ONT_INVALID_SERV_REF');
911: OE_MSG_PUB.Add;
912: RAISE FND_API.G_EXC_ERROR;
913: END;
914:

Line 1064: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');

1060: /* OR added for 2282076 */
1061: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1062: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1063: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1064: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1065: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1066: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1067: OE_MSG_PUB.Add;
1068: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1065: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1061: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1062: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1063: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1064: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1065: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1066: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1067: OE_MSG_PUB.Add;
1068: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1069: END IF;

Line 1085: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');

1081: END IF;
1082:
1083: IF p_x_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty)THEN --5699215
1084: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1085: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1086: OE_MSG_PUB.Add;
1087: /* Fix for the bug 2431953 / 2749740
1088: ELSIF OE_LINE_UTIL.G_ORDERED_QTY_CHANGE = TRUE THEN
1089: x_return_status := FND_API.G_RET_STS_ERROR;

Line 1417: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');

1413: /* OR added for 2282076 */
1414: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1415: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1416: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1417: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1418: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1419: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1420: OE_MSG_PUB.Add;
1421: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1418: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1414: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1415: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1416: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1417: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1418: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1419: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1420: OE_MSG_PUB.Add;
1421: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1422: END IF;

Line 1439: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');

1435: --IF l_service_qty <> p_x_line_rec.ordered_quantity THEN
1436: IF p_x_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty)THEN --5699215
1437: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1438: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1439: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1440: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1441: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1442: OE_MSG_PUB.Add;
1443: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1440: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1436: IF p_x_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty)THEN --5699215
1437: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1438: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1439: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1440: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1441: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1442: OE_MSG_PUB.Add;
1443: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1444: END IF;

Line 1644: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');

1640: x_line_rec := p_line_rec;
1641: IF (p_line_rec.service_reference_type_code is NULL) THEN
1642: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1643: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_REFERENCE_TYPE_CODE');
1644: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');
1645: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1646: OE_Order_Util.Get_Attribute_Name('service_reference_type_code'));
1647: OE_MSG_PUB.Add;
1648: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1645: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1641: IF (p_line_rec.service_reference_type_code is NULL) THEN
1642: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1643: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_REFERENCE_TYPE_CODE');
1644: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');
1645: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1646: OE_Order_Util.Get_Attribute_Name('service_reference_type_code'));
1647: OE_MSG_PUB.Add;
1648: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1649: END IF;

Line 1773: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');

1769: /* OR added for 2282076 */
1770: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1771: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1772: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1773: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1774: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1775: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1776: OE_MSG_PUB.Add;
1777: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1774: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1770: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1771: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1772: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1773: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1774: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1775: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1776: OE_MSG_PUB.Add;
1777: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1778: END IF;

Line 1789: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');

1785: -- IF l_service_qty <> p_line_rec.ordered_quantity THEN
1786: IF p_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty) THEN --5699215
1787: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1789: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1790: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1791: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1792: OE_MSG_PUB.Add;
1793: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1790: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1786: IF p_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty) THEN --5699215
1787: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1789: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1790: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1791: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1792: OE_MSG_PUB.Add;
1793: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1794: END IF;

Line 1971: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');

1967: /* OR added for 2282076 */
1968: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1969: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1970: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1971: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1973: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1974: OE_MSG_PUB.Add;
1975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1968: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1969: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1970: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1971: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1973: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1974: OE_MSG_PUB.Add;
1975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1976: END IF;

Line 1987: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');

1983: -- IF l_service_qty <> p_line_rec.ordered_quantity THEN
1984: IF p_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty) THEN--5699215
1985: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1986: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1987: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1988: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1989: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1990: OE_MSG_PUB.Add;
1991: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1988: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1984: IF p_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty) THEN--5699215
1985: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1986: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1987: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1988: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1989: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1990: OE_MSG_PUB.Add;
1991: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1992: END IF;

Line 2427: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');

2423:
2424: Exception
2425: WHEN NO_DATA_FOUND THEN
2426: -- Added for Bug 6889117 Start
2427: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
2428: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','Customer or Customer Product');
2429: OE_MSG_PUB.Add;
2430: -- Added for Bug 6889117 End
2431:

Line 2428: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','Customer or Customer Product');

2424: Exception
2425: WHEN NO_DATA_FOUND THEN
2426: -- Added for Bug 6889117 Start
2427: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
2428: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','Customer or Customer Product');
2429: OE_MSG_PUB.Add;
2430: -- Added for Bug 6889117 End
2431:
2432: IF l_debug_level > 0 THEN