DBA Data[Home] [Help]

APPS.OE_DEFAULT_LINE dependencies on FND_MESSAGE

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

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

Line 372: FND_MESSAGE.Set_TOKEN('ITEM',

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

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

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

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

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

Line 378: FND_MESSAGE.Set_TOKEN

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

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

1110:
1111: EXCEPTION
1112: WHEN NO_DATA_FOUND THEN
1113: 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);
1114: FND_MESSAGE.SET_NAME('ONT', 'OE_BLKT_INVALID_BLANKET');
1115: fnd_message.set_token('BLANKET_NUMBER',p_x_line_rec.blanket_number);
1116: fnd_message.set_token('BLANKET_LINE_NUMBER',p_x_line_rec.blanket_line_number);
1117: OE_MSG_PUB.Add;
1118: END;

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

1111: EXCEPTION
1112: WHEN NO_DATA_FOUND THEN
1113: 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);
1114: FND_MESSAGE.SET_NAME('ONT', 'OE_BLKT_INVALID_BLANKET');
1115: fnd_message.set_token('BLANKET_NUMBER',p_x_line_rec.blanket_number);
1116: fnd_message.set_token('BLANKET_LINE_NUMBER',p_x_line_rec.blanket_line_number);
1117: OE_MSG_PUB.Add;
1118: END;
1119:

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

1112: WHEN NO_DATA_FOUND THEN
1113: 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);
1114: FND_MESSAGE.SET_NAME('ONT', 'OE_BLKT_INVALID_BLANKET');
1115: fnd_message.set_token('BLANKET_NUMBER',p_x_line_rec.blanket_number);
1116: fnd_message.set_token('BLANKET_LINE_NUMBER',p_x_line_rec.blanket_line_number);
1117: OE_MSG_PUB.Add;
1118: END;
1119:
1120: END IF; -- default version number

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

1828: END IF;
1829:
1830: WHEN too_many_rows THEN
1831: -- Added for Bug-2367800
1832: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_DUPLICATE_COMPONENT');
1833: FND_MESSAGE.Set_Token('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));
1834: OE_Msg_Pub.Add;
1835: IF l_debug_level > 0 THEN
1836: oe_debug_pub.add( 'TOO MANY ROWS CASE '|| G_LINE_REC.INVENTORY_ITEM_ID , 1 ) ;

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

1829:
1830: WHEN too_many_rows THEN
1831: -- Added for Bug-2367800
1832: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_DUPLICATE_COMPONENT');
1833: FND_MESSAGE.Set_Token('ITEM', nvl(g_line_rec.ordered_item,g_line_rec.inventory_item_id));
1834: OE_Msg_Pub.Add;
1835: IF l_debug_level > 0 THEN
1836: oe_debug_pub.add( 'TOO MANY ROWS CASE '|| G_LINE_REC.INVENTORY_ITEM_ID , 1 ) ;
1837: END IF;

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

1972:
1973: IF NOT OE_GLOBALS.EQUAL(p_old_line_rec.item_type_code,
1974: p_item_type_code) THEN
1975:
1976: FND_MESSAGE.SET_NAME('ONT','OE_ITEM_TYPE_CONST');
1977: OE_MSG_PUB.ADD;
1978: IF l_debug_level > 0 THEN
1979: oe_debug_pub.add( 'ITEM_TYPE_CODE CONSTRAINED' ) ;
1980: END IF;

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

2373: p_line_rec.order_source_id = 27 AND
2374: p_line_rec.retrobill_request_id is not null) THEN
2375: null;
2376: else
2377: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');
2378: OE_MSG_PUB.ADD;
2379: IF l_debug_level > 0 THEN
2380: oe_debug_pub.add( 'LINE CATEGORY CONSTRINED' ) ;
2381: END IF;

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

2406: p_old_line_rec.line_category_code IS NOT NULL) THEN
2407:
2408: IF NOT OE_GLOBALS.EQUAL(p_old_line_rec.line_category_code,
2409: l_category) THEN
2410: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');
2411: OE_MSG_PUB.ADD;
2412: IF l_debug_level > 0 THEN
2413: oe_debug_pub.add( 'LINE CATEGORY CONSTRINED' ) ;
2414: END IF;

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

3164: IF l_debug_level > 0 THEN
3165: oe_debug_pub.add( 'IN SERIAL4 '||TO_CHAR ( L_LINE_TBL.COUNT ) ) ;
3166: END IF;
3167: IF l_line_tbl.count = 0 THEN
3168: FND_Message.Set_Name('ONT', 'OE_NO_LINES_FOR_SERIAL_NUMBER');
3169: oe_msg_pub.add;
3170: RAISE FND_API.G_EXC_ERROR;
3171: END IF;
3172:

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

