Search Results msd_dp_hierarchies
Overview
MSD_DP_HIERARCHIES is a Demand Planning table owned by the MSD schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores the associations between a Demand Plan and the hierarchies defined for that plan, allowing a single Demand Plan to be analyzed through multiple dimensional rollups (for example, product, customer, and geography hierarchies). Each row represents one Demand Plan to hierarchy pairing and carries audit and program-context columns inherited from the standard EBS concurrent-manager conventions.
From a Data Vault modeling perspective, the mined foreign-key structure classifies this table as satellite-leaning. In practice it functions as an association or link-style table positioned between a Demand Plan hub and a hierarchy hub, with descriptive attributes such as dimension code and enablement flags. The classification is a heuristic suggestion, not a normative EBS designation.
Key Information Stored
The documented physical schema lists 15 columns. The most significant are:
- DEMAND_PLAN_ID — identifies the Demand Plan to which the hierarchy assignment belongs; part of the composite primary key.
- HIERARCHY_ID — identifies the specific hierarchy attached to the plan; the other half of the composite primary key and the target of the documented foreign key.
- DP_DIMENSION_CODE — the Demand Planning dimension the hierarchy represents (e.g., product, customer, geography).
- DELETEABLE_FLAG — indicates whether the hierarchy association can be removed by the user.
- ENABLE_NONSEED_FLAG — controls whether non-seed (user-defined) hierarchy members are enabled for the plan.
- ZD_EDITION_NAME — the editioning column used under EBS online patching, which supports Edition-Based Redefinition for zero-downtime upgrades.
- Audit columns CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN track record provenance.
- Concurrent-manager columns REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, and PROGRAM_UPDATE_DATE link the row to the concurrent program that created or last modified it.
The surrogate primary key is MSD_DP_HIERARCHIES_PK, defined on (DEMAND_PLAN_ID, HIERARCHY_ID). A unique index, MSD_DP_HIERARCHIES_U1, adds ZD_EDITION_NAME to that pair, making it the business-key candidate under editioning.
Common Use Cases and Queries
Typical scenarios include identifying which hierarchies are enabled for a given Demand Plan, listing plans that share a particular hierarchy, and validating dimension coverage before running a demand plan. A representative query to list hierarchies for a plan follows:
- SELECT dph.DEMAND_PLAN_ID, dph.HIERARCHY_ID, dph.DP_DIMENSION_CODE, dph.ENABLE_NONSEED_FLAG FROM MSD.MSD_DP_HIERARCHIES dph WHERE dph.DEMAND_PLAN_ID = :plan_id AND dph.ZD_EDITION_NAME = 'ORA$BASE';
- To find all plans using a hierarchy: SELECT dph.DEMAND_PLAN_ID FROM MSD.MSD_DP_HIERARCHIES dph WHERE dph.HIERARCHY_ID = :hierarchy_id;
- To audit recent changes: filter on LAST_UPDATE_DATE and join REQUEST_ID to FND_CONCURRENT_REQUESTS for program context.
These queries are common in custom demand planning reports, migration validation scripts, and troubleshooting of empty or misconfigured plans, where a missing row for an expected dimension explains failed forecast generation.
Related Objects
The documented foreign key shows MSD_DP_HIERARCHIES.HIERARCHY_ID referencing the hierarchy definition table (the source of HIERARCHY_ID). The Demand Plan identifier, DEMAND_PLAN_ID, is the companion key from the demand plan header. Related objects typically include:
- MSD_DP_HIERARCHIES referenced via HIERARCHY_ID from the hierarchy master table (e.g., the MSD hierarchy definition object).
- Demand Plan header table joined on DEMAND_PLAN_ID.
- FND_CONCURRENT_REQUESTS joined on REQUEST_ID for program execution context.
- FND_APPLICATION / FND_PROGRAM joined on PROGRAM_APPLICATION_ID and PROGRAM_ID.
- MSD_DP_* companion demand planning objects (dimensions, plan members) that consume the hierarchy assignment.
Because only one explicit foreign key is documented, additional dependencies should be confirmed against the live data dictionary in the target environment.
-
Table: MSD_DP_HIERARCHIES
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_DP_HIERARCHIES, object_name:MSD_DP_HIERARCHIES, status:VALID, product: MSD - Demand Planning , description: This table stores the various hierarchies that are associated to the Demand Plan. , implementation_dba_data: MSD.MSD_DP_HIERARCHIES ,
-
Table: MSD_DP_HIERARCHIES
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_DP_HIERARCHIES, object_name:MSD_DP_HIERARCHIES, status:VALID, product: MSD - Demand Planning , description: This table stores the various hierarchies that are associated to the Demand Plan. , implementation_dba_data: MSD.MSD_DP_HIERARCHIES ,
-
VIEW: MSD.MSD_DP_HIERARCHIES#
12.2.2
owner:MSD, object_type:VIEW, object_name:MSD_DP_HIERARCHIES#, status:VALID,
-
APPS.MSD_DP_HIERARCHY_PKG SQL Statements
12.1.1
-
APPS.MSD_DP_HIERARCHY_PKG SQL Statements
12.2.2
-
SYNONYM: APPS.MSD_DP_HIERARCHIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSD_DP_HIERARCHIES, status:VALID,
-
VIEW: MSD.MSD_DP_HIERARCHIES#
12.2.2
-
TRIGGER: APPS.MSD_DP_HIERARCHIES+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:MSD_DP_HIERARCHIES+, status:VALID,
-
SYNONYM: APPS.MSD_DP_HIERARCHIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSD_DP_HIERARCHIES, status:VALID,
-
TRIGGER: APPS.MSD_DP_HIERARCHIES+
12.2.2
-
PACKAGE BODY: APPS.MSD_DP_HIERARCHY_PKG
12.1.1
-
VIEW: APPS.MSD_DP_HIERARCHIES_V
12.2.2
-
PACKAGE BODY: APPS.MSD_DP_HIERARCHY_PKG
12.2.2
-
VIEW: APPS.MSD_DP_HIERARCHIES_V
12.1.1
-
FUNCTION: APPS.MSD_DP_HIERARCHIES=
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
TABLE: MSD.MSD_DP_HIERARCHIES
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_DP_HIERARCHIES, object_name:MSD_DP_HIERARCHIES, status:VALID,
-
PACKAGE BODY: APPS.MSD_DP_HIERARCHY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DP_HIERARCHY_PKG, status:VALID,
-
FUNCTION: APPS.MSD_DP_HIERARCHIES=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:MSD_DP_HIERARCHIES=, status:VALID,
-
TABLE: MSD.MSD_DP_HIERARCHIES
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_DP_HIERARCHIES, object_name:MSD_DP_HIERARCHIES, status:VALID,
-
PACKAGE BODY: APPS.MSD_DP_HIERARCHY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DP_HIERARCHY_PKG, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE BODY: APPS.MSD_DELETE_DEMAND_PLAN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DELETE_DEMAND_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSD_DELETE_DEMAND_PLAN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DELETE_DEMAND_PLAN, status:VALID,
-
View: MSD_DP_HIERARCHIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_DP_HIERARCHIES_V, object_name:MSD_DP_HIERARCHIES_V, status:VALID, product: MSD - Demand Planning , description: This view stores the Demand Plan Hierarchies Association. , implementation_dba_data: APPS.MSD_DP_HIERARCHIES_V ,
-
PACKAGE BODY: APPS.MSD_COPY_DEMAND_PLAN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COPY_DEMAND_PLAN, status:VALID,
-
View: MSD_DP_HIERARCHIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_DP_HIERARCHIES_V, object_name:MSD_DP_HIERARCHIES_V, status:VALID, product: MSD - Demand Planning , description: This view stores the Demand Plan Hierarchies Association. , implementation_dba_data: APPS.MSD_DP_HIERARCHIES_V ,
-
PACKAGE BODY: APPS.MSD_COPY_DEMAND_PLAN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COPY_DEMAND_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSD_LIABILITY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_LIABILITY, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.MSD_APPLY_TEMPLATE_DEMAND_PLAN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_APPLY_TEMPLATE_DEMAND_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSD_APPLY_TEMPLATE_DEMAND_PLAN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_APPLY_TEMPLATE_DEMAND_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSD_LIABILITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_LIABILITY, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.MSD_DELETE_DEMAND_PLAN SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.MSD_DELETE_DEMAND_PLAN SQL Statements
12.2.2
-
VIEW: APPS.MSD_DP_HIERARCHIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_DP_HIERARCHIES_V, object_name:MSD_DP_HIERARCHIES_V, status:VALID,
-
VIEW: APPS.MSD_DP_HIERARCHIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_DP_HIERARCHIES_V, object_name:MSD_DP_HIERARCHIES_V, status:VALID,
-
PACKAGE BODY: APPS.MSD_DELETE_DEMAND_PLAN
12.1.1
-
PACKAGE BODY: APPS.MSD_DELETE_DEMAND_PLAN
12.2.2
-
APPS.MSD_APPLY_TEMPLATE_DEMAND_PLAN SQL Statements
12.2.2
-
APPS.MSD_APPLY_TEMPLATE_DEMAND_PLAN SQL Statements
12.1.1