DBA Data[Home] [Help]

APPS.OE_BULK_CONFIG_UTIL dependencies on OE_BULK_MSG_PUB

Line 85: OE_BULK_MSG_PUB.Add_Exc_Msg

81: IF l_debug_level > 0 THEN
82: oe_debug_pub.add( 'OTHERS ERROR , EXTEND_LINE_REC' ) ;
83: oe_debug_pub.add( SUBSTR ( SQLERRM , 1 , 240 ) ) ;
84: END IF;
85: OE_BULK_MSG_PUB.Add_Exc_Msg
86: ( G_PKG_NAME
87: , 'Extend_Line_Rec'
88: );
89: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 173: OE_BULK_MSG_PUB.Add_Exc_Msg

169: IF l_debug_level > 0 THEN
170: oe_debug_pub.add( 'OTHERS ERROR , PRINT_LINE_REC' ) ;
171: oe_debug_pub.add( SUBSTR ( SQLERRM , 1 , 240 ) ) ;
172: END IF;
173: OE_BULK_MSG_PUB.Add_Exc_Msg
174: ( G_PKG_NAME
175: , 'Print_Line_Rec'
176: );
177: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 237: OE_BULK_Msg_Pub.Add_Text(l_msg);

233: LOOP
234: FETCH messages into l_constraint,l_msg;
235: EXIT when messages%notfound;
236:
237: OE_BULK_Msg_Pub.Add_Text(l_msg);
238: oe_debug_pub.add('msg from spc: '||messages%rowcount , 2);
239: oe_debug_pub.add('msg from spc: '|| substr(l_msg, 1, 250) , 3);
240:
241: END LOOP;

Line 248: OE_BULK_MSG_PUB.Add;

244:
245: IF nvl(p_valid_config, 'FALSE') = 'FALSE' THEN
246:
247: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_VALIDATION_FAILURE');
248: OE_BULK_MSG_PUB.Add;
249: END IF;
250:
251: IF nvl(p_complete_config, 'FALSE') = 'FALSE' THEN
252:

Line 258: OE_BULK_MSG_PUB.Add;

254: p_line_rec.inventory_item_id(p_line_index));
255:
256: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_INCOMPLETE_MODEL');
257: FND_MESSAGE.SET_TOKEN('MODEL',l_message_text);
258: OE_BULK_MSG_PUB.Add;
259:
260: END IF;
261:
262: IF l_debug_level > 0 THEN

Line 1122: OE_BULK_MSG_PUB.Add('Y','ERROR');

1118: l_attribute := 'CONFIG_HEADER_ID';
1119: fnd_message.set_name('ONT','OE_ATTRIBUTE_REQUIRED');
1120: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1121: OE_Order_UTIL.Get_Attribute_Name(l_attribute));
1122: OE_BULK_MSG_PUB.Add('Y','ERROR');
1123: RAISE FND_API.G_EXC_ERROR;
1124: ELSIF p_line_rec.config_header_id(p_line_index) IS NOT NULL AND
1125: p_line_rec.config_rev_nbr(p_line_index) IS NULL
1126: THEN

Line 1131: OE_BULK_MSG_PUB.Add('Y','ERROR');

1127: l_attribute := 'CONFIG_REV_NBR';
1128: fnd_message.set_name('ONT','OE_ATTRIBUTE_REQUIRED');
1129: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1130: OE_Order_UTIL.Get_Attribute_Name(l_attribute));
1131: OE_BULK_MSG_PUB.Add('Y','ERROR');
1132: RAISE FND_API.G_EXC_ERROR;
1133:
1134: ELSIF p_line_rec.config_header_id(p_line_index) IS NOT NULL AND
1135: p_line_rec.config_rev_nbr(p_line_index) IS NOT NULL AND

Line 1143: OE_BULK_MSG_PUB.Add('Y','ERROR');

1139: l_attribute := 'CONFIGURATION_ID';
1140: fnd_message.set_name('ONT','OE_ATTRIBUTE_REQUIRED');
1141: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1142: OE_Order_UTIL.Get_Attribute_Name(l_attribute));
1143: OE_BULK_MSG_PUB.Add('Y','ERROR');
1144: RAISE FND_API.G_EXC_ERROR;
1145: END IF;
1146:
1147: IF p_line_rec.config_header_id(p_line_index) IS NOT NULL AND

