Results for “msc_st_supplies”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
MSC_ST_SUPPLIES is a staging table in the MSC schema, owned by Oracle Advanced Supply Chain Planning (ASCP). It serves as the transient landing zone through which the collection program validates, transforms, and processes supply data before that data is promoted to the permanent planning table MSC_SUPPLIES. In Oracle EBS 12.1.1 and 12.2.2, ASCP relies on a large family of MSC_ST_* staging tables; each one mirrors a corresponding MSC_* planning table and absorbs raw source records harvested from WIP, Purchasing, Inventory, Order Management, and other source modules. Because supply records are among the most frequently collected planning entities, MSC_ST_SUPPLIES is central to keeping the planner's supply picture current.
The table is extremely wide, carrying 248 documented columns in the 12.2.2 physical schema. Its design deliberately conflates several purposes: source keys and descriptive attributes captured from the originating application, planning-time attributes computed or defaulted by the collection program, implementation/feedback columns used when planned supplies are released back to execution, and error-handling columns populated when validation fails. Records typically carry a PROCESS_FLAG that the collection program reads to determine whether a row is ready to be processed, is in error, or has already been transferred. The heuristic Data Vault classification mined from the foreign-key structure is standalone. As a modeling suggestion, this reflects that MSC_ST_SUPPLIES behaves primarily as a staging/landing satellite rather than as a hub or link; its identity is dominated by the planning keys (PLAN_ID, TRANSACTION_ID) rather than by a single durable business key, and its foreign keys to reference entities are descriptive enrichments rather than true relationship definitions.
Key Information Stored
Although the table documents 248 columns, the following subset is most significant for understanding and querying it:
- PLAN_ID and TRANSACTION_ID — the composite planner/session identifier that scopes a staging run; these act as the de facto surrogate key for the staging rows and are the most common filter predicates in diagnostic queries.
- INVENTORY_ITEM_ID and ORGANIZATION_ID — the item/organization business keys that identify the supply being collected.
- SCHEDULE_DESIGNATOR_ID, SOURCE_SCHEDULE_NAME, REVISION, and UNIT_NUMBER — schedule and unit context for repetitive and discrete manufacturing supplies.
- ORDER_TYPE, SUPPLIER_ID, ORDER_NUMBER, PURCH_ORDER_ID, PO_LINE_ID, PO_LINE_LOCATION_ID, PO_DISTRIBUTION_ID — the purchasing/procurement linkage for buy supplies.
- NEW_ORDER_QUANTITY, OLD_ORDER_QUANTITY, NEW_SCHEDULE_DATE, OLD_SCHEDULE_DATE, NEW_ORDER_PLACEMENT_DATE, OLD_ORDER_PLACEMENT_DATE — the from/to pairs used by reschedule and compression logic.
- FIRM_PLANNED_TYPE, FIRM_QUANTITY, FIRM_DATE — the firming attributes that determine whether a supply is frozen against replanning.
- IMPLEMENT_* columns (e.g., IMPLEMENT_QUANTITY, IMPLEMENT_DATE, IMPLEMENT_JOB_NAME, IMPLEMENT_STATUS_CODE) — feedback written when a planned supply is released to WIP or Purchasing.
- PROCESS_FLAG, ERROR_TEXT, MESSAGE_ID, LOAD_TYPE, PROCESS_SEQ_ID — the collection-control columns that drive validation and error reporting.
- LAST_UPDATE_DATE, CREATED_BY, REQUEST_ID, PROGRAM_ID — standard Who columns and concurrent program context for auditing collection runs.
The documented foreign keys are SCHEDULE_GROUP_ID → WIP_SCHEDULE_GROUPS, COMPANY_ID → PN_COMPANIES_ALL, and ITEM_TYPE_ID → CZ_ITEM_TYPES. No unique index is documented in the provided metadata, so the primary-key designation should be confirmed against the live database; the standalone classification suggests identity is managed by the collection program rather than by a constraint-enforced natural key.
Common Use Cases and Queries
Typical scenarios include troubleshooting why a supply did not appear in an ASCP plan, auditing a collection run, and purging stale staging rows. A common pattern is to isolate rows that failed validation:
SELECT transaction_id, inventory_item_id, organization_id, error_text FROM msc_st_supplies WHERE process_flag = 1 AND plan_id = :p_plan_id;- Querying a reschedule recommendation:
SELECT order_number, old_order_quantity, new_order_quantity, old_order_placement_date, new_order_placement_date FROM msc_st_supplies WHERE reschedule_flag = 'Y'; - Joining by procurement context:
SELECT s.order_number, s.quantity_in_process, p.po_header_id FROM msc_st_supplies s JOIN po_headers_all p ON s.purch_order_id = p.po_header_id;
Reporting use cases include reconciling firm supplies against source purchase orders, measuring scrapped versus completed quantities, and monitoring implementation feedback where planned supplies convert into executable jobs or releases.
Related Objects
- MSC_SUPPLIES — the permanent planning table for which MSC_ST_SUPPLIES is the staging predecessor; the collection program validates rows and inserts them here.
- MSC_ST_PLANNED_ORDERS and other
MSC_ST_*siblings — parallel staging tables processed in the same collection flow. - WIP_SCHEDULE_GROUPS — referenced via SCHEDULE_GROUP_ID.
- PN_COMPANIES_ALL — referenced via COMPANY_ID.
- CZ_ITEM_TYPES — referenced via ITEM_TYPE_ID.
- PO_HEADERS_ALL, PO_LINES_ALL, PO_LINE_LOCATIONS_ALL — procurement source entities joined through PURCH_ORDER_ID, PO_LINE_ID, and PO_LINE_LOCATION_ID.
- WIP_ENTITIES — joined through WIP_ENTITY_ID for work-order feedback.
- MTL_SYSTEM_ITEMS_B and HR_ORGANIZATION_UNITS — the master references for inventory items and organizations.
-
The staging table used by the collection program to validate and process data for table MSC_SUPPLIES.
-
The staging table used by the collection program to validate and process data for table MSC_SUPPLIES.
-
TABLE: MSC.MSC_ST_SUPPLIES 12.2.2
-
TABLE: MSC.MSC_ST_SUPPLIES 12.1.1