DBA Data[Home] [Help]

APPS.OE_DELAYED_REQUESTS_UTIL dependencies on OE_ORDER_SCH_UTIL

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

2919: BEGIN
2920:
2921: oe_debug_pub.add('Entering SPLIT_RESERVATIONS',1);
2922:
2923: oe_debug_pub.add('Calling OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS',1);
2924:
2925: OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS
2926: (p_reserved_line_id => p_reserved_line_id,
2927: p_ordered_quantity => p_ordered_quantity,

Line 2925: OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS

2921: oe_debug_pub.add('Entering SPLIT_RESERVATIONS',1);
2922:
2923: oe_debug_pub.add('Calling OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS',1);
2924:
2925: OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS
2926: (p_reserved_line_id => p_reserved_line_id,
2927: p_ordered_quantity => p_ordered_quantity,
2928: p_reserved_quantity => p_reserved_quantity,
2929: x_return_status => l_return_status);

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

2927: p_ordered_quantity => p_ordered_quantity,
2928: p_reserved_quantity => p_reserved_quantity,
2929: x_return_status => l_return_status);
2930:
2931: oe_debug_pub.add('After Calling OE_ORDER_SCH_UTIL.SPLIT_RESERVATIONS: '
2932: || l_return_status ,1);
2933:
2934: x_return_status := l_return_status;
2935:

Line 3073: IF l_group_req_rec.entity_type = OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET

3069:
3070: END IF;
3071:
3072:
3073: IF l_group_req_rec.entity_type = OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET
3074: THEN
3075: l_group_req_rec.arrival_set_number := p_request_rec.param1;
3076: l_group_req_rec.ship_to_org_id := l_line_rec.ship_to_org_id;
3077:

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

4989: BEGIN
4990:
4991: oe_debug_pub.add('Entering OE_Delayed_Requests_UTIL.Schedule_Line',1);
4992:
4993: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'N';
4994:
4995: FOR I in 1..p_sch_set_tbl.count LOOP
4996:
4997: l_request_rec := p_sch_set_tbl(I);

Line 5024: OE_ORDER_SCH_UTIL.OESCH_ACT_SCHEDULE;

5020: l_line_rec.operation := OE_GLOBALS.G_OPR_UPDATE;
5021:
5022: IF p_sch_set_tbl(I).request_type = OE_GLOBALS.G_SCHEDULE_LINE THEN
5023: l_line_rec.schedule_action_code :=
5024: OE_ORDER_SCH_UTIL.OESCH_ACT_SCHEDULE;
5025: l_old_line_rec.ship_set_id := l_request_rec.param9;
5026: l_old_line_rec.arrival_set_id := l_request_rec.param10;
5027: ELSE
5028:

Line 5046: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR

5042: OE_GLOBALS.G_ITEM_INCLUDED))) OR --9775352
5043: nvl(l_line_rec.ship_model_complete_flag,'N') = 'Y'
5044: THEN
5045: IF l_request_rec.param3 =
5046: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR
5047: l_request_rec.param3 =
5048: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN
5049:
5050: IF (l_line_rec.line_id = l_line_rec.ato_line_id OR

Line 5048: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN

5044: THEN
5045: IF l_request_rec.param3 =
5046: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR
5047: l_request_rec.param3 =
5048: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN
5049:
5050: IF (l_line_rec.line_id = l_line_rec.ato_line_id OR
5051: l_line_rec.item_type_code = OE_GLOBALS.G_ITEM_MODEL)
5052: THEN

Line 5072: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET

5068: l_arrival_set_id := null;
5069: END;
5070:
5071: IF l_request_rec.param3 =
5072: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET
5073: AND l_ship_set_id = to_number(l_request_rec.param1)
5074: THEN
5075: l_group_sch_required := FALSE;
5076: ELSIF l_request_rec.param3 =

Line 5077: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET

5073: AND l_ship_set_id = to_number(l_request_rec.param1)
5074: THEN
5075: l_group_sch_required := FALSE;
5076: ELSIF l_request_rec.param3 =
5077: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET
5078: AND l_arrival_set_id = to_number(l_request_rec.param1)
5079: THEN
5080: l_group_sch_required := FALSE;
5081: ELSE

Line 5101: OE_ORDER_SCH_UTIL.Create_Group_Request

5097:
5098: -- If the line being scheduled is a ATO model, or a SMC PTO, we
5099: -- need to call group scheduling API.
5100:
5101: OE_ORDER_SCH_UTIL.Create_Group_Request
5102: ( p_line_rec => l_line_rec
5103: , p_old_line_rec => l_old_line_rec
5104: , x_group_req_rec => l_group_req_rec
5105: , x_return_status => l_return_status

Line 5119: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ATO_CONFIG;

5115: OE_GLOBALS.G_ITEM_OPTION,
5116: OE_GLOBALS.G_ITEM_INCLUDED)) THEN --9775352
5117:
5118: l_group_req_rec.entity_type :=
5119: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ATO_CONFIG;
5120: l_group_req_rec.ship_set_number := l_line_rec.ato_line_id;
5121: ELSE
5122:
5123: l_group_req_rec.entity_type :=