Line 1156: OE_BULK_MSG_PUB.Add('Y','ERROR');

1152: l_attribute := 'COMPONENT_CODE';
1153: fnd_message.set_name('ONT','OE_ATTRIBUTE_REQUIRED');
1154: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1155: OE_Order_UTIL.Get_Attribute_Name(l_attribute));
1156: OE_BULK_MSG_PUB.Add('Y','ERROR');
1157: RAISE FND_API.G_EXC_ERROR;
1158:
1159: END IF;
1160:

Line 1173: OE_BULK_MSG_PUB.Add('Y','ERROR');

1169: l_attribute := 'CONFIG_HEADER_ID';
1170: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1171: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1172: OE_Order_UTIL.Get_Attribute_Name(l_attribute));
1173: OE_BULK_MSG_PUB.Add('Y','ERROR');
1174: RAISE FND_API.G_EXC_ERROR;
1175: END IF;
1176:
1177: IF p_line_rec.config_rev_nbr(p_line_index) IS NOT NULL

Line 1183: OE_BULK_MSG_PUB.Add('Y','ERROR');

1179: l_attribute := 'CONFIG_REV_NBR';
1180: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1181: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1182: OE_Order_UTIL.Get_Attribute_Name(l_attribute));
1183: OE_BULK_MSG_PUB.Add('Y','ERROR');
1184: RAISE FND_API.G_EXC_ERROR;
1185: END IF;
1186:
1187: IF p_line_rec.configuration_id(p_line_index) IS NOT NULL

Line 1193: OE_BULK_MSG_PUB.Add('Y','ERROR');

1189: l_attribute := 'CONFIGURATION_ID';
1190: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1191: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1192: OE_Order_UTIL.Get_Attribute_Name(l_attribute));
1193: OE_BULK_MSG_PUB.Add('Y','ERROR');
1194: RAISE FND_API.G_EXC_ERROR;
1195: END IF;
1196:
1197: END IF; -- Use configurator

Line 1384: oe_bulk_msg_pub.set_msg_context

