DBA Data[Home] [Help]

APPS.OE_LINE_UTIL dependencies on OE_SALES_CAN_UTIL

Line 1952: IF NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN

1948: */
1949: /* IR ISO Change Management : Comment this code Ends */
1950:
1951: IF NOT OE_Internal_Requisition_Pvt.G_Update_ISO_From_Req THEN
1952: IF NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN
1953: IF l_debug_level > 0 THEN
1954: oe_debug_pub.add(' Header Level Cancellation is FALSE',5);
1955: END IF;
1956:

Line 1981: /* ELSIF OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN -- Commented for IR ISO Tracking bug 7667702

1977: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
1978: RAISE FND_API.G_EXC_ERROR;
1979: END IF;
1980:
1981: /* ELSIF OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN -- Commented for IR ISO Tracking bug 7667702
1982: IF l_debug_level > 0 THEN
1983: oe_debug_pub.add(' Header Level Cancellation is TRUE',5);
1984: END IF;
1985:

Line 2292: oe_sales_can_util.check_constraints

2288: END IF; -- OPM B1661023 04/02/01
2289:
2290: /* OPM END */
2291:
2292: oe_sales_can_util.check_constraints
2293: (p_x_line_rec => p_x_line_rec,
2294: p_old_line_rec => p_old_line_rec,
2295: x_return_status => l_return_status);
2296: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 2474: oe_sales_can_util.check_constraints

2470: OE_GLOBALS.G_TAX_FLAG := 'Y';
2471:
2472: END IF;
2473:
2474: oe_sales_can_util.check_constraints
2475: (p_x_line_rec => p_x_line_rec,
2476: p_old_line_rec => p_old_line_rec,
2477: x_return_status => l_return_status);
2478: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 2493: IF NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN --not a full order cancellation

2489: (p_old_line_rec.ordered_quantity2 IS NOT NULL) THEN
2490: IF NOT ((nvl(p_x_line_rec.split_by,'X') IN ('USER','SYSTEM')) --Not a split
2491: AND (NVL(p_x_line_rec.split_action_code,'X') = 'SPLIT')) THEN
2492: IF NOT OE_Internal_Requisition_Pvt.G_Update_ISO_From_Req THEN --change not initiated by PO
2493: IF NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN --not a full order cancellation
2494: IF l_debug_level > 0 THEN
2495: oe_debug_pub.add(' Header Level Cancellation is FALSE',5);
2496: oe_debug_pub.add(' Secondary qty change: Logging delayed request for G_UPDATE_REQUISITION',5);
2497: END IF;

Line 2925: AND NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL AND

2921: oe_debug_pub.add(' Need By Date update is allowed ? '||l_po_NeedByDate_Update);
2922: END IF;
2923:
2924: IF NOT OE_Internal_Requisition_Pvt.G_Update_ISO_From_Req
2925: AND NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL AND
2926: l_po_NeedByDate_Update = 'YES' THEN
2927:
2928: -- Log a delayed request to update the change in Schedule Ship Date to
2929: -- Requisition Line. This request will be logged only if the change is

Line 3003: AND NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL AND

2999: oe_debug_pub.add(' Need By Date update is allowed ? '||l_po_NeedByDate_Update);
3000: END IF;
3001:
3002: IF NOT OE_Internal_Requisition_Pvt.G_Update_ISO_From_Req
3003: AND NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL AND
3004: OE_Schedule_GRP.G_ISO_Planning_Update THEN -- Added for IR ISO Tracking bug 7667702
3005: -- l_po_NeedByDate_Update = 'YES' THEN -- Commented for IR ISO Tracking bug 7667702
3006: IF l_po_NeedByDate_Update = 'YES' THEN -- Added for IR ISO Tracking bug 7667702
3007:

Line 6308: OE_SALES_CAN_UTIL.Check_Constraints

6304: IF l_debug_level > 0 THEN
6305: oe_debug_pub.add('Line Ord Qty already 0, Calling Check_Constraints based on Order Cancel Global');
6306: END IF;
6307:
6308: OE_SALES_CAN_UTIL.Check_Constraints
6309: (p_x_line_rec => p_x_line_rec,
6310: p_old_line_rec => p_old_line_rec,
6311: x_return_status => l_return_status
6312: );

Line 17612: l_require_reason := OE_SALES_CAN_UTIL.G_REQUIRE_REASON;

