Search Results msc_supplier_flex_fences_u2




Overview

MSC.MSC_SUPPLIER_FLEX_FENCES is an Advanced Supply Chain Planning (ASCP) transactional table that stores supplier flex fence information for planned items within an MPS, MRP, or DRP plan. Each row captures the tolerance percentage a supplier permits for a given number of advance days for a specific item, supplier, and supplier site combination. In effect, the table holds the time-phased capacity tolerance bands used by Oracle Planning to determine how far a supplier's commitment may vary from the requested quantity at given points in the planning horizon.

The object resides in the MSC schema and is physically stored in the APPS_TS_TX_DATA tablespace with a PCTFREE of 10. From a dimensional modeling perspective, the mined foreign-key structure suggests a satellite-leaning classification: the table records descriptive, time-phased attributes (fence days and tolerance percentage) attached to a plan-scoped transactional grain, rather than acting as a standalone hub or pure link. This classification is a modeling suggestion only; the table is not part of a formally published Data Vault model.

Key Information Stored

The table's physical schema in ETRM 12.2.2 documents 40 columns. The most significant include:

Standard Who columns (LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN) and Concurrent Who columns (REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE) support audit and concurrent-program traceability. ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 provide a descriptive flexfield extension area.

The surrogate primary key (PLAN_ID, TRANSACTION_ID) is distinct from the business-key candidate represented by MSC_SUPPLIER_FLEX_FENCES_U2 (PLAN_ID, SR_INSTANCE_ID, ORGANIZATION_ID, INVENTORY_ITEM_ID, SUPPLIER_SITE_ID, FENCE_DAYS, SUPPLIER_ID), which enforces uniqueness of a flex fence band per item/supplier/site/plan. A second unique index, MSC_SUPPLIER_FLEX_FENCES_U1, duplicates the PK columns.

Common Use Cases and Queries

Typical usage involves retrieving the tolerance percentage applicable to a given item and supplier site at a specific number of fence days, and validating that planned supply falls within contractual flex bounds.

  • Reporting tolerance bands: SELECT inventory_item_id, supplier_id, supplier_site_id, fence_days, tolerance_percentage FROM msc.msc_supplier_flex_fences WHERE plan_id = :plan_id ORDER BY fence_days;
  • Plan-scoped extraction for a refresh: filter by PLAN_ID and REFRESH_NUMBER to isolate the current plan generation.
  • Multi-source consolidation: join through SR_INSTANCE_ID to separate records originating from distinct source instances.
  • Data quality checks: compare U2 business keys against the PK to detect duplicates or orphaned flex fence definitions.

Related Objects

The documented relationship data references MSC_SUPPLIER_FLEX_FENCES itself for the PLAN_ID foreign key, indicating the table participates in plan-scoped referential structures. In practice, meaningful joins include:

Because the table is plan-scoped and frequently refreshed, queries should constrain by PLAN_ID and, where relevant, REFRESH_NUMBER to avoid returning stale generations.