You are on page 1of 8

Copyright (c) 2024, Oracle. All rights reserved. Oracle Confidential.

MDS, Forecast, SO to ASCP Data Flow Diagnostics (Doc ID 421787.1)

In this Document

Purpose
Troubleshooting Steps
Data Flow Diagram
Data Flow Description
Functional Overview of Setups
Diagnostic Scripts
Table of Documents
References

APPLIES TO:

Oracle Advanced Supply Chain Planning - Version 11.5.7 to 11.5.10.2 [Release 11.5]
Oracle Materials Requirement Planning - Version 11.5.7 to 11.5.10.2 [Release 11.5]
Information in this document applies to any platform.
Materials Requirement Planning - Version: 11.5.7 to 11.5.10.2

PURPOSE

The purpose of this document is to provide an overview of the Data Flow and Setups along with some diagnostics
regarding Forecasts with or without Sales Order consumption through to ASCP Planning.

TROUBLESHOOTING STEPS

Data Flow Diagram


Data Flow Description

< in progress >

Functional Overview of Setups

There are a few options to loading EBS forecasts, MDS, and Sales Orders to an ASCP Plan

Run ASCP Plan

Option 1
a. with Unconsumed EBS Forecast only
b. no sales orders

Option 2
a. no forecast
b. with EBS Sales Orders only

Option 3
a. with Consumed EBS Forecast only
b. no sales orders

requires use of an MDS

Option 4
a. with Consumed EBS Forecast
b. with EBS Sales Orders

requires use of an MDS

Option 5
a. with Unconsumed EBS Forecast
b. with EBS Sales Orders

in-line consumption during snapshot of ASCP Plan run

Option 6
-- with DP Scenario
-- < covered in different note >

Option 7
-- with Global DP Forecast
-- < covered in different note >

Option 8
-- with Demand Management forecast
-- < covered in different note >

Detailed Options settings

Option 1

Run ASCP Plan on Unconsumed Forecast Only.

-- no consumption, with forecast, no sales orders, no MDS


=========
Source

Forecast Set form > Advanced Planning Collections -- checked.


Backward/Forward Consumptions -- not required.
No Source EBS Forecast Consumption enabled.
MRP:Consume Forecast -- disabled.
No planning manager requirement.
No MDS.

Destination

"Include Sales Orders" ASCP Plan option = No


Demand Schedule : EBS Forecast Set (that includes the forecast)

-- That would run the ASCP Plan on unconsumed source forecast.

Option 2

-- Run ASCP Plan Sales Orders only

-- no consumption, no forecast, with sales orders, no MDS


=========
Source
No Source EBS Forecast as Demand Schedule.
No Source EBS Forecast Consumption enabled.
No planning manager requirement.
MRP:Consume Forecast -- disabled.

Planning

"Include Sales Orders" ASCP Plan option = Yes

-- That would run the ASCP Plan on only Sales Orders.

Option 3

Run ASCP Plan on Consumed Forecast Only.

-- with consumption, with forecast, no sales orders, with MDS


-- Consumed by Planning Manager in EBS

=========
Source Forecast Consumed by Planning Manager
Forecast Set form > Advanced Planning Collections -- checked
Backward/Forward Consumption -- set as required.
MRP:Consume Forecast -- enabled.
Consumption by Planning Manager in source

Current Quantity Forecast loaded into MDS

Planning

Source MDS as Demand Schedule


"Include Sales Orders" ASCP Plan option = No

-- That would run the ASCP Plan on the Consumed Forecast


that was loaded into the MDS which is subsequently used
as the Demand Schedule for the plan with No Sales Orders
consider during the plan.

-- This is assuming that Sales Orders do not need planned,


which is not a common setup.

Option 4

-- Run ASCP Plan on source consumed forecast w/sales orders


-- with consumption in source
-- with MDS
=========
Source Forecast Consumed by Planning Manager

Forecast Set form > Advanced Planning Collections -- not required

-- because we don't require the forecast,


-- it's entries have been added to our MDS

-- if we include the MDS and Forecast when we loaded


-- the forecast into the MDS, we'd double the demand
-- and thats not good.

Forecast Set > Backward/Forward days -- set as required.


Profile MRP:Consume Forecast -- enabled.
Consumption by Planning Manager in EBS
Load MDS

Current Quantity Forecast loaded into MDS


Sales Orders loaded into MDS

Data Collect MDS


-- no need to collect forecast
-- still have to collect sales orders ( i think ... ??? )
-- because they are loaded to msc_sales_orders
-- in addition to mds entries in msc_demands

Source MDS as Demand Schedule


"Include Sales Orders" ASCP Plan option = No

-- That would run the ASCP Plan on the Consumed Forecast


and Sales Orders that were both loaded to the MDS which
is subsequently used as the Demand Schedule for the plan.

Option 5

-- Run ASCP Plan on Unconsumed forecast w/Sales Orders


-- with consumption in ASCP
-- with consumption, with forecast, with sales orders, no MDS
=========
Unconsumed Source Forecast as Demand Schedule.
Forecast Set form > Advanced Planning Collections -- checked.

Forecast Set > Backward/Forward days -- set as required.


Source Profile MRP:Consume Forecast -- disabled.

No requirement for planning manager in EBS

No MDS

"Include Sales Orders" ASCP Plan option = Yes

-- That would run the ASCP Plan on the unconsumed Forecast


and Sales Orders where the ASCP Plan will consume the
forecast during the snapshot phase.

-- Consumption results available by Right Click on Workbench


Forecast Demand record.

