Search Results msd_level_associations
Overview
MSD_LEVEL_ASSOCIATIONS is a Demand Planning configuration table owned by the MSD schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores the hierarchical association information that links levels to their parent levels within the Demand Planning (MSD) module. Levels in Demand Planning represent the organizational and planning dimensions — such as product, customer, and channel hierarchies — over which forecasts, historical demand, and aggregate plans are computed. By persisting the parent-child relationship between levels, this table defines how planning data rolls up and how dimensional hierarchies are navigated during a planning run.
In terms of Data Vault modeling heuristics, the FK structure classifies this table as a standalone object. Its single foreign key reference to MSD_LEVELS suggests it acts as a link-style construct connecting two level records (a level and its parent). From an EBS architecture perspective, it is an operational configuration table rather than a transactional fact table: it defines metadata that downstream planning engines interpret when aggregating and disaggregating forecast data.
Key Information Stored
The table contains 23 documented columns. The most significant are the level identifiers and their surrogate primary keys:
- INSTANCE — Identifies the Demand Planning instance or partition to which the association belongs.
- LEVEL_ID — The business identifier of the level record; foreign key to MSD_LEVELS.
- SR_LEVEL_PK — Surrogate key for the level side of the association.
- PARENT_LEVEL_ID — The business identifier of the parent level.
- SR_PARENT_LEVEL_PK — Surrogate key for the parent level, forming the reciprocal side of the relationship.
- DP_ENABLED_FLAG — Indicates whether the level association is active for Demand Planning processing.
- ACTION_CODE — Captures the action applied to the association, supporting refresh and change-tracking logic.
- LAST_REFRESH_NUM and CREATED_BY_REFRESH_NUM — Refresh counters used to synchronize hierarchy changes across planning runs.
- REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE — Concurrent program request context identifying the job that created or updated the record.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN — Standard EBS who-columns for audit purposes.
- ATTRIBUTE1 through ATTRIBUTE5 — Descriptive flexfield segments for extensibility.
The unique index MSD_LEVEL_ASSOCIATIONS_U1 spans INSTANCE, LEVEL_ID, SR_LEVEL_PK, PARENT_LEVEL_ID, and SR_PARENT_LEVEL_PK. This composite is the business-key candidate, ensuring a level-to-parent association is uniquely defined within an instance. There is no separate single-column surrogate primary key documented; the composite uniqueness constraint governs record identity.
Common Use Cases and Queries
Typical scenarios include validating hierarchy configuration, tracing rollup paths, and auditing level changes before a planning run. A common query resolves the parent chain for a given level:
- Listing all associations for an instance:
SELECT LEVEL_ID, PARENT_LEVEL_ID, DP_ENABLED_FLAG FROM MSD.MSD_LEVEL_ASSOCIATIONS WHERE INSTANCE = :instance; - Identifying orphaned or disabled links:
SELECT * FROM MSD.MSD_LEVEL_ASSOCIATIONS WHERE DP_ENABLED_FLAG = 'N'; - Auditing recent configuration changes:
SELECT LEVEL_ID, PARENT_LEVEL_ID, LAST_UPDATED_BY, LAST_UPDATE_DATE FROM MSD.MSD_LEVEL_ASSOCIATIONS ORDER BY LAST_UPDATE_DATE DESC; - Joining to MSD_LEVELS to resolve level names:
SELECT a.LEVEL_ID, l.LEVEL_NAME, a.PARENT_LEVEL_ID FROM MSD.MSD_LEVEL_ASSOCIATIONS a, MSD.MSD_LEVELS l WHERE a.LEVEL_ID = l.LEVEL_ID;
Reporting use cases include verifying that all levels required by a forecast have a valid parent, and diagnosing rollup discrepancies where aggregated demand does not reconcile to detail level data.
Related Objects
- MSD_LEVELS — Referenced via MSD_LEVEL_ASSOCIATIONS.LEVEL_ID → MSD_LEVELS; the master level definition table.
- MSD_LEVEL_ASSOCIATIONS_U1 — The unique index enforcing business-key uniqueness on the level and parent columns.
- Demand Planning hierarchy/structure tables in the MSD schema that consume level association metadata during plan generation.
- MSD concurrent programs referenced through PROGRAM_ID / REQUEST_ID that build and refresh hierarchy associations.
- Planning engine collection routines that read DP_ENABLED_FLAG and refresh counters to determine which associations participate in a run.
-
Table: MSD_LEVEL_ASSOCIATIONS
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_LEVEL_ASSOCIATIONS, object_name:MSD_LEVEL_ASSOCIATIONS, status:VALID, product: MSD - Demand Planning , description: This table maintains association information between levels. , implementation_dba_data: MSD.MSD_LEVEL_ASSOCIATIONS ,
-
Table: MSD_LEVEL_ASSOCIATIONS
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_LEVEL_ASSOCIATIONS, object_name:MSD_LEVEL_ASSOCIATIONS, status:VALID, product: MSD - Demand Planning , description: This table maintains association information between levels. , implementation_dba_data: MSD.MSD_LEVEL_ASSOCIATIONS ,
-
VIEW: MSD.MSD_LEVEL_ASSOCIATIONS#
12.2.2
owner:MSD, object_type:VIEW, object_name:MSD_LEVEL_ASSOCIATIONS#, status:VALID,
-
SYNONYM: APPS.MSD_LEVEL_ASSOCIATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSD_LEVEL_ASSOCIATIONS, status:VALID,
-
SYNONYM: APPS.MSD_LEVEL_ASSOCIATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSD_LEVEL_ASSOCIATIONS, status:VALID,
-
APPS.MSD_ASCP SQL Statements
12.1.1
-
VIEW: APPS.MSD_LEVEL_ASSOCIATIONS_V1
12.1.1
-
VIEW: APPS.MSD_LEVEL_ASSOCIATIONS_V1
12.2.2
-
VIEW: MSD.MSD_LEVEL_ASSOCIATIONS#
12.2.2
-
APPS.MSD_ASCP SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSD_ASCP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_ASCP, status:VALID,
-
PACKAGE BODY: APPS.MSD_ASCP
12.2.2
-
PACKAGE BODY: APPS.MSD_ASCP
12.1.1
-
TABLE: MSD.MSD_LEVEL_ASSOCIATIONS
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_LEVEL_ASSOCIATIONS, object_name:MSD_LEVEL_ASSOCIATIONS, status:VALID,
-
PACKAGE BODY: APPS.MSD_ASCP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_ASCP, status:VALID,
-
PACKAGE BODY: APPS.MSD_PULL_LEVEL_VALUES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_PULL_LEVEL_VALUES, status:VALID,
-
PACKAGE BODY: APPS.MSD_PULL_LEVEL_VALUES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_PULL_LEVEL_VALUES, status:VALID,
-
PACKAGE BODY: APPS.MSD_TRANSLATE_LEVEL_VALUES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_TRANSLATE_LEVEL_VALUES, status:VALID,
-
VIEW: APPS.MSD_LEVEL_VALUES_EOL_V
12.2.2
-
TABLE: MSD.MSD_LEVEL_ASSOCIATIONS
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_LEVEL_ASSOCIATIONS, object_name:MSD_LEVEL_ASSOCIATIONS, status:VALID,
-
VIEW: APPS.MSD_LEVEL_VALUES_EOL_DS_V
12.2.2
-
VIEW: APPS.MSD_LEVEL_VALUES_EOL_V
12.1.1
-
PACKAGE BODY: APPS.MSD_TRANSLATE_LEVEL_VALUES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_TRANSLATE_LEVEL_VALUES, status:VALID,
-
VIEW: APPS.MSD_LEVEL_VALUES_EOL_DS_V
12.1.1
-
PACKAGE BODY: APPS.MSD_COMMON_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COMMON_UTILITIES, status:VALID,
-
PACKAGE BODY: APPS.MSD_COMMON_UTILITIES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COMMON_UTILITIES, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE BODY: APPS.MSD_STRIPE_DEMAND_PLAN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_STRIPE_DEMAND_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSD_LIABILITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_LIABILITY, status:VALID,
-
VIEW: APPS.MSD_LEVEL_VALUES_V
12.2.2
-
VIEW: APPS.MSD_LEVEL_VALUES_SOP_V
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.MSD_STRIPE_DEMAND_PLAN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_STRIPE_DEMAND_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSD_CL_PRE_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_CL_PRE_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.MSD_LIABILITY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_LIABILITY, status:VALID,
-
VIEW: APPS.MSD_LEVEL_VALUES_SOP_V
12.2.2
-
View: MSD_LEVEL_VALUES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_LEVEL_VALUES_V, object_name:MSD_LEVEL_VALUES_V, status:VALID, product: MSD - Demand Planning , description: This view specifies the Level Value Associations for a level with its parent level value in a hierarchy along with the system generated primary keys for these level values. This is not stripped by demand plan Id. , implementation_dba_data: APPS.MSD_LEVEL_VALUES_V ,
-
View: MSD_LEVEL_VALUES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_LEVEL_VALUES_V, object_name:MSD_LEVEL_VALUES_V, status:VALID, product: MSD - Demand Planning , description: This view specifies the Level Value Associations for a level with its parent level value in a hierarchy along with the system generated primary keys for these level values. This is not stripped by demand plan Id. , implementation_dba_data: APPS.MSD_LEVEL_VALUES_V ,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.MSD_CL_PRE_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_CL_PRE_PROCESS, status:VALID,
-
VIEW: APPS.MSD_LEVEL_VALUES_DS_V
12.1.1
-
VIEW: APPS.MSD_LEVEL_VALUES_V
12.1.1
-
VIEW: APPS.MSD_LEVEL_VALUES_SOP_DS_V
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
View: MSD_LEVEL_ASSOCIATIONS_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSD.MSD_LEVEL_ASSOCIATIONS_V1, object_name:MSD_LEVEL_ASSOCIATIONS_V1, status:VALID, product: MSD - Demand Planning , description: This view specifies the Level Value Associations for a level with its parent level value in a hierarchy along with the system generated primary keys for these level values. This view is used only for the Level Associations form. , implementation_dba_data: APPS.MSD_LEVEL_ASSOCIATIONS_V1 ,
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.MSD_LEVEL_VALUES_DS_V
12.2.2
-
VIEW: APPS.MSD_LEVEL_VALUES_SOP_DS_V
12.2.2
-
VIEW: APPS.MSD_CONSTRAINED_FORECAST_V
12.2.2