DBA Data[Home] [Help]

APPS.OE_CONFIG_PVT dependencies on OE_MSG_PUB

Line 167: OE_Msg_Pub.Set_Msg_Context

163: BEGIN
164:
165: Print_Time('Entering Process Config '|| p_config_hdr_id);
166:
167: OE_Msg_Pub.Set_Msg_Context
168: ( p_entity_code => OE_Globals.G_ENTITY_LINE
169: ,p_entity_id => p_top_model_line_id
170: ,p_header_id => p_header_id
171: ,p_line_id => p_top_model_line_id);

Line 178: OE_MSG_PUB.update_msg_context

174: OE_LINE_UTIL.Lock_Row (p_line_id => p_top_model_line_id
175: ,p_x_line_rec => l_model_line_rec
176: ,x_return_status => l_return_status);
177:
178: OE_MSG_PUB.update_msg_context
179: ( p_entity_code => 'LINE'
180: ,p_entity_id => l_model_line_rec.line_id
181: ,p_header_id => l_model_line_rec.header_id
182: ,p_line_id => l_model_line_rec.line_id

Line 372: oe_msg_pub.count_and_get

368: WHEN FND_API.G_EXC_ERROR THEN
369:
370: x_return_status := FND_API.G_RET_STS_ERROR;
371: -- Get message count and data
372: oe_msg_pub.count_and_get
373: ( p_count => x_msg_count
374: , p_data => x_msg_data
375: );
376:

Line 381: oe_msg_pub.count_and_get

377: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
378:
379: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
380: -- Get message count and data
381: oe_msg_pub.count_and_get
382: ( p_count => x_msg_count
383: , p_data => x_msg_data
384: );
385:

Line 391: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)

387: IF l_debug_level > 0 THEN
388: oe_debug_pub.add( 'ERROR: ' || SUBSTR ( SQLERRM , 1 , 100 ) , 1 ) ;
389: END IF;
390:
391: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
392: THEN
393: oe_msg_pub.Add_Exc_Msg
394: ( G_PKG_NAME
395: , 'Process_Config'

Line 393: oe_msg_pub.Add_Exc_Msg

389: END IF;
390:
391: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
392: THEN
393: oe_msg_pub.Add_Exc_Msg
394: ( G_PKG_NAME
395: , 'Process_Config'
396: );
397: END IF;

Line 400: oe_msg_pub.count_and_get

396: );
397: END IF;
398:
399: -- Get message count and data
400: oe_msg_pub.count_and_get
401: ( p_count => x_msg_count
402: , p_data => x_msg_data
403: );
404: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 547: OE_Msg_Pub.Add;

543: FND_Message.Set_Name('ONT', 'OE_CONFIG_MI_NOT_ALLOWED');
544: FND_MESSAGE.SET_TOKEN('MODEL', p_model_line_rec.ordered_item);
545: FND_MESSAGE.SET_TOKEN('LINE_NUMBER', p_model_line_rec.line_number ||
546: p_model_line_rec.shipment_number);
547: OE_Msg_Pub.Add;
548: RAISE;
549: WHEN OTHERS THEN
550: IF l_debug_level > 0 THEN
551: oe_debug_pub.add( 'OTHERS IN CONFIG ID UPD '|| SQLERRM , 1 ) ;

Line 2080: oe_msg_pub.count_and_get

2076: Print_Time('Process_Requests_And_notify call end time');
2077: END IF;
2078:
2079:
2080: oe_msg_pub.count_and_get
2081: ( p_count => l_msg_count
2082: ,p_data => l_msg_data );
2083:
2084:

Line 2358: OE_MSG_PUB.Add;

2354: ('VALUE',to_char(l_child_ordered_quantity/l_parent_ordered_quantity));
2355: FND_MESSAGE.Set_TOKEN
2356: ('MODEL', nvl(l_parent_ordered_item,l_parent_inv_item_id));
2357: FND_MESSAGE.Set_TOKEN('PTYPECODE', l_parent_item_type_code);
2358: OE_MSG_PUB.Add;
2359: RAISE FND_API.G_EXC_ERROR ;
2360: END IF;
2361:
2362: END IF; -- ratio check

Line 3019: OE_Msg_Pub.Add_Text(l_error_message);

3015:
3016: -- when error, returns 0, else 1
3017:
3018: IF l_return_value <> 1 THEN
3019: OE_Msg_Pub.Add_Text(l_error_message);
3020: IF l_debug_level > 0 THEN
3021: oe_debug_pub.add('ERROR IN DELETE_CONFIG IN OE_CONFIG_PVT' , 1 ) ;
3022: END IF;
3023: x_return_status := FND_API.G_RET_STS_ERROR;

