Search Results msc_exception_details




Overview

The MSC_EXCEPTION_DETAILS table is a core data repository within the Oracle E-Business Suite Advanced Supply Chain Planning (ASCP) and Supply Chain Planning modules. It functions as the detailed transactional store for all exceptions generated during planning engine runs. These exceptions are critical business alerts that identify potential supply chain disruptions, such as material shortages, capacity overloads, or unmet demand. The table's role is to persistently record the granular data for each exception instance, enabling users to query, analyze, and resolve planning issues through the Oracle Planning Manager or custom reporting interfaces. Its existence is fundamental to the exception-based management paradigm central to Oracle's Advanced Planning and Scheduling (APS) solutions.

Key Information Stored

The table's structure is designed to uniquely identify and describe each exception detail record within the context of a specific plan. Its primary key is a composite of PLAN_ID, SR_INSTANCE_ID (the instance identifier for the source organization), and EXCEPTION_DETAIL_ID. Key descriptive columns include EXCEPTION_TYPE, which classifies the nature of the exception (e.g., capacity, material), and INVENTORY_ITEM_ID and ORGANIZATION_ID, which pinpoint the specific item and organization involved. Additional columns typically store quantitative details such as the required quantity, available quantity, dates of the issue (like the date of the shortage or overload), and identifiers for related entities like RESOURCE_ID and DEPARTMENT_ID for capacity-related exceptions. This granular data provides the necessary context for planners to take corrective action.

Common Use Cases and Queries

The primary use case is the generation and review of planning exception reports within the Oracle Planning application. Technically, this involves querying the table filtered by PLAN_ID and often by EXCEPTION_TYPE or specific item/organization criteria. A common reporting pattern is to join this table to master data tables like MSC_SYSTEM_ITEMS to retrieve item names and descriptions. For example, a query to find all material exceptions for a specific plan might resemble:

  • SELECT med.*, msi.item_name, msi.description
  • FROM msc_exception_details med,
  • msc_system_items msi
  • WHERE med.plan_id = :p_plan_id
  • AND med.exception_type = 'MATERIAL_EXCEPTION'
  • AND med.inventory_item_id = msi.inventory_item_id
  • AND med.organization_id = msi.organization_id
  • AND med.sr_instance_id = msi.sr_instance_id;

Custom integrations may also query this table to extract exception data for downstream dashboards or alerting systems.

Related Objects

MSC_EXCEPTION_DETAILS maintains defined foreign key relationships with several other core planning tables, ensuring data integrity. As per the provided metadata, the key relationships are:

  • MSC_SYSTEM_ITEMS: Joined via INVENTORY_ITEM_ID, PLAN_ID, SR_INSTANCE_ID, and ORGANIZATION_ID. This validates and provides descriptive attributes for the item causing the exception.
  • MSC_DEPARTMENT_RESOURCES: Joined via PLAN_ID, ORGANIZATION_ID, RESOURCE_ID, SR_INSTANCE_ID, and DEPARTMENT_ID. This links capacity-related exceptions to the specific resource and department.
  • MSC_ITEM_EXCEPTIONS: Joined via PLAN_ID, EXCEPTION_TYPE, INVENTORY_ITEM_ID, ORGANIZATION_ID, and SR_INSTANCE_ID. This relationship likely connects detailed exception records to a higher-level exception summary or definition table.

The table is also the child entity in its primary key relationship, meaning it is frequently the target of joins from user interface views or summary exception reports that drill down into detail.