DBA Data[Home] [Help]

APPS.OE_CONFIG_VALIDATION_PVT dependencies on FND_MESSAGE

Line 335: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_DECIMAL_RATIO');

331: IF l_debug_level > 0 THEN
332: oe_debug_pub.add('DECIMAL RATIO '||P_OPTIONS_TBL ( I ) .COMPONENT_CODE , 1 ) ;
333: END IF;
334:
335: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_DECIMAL_RATIO');
336:
337: IF p_options_tbl(I).bom_item_type = 1 THEN
338: l_item_type_code := 'MODEL';
339: ELSIF p_options_tbl(I).bom_item_type = 2 THEN

Line 345: FND_MESSAGE.Set_TOKEN('ITEM', p_options_tbl(I).ordered_item);

341: ELSE
342: l_item_type_code := 'OPTION';
343: END IF;
344:
345: FND_MESSAGE.Set_TOKEN('ITEM', p_options_tbl(I).ordered_item);
346: FND_MESSAGE.Set_TOKEN('TYPECODE', l_item_type_code);
347: FND_MESSAGE.Set_TOKEN
348: ('VALUE', p_options_tbl(I).ordered_quantity/l_parent_qty);
349:

Line 346: FND_MESSAGE.Set_TOKEN('TYPECODE', l_item_type_code);

342: l_item_type_code := 'OPTION';
343: END IF;
344:
345: FND_MESSAGE.Set_TOKEN('ITEM', p_options_tbl(I).ordered_item);
346: FND_MESSAGE.Set_TOKEN('TYPECODE', l_item_type_code);
347: FND_MESSAGE.Set_TOKEN
348: ('VALUE', p_options_tbl(I).ordered_quantity/l_parent_qty);
349:
350: SELECT ordered_item, item_type_code

Line 347: FND_MESSAGE.Set_TOKEN

343: END IF;
344:
345: FND_MESSAGE.Set_TOKEN('ITEM', p_options_tbl(I).ordered_item);
346: FND_MESSAGE.Set_TOKEN('TYPECODE', l_item_type_code);
347: FND_MESSAGE.Set_TOKEN
348: ('VALUE', p_options_tbl(I).ordered_quantity/l_parent_qty);
349:
350: SELECT ordered_item, item_type_code
351: INTO l_ordered_item, l_item_type_code

Line 355: FND_MESSAGE.Set_TOKEN('MODEL', l_ordered_item);

351: INTO l_ordered_item, l_item_type_code
352: FROM oe_order_lines
353: WHERE line_id = p_top_model_line_id;
354:
355: FND_MESSAGE.Set_TOKEN('MODEL', l_ordered_item);
356: FND_MESSAGE.Set_TOKEN('PTYPECODE', l_item_type_code);
357:
358: OE_Msg_Pub.Add;
359:

Line 356: FND_MESSAGE.Set_TOKEN('PTYPECODE', l_item_type_code);

352: FROM oe_order_lines
353: WHERE line_id = p_top_model_line_id;
354:
355: FND_MESSAGE.Set_TOKEN('MODEL', l_ordered_item);
356: FND_MESSAGE.Set_TOKEN('PTYPECODE', l_item_type_code);
357:
358: OE_Msg_Pub.Add;
359:
360: RAISE FND_API.G_EXC_ERROR;

Line 482: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_NO_PARENT');

478: IF l_debug_level > 0 THEN
479: oe_debug_pub.add('NO PARENT' , 3 ) ;
480: END IF;
481:
482: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_NO_PARENT');
483: FND_MESSAGE.Set_TOKEN('ITEM', p_options_tbl(p_index).ordered_item);
484:
485: BEGIN
486: SELECT ordered_item, line_number, shipment_number, option_number

Line 483: FND_MESSAGE.Set_TOKEN('ITEM', p_options_tbl(p_index).ordered_item);

