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 763: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');

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

Line 764: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

760: END IF;
761: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
762: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_REFERENCE_TYPE_CODE');
763: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');
764: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
765: OE_Order_Util.Get_Attribute_Name('service_reference_type_code'));
766: OE_MSG_PUB.Add;
767: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
768: END IF;

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

1046: /* OR added for 2282076 */
1047: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1048: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1049: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1050: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1051: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1052: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1053: OE_MSG_PUB.Add;
1054: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1051: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1047: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1048: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1049: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1050: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1051: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1052: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1053: OE_MSG_PUB.Add;
1054: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1055: END IF;

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

1067: END IF;
1068:
1069: IF p_x_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty)THEN --5699215
1070: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1071: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1072: OE_MSG_PUB.Add;
1073: /* Fix for the bug 2431953 / 2749740
1074: ELSIF OE_LINE_UTIL.G_ORDERED_QTY_CHANGE = TRUE THEN
1075: x_return_status := FND_API.G_RET_STS_ERROR;

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

1395: /* OR added for 2282076 */
1396: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1399: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1400: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1401: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1402: OE_MSG_PUB.Add;
1403: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1400: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1396: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1399: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1400: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1401: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1402: OE_MSG_PUB.Add;
1403: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1404: END IF;

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

1417: --IF l_service_qty <> p_x_line_rec.ordered_quantity THEN
1418: IF p_x_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty)THEN --5699215
1419: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1420: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1421: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1422: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1423: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1424: OE_MSG_PUB.Add;
1425: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1422: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1418: IF p_x_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty)THEN --5699215
1419: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1420: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1421: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1422: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1423: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1424: OE_MSG_PUB.Add;
1425: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1426: END IF;

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

1609: x_line_rec := p_line_rec;
1610: IF (p_line_rec.service_reference_type_code is NULL) THEN
1611: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1612: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_REFERENCE_TYPE_CODE');
1613: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');
1614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1615: OE_Order_Util.Get_Attribute_Name('service_reference_type_code'));
1616: OE_MSG_PUB.Add;
1617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1610: IF (p_line_rec.service_reference_type_code is NULL) THEN
1611: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1612: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_REFERENCE_TYPE_CODE');
1613: fnd_message.set_name('ONT','OE_INVALID_SERVICE_REFERENCE_TYPE_CODE');
1614: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1615: OE_Order_Util.Get_Attribute_Name('service_reference_type_code'));
1616: OE_MSG_PUB.Add;
1617: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1618: END IF;

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

1734: /* OR added for 2282076 */
1735: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1736: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1737: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1738: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1739: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1740: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1741: OE_MSG_PUB.Add;
1742: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1739: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1735: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1736: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1737: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1738: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1739: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1740: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1741: OE_MSG_PUB.Add;
1742: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1743: END IF;

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

1750: -- IF l_service_qty <> p_line_rec.ordered_quantity THEN
1751: IF p_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty) THEN --5699215
1752: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1754: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1755: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1756: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1757: OE_MSG_PUB.Add;
1758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1755: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1751: IF p_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty) THEN --5699215
1752: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1754: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1755: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1756: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1757: OE_MSG_PUB.Add;
1758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1759: END IF;

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

1927: /* OR added for 2282076 */
1928: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1930: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1931: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1932: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1933: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1934: OE_MSG_PUB.Add;
1935: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1932: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1928: IF l_available_yn = 'N' OR l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1930: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_ITEM');
1931: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM');
1932: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1933: OE_Order_Util.Get_Attribute_Name('ordered_item'));
1934: OE_MSG_PUB.Add;
1935: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1936: END IF;

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

1943: -- IF l_service_qty <> p_line_rec.ordered_quantity THEN
1944: IF p_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty) THEN--5699215
1945: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1947: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1948: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1949: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1950: OE_MSG_PUB.Add;
1951: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

Line 1948: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

1944: IF p_line_rec.ordered_quantity <> Nvl (l_fulfilled_quantity,l_service_qty) THEN--5699215
1945: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR) THEN
1946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY');
1947: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_SERV_ITEM_QTY');
1948: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1949: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
1950: OE_MSG_PUB.Add;
1951: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1952: END IF;

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

2382:
2383: Exception
2384: WHEN NO_DATA_FOUND THEN
2385: -- Added for Bug 6889117 Start
2386: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
2387: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','Customer or Customer Product');
2388: OE_MSG_PUB.Add;
2389: -- Added for Bug 6889117 End
2390:

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

2383: Exception
2384: WHEN NO_DATA_FOUND THEN
2385: -- Added for Bug 6889117 Start
2386: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
2387: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','Customer or Customer Product');
2388: OE_MSG_PUB.Add;
2389: -- Added for Bug 6889117 End
2390:
2391: IF l_debug_level > 0 THEN