3219: l_line_tbl.count > 1 THEN
3220: IF l_debug_level > 0 THEN
3221: oe_debug_pub.add( 'IN SERIAL71 ' ) ;
3222: END IF;
3223: FND_Message.Set_Name('ONT', 'OE_DUPLICATE_LINES_FOR_SAME_SN');
3224: oe_msg_pub.add;
3225: RAISE FND_API.G_EXC_ERROR;
3226: END IF;
3227:

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

3276: IF l_order_line_id IS NULL THEN
3277: IF l_debug_level > 0 THEN
3278: oe_debug_pub.add( 'NO LINES AVAILABLE FOR RETURN' ) ;
3279: END IF;
3280: FND_Message.Set_Name('ONT', 'OE_NO_LINES_FOR_SERIAL_NUMBER');
3281: oe_msg_pub.add;
3282: RAISE FND_API.G_EXC_ERROR;
3283: ELSE
3284: IF l_debug_level > 0 THEN

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

3357: END LOOP;
3358:
3359: IF l_order_number IS NULL THEN
3360: oe_debug_pub.add('Invalid Return Reference',1);
3361: fnd_message.set_name('ONT', 'OE_RETURN_INVALID_SO_LINE');
3362: OE_MSG_PUB.Add;
3363: RAISE FND_API.G_EXC_ERROR;
3364: END IF;
3365:

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

4628: g_line_rec.order_source_id = 27 AND
4629: g_line_rec.retrobill_request_id is NOT NULL ) THEN
4630: null;
4631: ELSE
4632: FND_MESSAGE.SET_NAME('ONT', 'OE_LINE_CAT_CONST');
4633: OE_MSG_PUB.ADD;
4634: IF l_debug_level > 0 THEN
4635: oe_debug_pub.add( 'LINE CATEGORY CONSTRINED' ) ;
4636: END IF;

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

4844:
4845: IF l_debug_level > 0 THEN
4846: oe_debug_pub.add( 'SHIP TOLERANCES CAN NOT BE SPECIFIED ON PTOS' , 3 ) ;
4847: END IF;
4848: fnd_message.set_name('ONT','OE_NO_TOL_FOR_PTO');
4849: OE_MSG_PUB.Add;
4850: RAISE FND_API.G_EXC_ERROR;
4851:
4852: END IF;

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

5058: oe_debug_pub.add(' Ordered UOM '|| p_x_line_rec.order_quantity_uom,1);
5059: oe_debug_pub.add( ' Conversion does not exists' , 1 ) ;
5060: END IF;
5061:
5062: FND_MESSAGE.SET_NAME('ONT', 'ONT_PRC_INVALID_UOM_CONVERSION');
5063: fnd_message.set_token('UOM_TEXT',p_x_line_rec.pricing_quantity_uom);
5064: OE_MSG_PUB.Add;
5065: RAISE FND_API.G_EXC_ERROR;
5066: END IF;

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

5059: oe_debug_pub.add( ' Conversion does not exists' , 1 ) ;
5060: END IF;
5061:
5062: FND_MESSAGE.SET_NAME('ONT', 'ONT_PRC_INVALID_UOM_CONVERSION');
5063: fnd_message.set_token('UOM_TEXT',p_x_line_rec.pricing_quantity_uom);
5064: OE_MSG_PUB.Add;
5065: RAISE FND_API.G_EXC_ERROR;
5066: END IF;
5067: -- End of code addition after review.

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

5082: END IF;
5083: --commented for bug 11778250
5084: /*IF p_x_line_rec.operation = OE_GLOBALS.G_OPR_CREATE THEN
5085: --Added the message after review.
5086: FND_MESSAGE.SET_NAME('ONT', 'ONT_INVALID_ORD_QTY_PRC_QTY');
5087: OE_MSG_PUB.Add;
5088: RAISE FND_API.G_EXC_ERROR;
5089: ELSE --BUG 4135361 */
5090: p_x_line_rec.pricing_quantity := p_x_line_rec.ordered_quantity;

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

5728: p_old_line_rec.user_item_description)
5729: AND p_old_line_rec.user_item_description IS NOT NULL THEN
5730:
5731: p_x_line_rec.user_item_description := NULL;
5732: FND_MESSAGE.Set_Name('ONT', 'ONT_USER_ITEM_DESC_CLEARED');
5733: IF l_debug_level > 0 THEN
5734: oe_debug_pub.add( 'CLEAR OUT USER_ITEM_DESCRIPTION WHEN ITEM CHANGES.' , 3 ) ;
5735: END IF;
5736: