DBA Data[Home] [Help]

APPS.OE_DELAYED_REQUESTS_UTIL dependencies on OE_ORDER_SCH_UTIL

Line 2702: oe_debug_pub.add('Calling OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS',1);

2698: BEGIN
2699:
2700: oe_debug_pub.add('Entering SPLIT_RESERVATIONS',1);
2701:
2702: oe_debug_pub.add('Calling OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS',1);
2703:
2704: OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS
2705: (p_reserved_line_id => p_reserved_line_id,
2706: p_ordered_quantity => p_ordered_quantity,

Line 2704: OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS

2700: oe_debug_pub.add('Entering SPLIT_RESERVATIONS',1);
2701:
2702: oe_debug_pub.add('Calling OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS',1);
2703:
2704: OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS
2705: (p_reserved_line_id => p_reserved_line_id,
2706: p_ordered_quantity => p_ordered_quantity,
2707: p_reserved_quantity => p_reserved_quantity,
2708: x_return_status => l_return_status);

Line 2710: oe_debug_pub.add('After Calling OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS: '

2706: p_ordered_quantity => p_ordered_quantity,
2707: p_reserved_quantity => p_reserved_quantity,
2708: x_return_status => l_return_status);
2709:
2710: oe_debug_pub.add('After Calling OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS: '
2711: || l_return_status ,1);
2712:
2713: x_return_status := l_return_status;
2714:

Line 2852: IF l_group_req_rec.entity_type = OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET

2848:
2849: END IF;
2850:
2851:
2852: IF l_group_req_rec.entity_type = OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET
2853: THEN
2854: l_group_req_rec.arrival_set_number := p_request_rec.param1;
2855: l_group_req_rec.ship_to_org_id := l_line_rec.ship_to_org_id;
2856:

Line 4618: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'N';

4614: BEGIN
4615:
4616: oe_debug_pub.add('Entering OE_Delayed_Requests_UTIL.Schedule_Line',1);
4617:
4618: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'N';
4619:
4620: FOR I in 1..p_sch_set_tbl.count LOOP
4621:
4622: l_request_rec := p_sch_set_tbl(I);

Line 4649: OE_ORDER_SCH_UTIL.OESCH_ACT_SCHEDULE;

4645: l_line_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
4646:
4647: IF p_sch_set_tbl(I).request_type = OE_GLOBALS.G_SCHEDULE_LINE THEN
4648: l_line_rec.schedule_action_code :=
4649: OE_ORDER_SCH_UTIL.OESCH_ACT_SCHEDULE;
4650: l_old_line_rec.ship_set_id := l_request_rec.param9;
4651: l_old_line_rec.arrival_set_id := l_request_rec.param10;
4652: ELSE
4653:

Line 4670: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR

4666: OE_GLOBALS.G_ITEM_OPTION))) OR
4667: nvl(l_line_rec.ship_model_complete_flag,'N') = 'Y'
4668: THEN
4669: IF l_request_rec.param3 =
4670: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR
4671: l_request_rec.param3 =
4672: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN
4673:
4674: IF (l_line_rec.line_id = l_line_rec.ato_line_id OR

Line 4672: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN

4668: THEN
4669: IF l_request_rec.param3 =
4670: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR
4671: l_request_rec.param3 =
4672: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN
4673:
4674: IF (l_line_rec.line_id = l_line_rec.ato_line_id OR
4675: l_line_rec.item_type_code = OE_GLOBALS.G_ITEM_MODEL)
4676: THEN

Line 4696: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET

4692: l_arrival_set_id := null;
4693: END;
4694:
4695: IF l_request_rec.param3 =
4696: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET
4697: AND l_ship_set_id = to_number(l_request_rec.param1)
4698: THEN
4699: l_group_sch_required := FALSE;
4700: ELSIF l_request_rec.param3 =

Line 4701: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET

4697: AND l_ship_set_id = to_number(l_request_rec.param1)
4698: THEN
4699: l_group_sch_required := FALSE;
4700: ELSIF l_request_rec.param3 =
4701: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET
4702: AND l_arrival_set_id = to_number(l_request_rec.param1)
4703: THEN
4704: l_group_sch_required := FALSE;
4705: ELSE

Line 4725: OE_ORDER_SCH_UTIL.Create_Group_Request

4721:
4722: -- If the line being scheduled is a ATO model, or a SMC PTO, we
4723: -- need to call group scheduling API.
4724:
4725: OE_ORDER_SCH_UTIL.Create_Group_Request
4726: ( p_line_rec => l_line_rec
4727: , p_old_line_rec => l_old_line_rec
4728: , x_group_req_rec => l_group_req_rec
4729: , x_return_status => l_return_status

Line 4742: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ATO_CONFIG;

4738: l_line_rec.item_type_code IN (OE_GLOBALS.G_ITEM_STANDARD,
4739: OE_GLOBALS.G_ITEM_OPTION)) THEN
4740:
4741: l_group_req_rec.entity_type :=
4742: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ATO_CONFIG;
4743: l_group_req_rec.ship_set_number := l_line_rec.ato_line_id;
4744: ELSE
4745:
4746: l_group_req_rec.entity_type :=

Line 4747: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SMC;

4743: l_group_req_rec.ship_set_number := l_line_rec.ato_line_id;
4744: ELSE
4745:
4746: l_group_req_rec.entity_type :=
4747: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SMC;
4748: l_group_req_rec.ship_set_number := l_line_rec.top_model_line_id;
4749: END IF;
4750:
4751: oe_debug_pub.add('****Printing Group Request Attributes****',2);

Line 4787: OE_ORDER_SCH_UTIL.Schedule_line

4783:
4784: -- We are doing this to retain the copy of l_line_rec.
4785: l_out_line_rec := l_line_rec;
4786:
4787: OE_ORDER_SCH_UTIL.Schedule_line
4788: ( p_x_line_rec => l_out_line_rec
4789: , p_old_line_rec => l_old_line_rec
4790: , p_write_to_db => FND_API.G_TRUE
4791: , x_atp_tbl => l_atp_tbl

Line 4805: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR

4801: oe_debug_pub.add('Line Id error out nocopy : ' || l_line_rec.line_id,2);
4802:
4803:
4804: IF l_request_rec.param3 =
4805: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR
4806: l_request_rec.param3 =
4807: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN
4808:
4809: -- Could not schedule the line on the set date. Let's schedule

Line 4807: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN

4803:
4804: IF l_request_rec.param3 =
4805: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR
4806: l_request_rec.param3 =
4807: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN
4808:
4809: -- Could not schedule the line on the set date. Let's schedule
4810: -- the whole set to see if we get another date got the whole
4811: -- set.

Line 4819: OE_ORDER_SCH_UTIL.OESCH_ACT_RESCHEDULE;

4815: oe_debug_pub.add('Auto Push Group Date is Yes',2);
4816:
4817: -- Added this stmt to fix big 1899651.
4818: l_line_rec.schedule_action_code :=
4819: OE_ORDER_SCH_UTIL.OESCH_ACT_RESCHEDULE;
4820:
4821: OE_ORDER_SCH_UTIL.Create_Group_Request
4822: ( p_line_rec => l_line_rec
4823: , p_old_line_rec => l_old_line_rec

Line 4821: OE_ORDER_SCH_UTIL.Create_Group_Request

4817: -- Added this stmt to fix big 1899651.
4818: l_line_rec.schedule_action_code :=
4819: OE_ORDER_SCH_UTIL.OESCH_ACT_RESCHEDULE;
4820:
4821: OE_ORDER_SCH_UTIL.Create_Group_Request
4822: ( p_line_rec => l_line_rec
4823: , p_old_line_rec => l_old_line_rec
4824: , x_group_req_rec => l_group_req_rec
4825: , x_return_status => l_return_status

Line 4851: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'Y';

4847: oe_debug_pub.add('Arr Date :' ||
4848: l_group_req_rec.schedule_arrival_date,2);
4849: oe_debug_pub.add('****************************************',2);
4850:
4851: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'Y';
4852:
4853: oe_debug_pub.add('Calling Grp Schedule : ',2);
4854:
4855: OE_GRP_SCH_UTIL.Group_Schedule

Line 4948: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'Y';

4944: END IF;
4945: END IF; /* If g_ret_status is error */
4946:
4947: END LOOP;
4948: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'Y';
4949:
4950: oe_debug_pub.add('Exiting OE_Delayed_Requests_UTIL.Schedule_Line');
4951: EXCEPTION
4952: