Search Results msc_safety_stocks
Overview
MSC_SAFETY_STOCKS is a table within the MSC schema (Advanced Supply Chain Planning) in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores safety stock levels used by Oracle Advanced Supply Chain Planning (ASCP) during the planning process. Safety stock represents a buffer of inventory held to protect against demand variability and supply uncertainty. ASCP uses these records to compute planned orders and to satisfy the safety stock requirement across each planning period.
The table is period-based: for each combination of plan, organization, item, and period start date, it records the safety stock quantity that the planning engine must respect. This makes it a critical input to the MRP/DRP calculations performed by the ASCP engine and to any plan simulation or comparison.
From a modeling perspective, the heuristic Data Vault classification is satellite-leaning. This suggests treating MSC_SAFETY_STOCKS as a satellite table attached to a hub of item/organization/plan combination, capturing changing safety stock attributes over time (keyed by PERIOD_START_DATE). It is not a pure transaction link, since it primarily stores descriptive measures (quantities, percentages, days of supply) rather than relationships between business entities.
Key Information Stored
The table contains 38 documented columns. The most important include:
- PLAN_ID — identifies the ASCP plan for which the safety stock is defined.
- ORGANIZATION_ID — the inventory organization to which the item and safety stock belong.
- INVENTORY_ITEM_ID — the item for which safety stock is set.
- SR_INSTANCE_ID — source system instance identifier (supports multi-source planning).
- PERIOD_START_DATE — the planning period bucket for which the safety stock applies.
- SAFETY_STOCK_QUANTITY — the actual safety stock quantity for the period.
- TARGET_SAFETY_STOCK and TARGET_DAYS_OF_SUPPLY / ACHIEVED_DAYS_OF_SUPPLY — targets and achieved values used in plan analysis.
- USER_DEFINED_SAFETY_STOCKS and USER_DEFINED_DOS — user overrides for safety stock quantity and days of supply.
- DEMAND_VAR_SS_PERCENT, MFG_LTVAR_SS_PERCENT, TRANSIT_LTVAR_SS_PERCENT, SUP_LTVAR_SS_PERCENT — percentage breakdowns of safety stock attributed to demand variability, manufacturing lead-time variability, transit lead-time variability, and supplier lead-time variability.
- TOTAL_UNPOOLED_SAFETY_STOCK — aggregated unpooled safety stock quantity.
- STATUS, REFRESH_NUMBER, REQUEST_ID, PROGRAM_ID — planning run and concurrent program tracking.
- PROJECT_ID, TASK_ID, PLANNING_GROUP, UNIT_NUMBER, NEW_PLAN_ID, SIMULATION_SET_ID — planning context and simulation scope.
The documented primary key is MSC_SAFETY_STOCKS_PK on (SR_INSTANCE_ID, ORGANIZATION_ID, INVENTORY_ITEM_ID, PLAN_ID, PERIOD_START_DATE). A second unique index, MSC_SAFETY_STOCKS_U1, extends the business key to include PROJECT_ID, TASK_ID, PLANNING_GROUP, UNIT_NUMBER, and NEW_PLAN_ID, indicating these columns together form the true business key for planning purposes. The surrogate PK alone does not capture project/task/planning group granularity.
Common Use Cases and Queries
Typical scenarios include reconciling safety stock between the source system and a plan, analyzing safety stock variability components, and validating that a plan honored the configured safety stock.
Example: retrieve safety stock for a given plan, organization, and item across periods:
SELECT period_start_date, safety_stock_quantity, target_safety_stock
FROM msc.msc_safety_stocks
WHERE plan_id = :plan_id
AND organization_id = :org_id
AND inventory_item_id = :item_id
ORDER BY period_start_date;
Example: sum safety stock by item to compare against planning group targets:
SELECT inventory_item_id, SUM(safety_stock_quantity) total_ss
FROM msc.msc_safety_stocks
WHERE plan_id = :plan_id
GROUP BY inventory_item_id;
Reporting use cases include a safety stock trend report across periods, a variability breakdown report using the demand/manufacturing/transit/supplier percent columns, and exception reports where the achieved days of supply falls short of target. Plan comparison queries can join on NEW_PLAN_ID or SIMULATION_SET_ID to compare simulated versus baseline safety stock.
Related Objects
- MSC_SYSTEM_ITEMS — joined on INVENTORY_ITEM_ID; provides item master context for the safety stock record.
- CZ_ITEM_TYPES — joined on ITEM_TYPE_ID; supplies item type classification.
- MSC_PLANS — provides plan definition referenced by PLAN_ID.
- MSC_SAFETY_STOCKS_PK / MSC_SAFETY_STOCKS_U1 — the primary and unique indexes enforcing uniqueness per period and planning granularity.
- MSC_ITEM_SAFETY_STOCKS (where present) — related safety stock configuration.
- ASCP planning engine — consumes MSC_SAFETY_STOCKS as a direct input to planned order generation.
- MSC_SAFETY_STOCK_HISTORY (where available) — historical archive of safety stock levels.
- FND_CONCURRENT_REQUESTS — joined on REQUEST_ID to trace the plan run that created or refreshed the record.
The foreign key relationships to MSC_SYSTEM_ITEMS and CZ_ITEM_TYPES anchor the table to the item dimension, while the composite unique index enforces the period and planning hierarchy that ASCP relies upon.
-
Table: MSC_SAFETY_STOCKS
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_SAFETY_STOCKS, object_name:MSC_SAFETY_STOCKS, status:VALID, product: MSC - Advanced Supply Chain Planning , description: Safety stock levels , implementation_dba_data: MSC.MSC_SAFETY_STOCKS ,
-
Table: MSC_SAFETY_STOCKS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_SAFETY_STOCKS, object_name:MSC_SAFETY_STOCKS, status:VALID, product: MSC - Advanced Supply Chain Planning , description: Safety stock levels , implementation_dba_data: MSC.MSC_SAFETY_STOCKS ,
-
VIEW: MSC.MSC_SAFETY_STOCKS#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_SAFETY_STOCKS#, status:VALID,
-
SYNONYM: APPS.MSC_SAFETY_STOCKS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_SAFETY_STOCKS, status:VALID,
-
SYNONYM: APPS.MSC_SAFETY_STOCKS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_SAFETY_STOCKS, status:VALID,
-
VIEW: APPS.MSC_SAFETY_STOCKS_V
12.2.2
-
VIEW: APPS.MSC_SAFETY_STOCKS_V
12.1.1
-
VIEW: APPS.MSD_DEM_SAFETY_STOCKS_V
12.2.2
-
VIEW: MSC.MSC_SAFETY_STOCKS#
12.2.2
-
TABLE: MSC.MSC_SAFETY_STOCKS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_SAFETY_STOCKS, object_name:MSC_SAFETY_STOCKS, status:VALID,
-
TABLE: MSC.MSC_SAFETY_STOCKS
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_SAFETY_STOCKS, object_name:MSC_SAFETY_STOCKS, status:VALID,
-
Table: MSC_ST_SAFETY_STOCKS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_SAFETY_STOCKS, object_name:MSC_ST_SAFETY_STOCKS, 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_SAFETY_STOCKS. , implementation_dba_data: MSC.MSC_ST_SAFETY_STOCKS ,
-
Table: MSC_ST_SAFETY_STOCKS
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_SAFETY_STOCKS, object_name:MSC_ST_SAFETY_STOCKS, 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_SAFETY_STOCKS. , implementation_dba_data: MSC.MSC_ST_SAFETY_STOCKS ,
-
VIEW: APPS.MSD_DEM_SAFETY_STOCKS_V
12.1.1
-
PACKAGE BODY: APPS.MSC_HUB_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_HUB_CALENDAR, status:VALID,
-
PACKAGE BODY: APPS.MSC_HUB_CALENDAR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_HUB_CALENDAR, status:VALID,
-
APPS.MSC_BUDGET_DETAILS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSC_BUDGET_DETAILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_BUDGET_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_ANALYSIS_SAFETY_STOCK_PERF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ANALYSIS_SAFETY_STOCK_PERF, status:VALID,
-
PACKAGE BODY: APPS.MSC_MATL_PLAN_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_MATL_PLAN_PKG, status:VALID,
-
PACKAGE BODY: APPS.GMP_HORIZONTAL_PDR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMP_HORIZONTAL_PDR_PKG, status:VALID,
-
APPS.MSC_BUDGET_DETAILS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_ITEM_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ITEM_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_ANALYSIS_SAFETY_STOCK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ANALYSIS_SAFETY_STOCK, status:VALID,
-
PACKAGE BODY: APPS.MSC_BUDGET_DETAILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_BUDGET_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_SDA_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SDA_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_DRP_HORI_PLAN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_DRP_HORI_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSD_COMMON_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COMMON_UTILITIES, status:VALID,
-
VIEW: APPS.MSD_DEM_SAFETY_STOCKS_V
12.2.2
owner:APPS, object_type:VIEW, object_name:MSD_DEM_SAFETY_STOCKS_V, status:VALID,
-
PACKAGE BODY: APPS.MSC_ANALYSIS_SAFETY_STOCK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ANALYSIS_SAFETY_STOCK, status:VALID,
-
PACKAGE BODY: APPS.MSC_WS_APS_DATA_SERVICES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WS_APS_DATA_SERVICES, status:VALID,
-
PACKAGE BODY: APPS.MSC_HORIZONTAL_PLAN_SC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_HORIZONTAL_PLAN_SC, status:VALID,
-
PACKAGE BODY: APPS.MSC_HORIZONTAL_PLAN_SC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_HORIZONTAL_PLAN_SC, status:VALID,
-
PACKAGE BODY: APPS.MSC_DRP_HORI_PLAN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_DRP_HORI_PLAN, status:VALID,
-
PACKAGE BODY: APPS.MSC_SDA_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SDA_PKG, status:VALID,
-
PACKAGE BODY: APPS.GMP_HORIZONTAL_PDR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMP_HORIZONTAL_PDR_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_SNAPSHOT_PK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SNAPSHOT_PK, status:VALID,
-
PACKAGE BODY: APPS.MSC_WS_SNO_PUBLISH
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WS_SNO_PUBLISH, status:VALID,
-
PACKAGE BODY: APPS.MSC_WS_APS_DATA_SERVICES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WS_APS_DATA_SERVICES, status:VALID,
-
PACKAGE BODY: APPS.MSD_DEM_COMMON_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DEM_COMMON_UTILITIES, status:VALID,
-
PACKAGE BODY: APPS.MSC_PUBLISH_SAFETY_STOCK_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_PUBLISH_SAFETY_STOCK_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_PUBLISH_SAFETY_STOCK_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_PUBLISH_SAFETY_STOCK_PKG, status:VALID,
-
VIEW: APPS.MSD_DEM_SAFETY_STOCKS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_DEM_SAFETY_STOCKS_V, status:VALID,
-
PACKAGE BODY: APPS.MSC_ITEM_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ITEM_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_ANALYSIS_SAFETY_STOCK_PERF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ANALYSIS_SAFETY_STOCK_PERF, status:VALID,
-
PACKAGE BODY: APPS.MSD_COMMON_UTILITIES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_COMMON_UTILITIES, status:VALID,
-
View: MSC_SAFETY_STOCKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_SAFETY_STOCKS_V, object_name:MSC_SAFETY_STOCKS_V, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: APPS.MSC_SAFETY_STOCKS_V ,
-
PACKAGE BODY: APPS.MSC_SNAPSHOT_PK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SNAPSHOT_PK, status:VALID,
-
PACKAGE BODY: APPS.MSC_WS_SNO_PUBLISH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WS_SNO_PUBLISH, status:VALID,
-
View: MSC_SAFETY_STOCKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_SAFETY_STOCKS_V, object_name:MSC_SAFETY_STOCKS_V, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: APPS.MSC_SAFETY_STOCKS_V ,