DBA Data[Home] [Help]

APPS.MSC_ATP_PVT dependencies on MSC_ATP_REQ

Line 6160: L_GET_MAT_IN_REC MSC_ATP_REQ.get_mat_in_rec;

6156: L_WEIGHT_UOM varchar2(3);
6157: L_UNIT_VOLUME number;
6158: L_VOLUME_UOM varchar2(3);
6159: L_DEST_INV_ITEM_ID number;
6160: L_GET_MAT_IN_REC MSC_ATP_REQ.get_mat_in_rec;
6161: l_get_mat_out_rec MSC_ATP_REQ.get_mat_out_rec;
6162: l_allocation_rule_name varchar2(30);
6163:
6164: l_update_PO_mode NUMBER := MSC_ATP_PVT.UNDO;

Line 6161: l_get_mat_out_rec MSC_ATP_REQ.get_mat_out_rec;

6157: L_UNIT_VOLUME number;
6158: L_VOLUME_UOM varchar2(3);
6159: L_DEST_INV_ITEM_ID number;
6160: L_GET_MAT_IN_REC MSC_ATP_REQ.get_mat_in_rec;
6161: l_get_mat_out_rec MSC_ATP_REQ.get_mat_out_rec;
6162: l_allocation_rule_name varchar2(30);
6163:
6164: l_update_PO_mode NUMBER := MSC_ATP_PVT.UNDO;
6165: l_atp_quantity_this_level_fwd NUMBER;

Line 6213: l_get_comp_info_rec MSC_ATP_REQ.get_comp_info_rec;

6209:
6210: --s_cto_rearch
6211: l_item_sourcing_info_rec MSC_ATP_CTO.Item_Sourcing_Info_Rec;
6212: l_null_item_sourcing_info_rec MSC_ATP_CTO.Item_Sourcing_Info_Rec;
6213: l_get_comp_info_rec MSC_ATP_REQ.get_comp_info_rec;
6214: --l_get_sup_info_rec MSC_ATP_PVT.Supplier_Info_rec;
6215: l_item_info_rec MSC_ATP_PVT.item_attribute_rec;
6216: l_atp_rule_name varchar2(80);
6217: l_enforce_model_lt VARCHAR2(1);

Line 6228: l_mat_atp_info_rec MSC_ATP_REQ.Atp_Info_Rec;

6224: l_pf_stealing_qty NUMBER;
6225: l_sub_qty_before_atf NUMBER;
6226: l_sub_qty_after_atf NUMBER;
6227: l_bucketed_demands_rec MSC_ATP_PF.Bucketed_Demands_Rec;
6228: l_mat_atp_info_rec MSC_ATP_REQ.Atp_Info_Rec;
6229: l_atf_date_qty NUMBER;
6230: l_item_to_use NUMBER;
6231: l_used_available_quantity NUMBER; --bug3409973
6232: l_used_available_quantity_fwd NUMBER; --bug3409973

Line 6241: l_sup_atp_info_rec MSC_ATP_REQ.Atp_Info_Rec;

6237:
6238: l_bkwd_pass_atf_date_qty NUMBER; --bug3397904
6239:
6240: -- variables added for ship_rec_cal
6241: l_sup_atp_info_rec MSC_ATP_REQ.Atp_Info_Rec;
6242: l_sysdate_seq_num NUMBER;
6243: l_sup_cap_type NUMBER;
6244: l_intransit_lt NUMBER;
6245: l_planned_order_date DATE;

Line 6282: l_substitutes_rec MSC_ATP_REQ.get_subs_out_rec;-- 4902658/5216528

6278: -- End ATP4drp
6279:
6280: --bug 4394904
6281: l_infinite_time_fence DATE;
6282: l_substitutes_rec MSC_ATP_REQ.get_subs_out_rec;-- 4902658/5216528
6283: l_temp_net_demand NUMBER; --4902658 temporary variable to get qty during ctp 5216528
6284: l_atp_ctp_qty NUMBER; --4902658 contains atp + ctp qty 5216528
6285: l_tmp_parent_pegging_id NUMBER; --5216528
6286: l_net_demand_qty NUMBER; --5598066

