DBA Data[Home] [Help]

APPS.MSC_ATP_PVT dependencies on MSC_ATP_REQ

Line 6776: L_GET_MAT_IN_REC MSC_ATP_REQ.get_mat_in_rec;

6772: L_WEIGHT_UOM varchar2(3);
6773: L_UNIT_VOLUME number;
6774: L_VOLUME_UOM varchar2(3);
6775: L_DEST_INV_ITEM_ID number;
6776: L_GET_MAT_IN_REC MSC_ATP_REQ.get_mat_in_rec;
6777: l_get_mat_out_rec MSC_ATP_REQ.get_mat_out_rec;
6778: l_allocation_rule_name varchar2(30);
6779:
6780: l_update_PO_mode NUMBER := MSC_ATP_PVT.UNDO;

Line 6777: l_get_mat_out_rec MSC_ATP_REQ.get_mat_out_rec;

6773: L_UNIT_VOLUME number;
6774: L_VOLUME_UOM varchar2(3);
6775: L_DEST_INV_ITEM_ID number;
6776: L_GET_MAT_IN_REC MSC_ATP_REQ.get_mat_in_rec;
6777: l_get_mat_out_rec MSC_ATP_REQ.get_mat_out_rec;
6778: l_allocation_rule_name varchar2(30);
6779:
6780: l_update_PO_mode NUMBER := MSC_ATP_PVT.UNDO;
6781: l_atp_quantity_this_level_fwd NUMBER;

Line 6829: l_get_comp_info_rec MSC_ATP_REQ.get_comp_info_rec;

6825:
6826: --s_cto_rearch
6827: l_item_sourcing_info_rec MSC_ATP_CTO.Item_Sourcing_Info_Rec;
6828: l_null_item_sourcing_info_rec MSC_ATP_CTO.Item_Sourcing_Info_Rec;
6829: l_get_comp_info_rec MSC_ATP_REQ.get_comp_info_rec;
6830: --l_get_sup_info_rec MSC_ATP_PVT.Supplier_Info_rec;
6831: l_item_info_rec MSC_ATP_PVT.item_attribute_rec;
6832: l_atp_rule_name varchar2(80);
6833: l_enforce_model_lt VARCHAR2(1);

Line 6844: l_mat_atp_info_rec MSC_ATP_REQ.Atp_Info_Rec;

6840: l_pf_stealing_qty NUMBER;
6841: l_sub_qty_before_atf NUMBER;
6842: l_sub_qty_after_atf NUMBER;
6843: l_bucketed_demands_rec MSC_ATP_PF.Bucketed_Demands_Rec;
6844: l_mat_atp_info_rec MSC_ATP_REQ.Atp_Info_Rec;
6845: l_atf_date_qty NUMBER;
6846: l_item_to_use NUMBER;
6847: l_used_available_quantity NUMBER; --bug3409973
6848: l_used_available_quantity_fwd NUMBER; --bug3409973

Line 6857: l_sup_atp_info_rec MSC_ATP_REQ.Atp_Info_Rec;

6853:
6854: l_bkwd_pass_atf_date_qty NUMBER; --bug3397904
6855:
6856: -- variables added for ship_rec_cal
6857: l_sup_atp_info_rec MSC_ATP_REQ.Atp_Info_Rec;
6858: l_sysdate_seq_num NUMBER;
6859: l_sup_cap_type NUMBER;
6860: l_intransit_lt NUMBER;
6861: l_planned_order_date DATE;

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

6894: -- End ATP4drp
6895:
6896: --bug 4394904
6897: l_infinite_time_fence DATE;
6898: l_substitutes_rec MSC_ATP_REQ.get_subs_out_rec;-- 4902658/5216528
6899: l_temp_net_demand NUMBER; --4902658 temporary variable to get qty during ctp 5216528
6900: l_atp_ctp_qty NUMBER; --4902658 contains atp + ctp qty 5216528
6901: l_tmp_parent_pegging_id NUMBER; --5216528
6902: l_net_demand_qty NUMBER; --5598066

Line 8259: MSC_ATP_REQ.Get_Material_Atp_Info(

8255: l_mat_atp_info_rec.shipping_cal_code := p_atp_record.shipping_cal_code;
8256: -- Bug 3371817 - Pass calendar code to calculate sys_next_date
8257: -- In make case this will actually contain OMC for lower level components
8258:
8259: MSC_ATP_REQ.Get_Material_Atp_Info(
8260: l_mat_atp_info_rec,
8261: l_atp_period,
8262: l_atp_supply_demand,
8263: l_return_status);

Line 9136: MSC_ATP_REQ.Check_Substitutes(

9132: l_substitutes_rec.atf_date_quantity.EXTEND; --5283809
9133: l_substitutes_rec.quantity_ordered.EXTEND;
9134: l_substitutes_rec.pf_item_id.EXTEND;
9135:
9136: MSC_ATP_REQ.Check_Substitutes(
9137: g_atp_record,
9138: p_parent_pegging_id,
9139: g_atp_record.instance_id,
9140: p_scenario_id,

Line 14343: MSC_ATP_REQ.Get_Res_Requirements(

14339: msc_sch_wb.atp_debug('ATP_Check: ' || 'inside make 3');
14340: END IF;
14341:
14342: -- get resource requirements first
14343: MSC_ATP_REQ.Get_Res_Requirements(
14344: p_atp_record.instance_id,
14345: p_plan_id,
14346: p_level+2,
14347: p_scenario_id,

Line 14435: MSC_ATP_REQ.Get_Comp_Requirements(

14431: END IF;
14432: END IF;
14433:
14434:
14435: MSC_ATP_REQ.Get_Comp_Requirements(
14436: p_atp_record.instance_id,
14437: p_plan_id,
14438: p_level+2,
14439: p_scenario_id,

Line 14725: MSC_ATP_REQ.Get_Res_Requirements(

14721: -- check the return status
14722: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
14723: RAISE FND_API.G_EXC_ERROR;
14724: END IF;
14725: MSC_ATP_REQ.Get_Res_Requirements(
14726: p_atp_record.instance_id,
14727: p_plan_id,
14728: p_level+2,
14729: p_scenario_id,

Line 14766: MSC_ATP_REQ.Get_Comp_Requirements(

14762: ((l_atp_comp_flag = 'C' AND nvl(l_avail_assembly_qty,0) <> 0) OR --5283809
14763: (l_atp_comp_flag = 'Y')) THEN
14764: -- get component requirements first
14765: BEGIN
14766: MSC_ATP_REQ.Get_Comp_Requirements(
14767: p_atp_record.instance_id,
14768: p_plan_id,
14769: p_level+2,
14770: p_scenario_id,

Line 15078: MSC_ATP_REQ.Get_Res_Requirements(

15074: -- check the return status
15075: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
15076: RAISE FND_API.G_EXC_ERROR;
15077: END IF;
15078: MSC_ATP_REQ.Get_Res_Requirements(
15079: p_atp_record.instance_id,
15080: p_plan_id,
15081: p_level+2,
15082: p_scenario_id,

Line 15144: MSC_ATP_REQ.Get_Comp_Requirements(

15140: IF PG_DEBUG in ('Y', 'C') THEN
15141: msc_sch_wb.atp_debug('ATP_Check: ' || 'inside atp_comp_flag Y or C');
15142: END IF;
15143: BEGIN
15144: MSC_ATP_REQ.Get_Comp_Requirements(
15145: p_atp_record.instance_id,
15146: p_plan_id,
15147: p_level+2,
15148: p_scenario_id,

Line 16462: MSC_ATP_REQ.Get_Supplier_Atp_Info(

16458: l_sup_atp_info_rec.rep_ord_flag := p_atp_record.rep_ord_flag;
16459: -- Enforce Pur LT - pass last cap date as it has been passed to the ATP_check for supplier case
16460: l_sup_atp_info_rec.last_cap_date := p_atp_record.last_cap_date;
16461:
16462: MSC_ATP_REQ.Get_Supplier_Atp_Info(
16463: l_sup_atp_info_rec,
16464: x_atp_period,
16465: x_atp_supply_demand,
16466: l_return_status);