DBA Data[Home] [Help]

APPS.OE_FTE_INTEGRATION_PVT dependencies on OE_GLOBALS

Line 79: l_control_rec OE_GLOBALS.Control_Rec_Type;

75: ( p_x_line_tbl IN OUT NOCOPY OE_Order_PUB.Line_Tbl_Type
76: ,x_return_status OUT NOCOPY /* file.sql.39 change */ VARCHAR2)
77:
78: IS
79: l_control_rec OE_GLOBALS.Control_Rec_Type;
80: l_old_line_tbl OE_Order_PUB.Line_Tbl_Type;
81: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
82: BEGIN
83:

Line 380: ( p_entity_code => OE_GLOBALS.G_ENTITY_LINE

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
384: ,p_order_source_id => c_ship_method.order_source_id

Line 436: ELSIF c_ship_method.item_type_code = OE_GLOBALS.G_ITEM_CONFIG THEN

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;
436: ELSIF c_ship_method.item_type_code = OE_GLOBALS.G_ITEM_CONFIG THEN
437:
438: -- We are not going to send Config lines to FTE
439: -- We have to store the config lines in the line table.
440: IF l_debug_level > 0 THEN

Line 846: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE

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
850: ,p_order_source_id => l_order_source_id

Line 864: p_x_line_tbl(l_line_offset).operation := OE_GLOBALS.G_OPR_NONE;

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;
864: p_x_line_tbl(l_line_offset).operation := OE_GLOBALS.G_OPR_NONE;
865: x_no_opr_count := x_no_opr_count + 1;
866: x_return_status := FND_API.G_RET_STS_ERROR;
867:
868: ELSE -- warning or success

Line 900: p_x_line_tbl(l_line_offset).operation := OE_GLOBALS.G_OPR_UPDATE;

896:
897: p_x_line_tbl(l_line_offset).freight_terms_code :=
898: p_x_fte_source_line_tab(l_fte_count).freight_terms;
899:
900: p_x_line_tbl(l_line_offset).operation := OE_GLOBALS.G_OPR_UPDATE;
901:
902: /* Start Audit Trail */
903:
904: p_x_line_tbl(l_line_offset).change_reason := 'SYSTEM';

Line 913: p_x_line_tbl(l_line_offset).operation := OE_GLOBALS.G_OPR_NONE;

909: ELSE -- no change, set the operation to none.
910: IF l_debug_level > 0 THEN
911: oe_debug_pub.add('No Changes to save', 4);
912: END IF;
913: p_x_line_tbl(l_line_offset).operation := OE_GLOBALS.G_OPR_NONE;
914: x_no_opr_count := x_no_opr_count + 1;
915: END IF;
916:
917: END IF; -- if error.

Line 942: IF p_x_line_tbl(l_line_offset).operation = OE_GLOBALS.G_OPR_UPDATE

938: IF l_debug_level > 0 THEN
939: oe_debug_pub.add('cfg line '|| p_x_line_tbl(l_index).line_id, 3);
940: END IF;
941:
942: IF p_x_line_tbl(l_line_offset).operation = OE_GLOBALS.G_OPR_UPDATE
943: THEN
944:
945: p_x_line_tbl(l_index).shipping_method_code :=
946: p_x_line_tbl(l_line_offset).shipping_method_code;

Line 1087: IF OE_GLOBALS.G_FTE_INSTALLED IS NULL THEN

1083: END IF;
1084:
1085: -- Check whether FTE is Installed. If not Exit
1086:
1087: IF OE_GLOBALS.G_FTE_INSTALLED IS NULL THEN
1088: OE_GLOBALS.G_FTE_INSTALLED := OE_GLOBALS.CHECK_PRODUCT_INSTALLED(716);
1089: END IF;
1090:
1091: IF OE_GLOBALS.G_FTE_INSTALLED = 'N' THEN

Line 1088: OE_GLOBALS.G_FTE_INSTALLED := OE_GLOBALS.CHECK_PRODUCT_INSTALLED(716);

1084:
1085: -- Check whether FTE is Installed. If not Exit
1086:
1087: IF OE_GLOBALS.G_FTE_INSTALLED IS NULL THEN
1088: OE_GLOBALS.G_FTE_INSTALLED := OE_GLOBALS.CHECK_PRODUCT_INSTALLED(716);
1089: END IF;
1090:
1091: IF OE_GLOBALS.G_FTE_INSTALLED = 'N' THEN
1092: FND_MESSAGE.Set_Name('ONT','ONT_FTE_NOT_INSTALLED');

Line 1091: IF OE_GLOBALS.G_FTE_INSTALLED = 'N' THEN

1087: IF OE_GLOBALS.G_FTE_INSTALLED IS NULL THEN
1088: OE_GLOBALS.G_FTE_INSTALLED := OE_GLOBALS.CHECK_PRODUCT_INSTALLED(716);
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);

Line 1190: oe_globals.g_freight_recursion := 'Y';

1186:
1187: -- set the recursion flag so that FTE won't be called
1188: -- again for Freight Rating if ship method is changed
1189: -- due to the call to FTE.
1190: oe_globals.g_freight_recursion := 'Y';
1191:
1192: IF l_debug_level > 0 THEN
1193: oe_debug_pub.Add('Before Calling Update FTE Results...',3);
1194: END IF;

Line 1216: oe_globals.g_freight_recursion := 'N';

1212: oe_debug_pub.Add('No of Lines with Opr None:'||l_no_opr_count,1);
1213: END IF;
1214: END IF;
1215:
1216: oe_globals.g_freight_recursion := 'N';
1217:
1218: IF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
1219: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1220: ELSIF x_return_status = FND_API.G_RET_STS_ERROR THEN