Search Results msd_dp_scenarios
Overview
MSD_DP_SCENARIOS is a Demand Planning table owned by the MSD schema in Oracle E-Business Suite. It defines the forecast scenarios that may be generated from a given demand plan. Each row describes a scenario specification — its output period type, horizon window, history range, and the flags that govern whether the scenario is published, enabled, or consumed — associated with a parent demand plan. A scenario defined here is a specification only; for the scenario to actually be generated by the Oracle Express engine, a corresponding instance must also exist in the Demand Plan Parameters table. The table is therefore a definitional control point sitting between demand plan setup and scenario execution.
Under a heuristic Data Vault classification derived from its foreign key topology, MSD_DP_SCENARIOS is satellite-leaning. It carries descriptive, time-variant attributes about scenarios that hang off the MSD_DEMAND_PLANS hub, rather than acting as a pure hub or a many-to-many link. This classification is a modeling suggestion only, inferred from the single inbound foreign key to MSD_DEMAND_PLANS, and should be validated against actual usage and update patterns before being relied upon for data vault design.
Key Information Stored
The table's surrogate primary key is SCENARIO_ID, enforced through the MSD_DP_SCENARIOS_PK constraint. A second unique index, MSD_DP_SCENARIOS_U1, is defined on (SCENARIO_ID, ZD_EDITION_NAME), which reflects the edition-aware multi-tenant storage model in Oracle Demand Planning. The foreign key DEMAND_PLAN_ID to MSD_DEMAND_PLANS establishes the business association linking each scenario to its owning plan.
- DEMAND_PLAN_ID — foreign key identifying the demand plan from which the scenario is generated.
- SCENARIO_ID — surrogate primary key (also part of the unique index with ZD_EDITION_NAME).
- SCENARIO_NAME and DESCRIPTION — user-facing identity of the scenario.
- SCENARIO_TYPE and SC_TYPE — classify the scenario's behavior.
- OUTPUT_PERIOD_TYPE — granularity (e.g., weekly, monthly) at which results are produced.
- HORIZON_START_DATE / HORIZON_END_DATE — the forecast horizon window.
- HISTORY_START_DATE / HISTORY_END_DATE — the historical data window.
- FORECAST_DATE_USED and FORECAST_BASED_ON — control the forecast origin and derivation.
- PUBLISH_FLAG, ENABLE_FLAG, CONSUME_FLAG, DELETEABLE_FLAG — lifecycle and state controls.
- PARAMETER_NAME — links the specification to its parameter instance.
- STATUS and LAST_REVISION — current state and version tracking.
Common Use Cases and Queries
Typical reporting and administration use involves enumerating scenarios for a plan, filtering active or published scenarios, and auditing horizon and history settings. A representative query joins back to the parent plan:
- List all scenarios for a specific plan:
SELECT s.SCENARIO_ID, s.SCENARIO_NAME, s.STATUS FROM MSD_DP_SCENARIOS s WHERE s.DEMAND_PLAN_ID = :plan_id. - Retrieve enabled, publishable scenarios: filter on
ENABLE_FLAG = 'Y' AND PUBLISH_FLAG = 'Y'. - Audit horizon coverage: select
HORIZON_START_DATE, HORIZON_END_DATE, OUTPUT_PERIOD_TYPEordered by start date. - Identify scenarios that reference supply plans via
SUPPLY_PLAN_IDorSUPPLY_PLAN_NAMEfor reconciliation reporting. - Trace concurrency control using
REQUEST_ID,PROGRAM_ID, andLAST_UPDATE_DATEto determine which concurrent program last modified a scenario.
Related Objects
The most significant related objects are those connected through the documented foreign key and the Demand Planning schema family.
- MSD_DEMAND_PLANS — parent table; joined via
MSD_DP_SCENARIOS.DEMAND_PLAN_ID = MSD_DEMAND_PLANS.DEMAND_PLAN_ID. This is the sole documented foreign key. - Demand Plan Parameters table — required companion instance enabling actual scenario generation by Oracle Express.
- MSD_DP_SCENARIOS_PK / MSD_DP_SCENARIOS_U1 — the primary key and unique index constraints enforcing identity and edition uniqueness.
Because the metadata documents only one outbound foreign key, additional dependent views, concurrent programs, and server-side APIs should be confirmed against the specific EBS release (12.1.1 or 12.2.2) before being treated as authoritative dependencies.
-
Table: MSD_DP_SCENARIOS
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_DP_SCENARIOS, object_name:MSD_DP_SCENARIOS, status:VALID, product: MSD - Demand Planning , description: This table specifies the Scenarios to be generated from a particular Demand Plan. [To actually generate this scenario from Oracle Express, an instance of this scenario needs to be created in the Demand Plan Parameters table]. , implementation_dba_data: MSD.MSD_DP_SCENARIOS ,
-
Table: MSD_DP_SCENARIOS
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_DP_SCENARIOS, object_name:MSD_DP_SCENARIOS, status:VALID, product: MSD - Demand Planning , description: This table specifies the Scenarios to be generated from a particular Demand Plan. [To actually generate this scenario from Oracle Express, an instance of this scenario needs to be created in the Demand Plan Parameters table]. , implementation_dba_data: MSD.MSD_DP_SCENARIOS ,
-
APPS.MSD_WS_DEM_RENAME_FORECAST SQL Statements
12.1.1
-
APPS.MSD_ROLL_DEMAND_PLAN SQL Statements
12.1.1
-
APPS.MSC_CL_COPY_DP_FORECAST SQL Statements
12.2.2
-
APPS.MSD_WS_DEM_RENAME_FORECAST SQL Statements
12.2.2
-
APPS.MSD_DP_SCENARIO_PKG SQL Statements
12.1.1
-
VIEW: APPS.MSD_DP_SCN_REVISIONS_V
12.2.2
-
VIEW: APPS.MSD_DP_SCN_REVISIONS_LB_V
12.1.1
-
APPS.MSD_ROLL_DEMAND_PLAN SQL Statements
12.2.2
-
TRIGGER: APPS.MSD_DP_SCENARIOS+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:MSD_DP_SCENARIOS+, status:VALID,
-
VIEW: APPS.MSD_DP_SCN_REVISIONS_V
12.1.1
-
TRIGGER: APPS.MSD_DP_SCENARIOS+
12.2.2
-
VIEW: APPS.MSD_DP_SCN_REVISIONS_LB_V
12.2.2
-
VIEW: MSD.MSD_DP_SCENARIOS#
12.2.2
owner:MSD, object_type:VIEW, object_name:MSD_DP_SCENARIOS#, status:VALID,
-
VIEW: APPS.MSD_DP_ASCP_SCENARIOS_V
12.2.2
-
APPS.MSD_ASCP_FLOW SQL Statements
12.1.1
-
APPS.MSD_DP_SCENARIO_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSD_ROLL_DEMAND_PLAN
12.1.1
-
VIEW: APPS.MSD_LB_PREV_LIAB_CS_V
12.2.2
-
VIEW: APPS.MSD_DP_DEFAULT_SCENARIO_V
12.1.1
-
APPS.MSD_ASCP_FLOW SQL Statements
12.2.2
-
VIEW: APPS.MSD_DP_SCE_SCENARIOS_V
12.1.1
-
VIEW: APPS.MSD_DP_ASCP_SCENARIOS_V
12.1.1
-
VIEW: APPS.MSD_DP_SCE_SCN_ENTRIES_V
12.1.1
-
VIEW: APPS.MSD_DP_SCENARIOS_CS_V
12.1.1
-
VIEW: APPS.MSD_DP_DEFAULT_SCENARIO_V
12.2.2
-
VIEW: APPS.MSD_LB_PREV_LIAB_CS_V
12.1.1
-
VIEW: APPS.MSD_PREVIOUS_LIAB_CS_V
12.2.2
-
MATERIALIZED VIEW: APPS.MSD_DEM_SCN_ENTRIES_MV
12.1.1
owner:APPS, object_type:MATERIALIZED VIEW, object_name:MSD_DEM_SCN_ENTRIES_MV, status:VALID,
-
PACKAGE BODY: APPS.MSD_ROLL_DEMAND_PLAN
12.2.2
-
SYNONYM: APPS.MSD_DP_SCENARIOS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSD_DP_SCENARIOS, status:VALID,
-
SYNONYM: APPS.MSD_DP_SCENARIOS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSD_DP_SCENARIOS, status:VALID,
-
VIEW: APPS.MSD_DP_SCENARIOS_V
12.2.2
-
VIEW: APPS.MSD_DP_SCENARIOS_CS_V
12.2.2
-
FUNCTION: APPS.MSD_DP_SCENARIOS=
12.2.2
-
VIEW: APPS.MSD_DP_SCENARIOS_V
12.1.1
-
VIEW: APPS.MSD_DP_SCENARIOS_VL
12.1.1
-
VIEW: APPS.MSD_PREVIOUS_LIAB_DS_V
12.1.1
-
VIEW: APPS.MSD_PREVIOUS_LIAB_CS_V
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
Table: MSD_DEMAND_PLANS
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_DEMAND_PLANS, object_name:MSD_DEMAND_PLANS, status:VALID, product: MSD - Demand Planning , description: Demand Plan definition. , implementation_dba_data: MSD.MSD_DEMAND_PLANS ,
-
PACKAGE BODY: APPS.MSD_DP_SCENARIO_PKG
12.1.1
-
VIEW: APPS.MSD_PREVIOUS_LIAB_DS_V
12.2.2
-
VIEW: APPS.MSD_DP_SCE_SCENARIOS_V
12.2.2
-
FUNCTION: APPS.MSD_DP_SCENARIOS=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:MSD_DP_SCENARIOS=, status:VALID,
-
Table: MSD_DEMAND_PLANS
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_DEMAND_PLANS, object_name:MSD_DEMAND_PLANS, status:VALID, product: MSD - Demand Planning , description: Demand Plan definition. , implementation_dba_data: MSD.MSD_DEMAND_PLANS ,
-
VIEW: APPS.MSD_DP_SCENARIOS_VL
12.2.2
-
PACKAGE BODY: APPS.MSD_FCST_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_FCST_PUB, status:VALID,