DBA Data[Home] [Help]

APPS.OE_LINE_UTIL dependencies on OE_SALES_CAN_UTIL

Line 1471: IF NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN

1467: */
1468: /* IR ISO Change Management : Comment this code Ends */
1469:
1470: IF NOT OE_Internal_Requisition_Pvt.G_Update_ISO_From_Req THEN
1471: IF NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN
1472: IF l_debug_level > 0 THEN
1473: oe_debug_pub.add(' Header Level Cancellation is FALSE',5);
1474: END IF;
1475:

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

1496: ELSIF l_return_status = FND_API.G_RET_STS_ERROR THEN
1497: RAISE FND_API.G_EXC_ERROR;
1498: END IF;
1499:
1500: /* ELSIF OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL THEN -- Commented for IR ISO Tracking bug 7667702
1501: IF l_debug_level > 0 THEN
1502: oe_debug_pub.add(' Header Level Cancellation is TRUE',5);
1503: END IF;
1504:

Line 1795: oe_sales_can_util.check_constraints

1791: END IF; -- OPM B1661023 04/02/01
1792:
1793: /* OPM END */
1794:
1795: oe_sales_can_util.check_constraints
1796: (p_x_line_rec => p_x_line_rec,
1797: p_old_line_rec => p_old_line_rec,
1798: x_return_status => l_return_status);
1799: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 1952: oe_sales_can_util.check_constraints

1948: OE_GLOBALS.G_TAX_FLAG := 'Y';
1949:
1950: END IF;
1951:
1952: oe_sales_can_util.check_constraints
1953: (p_x_line_rec => p_x_line_rec,
1954: p_old_line_rec => p_old_line_rec,
1955: x_return_status => l_return_status);
1956: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 2363: AND NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL AND

2359: oe_debug_pub.add(' Need By Date update is allowed ? '||l_po_NeedByDate_Update);
2360: END IF;
2361:
2362: IF NOT OE_Internal_Requisition_Pvt.G_Update_ISO_From_Req
2363: AND NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL AND
2364: l_po_NeedByDate_Update = 'YES' THEN
2365:
2366: -- Log a delayed request to update the change in Schedule Ship Date to
2367: -- Requisition Line. This request will be logged only if the change is

Line 2441: AND NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL AND

2437: oe_debug_pub.add(' Need By Date update is allowed ? '||l_po_NeedByDate_Update);
2438: END IF;
2439:
2440: IF NOT OE_Internal_Requisition_Pvt.G_Update_ISO_From_Req
2441: AND NOT OE_SALES_CAN_UTIL.G_IR_ISO_HDR_CANCEL AND
2442: OE_Schedule_GRP.G_ISO_Planning_Update THEN -- Added for IR ISO Tracking bug 7667702
2443: -- l_po_NeedByDate_Update = 'YES' THEN -- Commented for IR ISO Tracking bug 7667702
2444: IF l_po_NeedByDate_Update = 'YES' THEN -- Added for IR ISO Tracking bug 7667702
2445:

Line 5184: OE_SALES_CAN_UTIL.Check_Constraints

5180: IF l_debug_level > 0 THEN
5181: oe_debug_pub.add('Line Ord Qty already 0, Calling Check_Constraints based on Order Cancel Global');
5182: END IF;
5183:
5184: OE_SALES_CAN_UTIL.Check_Constraints
5185: (p_x_line_rec => p_x_line_rec,
5186: p_old_line_rec => p_old_line_rec,
5187: x_return_status => l_return_status
5188: );

Line 16100: l_require_reason := OE_SALES_CAN_UTIL.G_REQUIRE_REASON;

16096:
16097: END IF;
16098:
16099: -- 2921731, storing and resetting the global cancel variable
16100: l_require_reason := OE_SALES_CAN_UTIL.G_REQUIRE_REASON;
16101: --1503357
16102: OE_LINE_ADJ_UTIL.Check_Canceled_PRG(p_old_line_rec => p_old_line_rec,
16103: p_new_line_rec => p_x_line_rec);
16104:

