Search Results msc_st_supplier_flex_fences
Overview
MSC_ST_SUPPLIER_FLEX_FENCES is a staging table in the MSC schema of Oracle Advanced Supply Chain Planning (ASCP). It serves as the temporary landing area for records collected from source systems before they are validated, cleansed, and promoted into the base planning table MSC_SUPPLIER_FLEX_FENCES. In Oracle EBS 12.1.1 and 12.2.2, this staging pattern is standard across the MSC collection infrastructure: the collection program extracts data from a source instance, writes it to an MSC_ST_* table, applies validation and transformation logic, and then inserts or updates the corresponding base table consumed by the planning engine.
Supplier flex fences define time-based thresholds (fence days) and tolerance percentages that control how supply chain planning engines respond to changes in supplier commitments, capacity, or lead times. The staging table therefore carries the raw, source-qualified representation of those fences—vendor identity, item, organization context, and source instance metadata—prior to planner-facing use.
From a Data Vault modeling perspective, the metadata classifies this table as standalone, with no inbound dependencies beyond a single foreign key to PN_COMPANIES_ALL. Heuristically, the base table MSC_SUPPLIER_FLEX_FENCES is best understood as a satellite keyed by supplier/site/item/organization combinations, while the staging table functions as a transient landing structure rather than a persistent hub or link.
Key Information Stored
The table contains 32 documented columns. The most significant business columns include:
- SUPPLIER_ID, SUPPLIER_SITE_ID — identifiers for the vendor and vendor site to which the flex fence applies.
- ORGANIZATION_ID, USING_ORGANIZATION_ID — the owning and consuming inventory organizations that scope the fence rule.
- INVENTORY_ITEM_ID — the planned item the fence governs.
- VENDOR_NAME, VENDOR_SITE_CODE — denormalized textual identifiers used during validation and error reporting.
- FENCE_DAYS, TOLERANCE_PERCENTAGE — the core planning parameters: the time fence in days and the allowable variance percentage.
- DELETED_FLAG — indicates records marked for logical deletion.
- SR_INSTANCE_ID, SR_INSTANCE_CODE — identify the source instance from which the record was collected.
- REFRESH_ID, BATCH_ID, PROCESS_FLAG, ERROR_TEXT — collection-control columns governing processing state and error capture.
- COMPANY_ID, COMPANY_NAME — company context; COMPANY_ID is the documented foreign key referencing PN_COMPANIES_ALL.
- LAST_UPDATE_DATE, CREATION_DATE, LAST_UPDATED_BY, CREATED_BY — standard audit columns.
No explicit surrogate primary key or unique index is documented in the supplied metadata; business-key candidates are the combination of supplier, site, item, and organization. The collection-control columns (BATCH_ID, REFRESH_ID, PROCESS_FLAG) separate rows per collection run.
Common Use Cases and Queries
Typical uses center on diagnosing collection failures and verifying fence data before it reaches the planning engine.
- Identifying rows that failed validation: SELECT * FROM msc.msc_st_supplier_flex_fences WHERE process_flag = 'E';
- Reviewing collected fences by source instance and batch: filter on SR_INSTANCE_ID and BATCH_ID.
- Reconciling staged rows against the base table MSC_SUPPLIER_FLEX_FENCES by supplier, site, item, and organization.
- Reporting on fence coverage by organization or vendor using ORGANIZATION_CODE and VENDOR_NAME.
- Auditing load errors through ERROR_TEXT and the request identifiers (REQUEST_ID, PROGRAM_ID).
Related Objects
- MSC_SUPPLIER_FLEX_FENCES — the base planning table this staging table feeds.
- PN_COMPANIES_ALL — referenced via the documented foreign key MSC_ST_SUPPLIER_FLEX_FENCES.COMPANY_ID → PN_COMPANIES_ALL.
- MSC_ST_SUPPLIERS / MSC_ST_SUPPLIER_SITES — companion staging tables supplying vendor and site context.
- MSC_ST_ITEMS — provides inventory item context for INVENTORY_ITEM_ID.
- MSC_SYSTEM_ITEMS / MSC_ORG_ASSIGNMENTS — define item-organization relationships used during validation.
- MSC_COLLECTIONS / MSC_REFRESH_IDS — collection-run control structures referenced via REFRESH_ID and BATCH_ID.
-
Table: MSC_ST_SUPPLIER_FLEX_FENCES
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_SUPPLIER_FLEX_FENCES, object_name:MSC_ST_SUPPLIER_FLEX_FENCES, 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_SUPPLIER_FLEX_FENCES. , implementation_dba_data: MSC.MSC_ST_SUPPLIER_FLEX_FENCES ,
-
Table: MSC_ST_SUPPLIER_FLEX_FENCES
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_SUPPLIER_FLEX_FENCES, object_name:MSC_ST_SUPPLIER_FLEX_FENCES, 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_SUPPLIER_FLEX_FENCES. , implementation_dba_data: MSC.MSC_ST_SUPPLIER_FLEX_FENCES ,
-
SYNONYM: APPS.MSC_ST_SUPPLIER_FLEX_FENCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_SUPPLIER_FLEX_FENCES, status:VALID,
-
VIEW: MSC.MSC_ST_SUPPLIER_FLEX_FENCES#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_ST_SUPPLIER_FLEX_FENCES#, status:VALID,
-
SYNONYM: APPS.MSC_ST_SUPPLIER_FLEX_FENCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_SUPPLIER_FLEX_FENCES, status:VALID,
-
VIEW: MSC.MSC_ST_SUPPLIER_FLEX_FENCES#
12.2.2
-
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 ,
-
TABLE: MSC.MSC_ST_SUPPLIER_FLEX_FENCES
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_SUPPLIER_FLEX_FENCES, object_name:MSC_ST_SUPPLIER_FLEX_FENCES, status:VALID,
-
TABLE: MSC.MSC_ST_SUPPLIER_FLEX_FENCES
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_SUPPLIER_FLEX_FENCES, object_name:MSC_ST_SUPPLIER_FLEX_FENCES, status:VALID,
-
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_ITEM_ODS_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_ITEM_ODS_LOAD, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_ITEM_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_ITEM_ODS_LOAD, status:VALID,
-
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,
-
PACKAGE BODY: APPS.MSC_CL_PRE_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_PRE_PROCESS, status:VALID,
-
Lookup Type: MSC_X_SETUP_ENTITY_CODE
12.2.2
product: MSC - Advanced Supply Chain Planning , meaning: MSC_ST_DEMANDS ,
-
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
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
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_SUPPLIER_FLEX_FENCES
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_ITEM_ODS_LOAD dependencies on MSC_ST_SUPPLIER_FLEX_FENCES
12.2.2
-
APPS.MSC_CL_ITEM_ODS_LOAD dependencies on MSC_ST_SUPPLIER_FLEX_FENCES
12.1.1
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_SUPPLIER_FLEX_FENCES
12.2.2
-
APPS.MSC_CL_ITEM_PULL SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_PURGE_STAGING
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_PURGE_STAGING
12.1.1
-
APPS.MSC_CL_ITEM_PULL SQL Statements
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_SUPPLIER_FLEX_FENCES_S
12.1.1
-
PACKAGE BODY: APPS.MSC_CL_ITEM_PULL
12.1.1
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_SUPPLIER_FLEX_FENCES_S
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_ITEM_PULL
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_SUPPLIER_CAPACITIES
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_SUPPLIER_CAPACITIES
12.1.1
-
APPS.MSC_CL_PRE_PROCESS SQL Statements
12.1.1
-
APPS.MSC_CL_ITEM_ODS_LOAD dependencies on MSC_TP_SITE_ID_LID
12.2.2
-
APPS.MSC_CL_ITEM_ODS_LOAD dependencies on MSC_TP_ID_LID
12.2.2
-
APPS.MSC_CL_ITEM_ODS_LOAD dependencies on MSC_TP_ID_LID
12.1.1
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ANALYSE_TABLES_PK
12.1.1
-
APPS.MSC_CL_ITEM_ODS_LOAD dependencies on MSC_TP_SITE_ID_LID
12.1.1
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_ITEM_SUPPLIERS
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ANALYSE_TABLES_PK
12.2.2