Search Results msc_st_department_resources
Overview
MSC_ST_DEPARTMENT_RESOURCES is a staging table in the MSC schema (Oracle Advanced Supply Chain Planning) that serves as the temporary landing area for department resource data before it is validated and processed into the base table MSC_DEPARTMENT_RESOURCES. In Oracle EBS 12.1.1 and 12.2.2, the collection program extracts resource and department definitions from source systems, writes them into this staging table, applies validation and transformation logic, and then loads the cleansed records into the planning engine's operational tables. This staging pattern isolates unreliable inbound data from the live planning tables and allows the collection program to detect and reject invalid records before they affect planning results.
The table carries a heuristic Data Vault classification of standalone, meaning that from the mined foreign-key structure it does not participate as a hub, link, or satellite within a broader Data Vault model. It is best treated as a transient interface object rather than a subject-oriented data warehouse entity.
Key Information Stored
With 84 documented columns, the table captures resource master data, department context, capacity parameters, costing attributes, and collection-control metadata. The most significant columns include:
- ORGANIZATION_ID — identifies the source organization for the resource record, a primary business-key component.
- RESOURCE_ID / RESOURCE_CODE — the resource surrogate identifier and its business code.
- DEPARTMENT_ID / DEPARTMENT_CODE — the owning department; DEPARTMENT_ID is the foreign key to BOM_DEPARTMENTS.
- COMPANY_ID / COMPANY_NAME — the company context; COMPANY_ID references PN_COMPANIES_ALL.
- CAPACITY_UNITS, MAX_RATE, MIN_RATE, MIN_CAPACITY, MAX_CAPACITY — the capacity and throughput constraints used by the planning engine.
- UTILIZATION, EFFICIENCY, OVER_UTILIZED_PERCENT, UNDER_UTILIZED_PERCENT — utilization and efficiency definitions for capacity calculation.
- RESOURCE_TYPE, RESOURCE_INCLUDE_FLAG, CRITICAL_RESOURCE_FLAG, BOTTLENECK_FLAG, CTP_FLAG — planning behavior flags.
- START_TIME, STOP_TIME, AVAILABLE_24_HOURS_FLAG — availability windows.
- RESOURCE_COST, DEPT_OVERHEAD_COST, RESOURCE_OVER_UTIL_COST — costing attributes.
- UNIT_OF_MEASURE, UOM_CLASS_TYPE — unit of measure metadata.
- SR_INSTANCE_ID, REFRESH_ID, BATCH_ID — collection run identifiers.
- PROCESS_FLAG, ERROR_TEXT, MESSAGE_ID, ST_TRANSACTION_ID — the validation and error-handling control columns.
- LAST_UPDATE_DATE, CREATION_DATE, CREATED_BY, LAST_UPDATED_BY — standard audit columns.
The table is standalone in the mined FK structure, so no unique index is documented as the surrogate primary key; PROCESS_FLAG and SR_INSTANCE_ID typically drive the load logic rather than a single surrogate key.
Common Use Cases and Queries
Typical scenarios include diagnosing collection failures, reconciling staging counts against the target table, and reporting on resources pending validation.
- Identify records that failed validation:
SELECT * FROM MSC_ST_DEPARTMENT_RESOURCES WHERE PROCESS_FLAG = 'E'; - Count records by collection run:
SELECT SR_INSTANCE_ID, REFRESH_ID, COUNT(*) FROM MSC_ST_DEPARTMENT_RESOURCES GROUP BY SR_INSTANCE_ID, REFRESH_ID; - Review error messages for a batch:
SELECT RESOURCE_CODE, DEPARTMENT_CODE, ERROR_TEXT FROM MSC_ST_DEPARTMENT_RESOURCES WHERE BATCH_ID = :batch; - Compare staging versus loaded rows:
SELECT s.RESOURCE_ID, d.RESOURCE_ID FROM MSC_ST_DEPARTMENT_RESOURCES s LEFT JOIN MSC_DEPARTMENT_RESOURCES d ON s.RESOURCE_ID = d.RESOURCE_ID AND s.ORGANIZATION_ID = d.ORGANIZATION_ID;
Related Objects
The most significant related objects are the target table and the two referenced master tables:
- MSC_DEPARTMENT_RESOURCES — the destination table the staging program loads after validation.
- BOM_DEPARTMENTS — joined via DEPARTMENT_ID.
- PN_COMPANIES_ALL — joined via COMPANY_ID.
- MSC_ST_* collection staging tables — sibling staging objects processed by the same collection program.
- Collection program APIs — the concurrent programs that read PROCESS_FLAG and ERROR_TEXT and manage the load of this table.
-
Table: MSC_ST_DEPARTMENT_RESOURCES
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_DEPARTMENT_RESOURCES, object_name:MSC_ST_DEPARTMENT_RESOURCES, 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_DEPARTMENT_RESOURCES. , implementation_dba_data: MSC.MSC_ST_DEPARTMENT_RESOURCES ,
-
Table: MSC_ST_DEPARTMENT_RESOURCES
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_DEPARTMENT_RESOURCES, object_name:MSC_ST_DEPARTMENT_RESOURCES, 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_DEPARTMENT_RESOURCES. , implementation_dba_data: MSC.MSC_ST_DEPARTMENT_RESOURCES ,
-
TABLE PARTITION: MSC.MSC_ST_DEPARTMENT_RESOURCES
12.1.1
owner:MSC, object_type:TABLE PARTITION, object_name:MSC_ST_DEPARTMENT_RESOURCES, subobject_name:ST_DEPARTMENT_RESOURCES_LEG, status:VALID,
-
TABLE PARTITION: MSC.MSC_ST_DEPARTMENT_RESOURCES
12.2.2
owner:MSC, object_type:TABLE PARTITION, object_name:MSC_ST_DEPARTMENT_RESOURCES, subobject_name:ST_DEPARTMENT_RESOURCES_LEG, status:VALID,
-
SYNONYM: APPS.MSC_ST_DEPARTMENT_RESOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_DEPARTMENT_RESOURCES, status:VALID,
-
SYNONYM: APPS.MSC_ST_DEPARTMENT_RESOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_DEPARTMENT_RESOURCES, status:VALID,
-
VIEW: MSC.MSC_ST_DEPARTMENT_RESOURCES#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_ST_DEPARTMENT_RESOURCES#, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
VIEW: MSC.MSC_ST_DEPARTMENT_RESOURCES#
12.2.2
-
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 ,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_BOM_ODS_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_BOM_ODS_LOAD, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_BOM_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_BOM_ODS_LOAD, 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 ,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
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,
-
TABLE: MSC.MSC_ST_DEPARTMENT_RESOURCES
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_DEPARTMENT_RESOURCES, object_name:MSC_ST_DEPARTMENT_RESOURCES, status:VALID,
-
TABLE: MSC.MSC_ST_DEPARTMENT_RESOURCES
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_DEPARTMENT_RESOURCES, object_name:MSC_ST_DEPARTMENT_RESOURCES, 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_PRE_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_PRE_PROCESS, status:VALID,
-
TABLE: MSC.MSC_LOCAL_ID_SETUP
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_LOCAL_ID_SETUP, object_name:MSC_LOCAL_ID_SETUP, status:VALID,
-
TABLE: MSC.MSC_LOCAL_ID_SETUP
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_LOCAL_ID_SETUP, object_name:MSC_LOCAL_ID_SETUP, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
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.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.MSC_CL_BOM_PULL SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_BOM_ODS_LOAD dependencies on MSC_ST_DEPARTMENT_RESOURCES
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.MSC_CL_BOM_ODS_LOAD dependencies on MSC_ST_DEPARTMENT_RESOURCES
12.1.1
-
APPS.MSC_CL_BOM_PULL SQL Statements
12.2.2
-
APPS.MSC_CL_PURGE_STAGING SQL Statements
12.1.1
-
APPS.MSC_CL_PURGE_STAGING SQL Statements
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_DEPARTMENT_RESOURCES
12.1.1
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_DEPARTMENT_RESOURCES
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_PRE_PROCESS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_BOM_PULL
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_BOM_PULL
12.2.2
-
APPS.MSC_CL_PRE_PROCESS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_PURGE_STAGING
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_PURGE_STAGING
12.1.1
-
APPS.GMP_CALENDAR_PKG SQL Statements
12.1.1
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_SR_INVENTORY_ITEM_ID_S
12.2.2