DBA Data[Home] [Help]

APPS.OE_FTE_INTEGRATION_PVT dependencies on OE_MSG_PUB

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

151: WHEN OTHERS THEN
152:
153: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
154:
155: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
156: THEN
157: OE_MSG_PUB.Add_Exc_Msg
158: ( G_PKG_NAME,
159: 'Update_FTE_Results');

Line 157: OE_MSG_PUB.Add_Exc_Msg

153: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
154:
155: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
156: THEN
157: OE_MSG_PUB.Add_Exc_Msg
158: ( G_PKG_NAME,
159: 'Update_FTE_Results');
160: END IF;
161:

Line 379: OE_Msg_Pub.Set_Msg_Context

375: FOR c_ship_method IN C_SHIP_METHOD_LINES
376: LOOP
377: -- We need to set the Message Context for each line.
378:
379: OE_Msg_Pub.Set_Msg_Context
380: ( p_entity_code => OE_GLOBALS.G_ENTITY_LINE
381: ,p_entity_id => c_ship_method.line_id
382: ,p_header_id => p_header_id
383: ,p_line_id => c_ship_method.line_id

Line 401: OE_MSG_PUB.Add;

397: c_ship_method.item_type_code = 'SERVICE' OR
398: c_ship_method.line_category_code = 'RETURN' THEN
399:
400: FND_MESSAGE.Set_Name('ONT','ONT_FTE_EXTERNAL_RET_SERVICE');
401: OE_MSG_PUB.Add;
402:
403: IF l_debug_level > 0 THEN
404: OE_DEBUG_PUB.Add('Line is External/Service/Return:'||
405: c_ship_method.line_id ,3);

Line 411: OE_MSG_PUB.Add;

407:
408: ELSIF c_ship_method.ship_from_org_id IS NULL THEN
409:
410: FND_MESSAGE.Set_Name('ONT','ONT_FTE_MISSING_SHIP_FROM');
411: OE_MSG_PUB.Add;
412: IF l_debug_level > 0 THEN
413: OE_DEBUG_PUB.Add('Line is Missing Ship From Org Id:'||
414: c_ship_method.line_id ,3);
415: END IF;

Line 420: OE_MSG_PUB.Add;

416:
417: ELSIF c_ship_method.ship_to_org_id IS NULL THEN
418:
419: FND_MESSAGE.Set_Name('ONT','ONT_FTE_MISSING_SHIP_TO');
420: OE_MSG_PUB.Add;
421: IF l_debug_level > 0 THEN
422: OE_DEBUG_PUB.Add('Line is Missing Ship To Org Id:'||
423: c_ship_method.line_id ,3);
424: END IF;

Line 431: OE_MSG_PUB.Add;

427: c_ship_method.fulfilled_flag = 'Y' OR
428: c_ship_method.open_flag <> 'Y' THEN
429:
430: FND_MESSAGE.Set_Name('ONT','ONT_FTE_SHIP_FULFILL_CLOSED');
431: OE_MSG_PUB.Add;
432: IF l_debug_level > 0 THEN
433: OE_DEBUG_PUB.Add('Line is Shipped/Fulfilled/Closed:'||
434: c_ship_method.line_id ,1);
435: END IF;

Line 660: OE_MSG_PUB.Add;

656:
657: IF p_x_line_tbl.count = 0 THEN
658:
659: FND_MESSAGE.Set_Name('ONT','ONT_FTE_NO_LINES_ELIGIBLE');
660: OE_MSG_PUB.Add;
661: IF l_debug_level > 0 THEN
662: OE_DEBUG_PUB.Add('No lines of the order are eligible for freight rating');
663: END IF;
664: END IF;

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

689: WHEN OTHERS THEN
690:
691: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
692:
693: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
694: THEN
695: OE_MSG_PUB.Add_Exc_Msg
696: ( G_PKG_NAME,
697: 'Create_FTE_Input');

Line 695: OE_MSG_PUB.Add_Exc_Msg

691: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
692:
693: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
694: THEN
695: OE_MSG_PUB.Add_Exc_Msg
696: ( G_PKG_NAME,
697: 'Create_FTE_Input');
698: END IF;
699:

Line 844: OE_Msg_Pub.Set_Msg_Context

840: l_source_document_type_id := NULL;
841: END;
842: END IF;
843:
844: OE_Msg_Pub.Set_Msg_Context
845: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE
846: ,p_entity_id => p_x_fte_source_line_tab(l_fte_count).source_line_id
847: ,p_header_id => p_x_fte_source_line_tab(l_fte_count).source_header_id
848: ,p_line_id => p_x_fte_source_line_tab(l_fte_count).source_line_id

Line 858: OE_MSG_PUB.Add_Text(p_x_fte_source_line_tab(l_fte_count).message_data);

854: ,p_source_document_id => l_source_document_id
855: ,p_source_document_line_id => l_source_document_line_id
856: ,p_source_document_type_id => l_source_document_type_id);
857:
858: OE_MSG_PUB.Add_Text(p_x_fte_source_line_tab(l_fte_count).message_data);
859: IF l_debug_level > 0 THEN
860: oe_debug_pub.Add
861: ('FTE Error :'|| p_x_fte_source_line_tab(l_fte_count).message_data,3);
862: END IF;

