Search Results mrp_exception_details_v
Overview
MRP_EXCEPTION_DETAILS_V is a view owned by the APPS schema within the Oracle E-Business Suite Master Scheduling/MRP product family. It is documented as VALID in ETRM for both 12.1.1 and 12.2.2. The view provides what the documentation describes as an "enhanced exception message" — a presentation layer over the base planning exception data that resolves internal identifiers into business-meaningful values.
The base table MRP_EXCEPTION_DETAILS stores planning exceptions generated by the MRP, MPS, and DRP planning runs, keyed by numeric exception type codes and generic attribute columns (NUMBER1, NUMBER2, CHAR1, DATE1). These codes and generic slots are not directly interpretable. MRP_EXCEPTION_DETAILS_V performs the decoding: it maps exception type codes to lookup meanings, converts inventory item identifiers into item numbers, resolves organization identifiers into organization codes, and derives project and task context. The view therefore functions as the canonical reporting and integration interface for exception messages, shielding consumers from the internal encoding of the exception table.
Underlying Base Objects
The view is defined over MRP_EXCEPTION_DETAILS (SYNONYM) as its driving table, aliased MED in the view text. It is enriched by joins to several planning and manufacturing objects, all exposed as APPS synonyms for the corresponding base tables:
- MRP_RECOMMENDATIONS, MRP_FULL_PEGGING, MRP_GROSS_REQUIREMENTS, MRP_ONHAND_QUANTITIES, MRP_INVENTORY_LOTS — planning and supply/demand sources used to resolve quantities, project identifiers, and task identifiers for specific exception types.
- MTL_PARAMETERS — source of the organization code, suppressed for exception type 28.
- WIP_LINES, BOM_DEPARTMENTS, BOM_RESOURCES — work in process and resource context referenced for shop-floor-related exceptions.
In addition to these synonyms, the view invokes three PL/SQL components at runtime: MRP_EXCEPTION_SC (specifically the ITEM_NUMBER function) to translate an inventory item identifier into an item number, MRP_GET_PROJECT (LOOKUP_MEANING, PROJECT, and TASK functions) to resolve exception codes into lookup meanings and to convert project and task identifiers into display names, and MRP_GET_ORDER for order-level context. Because these are function calls embedded in the SELECT list, the view is not a simple join; row-level function execution occurs per returned row, which has performance implications.
Key Columns
The view exposes the primary key and audit columns of the underlying exception record — EXCEPTION_ID, COMPILE_DESIGNATOR, ORGANIZATION_ID, INVENTORY_ITEM_ID, EXCEPTION_TYPE, and the standard WHO columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN). Beyond these, the decoded columns include:
- A derived organization code, returned as NULL when EXCEPTION_TYPE is 28, otherwise sourced from MTL_PARAMETERS.ORGANIZATION_CODE.
- A derived item number produced by MRP_EXCEPTION_SC.ITEM_NUMBER, returning NULL when INVENTORY_ITEM_ID is NULL or -1.
- An exception type meaning resolved through MRP_GET_PROJECT.LOOKUP_MEANING against the MRP_EXCEPTION_CODE_TYPE lookup.
- Derived numeric attributes (NUMBER1/NUMBER2) mapped to project and task identifiers for exception types 17, 18, and 19, with additional DECODE branches supplying project and task display values via MRP_GET_PROJECT.PROJECT and MRP_GET_PROJECT.TASK. For exception type 19, the resolution depends on whether DATE1 is null, selecting either MRP_RECOMMENDATIONS or MRP_ONHAND_QUANTITIES context.
- A derived planning group value (CHAR1) for the same exception types 17, 18, and 19.
Common Use Cases and Queries
Typical usage includes exception workbenches, custom planner dashboards, and data extracts feeding external planning or BI systems. A basic query lists open exceptions for an organization with their decoded meanings:
- SELECT exception_id, organization_code, item_number, exception_type FROM mrp_exception_details_v WHERE organization_id = :org_id;
- SELECT exception_id, item_number, exception_meaning FROM mrp_exception_details_v WHERE exception_type IN (17, 18, 19);
Because project and task resolution is exception-type dependent, consumers should filter on EXCEPTION_TYPE when interpreting the derived project and task columns. Given the embedded PL/SQL calls, queries should filter on ORGANIZATION_ID and COMPILE_DESIGNATOR wherever possible to limit the number of rows passed through the function-based decoding, and large unfiltered extracts should be scheduled outside peak planning windows.
-
View: MRP_EXCEPTION_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_EXCEPTION_DETAILS_V, object_name:MRP_EXCEPTION_DETAILS_V, status:VALID, product: MRP - Master Scheduling/MRP , description: Enhanced exception message , implementation_dba_data: APPS.MRP_EXCEPTION_DETAILS_V ,
-
View: MRP_EXCEPTION_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_EXCEPTION_DETAILS_V, object_name:MRP_EXCEPTION_DETAILS_V, status:VALID, product: MRP - Master Scheduling/MRP , description: Enhanced exception message , implementation_dba_data: APPS.MRP_EXCEPTION_DETAILS_V ,
-
APPS.MRP_EXP_WF SQL Statements
12.2.2
-
SYNONYM: APPS.MRP_EXCEPTION_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_EXCEPTION_DETAILS, status:VALID,
-
PACKAGE: APPS.MRP_EXCEPTION_SC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_EXCEPTION_SC, status:VALID,
-
SYNONYM: APPS.MRP_FULL_PEGGING
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_FULL_PEGGING, status:VALID,
-
APPS.MRP_EXP_WF SQL Statements
12.1.1
-
SYNONYM: APPS.MRP_INVENTORY_LOTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_INVENTORY_LOTS, status:VALID,
-
PACKAGE: APPS.MRP_EXCEPTION_SC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_EXCEPTION_SC, status:VALID,
-
SYNONYM: APPS.MRP_ONHAND_QUANTITIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_ONHAND_QUANTITIES, status:VALID,
-
SYNONYM: APPS.MRP_ONHAND_QUANTITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_ONHAND_QUANTITIES, status:VALID,
-
PACKAGE: APPS.MRP_GET_ORDER
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_GET_ORDER, status:VALID,
-
SYNONYM: APPS.MRP_EXCEPTION_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_EXCEPTION_DETAILS, status:VALID,
-
SYNONYM: APPS.MRP_FULL_PEGGING
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_FULL_PEGGING, status:VALID,
-
PACKAGE: APPS.MRP_GET_ORDER
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_GET_ORDER, status:VALID,
-
SYNONYM: APPS.MRP_INVENTORY_LOTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_INVENTORY_LOTS, status:VALID,
-
SYNONYM: APPS.MRP_GROSS_REQUIREMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_GROSS_REQUIREMENTS, status:VALID,
-
SYNONYM: APPS.MRP_GROSS_REQUIREMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_GROSS_REQUIREMENTS, status:VALID,
-
PACKAGE: APPS.MRP_GET_PROJECT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_GET_PROJECT, status:VALID,
-
PACKAGE: APPS.MRP_GET_PROJECT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_GET_PROJECT, status:VALID,
-
PACKAGE BODY: APPS.MRP_EXP_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_EXP_WF, status:VALID,
-
SYNONYM: APPS.MRP_RECOMMENDATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_RECOMMENDATIONS, status:VALID,
-
SYNONYM: APPS.MRP_RECOMMENDATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_RECOMMENDATIONS, status:VALID,
-
PACKAGE BODY: APPS.MRP_EXP_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_EXP_WF, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.MRP_EXCEPTION_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_EXCEPTION_DETAILS_V, object_name:MRP_EXCEPTION_DETAILS_V, status:VALID,
-
VIEW: APPS.MRP_EXCEPTION_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_EXCEPTION_DETAILS_V, object_name:MRP_EXCEPTION_DETAILS_V, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.WIP_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_LINES, status:VALID,
-
SYNONYM: APPS.WIP_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WIP_LINES, status:VALID,
-
PACKAGE BODY: APPS.MRP_EXP_WF
12.2.2
-
PACKAGE BODY: APPS.MRP_EXP_WF
12.1.1
-
SYNONYM: APPS.BOM_DEPARTMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BOM_DEPARTMENTS, status:VALID,
-
SYNONYM: APPS.BOM_RESOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BOM_RESOURCES, status:VALID,
-
SYNONYM: APPS.BOM_DEPARTMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BOM_DEPARTMENTS, status:VALID,
-
SYNONYM: APPS.BOM_RESOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BOM_RESOURCES, status:VALID,
-
APPS.MRP_EXP_WF dependencies on MRP_EXCEPTION_DETAILS_V
12.2.2
-
APPS.MRP_EXP_WF dependencies on MRP_EXCEPTION_DETAILS_V
12.1.1
-
APPS.MRP_EXP_WF dependencies on OE_ORDER_TYPES_V
12.1.1
-
APPS.MRP_EXP_WF dependencies on MTL_SALES_ORDERS
12.1.1
-
APPS.MRP_EXP_WF dependencies on MRP_PLAN_ORGANIZATIONS_V
12.2.2
-
APPS.MRP_EXP_WF dependencies on MRP_RECOMMENDATIONS
12.2.2
-
APPS.MRP_EXP_WF dependencies on OE_ORDER_TYPES_V
12.2.2
-
APPS.MRP_EXP_WF dependencies on MRP_SCHEDULE_DATES
12.2.2
-
APPS.MRP_EXP_WF dependencies on MRP_SCHEDULE_DATES
12.1.1
-
APPS.MRP_EXP_WF dependencies on PO_VENDORS
12.1.1
-
APPS.MRP_EXP_WF dependencies on MRP_PLAN_ORGANIZATIONS_V
12.1.1
-
APPS.MRP_EXP_WF dependencies on MTL_SALES_ORDERS
12.2.2