Search Results msc_st_operation_resources




Overview

MSC_ST_OPERATION_RESOURCES is a staging table in the MSC schema owned by Oracle Advanced Supply Chain Planning (ASCP). Its documented purpose is to serve as the interface through which the collection program validates and processes inbound data before it is promoted into the base planning table MSC_OPERATION_RESOURCES. In the Oracle EBS 12.1.1 and 12.2.2 architectures, this staging mechanism isolates transactional source feeds — originating from Bills of Material, routings, and departmental resource definitions — from the planning engine's production tables, allowing the planning data collection (PDC) process to perform error checking, transformation, and cleansing before committing records.

The table contains 60 documented columns and carries no foreign keys imposed on other tables; the metadata records inbound FK-style references only, linking COMPANY_ID to PN_COMPANIES_ALL, DEPARTMENT_ID to BOM_DEPARTMENTS, and SETUP_ID to BOM_SETUP_TYPES. The heuristic Data Vault classification for this object is standalone, meaning it does not naturally resolve into a classic hub, link, or satellite pattern. As a modeling suggestion, it is best treated as a transient staging artifact rather than a persistent dimensional or integration structure.

Key Information Stored

The staging table carries a composite identifier built from the routing, operation, and resource hierarchy. The most significant columns include:

No surrogate single-column primary key is documented; identification is driven by the routing/operation/resource sequence triplet.

Common Use Cases and Queries

Typical operational and diagnostic scenarios include monitoring collection errors, reconciling source versus staged resource data, and auditing resource capacity feeds. A representative query to identify failed rows is:

  • SELECT ROUTING_SEQUENCE_ID, OPERATION_SEQUENCE_ID, RESOURCE_CODE, ERROR_TEXT FROM MSC.MSC_ST_OPERATION_RESOURCES WHERE PROCESS_FLAG = 'E' OR ERROR_TEXT IS NOT NULL;
  • SELECT ORGANIZATION_CODE, RESOURCE_CODE, RESOURCE_USAGE, UOM_CODE FROM MSC.MSC_ST_OPERATION_RESOURCES WHERE BATCH_ID = :batch AND DELETED_FLAG = 'N';
  • SELECT SR_INSTANCE_CODE, COUNT(*) FROM MSC.MSC_ST_OPERATION_RESOURCES GROUP BY SR_INSTANCE_CODE;

These patterns support PDC troubleshooting, data-quality reporting, and pre-promotion audits before the records are consumed by the planning engine.

Related Objects

The staging table feeds and references several core objects: