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 380: oe_msg_pub.count_and_get

376: oe_sales_can_util.G_CANCELLATION_ACTION := 'N';
377:
378: x_return_status := FND_API.G_RET_STS_ERROR;
379: -- Get message count and data
380: oe_msg_pub.count_and_get
381: ( p_count => x_msg_count
382: , p_data => x_msg_data
383: );
384:

Line 391: oe_msg_pub.count_and_get

387: oe_sales_can_util.G_CANCELLATION_ACTION := 'N';
388:
389: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
390: -- Get message count and data
391: oe_msg_pub.count_and_get
392: ( p_count => x_msg_count
393: , p_data => x_msg_data
394: );
395:

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

399: END IF;
400: -- Bug 12695580
401: oe_sales_can_util.G_CANCELLATION_ACTION := 'N';
402:
403: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
404: THEN
405: oe_msg_pub.Add_Exc_Msg
406: ( G_PKG_NAME
407: , 'Process_Config'

Line 405: oe_msg_pub.Add_Exc_Msg

401: oe_sales_can_util.G_CANCELLATION_ACTION := 'N';
402:
403: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
404: THEN
405: oe_msg_pub.Add_Exc_Msg
406: ( G_PKG_NAME
407: , 'Process_Config'
408: );
409: END IF;

Line 412: oe_msg_pub.count_and_get

408: );
409: END IF;
410:
411: -- Get message count and data
412: oe_msg_pub.count_and_get
413: ( p_count => x_msg_count
414: , p_data => x_msg_data
415: );
416: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 559: OE_Msg_Pub.Add;

555: FND_Message.Set_Name('ONT', 'OE_CONFIG_MI_NOT_ALLOWED');
556: FND_MESSAGE.SET_TOKEN('MODEL', p_model_line_rec.ordered_item);
557: FND_MESSAGE.SET_TOKEN('LINE_NUMBER', p_model_line_rec.line_number ||
558: p_model_line_rec.shipment_number);
559: OE_Msg_Pub.Add;
560: RAISE;
561: WHEN OTHERS THEN
562: IF l_debug_level > 0 THEN
563: oe_debug_pub.add( 'OTHERS IN CONFIG ID UPD '|| SQLERRM , 1 ) ;

Line 2115: oe_msg_pub.count_and_get

2111: Print_Time('Process_Requests_And_notify call end time');
2112: END IF;
2113:
2114:
2115: oe_msg_pub.count_and_get
2116: ( p_count => l_msg_count
2117: ,p_data => l_msg_data );
2118:
2119:

Line 2460: OE_MSG_PUB.Add;

2456: ('VALUE',to_char(l_child_ordered_quantity/l_parent_ordered_quantity));
2457: FND_MESSAGE.Set_TOKEN
2458: ('MODEL', nvl(l_parent_ordered_item,l_parent_inv_item_id));
2459: FND_MESSAGE.Set_TOKEN('PTYPECODE', l_parent_item_type_code);
2460: OE_MSG_PUB.Add;
2461: RAISE FND_API.G_EXC_ERROR ;
2462: END IF;
2463:
2464: END IF; -- ratio check

Line 3449: OE_Msg_Pub.Add_Text(l_error_message);

3445:
3446: -- when error, returns 0, else 1
3447:
3448: IF l_return_value <> 1 THEN
3449: OE_Msg_Pub.Add_Text(l_error_message);
3450: IF l_debug_level > 0 THEN
3451: oe_debug_pub.add('ERROR IN DELETE_CONFIG IN OE_CONFIG_PVT' , 1 ) ;
3452: END IF;
3453: x_return_status := FND_API.G_RET_STS_ERROR;

Line 3543: OE_Msg_Pub.Add_Text(l_error_message);

3539: ,Return_value => l_return_value );
3540: -- when error, returns 0, else 1
3541:
3542: IF l_return_value <> 1 THEN
3543: OE_Msg_Pub.Add_Text(l_error_message);
3544: IF l_debug_level > 0 THEN
3545: oe_debug_pub.add('ERROR FROM SPC COPY: ' || L_ERROR_MESSAGE , 1 ) ;
3546: END IF;
3547: x_return_status := FND_API.G_RET_STS_ERROR;