479: oe_debug_pub.add('NO PARENT' , 3 ) ;
480: END IF;
481:
482: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_NO_PARENT');
483: FND_MESSAGE.Set_TOKEN('ITEM', p_options_tbl(p_index).ordered_item);
484:
485: BEGIN
486: SELECT ordered_item, line_number, shipment_number, option_number
487: INTO l_ordered_item, l_line_number, l_shipment_number, l_option_number

Line 503: FND_MESSAGE.Set_TOKEN('LINE', l_line);

499: IF l_debug_level > 0 THEN
500: oe_debug_pub.add('NOT YET CREATED' , 3 ) ;
501: END IF;
502:
503: FND_MESSAGE.Set_TOKEN('LINE', l_line);
504: OE_MSG_PUB.Add;
505:
506: RAISE FND_API.G_EXC_ERROR;
507: END;

Line 600: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_QTY_OUT_OF_RANGE');

596: IF l_debug_level > 0 THEN
597: oe_debug_pub.add('ITEM'|| P_OPTIONS_TBL ( I ) .ORDERED_ITEM , 1 ) ;
598: END IF;
599:
600: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_QTY_OUT_OF_RANGE');
601: FND_MESSAGE.Set_Token('ITEM', p_options_tbl(I).ordered_item);
602: FND_MESSAGE.Set_Token('LOW', l_min_allowed_qty);
603: FND_MESSAGE.Set_Token('HIGH', l_max_allowed_qty);
604: OE_Msg_Pub.Add;

Line 601: FND_MESSAGE.Set_Token('ITEM', p_options_tbl(I).ordered_item);

597: oe_debug_pub.add('ITEM'|| P_OPTIONS_TBL ( I ) .ORDERED_ITEM , 1 ) ;
598: END IF;
599:
600: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_QTY_OUT_OF_RANGE');
601: FND_MESSAGE.Set_Token('ITEM', p_options_tbl(I).ordered_item);
602: FND_MESSAGE.Set_Token('LOW', l_min_allowed_qty);
603: FND_MESSAGE.Set_Token('HIGH', l_max_allowed_qty);
604: OE_Msg_Pub.Add;
605: l_valid_config := 'FALSE';

Line 602: FND_MESSAGE.Set_Token('LOW', l_min_allowed_qty);

598: END IF;
599:
600: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_QTY_OUT_OF_RANGE');
601: FND_MESSAGE.Set_Token('ITEM', p_options_tbl(I).ordered_item);
602: FND_MESSAGE.Set_Token('LOW', l_min_allowed_qty);
603: FND_MESSAGE.Set_Token('HIGH', l_max_allowed_qty);
604: OE_Msg_Pub.Add;
605: l_valid_config := 'FALSE';
606: l_return_status := FND_API.G_RET_STS_ERROR;

Line 603: FND_MESSAGE.Set_Token('HIGH', l_max_allowed_qty);

599:
600: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_QTY_OUT_OF_RANGE');
601: FND_MESSAGE.Set_Token('ITEM', p_options_tbl(I).ordered_item);
602: FND_MESSAGE.Set_Token('LOW', l_min_allowed_qty);
603: FND_MESSAGE.Set_Token('HIGH', l_max_allowed_qty);
604: OE_Msg_Pub.Add;
605: l_valid_config := 'FALSE';
606: l_return_status := FND_API.G_RET_STS_ERROR;
607: END IF;

Line 691: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_CLASS_NO_OPTION');

687: l_no_child := Check_Option_Exist
688: ( p_component_code => p_options_tbl(I).component_code
689: ,p_options_tbl => p_options_tbl);
690: IF NOT l_no_child THEN
691: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_CLASS_NO_OPTION');
692: FND_MESSAGE.Set_Token('CLASS', p_options_tbl(I).ordered_item);
693: OE_Msg_Pub.Add;
694: l_complete_config := 'FALSE';
695: l_return_status := FND_API.G_RET_STS_ERROR;

Line 692: FND_MESSAGE.Set_Token('CLASS', p_options_tbl(I).ordered_item);

