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 661: OE_MSG_PUB.Add;

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

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

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

Line 696: OE_MSG_PUB.Add_Exc_Msg

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

Line 845: OE_Msg_Pub.Set_Msg_Context

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

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

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

Line 871: OE_MSG_PUB.Add_Text

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

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

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

Line 1012: OE_MSG_PUB.Add_Exc_Msg

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

Line 1082: OE_MSG_PUB.Initialize;

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

Line 1093: OE_MSG_PUB.Add;

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

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

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

Line 1257: OE_MSG_PUB.Count_And_Get

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

Line 1274: OE_MSG_PUB.Count_And_Get

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

Line 1285: OE_MSG_PUB.Count_And_Get

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

Line 1299: OE_MSG_PUB.Count_And_Get

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

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

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

Line 1305: OE_MSG_PUB.Add_Exc_Msg

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