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 845: (p_entity_code => OE_GLOBALS.G_ENTITY_LINE

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

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

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

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

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

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

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

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

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

Line 1086: IF OE_GLOBALS.G_FTE_INSTALLED IS NULL THEN

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

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

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

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

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

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

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

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

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