Line 3113: OE_Msg_Pub.Add_Text(l_error_message);

3109: ,Return_value => l_return_value );
3110: -- when error, returns 0, else 1
3111:
3112: IF l_return_value <> 1 THEN
3113: OE_Msg_Pub.Add_Text(l_error_message);
3114: IF l_debug_level > 0 THEN
3115: oe_debug_pub.add('ERROR FROM SPC COPY: ' || L_ERROR_MESSAGE , 1 ) ;
3116: END IF;
3117: x_return_status := FND_API.G_RET_STS_ERROR;

Line 3137: OE_Msg_Pub.Add_Text(l_msg_data);

3133: ,x_msg_count => l_msg_count
3134: ,x_msg_data => l_msg_data);
3135:
3136: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3137: OE_Msg_Pub.Add_Text(l_msg_data);
3138: IF l_debug_level > 0 THEN
3139: oe_debug_pub.add('ERROR FROM SPC NEW COPY: ' || L_MSG_DATA , 1 ) ;
3140: END IF;
3141: RETURN;

Line 3388: OE_Msg_Pub.Add;

3384: END IF;
3385:
3386: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_HOLD_INSERT');
3387: FND_MESSAGE.Set_Token('LINE_NUMBER', l_line_number);
3388: OE_Msg_Pub.Add;
3389:
3390: IF l_debug_level > 0 THEN
3391: oe_debug_pub.add('AFTER SUCCESSFUL APPLY_HOLDS ON MODEL' , 1 ) ;
3392: END IF;

Line 3433: OE_Msg_Pub.Add;

3429: END IF;
3430:
3431: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_HOLD_REMOVE');
3432: FND_MESSAGE.Set_Token('LINE_NUMBER', l_line_number);
3433: OE_Msg_Pub.Add;
3434:
3435: IF l_debug_level > 0 THEN
3436: oe_debug_pub.add('AFTER SUCCESSFUL RELAESE_HOLDS ON MODEL' ,1);
3437: END IF;

Line 4019: OE_Msg_Pub.Add_Text(l_error_message);

4015:
4016: -- when error, returns 0, else 1
4017:
4018: IF l_return_value <> 1 THEN
4019: OE_Msg_Pub.Add_Text(l_error_message);
4020: IF l_debug_level > 0 THEN
4021: oe_debug_pub.add('ERROR FROM SPC COPY: ' || L_ERROR_MESSAGE , 1 ) ;
4022: END IF;
4023: x_return_status :=FND_API.G_RET_STS_ERROR;

Line 4079: l_msg_count1 := OE_Msg_Pub.Count_Msg;

4075: --
4076: BEGIN
4077:
4078: x_cancellation := FALSE;
4079: l_msg_count1 := OE_Msg_Pub.Count_Msg;
4080:
4081: OE_LINE_UTIL.Query_Row(p_line_id => p_line_id
4082: ,x_line_rec => x_line_rec);
4083:

Line 4099: l_msg_count2 := OE_Msg_Pub.Count_Msg;

4095: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
4096: RAISE FND_API.G_EXC_ERROR;
4097: END IF;
4098:
4099: l_msg_count2 := OE_Msg_Pub.Count_Msg;
4100:
4101:
4102: IF l_msg_count2 > l_msg_count1 THEN
4103: -- need to remove the messages.

Line 4105: OE_Msg_Pub.Delete_Msg;

4101:
4102: IF l_msg_count2 > l_msg_count1 THEN
4103: -- need to remove the messages.
4104: IF l_msg_count1 = 0 THEN
4105: OE_Msg_Pub.Delete_Msg;
4106:
4107: ELSE
4108: I := 0;
4109:

Line 4113: OE_Msg_Pub.Delete_Msg(l_msg_count2 - I);

4109:
4110: WHILE l_msg_count2 - l_msg_count1 - I > 0
4111: LOOP
4112:
4113: OE_Msg_Pub.Delete_Msg(l_msg_count2 - I);
4114:
4115: oe_debug_pub.add(OE_Msg_Pub.g_msg_index || '-'
4116: ||l_msg_count1 || '-'|| l_msg_count2 || '-' ||I, 3 );
4117:

Line 4115: oe_debug_pub.add(OE_Msg_Pub.g_msg_index || '-'

4111: LOOP
4112:
4113: OE_Msg_Pub.Delete_Msg(l_msg_count2 - I);
4114:
4115: oe_debug_pub.add(OE_Msg_Pub.g_msg_index || '-'
4116: ||l_msg_count1 || '-'|| l_msg_count2 || '-' ||I, 3 );
4117:
4118: I := I + 1;
4119: END LOOP;