1380: END IF;
1381:
1382:
1383: -- Set the message context to the top model line.
1384: oe_bulk_msg_pub.set_msg_context
1385: ( p_entity_code => 'LINE'
1386: ,p_entity_id => p_line_rec.line_id(p_line_index)
1387: ,p_header_id => p_line_rec.header_id(p_line_index)
1388: ,p_line_id => p_line_rec.line_id(p_line_index)

Line 1586: OE_Bulk_Msg_Pub.Add;

1582: IF l_debug_level > 0 THEN
1583: oe_debug_pub.add('AN EXC ERROR RAISED IN Validate_Configuration', 1);
1584: END IF;
1585: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_VALIDATION_FAILURE');
1586: OE_Bulk_Msg_Pub.Add;
1587: p_line_rec.lock_control(p_line_index) := -99;
1588:
1589: WHEN OTHERS THEN
1590: IF l_debug_level > 0 THEN

Line 1595: OE_BULK_MSG_PUB.Add_Exc_Msg

1591: oe_debug_pub.add('Others Error, OE_BULK_CONFIG_UTIL.Validate_Configuration');
1592: oe_debug_pub.add(substr(sqlerrm,1,240));
1593: END IF;
1594:
1595: OE_BULK_MSG_PUB.Add_Exc_Msg
1596: ( G_PKG_NAME,
1597: 'Validate_Configuration'
1598: );
1599: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 1812: oe_bulk_msg_pub.set_msg_context

1808:
1809: END IF;
1810:
1811: -- Set the message context for errors.
1812: oe_bulk_msg_pub.set_msg_context
1813: ( p_entity_code => 'LINE'
1814: ,p_entity_id => l_line_rec.line_id(I)
1815: ,p_header_id => l_line_rec.header_id(I)
1816: ,p_line_id => l_line_rec.line_id(I)

Line 2095: OE_BULK_MSG_PUB.Add_Exc_Msg

2091: oe_debug_pub.add('Others Error, OE_BULK_CONFIG_UTIL.Pre_Process_Configurator');
2092: oe_debug_pub.add(substr(sqlerrm,1,240));
2093: END IF;
2094:
2095: OE_BULK_MSG_PUB.Add_Exc_Msg
2096: ( G_PKG_NAME,
2097: 'Pre_Process_Configurator'
2098: );
2099: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 2355: oe_bulk_msg_pub.set_msg_context

2351:
2352: END IF;
2353:
2354: -- Set the message context for errors.
2355: oe_bulk_msg_pub.set_msg_context
2356: ( p_entity_code => 'LINE'
2357: ,p_entity_id => l_line_rec.line_id(I)
2358: ,p_header_id => l_line_rec.header_id(I)
2359: ,p_line_id => l_line_rec.line_id(I)

Line 2531: oe_bulk_msg_pub.add;

2527: l_line_rec.lock_control(I) := -99;
2528: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_ITEM_NOT_IN_BILL');
2529: FND_MESSAGE.Set_Token('COMPONENT', l_line_rec.inventory_item_id(I));
2530: FND_MESSAGE.Set_Token('MODEL', l_line_rec.inventory_item_id(l_curr_model_index));
2531: oe_bulk_msg_pub.add;
2532:
2533: WHEN TOO_MANY_ROWS THEN
2534: IF l_debug_level > 0 THEN
2535: oe_debug_pub.add('SELECT COMP_CODE FAILED , TOO_MANY ROWS ' , 1);

Line 2542: oe_bulk_msg_pub.add;

2538: l_line_rec.lock_control(I) := -99;
2539: FND_MESSAGE.Set_Name('ONT', 'OE_CONFIG_AMBIGUITY');
2540: FND_MESSAGE.Set_Token('COMPONENT', l_line_rec.inventory_item_id(I));
2541: FND_MESSAGE.Set_Token('MODEL', l_line_rec.inventory_item_id(l_curr_model_index));
2542: oe_bulk_msg_pub.add;
2543:
2544: WHEN OTHERS THEN
2545: IF l_debug_level > 0 THEN
2546: oe_debug_pub.add('SELECT COMP_CODE FAILED , OTHERS ' , 1);

Line 2948: OE_BULK_MSG_PUB.Add_Exc_Msg

2944: oe_debug_pub.add('Others Error, OE_BULK_CONFIG_UTIL.Pre_Process_Bom');
2945: oe_debug_pub.add(substr(sqlerrm,1,240));
2946: END IF;
2947:
2948: OE_BULK_MSG_PUB.Add_Exc_Msg
2949: ( G_PKG_NAME,
2950: 'Pre_Process_Bom'
2951: );
2952: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 3124: OE_BULK_MSG_PUB.Add_Exc_Msg

3120: oe_debug_pub.add('Others Error, OE_BULK_CONFIG_UTIL.Pre_Process');
3121: oe_debug_pub.add(substr(sqlerrm,1,240));
3122: END IF;
3123:
3124: OE_BULK_MSG_PUB.Add_Exc_Msg
3125: ( G_PKG_NAME,
3126: 'Pre_Process'
3127: );
3128: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 3206: OE_BULK_Msg_Pub.Add_text(l_error_message);

3202: ,error_message => l_error_message
3203: ,return_value => l_return_value );
3204:
3205: IF l_return_value <> 1 THEN
3206: OE_BULK_Msg_Pub.Add_text(l_error_message);
3207: IF l_debug_level > 0 THEN
3208: oe_debug_pub.add('Error from CZ delete: ' ||l_error_message ) ;
3209: END IF;
3210: x_return_status := FND_API.G_RET_STS_ERROR;

Line 3240: OE_BULK_MSG_PUB.Add_Exc_Msg

3236: oe_debug_pub.add('Others Error, OE_BULK_CONFIG_UTIL.Delete_Configurations');
3237: oe_debug_pub.add(substr(sqlerrm,1,240));
3238: END IF;
3239:
3240: OE_BULK_MSG_PUB.Add_Exc_Msg
3241: ( G_PKG_NAME,
3242: 'Delete_Configurations'
3243: );
3244: