DBA Data[Home] [Help]

APPS.OE_CONFIG_TSO_PVT dependencies on OE_GLOBALS

Line 183: IF p_operation = OE_GLOBALS.G_OPR_CREATE THEN

179: OE_DEBUG_PUB.Add('inv item : '|| p_inventory_item_id,3);
180: END IF;
181:
182: --operation is sent in only by OEXLLINB right now
183: IF p_operation = OE_GLOBALS.G_OPR_CREATE THEN
184:
185: IF l_debug_level > 0 THEN
186: OE_DEBUG_PUB.Add('Operation is CREATE',3);
187: OE_DEBUG_PUB.Add('Inv Item ID:'||p_inventory_item_id,3);

Line 534: (p_line_rec.operation=OE_GLOBALS.G_OPR_CREATE OR

530: OE_DEBUG_PUB.Add('Old Ord Qty:'||p_old_line_rec.ordered_quantity,3);
531: END IF;
532:
533: IF NVL(p_line_rec.booked_flag,'N') = 'Y' AND
534: (p_line_rec.operation=OE_GLOBALS.G_OPR_CREATE OR
535: (p_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE AND
536: NOT OE_Globals.Equal(p_line_rec.ordered_quantity,
537: p_old_line_rec.ordered_quantity)) OR
538: p_line_rec.operation=OE_GLOBALS.G_OPR_DELETE) THEN

Line 535: (p_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE AND

531: END IF;
532:
533: IF NVL(p_line_rec.booked_flag,'N') = 'Y' AND
534: (p_line_rec.operation=OE_GLOBALS.G_OPR_CREATE OR
535: (p_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE AND
536: NOT OE_Globals.Equal(p_line_rec.ordered_quantity,
537: p_old_line_rec.ordered_quantity)) OR
538: p_line_rec.operation=OE_GLOBALS.G_OPR_DELETE) THEN
539:

Line 536: NOT OE_Globals.Equal(p_line_rec.ordered_quantity,

532:
533: IF NVL(p_line_rec.booked_flag,'N') = 'Y' AND
534: (p_line_rec.operation=OE_GLOBALS.G_OPR_CREATE OR
535: (p_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE AND
536: NOT OE_Globals.Equal(p_line_rec.ordered_quantity,
537: p_old_line_rec.ordered_quantity)) OR
538: p_line_rec.operation=OE_GLOBALS.G_OPR_DELETE) THEN
539:
540: IF ( p_line_rec.cancelled_flag = 'Y' AND p_line_rec.ordered_quantity = 0 AND (OE_CONFIG_UTIL.Cascade_Changes_Flag = 'Y' OR l_top_container_model = 'Y') )

Line 538: p_line_rec.operation=OE_GLOBALS.G_OPR_DELETE) THEN

534: (p_line_rec.operation=OE_GLOBALS.G_OPR_CREATE OR
535: (p_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE AND
536: NOT OE_Globals.Equal(p_line_rec.ordered_quantity,
537: p_old_line_rec.ordered_quantity)) OR
538: p_line_rec.operation=OE_GLOBALS.G_OPR_DELETE) THEN
539:
540: IF ( p_line_rec.cancelled_flag = 'Y' AND p_line_rec.ordered_quantity = 0 AND (OE_CONFIG_UTIL.Cascade_Changes_Flag = 'Y' OR l_top_container_model = 'Y') )
541: OR
542: ( p_line_rec.ordered_quantity = 0 and nvl(p_line_rec.model_remnant_flag, 'N') = 'Y' ) --OR condition Added for fp bug 5662532

Line 549: IF p_line_rec.item_type_code = OE_GLOBALS.G_ITEM_INCLUDED THEN

545: IF l_debug_level > 0 THEN
546: OE_DEBUG_PUB.Add('Note: Booked MACD Order Cancel Allowed',3);
547: END IF;
548: ELSE
549: IF p_line_rec.item_type_code = OE_GLOBALS.G_ITEM_INCLUDED THEN
550: Null;
551: ELSE
552: x_return_status := FND_API.G_RET_STS_ERROR;
553: FND_MESSAGE.SET_NAME('ONT','ONT_TSO_BOOKED_ORDER');

Line 614: IF (NOT OE_GLOBALS.EQUAL(p_line_rec.line_type_id

610: OE_DEBUG_PUB.Add('OECFG_VALIDATE_CONFIG Flag:'
611: || OE_CONFIG_PVT.OECFG_VALIDATE_CONFIG,3);
612: END IF;
613:
614: IF (NOT OE_GLOBALS.EQUAL(p_line_rec.line_type_id
615: ,p_old_line_rec.line_type_id)) AND
616: p_line_rec.operation = OE_GLOBALS.G_OPR_UPDATE AND
617: OE_CONFIG_PVT.OECFG_VALIDATE_CONFIG = 'Y' THEN
618:

Line 616: p_line_rec.operation = OE_GLOBALS.G_OPR_UPDATE AND

612: END IF;
613:
614: IF (NOT OE_GLOBALS.EQUAL(p_line_rec.line_type_id
615: ,p_old_line_rec.line_type_id)) AND
616: p_line_rec.operation = OE_GLOBALS.G_OPR_UPDATE AND
617: OE_CONFIG_PVT.OECFG_VALIDATE_CONFIG = 'Y' THEN
618:
619: x_return_status := FND_API.G_RET_STS_ERROR;
620:

Line 639: IF p_line_rec.operation = OE_GLOBALS.G_OPR_DELETE AND

635: OE_DEBUG_PUB.Add('OECFG_VALIDATE_CONFIG Flag:'
636: || OE_CONFIG_PVT.OECFG_VALIDATE_CONFIG,3);
637: END IF;
638:
639: IF p_line_rec.operation = OE_GLOBALS.G_OPR_DELETE AND
640: OE_CONFIG_PVT.OECFG_VALIDATE_CONFIG = 'Y' THEN
641:
642: IF NVL(p_line_rec.booked_flag,'N')='N' THEN
643:

Line 697: IF NOT OE_GLOBALS.EQUAL(p_line_rec.sold_to_org_id,

693: OE_DEBUG_PUB.Add('New line rec sold to:'||p_line_rec.sold_to_org_id,3);
694: OE_DEBUG_PUB.Add('Old line rec sold to:'||p_old_line_rec.sold_to_org_id,3);
695: OE_DEBUG_PUB.Add('New line operation:'||p_line_rec.operation,3);
696: END IF;
697: IF NOT OE_GLOBALS.EQUAL(p_line_rec.sold_to_org_id,
698: p_old_line_rec.sold_to_org_id) AND
699: p_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE THEN
700:
701: x_return_status := FND_API.G_RET_STS_ERROR;

Line 699: p_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE THEN

695: OE_DEBUG_PUB.Add('New line operation:'||p_line_rec.operation,3);
696: END IF;
697: IF NOT OE_GLOBALS.EQUAL(p_line_rec.sold_to_org_id,
698: p_old_line_rec.sold_to_org_id) AND
699: p_line_rec.operation=OE_GLOBALS.G_OPR_UPDATE THEN
700:
701: x_return_status := FND_API.G_RET_STS_ERROR;
702:
703: FND_MESSAGE.SET_NAME('ONT','ONT_TSO_NO_CUSTOMER_CHANGE');

Line 1412: l_control_rec OE_GLOBALS.Control_Rec_Type;

1408: IS
1409: l_model_line_rec OE_ORDER_PUB.Line_Rec_Type;
1410: l_config_model_rec CZ_API_PUB.config_model_rec_type;
1411: l_appl_param_rec CZ_API_PUB.appl_param_rec_type;
1412: l_control_rec OE_GLOBALS.Control_Rec_Type;
1413:
1414: l_line_tbl OE_ORDER_PUB.Line_Tbl_Type;
1415: l_old_line_tbl OE_ORDER_PUB.Line_Tbl_Type;
1416: l_config_tbl CZ_API_PUB.config_tbl_type;

Line 2297: l_control_rec OE_GLOBALS.Control_Rec_Type;

2293: IS
2294: -- Declare following local variables which are in parameters to the header procedure.
2295: l_header_rec OE_Order_PUB.Header_Rec_Type;
2296: l_old_header_rec OE_Order_PUB.Header_Rec_Type;
2297: l_control_rec OE_GLOBALS.Control_Rec_Type;
2298:
2299: --
2300: l_debug_level CONSTANT NUMBER := oe_debug_pub.g_debug_level;
2301: --

Line 2318: l_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;

2314: l_header_rec.sold_to_org_id := p_sold_to_org_id;
2315:
2316: -- Set Operation to Create
2317:
2318: l_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
2319:
2320: -- Call Oe_Order_Pvt.Header
2321: -- Add debug messages.
2322:

Line 2606: l_control_rec OE_GLOBALS.Control_Rec_Type;

2602: l_url VARCHAR2(100);
2603: l_init_msg VARCHAR2(2000);
2604: l_validation_type VARCHAR2(1) := CZ_API_PUB.VALIDATE_ORDER;
2605: l_config_xml_msg CZ_CF_API.CFG_OUTPUT_PIECES;
2606: l_control_rec OE_GLOBALS.Control_Rec_Type;
2607: J NUMBER;
2608: I NUMBER;
2609: l_component_code VARCHAR2(30);
2610: l_config_item_id NUMBER;