Line 5124: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SMC;

5120: l_group_req_rec.ship_set_number := l_line_rec.ato_line_id;
5121: ELSE
5122:
5123: l_group_req_rec.entity_type :=
5124: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SMC;
5125: l_group_req_rec.ship_set_number := l_line_rec.top_model_line_id;
5126: END IF;
5127:
5128: oe_debug_pub.add('****Printing Group Request Attributes****',2);

Line 5164: OE_ORDER_SCH_UTIL.Schedule_line

5160:
5161: -- We are doing this to retain the copy of l_line_rec.
5162: l_out_line_rec := l_line_rec;
5163:
5164: OE_ORDER_SCH_UTIL.Schedule_line
5165: ( p_x_line_rec => l_out_line_rec
5166: , p_old_line_rec => l_old_line_rec
5167: , p_write_to_db => FND_API.G_TRUE
5168: , x_atp_tbl => l_atp_tbl

Line 5182: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR

5178: oe_debug_pub.add('Line Id error out nocopy : ' || l_line_rec.line_id,2);
5179:
5180:
5181: IF l_request_rec.param3 =
5182: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR
5183: l_request_rec.param3 =
5184: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN
5185:
5186: -- Could not schedule the line on the set date. Let's schedule

Line 5184: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN

5180:
5181: IF l_request_rec.param3 =
5182: OE_ORDER_SCH_UTIL.OESCH_ENTITY_ARRIVAL_SET OR
5183: l_request_rec.param3 =
5184: OE_ORDER_SCH_UTIL.OESCH_ENTITY_SHIP_SET THEN
5185:
5186: -- Could not schedule the line on the set date. Let's schedule
5187: -- the whole set to see if we get another date got the whole
5188: -- set.

Line 5196: OE_ORDER_SCH_UTIL.OESCH_ACT_RESCHEDULE;

5192: oe_debug_pub.add('Auto Push Group Date is Yes',2);
5193:
5194: -- Added this stmt to fix big 1899651.
5195: l_line_rec.schedule_action_code :=
5196: OE_ORDER_SCH_UTIL.OESCH_ACT_RESCHEDULE;
5197:
5198: OE_ORDER_SCH_UTIL.Create_Group_Request
5199: ( p_line_rec => l_line_rec
5200: , p_old_line_rec => l_old_line_rec

Line 5198: OE_ORDER_SCH_UTIL.Create_Group_Request

5194: -- Added this stmt to fix big 1899651.
5195: l_line_rec.schedule_action_code :=
5196: OE_ORDER_SCH_UTIL.OESCH_ACT_RESCHEDULE;
5197:
5198: OE_ORDER_SCH_UTIL.Create_Group_Request
5199: ( p_line_rec => l_line_rec
5200: , p_old_line_rec => l_old_line_rec
5201: , x_group_req_rec => l_group_req_rec
5202: , x_return_status => l_return_status

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

5224: oe_debug_pub.add('Arr Date :' ||
5225: l_group_req_rec.schedule_arrival_date,2);
5226: oe_debug_pub.add('****************************************',2);
5227:
5228: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'Y';
5229:
5230: oe_debug_pub.add('Calling Grp Schedule : ',2);
5231:
5232: OE_GRP_SCH_UTIL.Group_Schedule

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

5322: END IF;
5323: END IF; /* If g_ret_status is error */
5324:
5325: END LOOP;
5326: OE_ORDER_SCH_UTIL.OESCH_PERFORM_GRP_SCHEDULING := 'Y';
5327:
5328: oe_debug_pub.add('Exiting OE_Delayed_Requests_UTIL.Schedule_Line');
5329: EXCEPTION
5330: