DBA Data[Home] [Help]

APPS.OE_LINE_REPRICE dependencies on OE_MSG_PUB

Line 49: OE_MSG_PUB.Add;

45: END IF;
46: IF NVL(l_event_rec.modifier_level_code, 'ORDER') <> 'LINE' THEN
47: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
48: FND_MESSAGE.SET_NAME('ONT','ONT_REPRICE_INVALID_EVENT');
49: OE_MSG_PUB.Add;
50: oe_line_reprice.set_reprice_status('REPRICE_INVALID_SETUP', p_line_rec.line_id);
51: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
52: EXIT;
53: END IF;

Line 81: OE_MSG_PUB.Add;

77: IF l_line_rec.Pricing_Date IS NULL THEN
78: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
79: FND_MESSAGE.SET_NAME('ONT','ONT_REPRICE_INVALID_DATE');
80: oe_line_reprice.set_reprice_status('REPRICE_INVALID_SETUP', p_line_rec.line_id);
81: OE_MSG_PUB.Add;
82: return;
83: -- do not raise error, instead, exit out of Reprice activity.
84: -- RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
85: END IF;

Line 143: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

139: EXCEPTION
140: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
141: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
142:
143: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
144: THEN
145: OE_MSG_PUB.Add_Exc_Msg
146: ( G_PKG_NAME,
147: 'Reprice_Line'

Line 145: OE_MSG_PUB.Add_Exc_Msg

141: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
142:
143: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
144: THEN
145: OE_MSG_PUB.Add_Exc_Msg
146: ( G_PKG_NAME,
147: 'Reprice_Line'
148: );
149: END IF;

Line 156: OE_MSG_PUB.set_msg_context(

152: x_return_status := FND_API.G_RET_STS_ERROR;
153: WHEN OTHERS THEN
154: oe_line_reprice.set_reprice_status('REPRICE_UNEXPECTED_ERROR',p_line_rec.line_id);
155: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
156: OE_MSG_PUB.set_msg_context(
157: p_entity_code => 'LINE'
158: ,p_entity_id => l_line_rec.line_id
159: ,p_header_id => l_line_rec.header_id
160: ,p_line_id => l_line_rec.line_id

Line 175: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

171: oe_debug_pub.add( 'ERROR MESSAGE : '||SUBSTR ( SQLERRM , 1 , 200 ) , 1 ) ;
172: oe_debug_pub.add('In others of Reprice line');
173: END IF;
174:
175: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
176: THEN
177: OE_MSG_PUB.Add_Exc_Msg
178: ( G_PKG_NAME,
179: 'Reprice_Line'

Line 177: OE_MSG_PUB.Add_Exc_Msg

173: END IF;
174:
175: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
176: THEN
177: OE_MSG_PUB.Add_Exc_Msg
178: ( G_PKG_NAME,
179: 'Reprice_Line'
180: );
181: END IF;

Line 232: OE_MSG_PUB.set_msg_context(

228: l_orig_sys_line_ref, l_orig_sys_shipment_ref, l_change_sequence,
229: l_source_document_type_id, l_source_document_id, l_source_document_line_id
230: from oe_order_lines_all
231: where line_id = to_number(p_item_key);
232: OE_MSG_PUB.set_msg_context(
233: p_entity_code => 'LINE'
234: ,p_entity_id => to_number(p_item_key)
235: ,p_header_id => l_header_id
236: ,p_line_id => to_number(p_item_key)

Line 257: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

253: END IF;
254: x_attribute_value := 'NONE';
255: x_return_status := FND_API.G_RET_STS_SUCCESS;
256: ELSE
257: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
258: THEN
259: OE_MSG_PUB.Add_Exc_Msg
260: ( G_PKG_NAME
261: , 'Get_Activity_Attribute'

Line 259: OE_MSG_PUB.Add_Exc_Msg

255: x_return_status := FND_API.G_RET_STS_SUCCESS;
256: ELSE
257: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
258: THEN
259: OE_MSG_PUB.Add_Exc_Msg
260: ( G_PKG_NAME
261: , 'Get_Activity_Attribute'
262: );
263: END IF;

Line 318: OE_MSG_PUB.set_msg_context(

314:
315: OE_Line_Util.Query_Row(p_line_id => p_line_id,
316: x_line_rec => l_line_rec);
317:
318: OE_MSG_PUB.set_msg_context(
319: p_entity_code => 'LINE'
320: ,p_entity_id => l_line_rec.line_id
321: ,p_header_id => l_line_rec.header_id
322: ,p_line_id => l_line_rec.line_id

Line 491: /* IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

487: oe_debug_pub.add( 'PROCESS_REPRICING : EXITING WITH UNEXPECTED ERROR'||SUBSTR ( SQLERRM , 1 , 200 ) , 1 ) ;
488: END IF;
489: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
490: x_result_out := 'INCOMPLETE';
491: /* IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
492: THEN
493: OE_MSG_PUB.Add_Exc_Msg
494: ( G_PKG_NAME,
495: 'Process_Repricing'

Line 493: OE_MSG_PUB.Add_Exc_Msg

489: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
490: x_result_out := 'INCOMPLETE';
491: /* IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
492: THEN
493: OE_MSG_PUB.Add_Exc_Msg
494: ( G_PKG_NAME,
495: 'Process_Repricing'
496: );
497: END IF; */

Line 511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

507: END IF;
508: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
509: x_result_out := 'INCOMPLETE';
510: oe_line_reprice.set_reprice_status('REPRICE_UNEXPECTED_ERROR', p_line_id);
511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
512: THEN
513: OE_MSG_PUB.Add_Exc_Msg
514: ( G_PKG_NAME
515: , 'Process_Repricing'

Line 513: OE_MSG_PUB.Add_Exc_Msg

509: x_result_out := 'INCOMPLETE';
510: oe_line_reprice.set_reprice_status('REPRICE_UNEXPECTED_ERROR', p_line_id);
511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
512: THEN
513: OE_MSG_PUB.Add_Exc_Msg
514: ( G_PKG_NAME
515: , 'Process_Repricing'
516: );
517: END IF;

Line 521: OE_MSG_PUB.Count_And_Get

517: END IF;
518:
519: -- Get message count and data
520:
521: OE_MSG_PUB.Count_And_Get
522: ( p_count => x_msg_count
523: , p_data => x_msg_data
524: );
525: