DBA Data[Home] [Help]

APPS.OE_DEFAULT_LINE dependencies on FND_MESSAGE

Line 367: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_ITEM_NOT_FOUND');

363: END IF;
364:
365: EXCEPTION
366: WHEN NO_DATA_FOUND THEN
367: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_ITEM_NOT_FOUND');
368: IF ( g_line_rec.ordered_item is NULL OR -- This IF added for 1722670
369: g_line_rec.ordered_item = FND_API.G_MISS_CHAR) THEN
370: FND_MESSAGE.Set_TOKEN('ITEM',
371: 'Item with inventory_item_id='||to_char(g_line_rec.inventory_item_id));

Line 370: FND_MESSAGE.Set_TOKEN('ITEM',

366: WHEN NO_DATA_FOUND THEN
367: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_ITEM_NOT_FOUND');
368: IF ( g_line_rec.ordered_item is NULL OR -- This IF added for 1722670
369: g_line_rec.ordered_item = FND_API.G_MISS_CHAR) THEN
370: FND_MESSAGE.Set_TOKEN('ITEM',
371: 'Item with inventory_item_id='||to_char(g_line_rec.inventory_item_id));
372: ELSE
373: FND_MESSAGE.Set_TOKEN('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));
374: END IF;

Line 373: FND_MESSAGE.Set_TOKEN('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));

369: g_line_rec.ordered_item = FND_API.G_MISS_CHAR) THEN
370: FND_MESSAGE.Set_TOKEN('ITEM',
371: 'Item with inventory_item_id='||to_char(g_line_rec.inventory_item_id));
372: ELSE
373: FND_MESSAGE.Set_TOKEN('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));
374: END IF;
375: -- FND_MESSAGE.Set_TOKEN('ITEM', g_line_rec.ordered_item); Replaced with the above IF for 1722670
376: FND_MESSAGE.Set_TOKEN
377: ('ORG',OE_SYS_PARAMETERS.VALUE('MASTER_ORGANIZATION_ID'));

Line 375: -- FND_MESSAGE.Set_TOKEN('ITEM', g_line_rec.ordered_item); Replaced with the above IF for 1722670

371: 'Item with inventory_item_id='||to_char(g_line_rec.inventory_item_id));
372: ELSE
373: FND_MESSAGE.Set_TOKEN('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));
374: END IF;
375: -- FND_MESSAGE.Set_TOKEN('ITEM', g_line_rec.ordered_item); Replaced with the above IF for 1722670
376: FND_MESSAGE.Set_TOKEN
377: ('ORG',OE_SYS_PARAMETERS.VALUE('MASTER_ORGANIZATION_ID'));
378: -- oe_organization_id is drpped,
379: -- hence need to call OE_SYS_PARAMETERS.Value('MASTER_ORGANIZATION_ID');

Line 376: FND_MESSAGE.Set_TOKEN

372: ELSE
373: FND_MESSAGE.Set_TOKEN('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));
374: END IF;
375: -- FND_MESSAGE.Set_TOKEN('ITEM', g_line_rec.ordered_item); Replaced with the above IF for 1722670
376: FND_MESSAGE.Set_TOKEN
377: ('ORG',OE_SYS_PARAMETERS.VALUE('MASTER_ORGANIZATION_ID'));
378: -- oe_organization_id is drpped,
379: -- hence need to call OE_SYS_PARAMETERS.Value('MASTER_ORGANIZATION_ID');
380:

Line 1053: FND_MESSAGE.SET_NAME('ONT', 'OE_BLKT_INVALID_BLANKET');

1049:
1050: EXCEPTION
1051: WHEN NO_DATA_FOUND THEN
1052: oe_debug_pub.add('Blanket Values combination is not valid: Blanket #:'||p_x_line_rec.blanket_number || ', Blanket Line #:'||p_x_line_rec.blanket_line_number, 2);
1053: FND_MESSAGE.SET_NAME('ONT', 'OE_BLKT_INVALID_BLANKET');
1054: fnd_message.set_token('BLANKET_NUMBER',p_x_line_rec.blanket_number);
1055: fnd_message.set_token('BLANKET_LINE_NUMBER',p_x_line_rec.blanket_line_number);
1056: OE_MSG_PUB.Add;
1057: END;

Line 1054: fnd_message.set_token('BLANKET_NUMBER',p_x_line_rec.blanket_number);

1050: EXCEPTION
1051: WHEN NO_DATA_FOUND THEN
1052: oe_debug_pub.add('Blanket Values combination is not valid: Blanket #:'||p_x_line_rec.blanket_number || ', Blanket Line #:'||p_x_line_rec.blanket_line_number, 2);
1053: FND_MESSAGE.SET_NAME('ONT', 'OE_BLKT_INVALID_BLANKET');
1054: fnd_message.set_token('BLANKET_NUMBER',p_x_line_rec.blanket_number);
1055: fnd_message.set_token('BLANKET_LINE_NUMBER',p_x_line_rec.blanket_line_number);
1056: OE_MSG_PUB.Add;
1057: END;
1058:

Line 1055: fnd_message.set_token('BLANKET_LINE_NUMBER',p_x_line_rec.blanket_line_number);

1051: WHEN NO_DATA_FOUND THEN
1052: oe_debug_pub.add('Blanket Values combination is not valid: Blanket #:'||p_x_line_rec.blanket_number || ', Blanket Line #:'||p_x_line_rec.blanket_line_number, 2);
1053: FND_MESSAGE.SET_NAME('ONT', 'OE_BLKT_INVALID_BLANKET');
1054: fnd_message.set_token('BLANKET_NUMBER',p_x_line_rec.blanket_number);
1055: fnd_message.set_token('BLANKET_LINE_NUMBER',p_x_line_rec.blanket_line_number);
1056: OE_MSG_PUB.Add;
1057: END;
1058:
1059: END IF; -- default version number

Line 1766: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_DUPLICATE_COMPONENT');

1762: END IF;
1763:
1764: WHEN too_many_rows THEN
1765: -- Added for Bug-2367800
1766: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_DUPLICATE_COMPONENT');
1767: FND_MESSAGE.Set_Token('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));
1768: OE_Msg_Pub.Add;
1769: IF l_debug_level > 0 THEN
1770: oe_debug_pub.add( 'TOO MANY ROWS CASE '|| G_LINE_REC.INVENTORY_ITEM_ID , 1 ) ;

Line 1767: FND_MESSAGE.Set_Token('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));

1763:
1764: WHEN too_many_rows THEN
1765: -- Added for Bug-2367800
1766: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_DUPLICATE_COMPONENT');
1767: FND_MESSAGE.Set_Token('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));
1768: OE_Msg_Pub.Add;
1769: IF l_debug_level > 0 THEN
1770: oe_debug_pub.add( 'TOO MANY ROWS CASE '|| G_LINE_REC.INVENTORY_ITEM_ID , 1 ) ;
1771: END IF;

Line 1910: FND_MESSAGE.SET_NAME('ONT','OE_ITEM_TYPE_CONST');

1906:
1907: IF NOT OE_GLOBALS.EQUAL(p_old_line_rec.item_type_code,
1908: p_item_type_code) THEN
1909:
1910: FND_MESSAGE.SET_NAME('ONT','OE_ITEM_TYPE_CONST');
1911: OE_MSG_PUB.ADD;
1912: IF l_debug_level > 0 THEN
1913: oe_debug_pub.add( 'ITEM_TYPE_CODE CONSTRAINED' ) ;
1914: END IF;

Line 2260: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');

2256: p_line_rec.order_source_id = 27 AND
2257: p_line_rec.retrobill_request_id is not null) THEN
2258: null;
2259: else
2260: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');
2261: OE_MSG_PUB.ADD;
2262: IF l_debug_level > 0 THEN
2263: oe_debug_pub.add( 'LINE CATEGORY CONSTRINED' ) ;
2264: END IF;

Line 2293: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');

2289: p_old_line_rec.line_category_code IS NOT NULL) THEN
2290:
2291: IF NOT OE_GLOBALS.EQUAL(p_old_line_rec.line_category_code,
2292: l_category) THEN
2293: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');
2294: OE_MSG_PUB.ADD;
2295: IF l_debug_level > 0 THEN
2296: oe_debug_pub.add( 'LINE CATEGORY CONSTRINED' ) ;
2297: END IF;

Line 3049: FND_Message.Set_Name('ONT', 'OE_NO_LINES_FOR_SERIAL_NUMBER');

3045: IF l_debug_level > 0 THEN
3046: oe_debug_pub.add( 'IN SERIAL4 '||TO_CHAR ( L_LINE_TBL.COUNT ) ) ;
3047: END IF;
3048: IF l_line_tbl.count = 0 THEN
3049: FND_Message.Set_Name('ONT', 'OE_NO_LINES_FOR_SERIAL_NUMBER');
3050: oe_msg_pub.add;
3051: RAISE FND_API.G_EXC_ERROR;
3052: END IF;
3053:

Line 3104: FND_Message.Set_Name('ONT', 'OE_DUPLICATE_LINES_FOR_SAME_SN');

3100: l_line_tbl.count > 1 THEN
3101: IF l_debug_level > 0 THEN
3102: oe_debug_pub.add( 'IN SERIAL71 ' ) ;
3103: END IF;
3104: FND_Message.Set_Name('ONT', 'OE_DUPLICATE_LINES_FOR_SAME_SN');
3105: oe_msg_pub.add;
3106: RAISE FND_API.G_EXC_ERROR;
3107: END IF;
3108:

Line 3161: FND_Message.Set_Name('ONT', 'OE_NO_LINES_FOR_SERIAL_NUMBER');

3157: IF l_order_line_id IS NULL THEN
3158: IF l_debug_level > 0 THEN
3159: oe_debug_pub.add( 'NO LINES AVAILABLE FOR RETURN' ) ;
3160: END IF;
3161: FND_Message.Set_Name('ONT', 'OE_NO_LINES_FOR_SERIAL_NUMBER');
3162: oe_msg_pub.add;
3163: RAISE FND_API.G_EXC_ERROR;
3164: ELSE
3165: IF l_debug_level > 0 THEN

Line 3242: fnd_message.set_name('ONT', 'OE_RETURN_INVALID_SO_LINE');

3238: END LOOP;
3239:
3240: IF l_order_number IS NULL THEN
3241: oe_debug_pub.add('Invalid Return Reference',1);
3242: fnd_message.set_name('ONT', 'OE_RETURN_INVALID_SO_LINE');
3243: OE_MSG_PUB.Add;
3244: RAISE FND_API.G_EXC_ERROR;
3245: END IF;
3246:

Line 4482: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');

4478: g_line_rec.order_source_id = 27 AND
4479: g_line_rec.retrobill_request_id is NOT NULL ) THEN
4480: null;
4481: ELSE
4482: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');
4483: OE_MSG_PUB.ADD;
4484: IF l_debug_level > 0 THEN
4485: oe_debug_pub.add( 'LINE CATEGORY CONSTRINED' ) ;
4486: END IF;

Line 4698: fnd_message.set_name('ONT','OE_NO_TOL_FOR_PTO');

4694:
4695: IF l_debug_level > 0 THEN
4696: oe_debug_pub.add( 'SHIP TOLERANCES CAN NOT BE SPECIFIED ON PTOS' , 3 ) ;
4697: END IF;
4698: fnd_message.set_name('ONT','OE_NO_TOL_FOR_PTO');
4699: OE_MSG_PUB.Add;
4700: RAISE FND_API.G_EXC_ERROR;
4701:
4702: END IF;

Line 4899: FND_MESSAGE.SET_NAME('ONT', 'ONT_PRC_INVALID_UOM_CONVERSION');

4895: oe_debug_pub.add(' Ordered UOM '|| p_x_line_rec.order_quantity_uom,1);
4896: oe_debug_pub.add( ' Conversion does not exists' , 1 ) ;
4897: END IF;
4898:
4899: FND_MESSAGE.SET_NAME('ONT', 'ONT_PRC_INVALID_UOM_CONVERSION');
4900: fnd_message.set_token('UOM_TEXT',p_x_line_rec.pricing_quantity_uom);
4901: OE_MSG_PUB.Add;
4902: RAISE FND_API.G_EXC_ERROR;
4903: END IF;

Line 4900: fnd_message.set_token('UOM_TEXT',p_x_line_rec.pricing_quantity_uom);

4896: oe_debug_pub.add( ' Conversion does not exists' , 1 ) ;
4897: END IF;
4898:
4899: FND_MESSAGE.SET_NAME('ONT', 'ONT_PRC_INVALID_UOM_CONVERSION');
4900: fnd_message.set_token('UOM_TEXT',p_x_line_rec.pricing_quantity_uom);
4901: OE_MSG_PUB.Add;
4902: RAISE FND_API.G_EXC_ERROR;
4903: END IF;
4904: -- End of code addition after review.

Line 4923: FND_MESSAGE.SET_NAME('ONT', 'ONT_INVALID_ORD_QTY_PRC_QTY');

4919: END IF;
4920:
4921: IF p_x_line_rec.operation = OE_GLOBALS.G_OPR_CREATE THEN
4922: --Added the message after review.
4923: FND_MESSAGE.SET_NAME('ONT', 'ONT_INVALID_ORD_QTY_PRC_QTY');
4924: OE_MSG_PUB.Add;
4925: RAISE FND_API.G_EXC_ERROR;
4926: ELSE --BUG 4135361
4927: p_x_line_rec.pricing_quantity := p_x_line_rec.ordered_quantity;

Line 5468: FND_MESSAGE.Set_Name('ONT', 'ONT_USER_ITEM_DESC_CLEARED');

5464: p_old_line_rec.user_item_description)
5465: AND p_old_line_rec.user_item_description IS NOT NULL THEN
5466:
5467: p_x_line_rec.user_item_description := NULL;
5468: FND_MESSAGE.Set_Name('ONT', 'ONT_USER_ITEM_DESC_CLEARED');
5469: IF l_debug_level > 0 THEN
5470: oe_debug_pub.add( 'CLEAR OUT USER_ITEM_DESCRIPTION WHEN ITEM CHANGES.' , 3 ) ;
5471: END IF;
5472: