DBA Data[Home] [Help]

APPS.MSC_ATP_SUBST dependencies on MSC_ATP_FUNC

Line 837: l_sys_date_top_org := NVL(MSC_ATP_FUNC.prev_work_day(p_atp_record.organization_id,

833: ELSE
834: l_create_supply_on_orig_item := 1;
835: END IF;
836:
837: l_sys_date_top_org := NVL(MSC_ATP_FUNC.prev_work_day(p_atp_record.organization_id,
838: p_atp_record.instance_id,
839: sysdate), sysdate);
840: IF PG_DEBUG in ('Y', 'C') THEN
841: msc_sch_wb.atp_debug('ATP_Check_Subst: ' || 'l_sys_date_top_org := ' ||l_sys_date_top_org);

Line 1018: l_org_code := MSC_ATP_FUNC.get_org_code(p_atp_record.instance_id,

1014: END IF;
1015: org_availability_info.plan_id(l_process_org_cntr) := l_plan_id;
1016: org_availability_info.assign_set_id(l_process_org_cntr) := l_assign_set_id;
1017:
1018: l_org_code := MSC_ATP_FUNC.get_org_code(p_atp_record.instance_id,
1019: org_availability_info.organization_id(l_process_org_cntr));
1020: IF PG_DEBUG in ('Y', 'C') THEN
1021: msc_sch_wb.atp_debug('ATP_Check_Subst: ' || 'l_org_code := ' || l_org_code);
1022: END IF;

Line 1198: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_FUNC.check_alloc_exists(p_atp_record.instance_id,

1194: IF PG_DEBUG in ('Y', 'C') THEN
1195: msc_sch_wb.atp_debug('ATP_Check_Subst: ' || 'G_HYBRID_ALLOC_ATP is Y');
1196: END IF;
1197:
1198: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_FUNC.check_alloc_exists(p_atp_record.instance_id,
1199: -1, --PLAN_ID
1200: item_availability_info.sr_inventory_item_id(l_item_cntr),
1201: org_availability_info.organization_id(l_process_org_cntr),
1202: nvl(l_requested_ship_date,trunc(sysdate)));

Line 1468: l_org_code := MSC_ATP_FUNC.get_org_code(p_atp_record.instance_id,

1464: -- for performance reason, we call these function here and
1465: -- then populate the pegging tree with the values
1466:
1467:
1468: l_org_code := MSC_ATP_FUNC.get_org_code(p_atp_record.instance_id,
1469: p_atp_record.organization_id);
1470:
1471:
1472: IF l_process_org_cntr = 1 THEN

Line 2326: l_pegging_rec.organization_code := MSC_ATP_FUNC.get_org_code(

2322:
2323: MSC_ATP_PVT.G_demand_pegging_id := org_availability_info.demand_pegging_id(1);
2324: l_pegging_rec.organization_id :=
2325: org_availability_info.organization_id(l_parent_org_cntr);
2326: l_pegging_rec.organization_code := MSC_ATP_FUNC.get_org_code(
2327: p_atp_record.instance_id,
2328: l_sources.organization_id(i));
2329:
2330: l_pegging_rec.Postprocessing_lead_time := org_availability_info.post_pro_lt(l_parent_org_cntr);

Line 3441: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_FUNC.check_alloc_exists(p_atp_record.instance_id,

3437: IF PG_DEBUG in ('Y', 'C') THEN
3438: msc_sch_wb.atp_debug('ATP_Check_Subst: ' || 'G_HYBRID_ALLOC_ATP is Y');
3439: END IF;
3440:
3441: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_FUNC.check_alloc_exists(p_atp_record.instance_id,
3442: -1, --PLAN_ID
3443: l_item_ctp_info.sr_inventory_item_id(i),
3444: p_atp_record.organization_id,
3445: nvl(l_requested_ship_date,trunc(sysdate)));

Line 3925: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_FUNC.check_alloc_exists(p_atp_record.instance_id,

3921: IF PG_DEBUG in ('Y', 'C') THEN
3922: msc_sch_wb.atp_debug('ATP_Check_Subst: ' || 'G_HYBRID_ALLOC_ATP is Y');
3923: END IF;
3924:
3925: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_FUNC.check_alloc_exists(p_atp_record.instance_id,
3926: -1, --PLAN_ID
3927: item_availability_info.sr_inventory_item_id(i),
3928: p_atp_record.organization_id,
3929: nvl(l_requested_ship_date,trunc(sysdate)));

Line 4285: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_FUNC.check_alloc_exists(p_atp_record.instance_id,

4281: IF PG_DEBUG in ('Y', 'C') THEN
4282: msc_sch_wb.atp_debug('ATP_Check_Subst: ' || 'G_HYBRID_ALLOC_ATP is Y');
4283: END IF;
4284:
4285: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_FUNC.check_alloc_exists(p_atp_record.instance_id,
4286: -1, --PLAN_ID
4287: l_item_ctp_info.sr_inventory_item_id(i),
4288: p_atp_record.organization_id,
4289: nvl(l_requested_ship_date,trunc(sysdate)));