Line 870: OE_MSG_PUB.Add_Text

866:
867: ELSE -- warning or success
868:
869: IF p_x_fte_source_line_tab(l_fte_count).status = 'W' THEN
870: OE_MSG_PUB.Add_Text
871: (p_x_fte_source_line_tab(l_fte_count).message_data);
872: IF l_debug_level > 0 THEN
873: oe_debug_pub.Add
874: ('FTE Warning:'|| p_x_fte_source_line_tab(l_fte_count).message_data,3);

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

1005: WHEN OTHERS THEN
1006:
1007: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1008:
1009: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1010: THEN
1011: OE_MSG_PUB.Add_Exc_Msg
1012: ( G_PKG_NAME,
1013: 'Process_FTE_Output');

Line 1011: OE_MSG_PUB.Add_Exc_Msg

1007: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1008:
1009: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1010: THEN
1011: OE_MSG_PUB.Add_Exc_Msg
1012: ( G_PKG_NAME,
1013: 'Process_FTE_Output');
1014: END IF;
1015: END Process_FTE_Output;

Line 1081: OE_MSG_PUB.Initialize;

1077:
1078: x_return_status := FND_API.G_RET_STS_SUCCESS;
1079:
1080: IF p_ui_flag = 'Y' THEN
1081: OE_MSG_PUB.Initialize;
1082: END IF;
1083:
1084: -- Check whether FTE is Installed. If not Exit
1085:

Line 1092: OE_MSG_PUB.Add;

1088: END IF;
1089:
1090: IF OE_GLOBALS.G_FTE_INSTALLED = 'N' THEN
1091: FND_MESSAGE.Set_Name('ONT','ONT_FTE_NOT_INSTALLED');
1092: OE_MSG_PUB.Add;
1093: IF l_debug_level > 0 THEN
1094: oe_debug_pub.ADD('FTE is NOT Installed!',3);
1095: END IF;
1096: x_return_status := FND_API.G_RET_STS_ERROR;

Line 1155: oe_msg_pub.add_text(p_message_text => l_msg_text);

1151: l_msg_text := FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE);
1152: IF l_debug_level > 0 THEN
1153: oe_debug_pub.Add(l_msg_text, 3);
1154: END IF;
1155: oe_msg_pub.add_text(p_message_text => l_msg_text);
1156: END LOOP;
1157: END IF;
1158: RAISE FND_API.G_EXC_ERROR;
1159: END IF;

Line 1256: OE_MSG_PUB.Count_And_Get

1252:
1253: END IF;
1254: END IF; -- l_line_tbl.count > 0
1255:
1256: OE_MSG_PUB.Count_And_Get
1257: ( p_count => x_msg_count
1258: ,p_data => x_msg_data);
1259:
1260: IF l_debug_level > 0 THEN

Line 1273: OE_MSG_PUB.Count_And_Get

1269: IF l_debug_level > 0 THEN
1270: oe_debug_pub.Add('Expected Error in Get Ship Method', 1);
1271: END IF;
1272:
1273: OE_MSG_PUB.Count_And_Get
1274: ( p_count => x_msg_count
1275: ,p_data => x_msg_data);
1276:
1277: x_return_status := FND_API.G_RET_STS_ERROR;

Line 1284: OE_MSG_PUB.Count_And_Get

1280: IF l_debug_level > 0 THEN
1281: oe_debug_pub.Add('Unexpected Error in Get Ship Method'||sqlerrm, 2);
1282: END IF;
1283:
1284: OE_MSG_PUB.Count_And_Get
1285: ( p_count => x_msg_count
1286: ,p_data => x_msg_data);
1287:
1288: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1298: OE_MSG_PUB.Count_And_Get

1294: IF l_debug_level > 0 THEN
1295: oe_debug_pub.Add('When Others in Get Ship Method'||sqlerrm,3);
1296: END IF;
1297:
1298: OE_MSG_PUB.Count_And_Get
1299: ( p_count => x_msg_count
1300: ,p_data => x_msg_data);
1301:
1302: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

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

1298: OE_MSG_PUB.Count_And_Get
1299: ( p_count => x_msg_count
1300: ,p_data => x_msg_data);
1301:
1302: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1303: THEN
1304: OE_MSG_PUB.Add_Exc_Msg
1305: ( G_PKG_NAME,
1306: 'Process_FTE_Action');

Line 1304: OE_MSG_PUB.Add_Exc_Msg

1300: ,p_data => x_msg_data);
1301:
1302: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1303: THEN
1304: OE_MSG_PUB.Add_Exc_Msg
1305: ( G_PKG_NAME,
1306: 'Process_FTE_Action');
1307: END IF;
1308: