Search Results msc_st_reservations
Overview
MSC_ST_RESERVATIONS is a staging (interface) table in the MSC schema, owned by the Advanced Supply Chain Planning (ASCP) product family. Its documented role is to hold raw reservation data extracted from one or more source systems so that the ASCP collection program can validate, transform, and load that data into the production planning table MSC_RESERVATIONS. During a planning data collection run, records are first written to the staging table, checked for correctness and referential integrity, flagged with processing status, and only then promoted to the main table where the planning engine consumes them. Because it is transient by design, the table typically contains rows only for the duration of an active collection cycle; contents are overwritten or purged between cycles based on the refresh identifier.
The Data Vault classification supplied in the metadata is standalone — a heuristic suggestion rather than an enforced model. Under a Data Vault design, this object would most plausibly be modeled as a satellite attached to a reservation hub or link, since it carries descriptive reservation attributes and processing metadata rather than defining new business keys. The single documented foreign key, MSC_ST_RESERVATIONS.DISPOSITION_ID referencing AHL_PRD_DISPOSITIONS_B, reflects the ASCP dependency on disposition (quality/returns) reference data.
Key Information Stored
The documented physical schema for 12.2.2 contains 55 columns. The most operationally significant are:
- INVENTORY_ITEM_ID, ORGANIZATION_ID — the item and inventory organization for which the reservation exists; these form the core planning context and are the most common filter keys.
- TRANSACTION_ID — the source transaction identifier used to trace a staged row back to the originating supply chain event.
- RESERVED_QUANTITY, REQUIREMENT_DATE — the quantity and date of the reservation, i.e. the actual planning-meaningful payload.
- DISPOSITION_ID, DISPOSITION_TYPE — the linked disposition from AHL_PRD_DISPOSITIONS_B and its type classification.
- DEMAND_CLASS, RESERVATION_TYPE, AVAILABLE_TO_MRP, RESERVATION_FLAG — planning attributes that determine whether and how the reservation is honored by MRP.
- SR_INSTANCE_ID, REFRESH_ID, SR_INSTANCE_CODE — the source instance, the collection refresh cycle, and the source code; these control which run a row belongs to and drive staging cleanup.
- PROCESS_FLAG, DATA_SOURCE_TYPE, MESSAGE_ID, ERROR_TEXT — the validation and status columns populated by the collection program.
- REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID, BATCH_ID — the concurrent request and program that created the row, essential for diagnostics.
- PROJECT_ID, TASK_ID, PROJECT_NUMBER, TASK_NUMBER — project and task references where reservations are project-charged.
- LAST_UPDATE_DATE, CREATION_DATE, LAST_UPDATED_BY, CREATED_BY — standard audit columns.
No surrogate primary key is documented in the supplied metadata; the practical unique identifier is the combination of SR_INSTANCE_ID, REFRESH_ID and TRANSACTION_ID (or ST_TRANSACTION_ID where rows are sourced without a native transaction key). SELECTED identifiers such as SALES_ORDER_NUMBER, LINE_NUM, SUPPLY_SOURCE_HEADER_ID and SUPPLY_SOURCE_TYPE_ID function as business-key candidates for tracing back to the originating order.
Common Use Cases and Queries
Typical uses are: diagnosing collection failures, reconciling staged versus loaded reservation counts, and building custom extracts when standard ASCP collections do not cover a user requirement.
-- Rows that failed validation in the latest refresh
SELECT TRANSACTION_ID, INVENTORY_ITEM_ID, ORGANIZATION_ID,
RESERVED_QUANTITY, PROCESS_FLAG, ERROR_TEXT
FROM MSC.MSC_ST_RESERVATIONS
WHERE REFRESH_ID = :p_refresh_id
AND PROCESS_FLAG <> 1;
-- Staged vs. loaded comparison by item/organization
SELECT ORGANIZATION_CODE, ITEM_NAME, COUNT(*) staged_qty
FROM MSC.MSC_ST_RESERVATIONS
WHERE SR_INSTANCE_ID = :p_instance
GROUP BY ORGANIZATION_CODE, ITEM_NAME;
Other common scenarios include verifying that DISPOSITION_ID values resolve to AHL_PRD_DISPOSITIONS_B before load, checking reservations suppressed by AVAILABLE_TO_MRP, and auditing which concurrent request populated a given batch via BATCH_ID or REQUEST_ID.
Related Objects
- MSC_RESERVATIONS — the destination table; the staging table exists solely to feed it after validation.
- AHL_PRD_DISPOSITIONS_B — joined on DISPOSITION_ID; the only documented foreign key target.
- MSC_ST_INVENTORY_ITEMS / MSC_ST_ORGANIZATIONS — referenced implicitly via INVENTORY_ITEM_ID and ORGANIZATION_ID to resolve item and organization names.
- MSC_ST_SUPPLY / MSC_ST_DEMANDS — companion staging tables collected under the same REFRESH_ID and SR_INSTANCE_ID.
- MSC_SYSTEM_ITEMS_B — for item description and planning attribute lookups.
- FND_CONCURRENT_REQUESTS — joined on REQUEST_ID to identify the collection program run.
-
Table: MSC_ST_RESERVATIONS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_RESERVATIONS, object_name:MSC_ST_RESERVATIONS, status:VALID, product: MSC - Advanced Supply Chain Planning , description: The staging table used by the collection program to validate and process data for table MSC_RESERVATIONS. , implementation_dba_data: MSC.MSC_ST_RESERVATIONS ,
-
Table: MSC_ST_RESERVATIONS
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_RESERVATIONS, object_name:MSC_ST_RESERVATIONS, status:VALID, product: MSC - Advanced Supply Chain Planning , description: The staging table used by the collection program to validate and process data for table MSC_RESERVATIONS. , implementation_dba_data: MSC.MSC_ST_RESERVATIONS ,
-
SYNONYM: APPS.MSC_ST_RESERVATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_RESERVATIONS, status:VALID,
-
VIEW: MSC.MSC_ST_RESERVATIONS#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_ST_RESERVATIONS#, status:VALID,
-
SYNONYM: APPS.MSC_ST_RESERVATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_RESERVATIONS, status:VALID,
-
VIEW: MSC.MSC_ST_RESERVATIONS#
12.2.2
-
APPS.MSC_CL_DEMAND_PULL SQL Statements
12.1.1
-
Lookup Type: MSC_STAGING_TABLE
12.1.1
product: MSC - Advanced Supply Chain Planning , meaning: MSC_STAGING_TABLE , description: List of staging tables used by Collections ,
-
PACKAGE BODY: APPS.MSC_CL_AHL_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_AHL_ODS_LOAD, status:VALID,
-
APPS.MSC_CL_DEMAND_PULL SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_DEMAND_ODS_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_DEMAND_ODS_LOAD, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_DEMAND_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_DEMAND_ODS_LOAD, status:VALID,
-
Lookup Type: MSC_STAGING_TABLE
12.2.2
product: MSC - Advanced Supply Chain Planning , meaning: MSC_STAGING_TABLE , description: List of staging tables used by Collections ,
-
TABLE: MSC.MSC_ST_RESERVATIONS
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_RESERVATIONS, object_name:MSC_ST_RESERVATIONS, status:VALID,
-
TABLE: MSC.MSC_ST_RESERVATIONS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_RESERVATIONS, object_name:MSC_ST_RESERVATIONS, status:VALID,
-
Lookup Type: MSC_X_SETUP_ENTITY_CODE
12.1.1
product: MSC - Advanced Supply Chain Planning , meaning: MSC_ST_DEMANDS ,
-
PACKAGE BODY: APPS.MSC_CL_PRE_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_PRE_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_PRE_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_PRE_PROCESS, status:VALID,
-
Lookup Type: MSC_X_SETUP_ENTITY_CODE
12.2.2
product: MSC - Advanced Supply Chain Planning , meaning: MSC_ST_DEMANDS ,
-
PACKAGE BODY: APPS.MSC_CL_DEMAND_PULL
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_DEMAND_PULL
12.2.2
-
APPS.MSC_CL_AHL_PULL SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_AHL_PULL
12.2.2
-
APPS.MSC_CL_AHL_ODS_LOAD SQL Statements
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
-
APPS.MSC_CL_PURGE_STAGING SQL Statements
12.1.1
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_RESERVATIONS
12.1.1
-
APPS.MSC_CL_DEMAND_ODS_LOAD dependencies on MSC_ST_RESERVATIONS
12.1.1
-
APPS.MSC_CL_AHL_ODS_LOAD dependencies on MSC_ST_RESERVATIONS
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_RESERVATIONS
12.2.2
-
APPS.MSC_CL_DEMAND_ODS_LOAD dependencies on MSC_ST_RESERVATIONS
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_PURGE_STAGING SQL Statements
12.2.2
-
APPS.MSC_CL_PRE_PROCESS SQL Statements
12.1.1
-
APPS.MSC_CL_PRE_PROCESS SQL Statements
12.2.2
-
APPS.MSC_CL_DEMAND_ODS_LOAD SQL Statements
12.1.1
-
APPS.MSC_CL_DEMAND_ODS_LOAD SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_PURGE_STAGING
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_PURGE_STAGING
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_AHL_ODS_LOAD
12.2.2
-
APPS.GMP_APS_DS_PULL SQL Statements
12.1.1
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_LOCAL_ID_SUPPLY
12.1.1