17608:
17609: END IF;
17610:
17611: -- 2921731, storing and resetting the global cancel variable
17612: l_require_reason := OE_SALES_CAN_UTIL.G_REQUIRE_REASON;
17613: --1503357
17614: OE_LINE_ADJ_UTIL.Check_Canceled_PRG(p_old_line_rec => p_old_line_rec,
17615: p_new_line_rec => p_x_line_rec);
17616:

Line 17617: OE_SALES_CAN_UTIL.G_REQUIRE_REASON := l_require_reason;

17613: --1503357
17614: OE_LINE_ADJ_UTIL.Check_Canceled_PRG(p_old_line_rec => p_old_line_rec,
17615: p_new_line_rec => p_x_line_rec);
17616:
17617: OE_SALES_CAN_UTIL.G_REQUIRE_REASON := l_require_reason;
17618:
17619: /*sdatti*/
17620: IF (p_x_line_rec.operation = OE_GLOBALS.G_OPR_DELETE OR
17621: p_x_line_rec.ordered_quantity = 0)

Line 17927: OE_SALES_CAN_UTIL.Perform_Line_change(p_x_line_rec,

17923: IF (p_x_line_rec.operation = oe_globals.G_OPR_UPDATE AND
17924: (p_old_line_rec.ordered_quantity <> FND_API.G_MISS_NUM OR
17925: p_old_line_rec.ordered_quantity IS NOT NULL)) then
17926:
17927: OE_SALES_CAN_UTIL.Perform_Line_change(p_x_line_rec,
17928: p_old_line_rec,
17929: l_return_status);
17930: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
17931: RAISE FND_API.G_EXC_ERROR;

Line 19569: IF (oe_sales_can_util.G_REQUIRE_REASON) THEN

19565: -- 4504362 :Branch scheduling check removed.
19566: -- This is moved from cancellations logic since closing the line is
19567: -- based on the cancellation flag and ordered quantity
19568:
19569: IF (oe_sales_can_util.G_REQUIRE_REASON) THEN
19570:
19571: IF Nvl(p_x_line_rec.split_action_code,'X') <> 'SPLIT' THEN
19572:
19573: If (p_x_line_rec.ordered_quantity = 0 AND

Line 19659: OE_SALES_CAN_UTIL.G_REQUIRE_REASON := FALSE;

19655: END IF;
19656: END IF;
19657: -- End of FP bug 6628653 base bug 6513023
19658:
19659: OE_SALES_CAN_UTIL.G_REQUIRE_REASON := FALSE;
19660: end if;
19661: END IF;
19662: END IF;
19663:

Line 22260: IF OE_Sales_Can_Util.G_Require_Reason THEN

22256: end if;
22257:
22258: l_cancellation := 'N';
22259:
22260: IF OE_Sales_Can_Util.G_Require_Reason THEN
22261: if l_debug_level > 0 then
22262: oe_debug_pub.add('this is a cancellation', 1);
22263: end if;
22264: l_cancellation := 'Y';

Line 22601: IF OE_Sales_Can_Util.G_Require_Reason THEN

22597: oe_debug_pub.add('Comp Code is: ' || p_x_line_rec.component_code,3);
22598: end if;
22599:
22600: l_cancellation := 'N';
22601: IF OE_Sales_Can_Util.G_Require_Reason THEN
22602: if l_debug_level > 0 then
22603: oe_debug_pub.add('this is a cancellation', 1);
22604: end if;
22605: l_cancellation := 'Y';

Line 22900: IF OE_Sales_Can_Util.G_Require_Reason THEN

22896:
22897: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL(l_num).param10 :=
22898: p_x_line_rec.operation;
22899:
22900: IF OE_Sales_Can_Util.G_Require_Reason THEN
22901: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL(l_num).param11 := 'Y';
22902: ELSE
22903: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL(l_num).param11 := 'N';
22904: END IF;

Line 24332: OE_SALES_CAN_UTIL.G_REQUIRE_REASON) OR

24328:
24329:
24330:
24331: IF (p_x_line_rec.ordered_quantity = 0 AND
24332: OE_SALES_CAN_UTIL.G_REQUIRE_REASON) OR
24333: p_x_line_rec.operation = 'DELETE' THEN
24334: l_operation := 'CANCEL';
24335: END IF;
24336: