Search Results msc_exception_lookup_v
Overview
MSC_EXCEPTION_LOOKUP_V is a reporting view owned by the APPS schema within the MSC (Advanced Supply Chain Planning) product family of Oracle E-Business Suite. Its purpose is to present a unified, reportable list of planning exception types and their assigned exception groups as used by the Advanced Supply Chain Planning (ASCP) exception engine. Planning exceptions are the deviations that ASCP identifies during a plan run, such as late supply, excess inventory, resource overload, or demand shortfalls. Rather than requiring reports and integrations to join lookup tables directly, this view consolidates the seeded exception definitions shipped by Oracle with any customer-defined exceptions stored in the MSC_USER_EXCEPTIONS table, producing a single result set suitable for LOVs, reports, and integration extracts.
The view carries a VALID status in the ETRM metadata for 12.1.1 and 12.2.2 and is documented as containing seven columns. It is important to note that it is a lookup/metadata view, not a transactional one; it does not contain plan-specific exception occurrences, only the catalog of exception types and the group to which each belongs.
Underlying Base Objects
According to the ETRM metadata, MSC_EXCEPTION_LOOKUP_V is defined over two referenced base objects, both exposed through synonyms: FND_LOOKUP_VALUES and MSC_USER_EXCEPTIONS.
- FND_LOOKUP_VALUES (SYNONYM): The Oracle Application Object Library lookup table. The view queries it twice under the aliases FLV and FLV_GROUP. The FLV instance reads lookup type MSC_X_EXCEPTION_TYPE, and FLV_GROUP reads lookup type MSC_X_EXCEPTION_GROUP, both restricted to LANGUAGE = 'US'.
- MSC_USER_EXCEPTIONS (SYNONYM): Stores user-defined exception definitions created by planners, including EXCEPTION_ID, NAME, COMPANY_ID, SECURITY_FLAG, and CREATED_BY.
The view text is a UNION ALL. The first branch returns the seeded exception types from FND_LOOKUP_VALUES and maps each to its group via a large DECODE expression over the lookup code (values 1–46 mapping to groups 1–9). The second branch returns user-defined exceptions from MSC_USER_EXCEPTIONS, assigning each the group whose lookup code is -99. Both branches therefore describe exception types within a common group taxonomy.
Key Columns
- EXCEPTION_TYPE: The display name/meaning of the exception; derived from FLV.MEANING for seeded entries and from UDE.NAME for user-defined entries.
- EXCEPTION_TYPE_ID: The identifier for the exception; the seeded lookup code, or TO_CHAR(UDE.EXCEPTION_ID) for user-defined rows.
- EXCEPTION_GROUP: The meaning of the parent exception group from the MSC_X_EXCEPTION_GROUP lookup.
- EXCEPTION_GROUP_ID: The lookup code of that group.
- COMPANY_ID: Hard-coded to -99 for seeded rows; the owning company for user-defined exceptions.
- SECURITY_FLAG: Hard-coded to 'Y' for seeded rows; taken from the user exception record otherwise.
- USER_ID: Hard-coded to -99 for seeded rows; the CREATED_BY value for user-defined exceptions.
Common Use Cases and Queries
Typical uses include populating exception-type selection lists in custom ASCP reports, mapping exception groups for dashboards, and validating exception IDs in integration payloads.
SELECT exception_group, exception_type, exception_type_id FROM msc_exception_lookup_v ORDER BY exception_group, exception_type;
SELECT exception_type, exception_type_id FROM msc_exception_lookup_v WHERE exception_group_id = 7;
SELECT exception_type_id FROM msc_exception_lookup_v WHERE user_id != -99;
The final query isolates customer-defined exceptions, since seeded rows always carry USER_ID = -99.
-
View: MSC_EXCEPTION_LOOKUP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_EXCEPTION_LOOKUP_V, object_name:MSC_EXCEPTION_LOOKUP_V, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: APPS.MSC_EXCEPTION_LOOKUP_V ,
-
View: MSC_EXCEPTION_LOOKUP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_EXCEPTION_LOOKUP_V, object_name:MSC_EXCEPTION_LOOKUP_V, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: APPS.MSC_EXCEPTION_LOOKUP_V ,
-
SYNONYM: APPS.MSC_USER_EXCEPTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_USER_EXCEPTIONS, status:VALID,
-
SYNONYM: APPS.MSC_USER_EXCEPTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_USER_EXCEPTIONS, status:VALID,
-
VIEW: APPS.MSC_EXCEPTION_LOOKUP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_EXCEPTION_LOOKUP_V, object_name:MSC_EXCEPTION_LOOKUP_V, status:VALID,
-
VIEW: APPS.MSC_EXCEPTION_LOOKUP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_EXCEPTION_LOOKUP_V, object_name:MSC_EXCEPTION_LOOKUP_V, status:VALID,
-
PACKAGE BODY: APPS.MSC_GET_NAME
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_GET_NAME, status:VALID,
-
PACKAGE BODY: APPS.MSC_GET_NAME
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_GET_NAME, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_GET_NAME dependencies on MSC_EXCEPTION_LOOKUP_V
12.1.1
-
APPS.MSC_GET_NAME dependencies on MSC_EXCEPTION_LOOKUP_V
12.2.2
-
SYNONYM: APPS.FND_LOOKUP_VALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_LOOKUP_VALUES, status:VALID,
-
SYNONYM: APPS.FND_LOOKUP_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_LOOKUP_VALUES, status:VALID,
-
APPS.MSC_GET_NAME SQL Statements
12.1.1
-
APPS.MSC_GET_NAME SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_GET_NAME
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.MSC_GET_NAME
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - MSC Tables and Views
12.1.1
description: This table contains the mapping between user-defined zone and included regions ,
-
eTRM - MSC Tables and Views
12.2.2
description: This table contains the mapping between user-defined zone and included regions ,
-
eTRM - MSC Tables and Views
12.1.1
description: This table contains the mapping between user-defined zone and included regions ,
-
eTRM - MSC Tables and Views
12.2.2
description: This table contains the mapping between user-defined zone and included regions ,