688: ( p_component_code => p_options_tbl(I).component_code
689: ,p_options_tbl => p_options_tbl);
690: IF NOT l_no_child THEN
691: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_CLASS_NO_OPTION');
692: FND_MESSAGE.Set_Token('CLASS', p_options_tbl(I).ordered_item);
693: OE_Msg_Pub.Add;
694: l_complete_config := 'FALSE';
695: l_return_status := FND_API.G_RET_STS_ERROR;
696: END IF; -- if no child

Line 824: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_EXCLUSIVE_CLASS');

820: ( p_options_tbl => p_options_tbl
821: ,p_component_code => bom_rec.component_code);
822:
823: IF l_result THEN
824: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_EXCLUSIVE_CLASS');
825: FND_MESSAGE.Set_Token('CLASS', bom_rec.description);
826: OE_Msg_Pub.Add;
827: l_valid_config := 'FALSE';
828: l_return_status := FND_API.G_RET_STS_ERROR;

Line 825: FND_MESSAGE.Set_Token('CLASS', bom_rec.description);

821: ,p_component_code => bom_rec.component_code);
822:
823: IF l_result THEN
824: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_EXCLUSIVE_CLASS');
825: FND_MESSAGE.Set_Token('CLASS', bom_rec.description);
826: OE_Msg_Pub.Add;
827: l_valid_config := 'FALSE';
828: l_return_status := FND_API.G_RET_STS_ERROR;
829: END IF;

Line 1010: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_MANDATORY_CLASS');

1006: ( p_options_tbl => p_options_tbl
1007: ,p_component_code => bom_rec.component_code);
1008:
1009: IF l_result THEN
1010: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_MANDATORY_CLASS');
1011: FND_MESSAGE.Set_Token('CLASS', bom_rec.description);
1012: OE_Msg_Pub.Add;
1013: l_complete_config := 'FALSE';
1014: l_return_status := FND_API.G_RET_STS_ERROR;

Line 1011: FND_MESSAGE.Set_Token('CLASS', bom_rec.description);

1007: ,p_component_code => bom_rec.component_code);
1008:
1009: IF l_result THEN
1010: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_MANDATORY_CLASS');
1011: FND_MESSAGE.Set_Token('CLASS', bom_rec.description);
1012: OE_Msg_Pub.Add;
1013: l_complete_config := 'FALSE';
1014: l_return_status := FND_API.G_RET_STS_ERROR;
1015: END IF;

Line 1306: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_NO_PARENT');

1302: FROM oe_order_lines
1303: WHERE top_model_line_id = p_top_model_line_id
1304: AND component_code = p_component_code;
1305:
1306: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_NO_PARENT');
1307: FND_MESSAGE.Set_TOKEN('ITEM', l_ordered_item);
1308: FND_MESSAGE.Set_TOKEN
1309: ('LINE', l_line_number || '.'|| l_shipment_number ||'.'|| l_option_number);
1310: OE_MSG_PUB.Add;

Line 1307: FND_MESSAGE.Set_TOKEN('ITEM', l_ordered_item);

1303: WHERE top_model_line_id = p_top_model_line_id
1304: AND component_code = p_component_code;
1305:
1306: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_NO_PARENT');
1307: FND_MESSAGE.Set_TOKEN('ITEM', l_ordered_item);
1308: FND_MESSAGE.Set_TOKEN
1309: ('LINE', l_line_number || '.'|| l_shipment_number ||'.'|| l_option_number);
1310: OE_MSG_PUB.Add;
1311: RAISE FND_API.G_EXC_ERROR;

Line 1308: FND_MESSAGE.Set_TOKEN

1304: AND component_code = p_component_code;
1305:
1306: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_NO_PARENT');
1307: FND_MESSAGE.Set_TOKEN('ITEM', l_ordered_item);
1308: FND_MESSAGE.Set_TOKEN
1309: ('LINE', l_line_number || '.'|| l_shipment_number ||'.'|| l_option_number);
1310: OE_MSG_PUB.Add;
1311: RAISE FND_API.G_EXC_ERROR;
1312: END;