Line 3567: OE_Msg_Pub.Add_Text(l_msg_data);

3563: ,x_msg_count => l_msg_count
3564: ,x_msg_data => l_msg_data);
3565:
3566: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3567: OE_Msg_Pub.Add_Text(l_msg_data);
3568: IF l_debug_level > 0 THEN
3569: oe_debug_pub.add('ERROR FROM SPC NEW COPY: ' || L_MSG_DATA , 1 ) ;
3570: END IF;
3571: RETURN;

Line 3820: OE_Msg_Pub.Add;

3816: END IF;
3817:
3818: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_HOLD_INSERT');
3819: FND_MESSAGE.Set_Token('LINE_NUMBER', l_line_number);
3820: OE_Msg_Pub.Add;
3821:
3822: IF l_debug_level > 0 THEN
3823: oe_debug_pub.add('AFTER SUCCESSFUL APPLY_HOLDS ON MODEL' , 1 ) ;
3824: END IF;

Line 3865: OE_Msg_Pub.Add;

3861: END IF;
3862:
3863: FND_MESSAGE.Set_Name('ONT', 'OE_VAL_CONFIG_HOLD_REMOVE');
3864: FND_MESSAGE.Set_Token('LINE_NUMBER', l_line_number);
3865: OE_Msg_Pub.Add;
3866:
3867: IF l_debug_level > 0 THEN
3868: oe_debug_pub.add('AFTER SUCCESSFUL RELAESE_HOLDS ON MODEL' ,1);
3869: END IF;

Line 4451: OE_Msg_Pub.Add_Text(l_error_message);

4447:
4448: -- when error, returns 0, else 1
4449:
4450: IF l_return_value <> 1 THEN
4451: OE_Msg_Pub.Add_Text(l_error_message);
4452: IF l_debug_level > 0 THEN
4453: oe_debug_pub.add('ERROR FROM SPC COPY: ' || L_ERROR_MESSAGE , 1 ) ;
4454: END IF;
4455: x_return_status :=FND_API.G_RET_STS_ERROR;

Line 4511: l_msg_count1 := OE_Msg_Pub.Count_Msg;

4507: --
4508: BEGIN
4509:
4510: x_cancellation := FALSE;
4511: l_msg_count1 := OE_Msg_Pub.Count_Msg;
4512:
4513: OE_LINE_UTIL.Query_Row(p_line_id => p_line_id
4514: ,x_line_rec => x_line_rec);
4515:

Line 4531: l_msg_count2 := OE_Msg_Pub.Count_Msg;

4527: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
4528: RAISE FND_API.G_EXC_ERROR;
4529: END IF;
4530:
4531: l_msg_count2 := OE_Msg_Pub.Count_Msg;
4532:
4533:
4534: IF l_msg_count2 > l_msg_count1 THEN
4535: -- need to remove the messages.

Line 4537: OE_Msg_Pub.Delete_Msg;

4533:
4534: IF l_msg_count2 > l_msg_count1 THEN
4535: -- need to remove the messages.
4536: IF l_msg_count1 = 0 THEN
4537: OE_Msg_Pub.Delete_Msg;
4538:
4539: ELSE
4540: I := 0;
4541:

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

4541:
4542: WHILE l_msg_count2 - l_msg_count1 - I > 0
4543: LOOP
4544:
4545: OE_Msg_Pub.Delete_Msg(l_msg_count2 - I);
4546:
4547: oe_debug_pub.add(OE_Msg_Pub.g_msg_index || '-'
4548: ||l_msg_count1 || '-'|| l_msg_count2 || '-' ||I, 3 );
4549:

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

4543: LOOP
4544:
4545: OE_Msg_Pub.Delete_Msg(l_msg_count2 - I);
4546:
4547: oe_debug_pub.add(OE_Msg_Pub.g_msg_index || '-'
4548: ||l_msg_count1 || '-'|| l_msg_count2 || '-' ||I, 3 );
4549:
4550: I := I + 1;
4551: END LOOP;