Line 16105: OE_SALES_CAN_UTIL.G_REQUIRE_REASON := l_require_reason;

16101: --1503357
16102: OE_LINE_ADJ_UTIL.Check_Canceled_PRG(p_old_line_rec => p_old_line_rec,
16103: p_new_line_rec => p_x_line_rec);
16104:
16105: OE_SALES_CAN_UTIL.G_REQUIRE_REASON := l_require_reason;
16106:
16107: /*sdatti*/
16108: IF (p_x_line_rec.operation = OE_GLOBALS.G_OPR_DELETE OR
16109: p_x_line_rec.ordered_quantity = 0)

Line 16355: OE_SALES_CAN_UTIL.Perform_Line_change(p_x_line_rec,

16351: IF (p_x_line_rec.operation = oe_globals.G_OPR_UPDATE AND
16352: (p_old_line_rec.ordered_quantity <> FND_API.G_MISS_NUM OR
16353: p_old_line_rec.ordered_quantity IS NOT NULL)) then
16354:
16355: OE_SALES_CAN_UTIL.Perform_Line_change(p_x_line_rec,
16356: p_old_line_rec,
16357: l_return_status);
16358: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
16359: RAISE FND_API.G_EXC_ERROR;

Line 17791: IF (oe_sales_can_util.G_REQUIRE_REASON) THEN

17787: -- 4504362 :Branch scheduling check removed.
17788: -- This is moved from cancellations logic since closing the line is
17789: -- based on the cancellation flag and ordered quantity
17790:
17791: IF (oe_sales_can_util.G_REQUIRE_REASON) THEN
17792:
17793: IF Nvl(p_x_line_rec.split_action_code,'X') <> 'SPLIT' THEN
17794:
17795: If (p_x_line_rec.ordered_quantity = 0 AND

Line 17881: OE_SALES_CAN_UTIL.G_REQUIRE_REASON := FALSE;

17877: END IF;
17878: END IF;
17879: -- End of FP bug 6628653 base bug 6513023
17880:
17881: OE_SALES_CAN_UTIL.G_REQUIRE_REASON := FALSE;
17882: end if;
17883: END IF;
17884: END IF;
17885:

Line 20380: IF OE_Sales_Can_Util.G_Require_Reason THEN

20376: end if;
20377:
20378: l_cancellation := 'N';
20379:
20380: IF OE_Sales_Can_Util.G_Require_Reason THEN
20381: if l_debug_level > 0 then
20382: oe_debug_pub.add('this is a cancellation', 1);
20383: end if;
20384: l_cancellation := 'Y';

Line 20721: IF OE_Sales_Can_Util.G_Require_Reason THEN

20717: oe_debug_pub.add('Comp Code is: ' || p_x_line_rec.component_code,3);
20718: end if;
20719:
20720: l_cancellation := 'N';
20721: IF OE_Sales_Can_Util.G_Require_Reason THEN
20722: if l_debug_level > 0 then
20723: oe_debug_pub.add('this is a cancellation', 1);
20724: end if;
20725: l_cancellation := 'Y';

Line 21018: IF OE_Sales_Can_Util.G_Require_Reason THEN

21014:
21015: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL(l_num).param10 :=
21016: p_x_line_rec.operation;
21017:
21018: IF OE_Sales_Can_Util.G_Require_Reason THEN
21019: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL(l_num).param11 := 'Y';
21020: ELSE
21021: OE_Config_Pvt.OE_MODIFY_INC_ITEMS_TBL(l_num).param11 := 'N';
21022: END IF;

Line 22448: OE_SALES_CAN_UTIL.G_REQUIRE_REASON) OR

22444:
22445:
22446:
22447: IF (p_x_line_rec.ordered_quantity = 0 AND
22448: OE_SALES_CAN_UTIL.G_REQUIRE_REASON) OR
22449: p_x_line_rec.operation = 'DELETE' THEN
22450: l_operation := 'CANCEL';
22451: END IF;
22452: