Search Results exception_meaning
Overview
APPS.PA_ALLOC_EXCEPTIONS_V is a reporting and inquiry view in Oracle E-Business Suite that exposes exception records generated during the execution of project allocation processes. Allocation runs distribute and spread costs, revenue, and quantities across projects and tasks according to user-defined allocation rules, and the underlying PA_ALLOC_EXCEPTIONS table captures every condition that prevented or altered the expected allocation outcome. The view decorates those raw exception rows with decoded, human-readable descriptions so that users and downstream integrations do not need to interpret coded lookup values themselves.
Its primary role is diagnostic. When an allocation run completes with warnings, the run produces one or more exception rows keyed by RUN_ID. The view translates EXCEPTION_TYPE and LEVEL_CODE into their lookup meanings, resolves the affected project and task into recognizable identifiers, and converts the exception message code into a translatable message string through FND_MESSAGE.GET_STRING. Because it hides the joins and the code-to-meaning conversion, the view is the standard entry point for allocation troubleshooting reports, concurrent program output, and OBIEE or custom reports that surface allocation errors to the project accounting user community.
Underlying Base Objects
The view is defined over five referenced objects. PA_ALLOC_EXCEPTIONS is the driving base object and supplies all exception rows, including RUN_ID, EXCEPTION_TYPE, LEVEL_CODE, PROJECT_ID, TASK_ID, and EXCEPTION_CODE. PA_LOOKUPS is joined twice: once as L1 on LOOKUP_TYPE = 'ALLOC_EXCEPTION_TYPE' to decode the exception category, and once as L2 on LOOKUP_TYPE = 'ALLOC_EXCEPTION_LEVEL' to decode the level at which the exception occurred. PA_PROJECTS_ALL and PA_TASKS are joined with outer joins on PROJECT_ID and TASK_ID respectively, so exceptions that are not tied to a specific project or task are still returned, with the project segment, name, task number, and task name showing as null. FND_MESSAGE is a package rather than a table; the view calls its GET_STRING function at query time to return the translatable message text for the exception code, falling back to the raw code via NVL when no message is registered.
Key Columns
- RUN_ID — Identifier of the allocation run that produced the exception; the primary grouping key for diagnostics.
- EXCEPTION_TYPE — Coded value from PA_LOOKUPS with lookup type ALLOC_EXCEPTION_TYPE.
- EXCEPTION_TYPE (MEANING) — The decoded, user-facing meaning of the exception type, aliased as EXCEPTION_TYPE in the select list.
- LEVEL_CODE — Coded level at which the exception was raised, decoded against lookup type ALLOC_EXCEPTION_LEVEL.
- EXCEPTION_LEVEL — Decoded meaning of LEVEL_CODE.
- PROJECT_ID / PROJECT — Internal project identifier and the SEGMENT1 project number from PA_PROJECTS_ALL.
- NAME — Project name from PA_PROJECTS_ALL.
- TASK_ID / TASK — Task identifier and TASK_NUMBER from PA_TASKS.
- TASK_NAME — Descriptive task name from PA_TASKS.
- EXCEPTION_CODE — The raw exception message code, retained for reference and diagnostic purposes.
- (Message) — The final select column returns FND_MESSAGE.GET_STRING('PA', EXCEPTION_CODE), defaulting to EXCEPTION_CODE when no message string exists.
Common Use Cases and Queries
Typical use cases include post-run troubleshooting of a specific allocation run, batch reporting of all exceptions over a period, and integration extracts that feed error dashboards. The following query lists all exceptions for a single run, with decoded types and project context:
SELECT run_id, exception_type, exception_level, project, name, task, exception_code FROM apps.pa_alloc_exceptions_v WHERE run_id = :p_run_id;
To aggregate exceptions by category across runs:
SELECT exception_type, exception_level, COUNT(*) FROM apps.pa_alloc_exceptions_v GROUP BY exception_type, exception_level ORDER BY COUNT(*) DESC;
To find exceptions affecting a particular project:
SELECT run_id, exception_type, task, exception_code FROM apps.pa_alloc_exceptions_v WHERE project = :p_project_number;
Because joins to PA_PROJECTS_ALL and PA_TASKS are outer joins, consumers should not filter on PROJECT or TASK unless they specifically require project-level or task-level exceptions.
-
VIEW: APPS.PA_ALLOC_EXCEPTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_ALLOC_EXCEPTIONS_V, object_name:PA_ALLOC_EXCEPTIONS_V, status:VALID,
-
VIEW: APPS.PA_ALLOC_EXCEPTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_ALLOC_EXCEPTIONS_V, object_name:PA_ALLOC_EXCEPTIONS_V, status:VALID,
-
View: PA_ALLOC_EXCEPTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_ALLOC_EXCEPTIONS_V, object_name:PA_ALLOC_EXCEPTIONS_V, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_ALLOC_EXCEPTIONS_V ,
-
View: PA_ALLOC_EXCEPTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_ALLOC_EXCEPTIONS_V, object_name:PA_ALLOC_EXCEPTIONS_V, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_ALLOC_EXCEPTIONS_V ,
-
eTRM - PA Tables and Views
12.1.1
-
eTRM - PA Tables and Views
12.2.2