Search Results msc_st_demands
Overview
MSC_ST_DEMANDS is a staging table owned by the MSC schema within Oracle Advanced Supply Chain Planning (ASCP). Its documented purpose is to receive unvalidated demand records collected from source applications, hold them while the collection program performs validation and transformation, and then promote the accepted rows into the permanent planning table MSC_DEMANDS. In Oracle EBS 12.1.1 and 12.2.2 this staging mechanism is the standard interface between transactional systems — Order Management, Work in Process, Purchasing, Service, and external or legacy sources — and the Advanced Planning engine. Because the planner consumes data from MSC_DEMANDS, not directly from the source modules, MSC_ST_DEMANDS is best understood as a transient landing zone whose lifecycle is tied to a single collection run.
The table is documented with 144 columns and no declared primary key or unique index in the ETRM extract. The Data Vault classification mined from its foreign-key structure is standalone, meaning the heuristic model treats it as neither a hub, link, nor satellite but as an independent staging artifact. From a modeling perspective this is consistent with a table that is truncated and reloaded per collection cycle rather than accumulated as historical fact.
Key Information Stored
The row-level identity of a staged record is carried by DEMAND_ID, the surrogate identifier that ultimately maps to the planning demand in MSC_DEMANDS. Business-key candidates are composite: the combination of INVENTORY_ITEM_ID, ORGANIZATION_ID, DEMAND_TYPE, and the source reference columns (SALES_ORDER_NUMBER, ORDER_NUMBER, WIP_ENTITY_ID) is what the collection program uses to reconcile a staged row against its source transaction.
DEMAND_ID— surrogate identifier linking the staged row to its downstream planning demand.INVENTORY_ITEM_IDandORGANIZATION_ID— the item and supplying organization for which demand is scheduled.DEMAND_TYPEandORIGINATION_TYPE/DEMAND_SOURCE_TYPE— classify the demand as sales order, forecast, WIP component, or other origin.QUANTITY_ISSUED,USING_REQUIREMENT_QUANTITY, andDAILY_DEMAND_RATE— demand quantities and rates used by the planner.DEMAND_SCHEDULE_NAME,SCHEDULE_DATE,REQUEST_DATE,PROMISE_DATE,LATEST_ACCEPTABLE_DATE— the date set that drives scheduling and promising logic.SALES_ORDER_NUMBER,SALES_ORDER_LINE_ID,ORDER_NUMBER— source order references for traceability.WIP_ENTITY_ID,WIP_ENTITY_NAME,REPETITIVE_SCHEDULE_ID— work order and repetitive schedule linkage.CUSTOMER_ID,SHIP_TO_SITE_ID,COMPANY_ID— customer and internal company attribution.PROJECT_IDandTASK_ID— project and task references for project-driven demand.SR_INSTANCE_IDandREFRESH_ID— source system and collection snapshot identifiers.PROCESS_FLAG,ERROR_TEXT,MESSAGE_ID— validation status and diagnostic messages emitted during collection.REQUEST_ID,PROGRAM_ID,PROGRAM_APPLICATION_ID— the concurrent request that staged the row.
Common Use Cases and Queries
The most frequent operational need is diagnostics: identifying rows that failed validation before promotion to MSC_DEMANDS.
- Error inspection:
SELECT DEMAND_ID, INVENTORY_ITEM_ID, ORGANIZATION_ID, ERROR_TEXT FROM MSC_ST_DEMANDS WHERE ERROR_TEXT IS NOT NULL; - Run-scoped reconciliation: filter by
REQUEST_IDorSR_INSTANCE_IDto isolate the rows produced by one collection run and compare counts against the target table. - Source traceability: join to
MTL_SYSTEM_ITEMS_B,OE_ORDER_HEADERS_ALL, orMTL_PARAMETERSonINVENTORY_ITEM_ID,SALES_ORDER_NUMBER, andORGANIZATION_IDto reconcile staged demand to its originating transaction. - Duplicate detection: group by item, organization, and source reference to detect records staged twice within a snapshot.
- Stuck-row analysis: rows persisting across multiple
REFRESH_IDvalues indicate a collection failure and warrant investigation.
Because the table is transient, queries should always constrain on the current collection request or refresh identifier to avoid scanning obsolete data.
Related Objects
The FK metadata documents six outbound references that anchor staged rows to their source transactions.
MSC_DEMANDS— the target planning table;DEMAND_IDis the linking key promoted during validation.MTL_RESERVATIONS— joined onRESERVATION_IDto attribute hard reservations to demand.WIP_REPETITIVE_SCHEDULES— joined onREPETITIVE_SCHEDULE_IDfor repetitive manufacturing demand.IGS_FI_BILL_ALL— joined onBILL_IDfor billing-related demand lines.PN_COMPANIES_ALL— joined onCOMPANY_IDfor internal company attribution.CZ_ITEM_TYPES— joined onITEM_TYPE_IDto resolve configured item types.CSD_REPAIRS— joined onREPAIR_LINE_IDfor depot repair demand.
Collection and planning programs in the MSC schema, together with the concurrent manager request recorded in REQUEST_ID, complete the dependency chain that moves data from transactional sources through this staging table into the ASCP planning engine.
-
Table: MSC_ST_DEMANDS
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_DEMANDS, object_name:MSC_ST_DEMANDS, 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_DEMANDS. , implementation_dba_data: MSC.MSC_ST_DEMANDS ,
-
Table: MSC_ST_DEMANDS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_DEMANDS, object_name:MSC_ST_DEMANDS, 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_DEMANDS. , implementation_dba_data: MSC.MSC_ST_DEMANDS ,
-
APPS.MSC_IMPORT_FORECAST SQL Statements
12.2.2
-
APPS.MSC_IMPORT_ONHAND SQL Statements
12.1.1
-
APPS.MSC_IMPORT_ONHAND SQL Statements
12.2.2
-
APPS.MSC_IMPORT_FORECAST SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSC_IMPORT_FORECAST
12.2.2
-
APPS.MSC_CL_RPO_PRE_PROCESS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSC_IMPORT_FORECAST
12.1.1
-
PACKAGE BODY: APPS.MSC_IMPORT_ONHAND
12.1.1
-
PACKAGE BODY: APPS.MSC_IMPORT_ONHAND
12.2.2
-
APPS.MSC_CL_RPO_PRE_PROCESS SQL Statements
12.2.2
-
SYNONYM: APPS.MSC_ST_DEMANDS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_DEMANDS, status:VALID,
-
TABLE PARTITION: MSC.MSC_ST_DEMANDS
12.2.2
owner:MSC, object_type:TABLE PARTITION, object_name:MSC_ST_DEMANDS, subobject_name:ST_DEMANDS_LEG, status:VALID,
-
TABLE PARTITION: MSC.MSC_ST_DEMANDS
12.1.1
owner:MSC, object_type:TABLE PARTITION, object_name:MSC_ST_DEMANDS, subobject_name:ST_DEMANDS_LEG, status:VALID,
-
SYNONYM: APPS.MSC_ST_DEMANDS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_DEMANDS, status:VALID,
-
APPS.MSC_CL_RPO_PULL SQL Statements
12.1.1
-
APPS.MSC_CL_RPO_PULL SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_RPO_PRE_PROCESS
12.1.1
-
APPS.MSC_CL_RPO_ODS_LOAD SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_RPO_PRE_PROCESS
12.2.2
-
APPS.MSC_CL_RPO_ODS_LOAD SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSC_IMPORT_FORECAST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_IMPORT_FORECAST, status:VALID,
-
PACKAGE BODY: APPS.MSC_IMPORT_ONHAND
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_IMPORT_ONHAND, status:VALID,
-
PACKAGE BODY: APPS.MSC_IMPORT_ONHAND
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_IMPORT_ONHAND, status:VALID,
-
VIEW: MSC.MSC_ST_DEMANDS#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_ST_DEMANDS#, status:VALID,
-
APPS.MSC_CL_DEMAND_PULL SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSC_IMPORT_FORECAST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_IMPORT_FORECAST, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_RPO_PRE_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_RPO_PRE_PROCESS, status:VALID,
-
APPS.MSC_CL_DEMAND_PULL SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_RPO_PRE_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_RPO_PRE_PROCESS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_WIP_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_WIP_ODS_LOAD, status:VALID,
-
PACKAGE BODY: APPS.GMP_APS_DS_PULL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMP_APS_DS_PULL, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_WIP_ODS_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_WIP_ODS_LOAD, status:VALID,
-
PACKAGE BODY: APPS.GMP_APS_DS_PULL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMP_APS_DS_PULL, status:VALID,
-
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 ,
-
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 ,
-
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,
-
PACKAGE BODY: APPS.MSC_CL_GMP_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_GMP_UTILITY, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_RPO_PULL
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_RPO_PULL
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_GMP_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_GMP_UTILITY, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
TABLE: MSC.MSC_LOCAL_ID_DEMAND
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_LOCAL_ID_DEMAND, object_name:MSC_LOCAL_ID_DEMAND, status:VALID,
-
TABLE: MSC.MSC_LOCAL_ID_DEMAND
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_LOCAL_ID_DEMAND, object_name:MSC_LOCAL_ID_DEMAND, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_WIP_PULL SQL Statements
12.2.2