Setups to document further:

On Source EBS Applications:


-----------------------------------------
MRP: Consume Forecast

MRP: Consume Forecast Set Summary

MRP: Old Sales Order Cutoff Days

MRP: Perform Planning Manager functions in loads

Forecast Set Definition


-- Consume checkbox

-- Backward/Forward Consumption Days

-- Advanced Planning Collections checkbox


MRP Parameter > Include MDS Days

Load/Copy/Merge MDS

Planning Manager

On Destination APS Planning Applications:


-----------------------------------------
ASCP Data Collections
-- Forecast
-- Sales Orders
-- MDS

MSC:Sales Order Offset Days

MSC: Prefer Consumption within Forecast Bucket

MSC:Consume Forecast Inside Demand Time Fence

MSC:Consume forecast with no demand class

ASCP Parameter > Include MDS Days

ASCP Plan Option > Backward/Forward Days

ASCP Plan Option > Include Sales Orders

ASCP Plan Option > Include Past Due Forecast


-- used only with DP Scenario

ASCP Plan Option > Demand Schedule


-- Forecast Set
-- MDS

Diagnostic Scripts

[--a. get the Forecast Information from Source ERP


select
forecast_designator,
organization_id,
foreward_update_time_fence,
backward_update_time_fence,
bucket_type
from mrp_forecast_designators
where forecast_designator = '&FcastName'

--b. Get the Items ID from Inventory


-- for a specific org
select inventory_item_id, organization_id, segment1
from mtl_system_items
where segment1 = '&ItemName'
and organization_id = &OrgID

--c. Get the Forecast Dates information from Source ERP


-- for a specific item and date
select
forecast_designator,
bucket_type,
transaction_id,
mfd.inventory_item_id,
mfd.organization_id,
msi.segment1,
to_char(forecast_date,'DD-MON-RR'),
original_forecast_quantity,
current_forecast_quantity
from mrp_forecast_dates mfd, mtl_system_items msi
where forecast_designator='&FcastName'
and msi.inventory_item_id = mfd.inventory_item_id
and msi.organization_id = mfd.organization_id
and msi.segment1 = '&ItemName'
and to_date(forecast_date,'DD-MON-RR') = to_date('&FcastDate','DD-MON-RR')
order by to_char(forecast_date,'DD-MON-RR') desc
--d. Get the Forecast Definition Info from Destination APS
select
designator_id,
designator,
organization_id,
sr_instance_id,
designator_type,
forward_update_time_fence,
backward_update_time_fence,
bucket_type
from msc_designators
where designator = '&FcastName'
and designator_type = 6

--e. Get Plan names and Plan ID's


select plan_id, compile_designator, sr_instance_id
from msc_plans
order by 3,2

--f. Get the Forecast Dates info from Destination APS


-- for a specific item and date and instance and org
-- Use this Query for Both ODS and PDS Data
-- by enteing -1 for Plan ID for ODS
-- and entering the Actual Plan ID from the Script above for PDS
select
md.plan_id,
md.organization_id,
md.inventory_item_id,
md.demand_id,
md.schedule_designator_id,
md.using_requirement_quantity,
to_char(md.using_assembly_demand_date,'DD-MON-RR'),
md.demand_type,
md.origination_type,
md.disposition_id,
md.using_assembly_item_id
from msc_demands md, msc_designators desig, msc_system_items msi
where md.forecast_set_id is not null
and md.schedule_designator_id = desig.designator_id --1154
and desig.designator = '&FcastName'
and msi.item_name = '&ItemName'
and md.plan_id = &PlanID -- Enter -1 for ODS Data and Plan ID for Plan Data
and md.sr_instance_id = &InstID
and desig.designator_type = 6
and msi.inventory_item_id = md.inventory_item_id
and msi.organization_id = md.organization_id
and msi.plan_id = md.plan_id
and msi.sr_instance_id = md.sr_instance_id
and to_date(md.using_assembly_demand_date,'DD-MON-RR') = to_date('&FcastDate','DD-MON-RR')
order by to_char(md.using_assembly_demand_date,'DD-MON-RR') desc

--g. Get the Forecast Update Consumption Record


select mfu.*
from
msc_forecast_updates mfu,
msc_demands md,
msc_designators desig,
msc_system_items msi
where md.forecast_set_id is not null
and mfu.forecast_demand_id = md.demand_id
and md.schedule_designator_id = desig.designator_id --1154
and desig.designator = '&FcastName'
and msi.item_name = '&ItemName'
and md.plan_id = &PlanID
and md.sr_instance_id = &InstID
and desig.designator_type = 6
and mfu.plan_id = md.plan_id
and mfu.sr_instance_id = md.sr_instance_id
and msi.inventory_item_id = md.inventory_item_id
and msi.organization_id = md.organization_id
and msi.plan_id = md.plan_id
and msi.sr_instance_id = md.sr_instance_id
and to_date(md.using_assembly_demand_date,'DD-MON-RR') = to_date('&FcastDate','DD-MON-RR')
]

Table of Documents

Document No Product Category Title/Description


Note 111643.1 MRP Planning Manager Planning Manager Technical Workshop
Note 414544.1 MRP Sales Orders Sales Orders to MRP Data Flow Diagram
Note 412375.1 ASCP Collections Sales Orders to ASCP Data Flow Diagram

end of doc.

REFERENCES
NOTE:111643.1 - Planning Manager Technical Workshop
NOTE:414544.1 - Sales Orders to MRP Data Flow Diagram
Didn't find what you are looking for?

You might also like