Line 7625: MSC_ATP_REQ.Get_Material_Atp_Info(

7621: l_mat_atp_info_rec.shipping_cal_code := p_atp_record.shipping_cal_code;
7622: -- Bug 3371817 - Pass calendar code to calculate sys_next_date
7623: -- In make case this will actually contain OMC for lower level components
7624:
7625: MSC_ATP_REQ.Get_Material_Atp_Info(
7626: l_mat_atp_info_rec,
7627: l_atp_period,
7628: l_atp_supply_demand,
7629: l_return_status);

Line 8446: MSC_ATP_REQ.Check_Substitutes(

8442: l_substitutes_rec.atf_date_quantity.EXTEND; --5283809
8443: l_substitutes_rec.quantity_ordered.EXTEND;
8444: l_substitutes_rec.pf_item_id.EXTEND;
8445:
8446: MSC_ATP_REQ.Check_Substitutes(
8447: g_atp_record,
8448: p_parent_pegging_id,
8449: g_atp_record.instance_id,
8450: p_scenario_id,

Line 13511: MSC_ATP_REQ.Get_Res_Requirements(

13507: msc_sch_wb.atp_debug('ATP_Check: ' || 'inside make 3');
13508: END IF;
13509:
13510: -- get resource requirements first
13511: MSC_ATP_REQ.Get_Res_Requirements(
13512: p_atp_record.instance_id,
13513: p_plan_id,
13514: p_level+2,
13515: p_scenario_id,

Line 13599: MSC_ATP_REQ.Get_Comp_Requirements(

13595: END IF;
13596: END IF;
13597:
13598:
13599: MSC_ATP_REQ.Get_Comp_Requirements(
13600: p_atp_record.instance_id,
13601: p_plan_id,
13602: p_level+2,
13603: p_scenario_id,

Line 13885: MSC_ATP_REQ.Get_Res_Requirements(

13881: -- check the return status
13882: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
13883: RAISE FND_API.G_EXC_ERROR;
13884: END IF;
13885: MSC_ATP_REQ.Get_Res_Requirements(
13886: p_atp_record.instance_id,
13887: p_plan_id,
13888: p_level+2,
13889: p_scenario_id,

Line 13926: MSC_ATP_REQ.Get_Comp_Requirements(

13922: ((l_atp_comp_flag = 'C' AND nvl(l_avail_assembly_qty,0) <> 0) OR --5283809
13923: (l_atp_comp_flag = 'Y')) THEN
13924: -- get component requirements first
13925: BEGIN
13926: MSC_ATP_REQ.Get_Comp_Requirements(
13927: p_atp_record.instance_id,
13928: p_plan_id,
13929: p_level+2,
13930: p_scenario_id,

Line 14238: MSC_ATP_REQ.Get_Res_Requirements(

14234: -- check the return status
14235: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
14236: RAISE FND_API.G_EXC_ERROR;
14237: END IF;
14238: MSC_ATP_REQ.Get_Res_Requirements(
14239: p_atp_record.instance_id,
14240: p_plan_id,
14241: p_level+2,
14242: p_scenario_id,

Line 14304: MSC_ATP_REQ.Get_Comp_Requirements(

14300: IF PG_DEBUG in ('Y', 'C') THEN
14301: msc_sch_wb.atp_debug('ATP_Check: ' || 'inside atp_comp_flag Y or C');
14302: END IF;
14303: BEGIN
14304: MSC_ATP_REQ.Get_Comp_Requirements(
14305: p_atp_record.instance_id,
14306: p_plan_id,
14307: p_level+2,
14308: p_scenario_id,

Line 15611: MSC_ATP_REQ.Get_Supplier_Atp_Info(

15607: l_sup_atp_info_rec.rep_ord_flag := p_atp_record.rep_ord_flag;
15608: -- Enforce Pur LT - pass last cap date as it has been passed to the ATP_check for supplier case
15609: l_sup_atp_info_rec.last_cap_date := p_atp_record.last_cap_date;
15610:
15611: MSC_ATP_REQ.Get_Supplier_Atp_Info(
15612: l_sup_atp_info_rec,
15613: x_atp_period,
15614: x_atp_supply_demand,
15615: l_return_status);