Search Results pa_parallel_ai_restart
Overview
PA_PARALLEL is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite, and it is classified in the ETRM repository under the API classification OTHER. Its name indicates its core business purpose: managing parallelism in the Oracle Projects (PA) module, specifically the orchestration of parallel processing work in the Project Accounting environment. Rather than exposing a broad public API, this package body provides the internal machinery that supports multi-process execution of Projects-related jobs, allowing large volumes of project data to be processed in concurrent streams instead of serially. The package is documented as VALID in both the 12.1.1 and 12.2.2 release lines, meaning it remains an active and supported component of the EBS codebase. Its declared dependencies are narrow and purposeful, referencing PA_IMPLEMENTATIONS_ALL, PA_PARALLEL_AUTOINSTALL, PA_UTILS and the standard SYS constructs (DBMS_STANDARD, STANDARD) plus PUBLIC.DUAL. Notably, the metadata records that APPS.PA_PARALLEL is not referenced by any database object, which confirms its role as a top-level or internally-invoked utility rather than a dependency for other published PL/SQL APIs.
Key Procedures and Functions
Two documented procedures/functions are associated with this package body:
- PA_PARALLEL_AI_RESTART — This procedure handles the restart behavior of parallel processing automation. Based on the naming convention (AI commonly denotes AutoInstall or automatic initialization within the PA schema, as corroborated by the referenced PA_PARALLEL_AUTOINSTALL table), it provides the logic required to resume or restart parallel work that was interrupted, ensuring that partially completed parallel runs can be re-initiated without corrupting project data. It is the primary operational entry point exposed by this package body.
- GET_CURRENCY — This function returns a currency value used by the parallel processing framework. Currency context is essential in Oracle Projects because parallel streams may span multiple operating units, and each implementation record in PA_IMPLEMENTATIONS_ALL carries its own functional currency. GET_CURRENCY centralizes retrieval of that currency value so the parallel routines can apply correct currency handling consistently across concurrent processes.
Consistent with ETRM practice, no parameter signatures are documented for these units, and no additional procedures are declared in the metadata.
Tables Accessed
The documented table references are:
- PA_IMPLEMENTATIONS_ALL — The Projects implementation/operating unit definition table. The package reads this table to determine the set of implementations and their associated currency and setup attributes when scheduling and validating parallel work.
- PA_PARALLEL_AUTOINSTALL — A configuration table that records the parallel/autoinstall setup for the Projects environment. PA_PARALLEL_AI_RESTART and the related internal logic use this table to discover which parallel jobs are configured and how they should be restarted.
- DUAL — The standard Oracle single-row dummy table, referenced for scalar evaluations and currency lookups that require no physical table access.
Access appears to be read-oriented, with the package primarily consuming configuration and context rather than writing transaction data.
Usage Notes
PA_PARALLEL is invoked indirectly rather than from end-user screens. Because it is not referenced by any other database object, it is typically called through the Projects concurrent program framework, where a parent or driver program launches parallel workers and relies on PA_PARALLEL_AI_RESTART to manage failures and resubmission. The PA_UTILS dependency indicates it leverages shared Projects utilities for logging, error handling and common lookups. Administrators encounter this package when diagnosing stuck or failing large Projects concurrent requests, or when reviewing the PA_PARALLEL_AUTOINSTALL configuration during implementation. In custom extension work, developers may reference GET_CURRENCY to obtain implementation currency in a manner consistent with the parallel framework, but direct calls to PA_PARALLEL_AI_RESTART should be treated cautiously and generally reserved for Oracle-supported restarts.
-
PACKAGE BODY: APPS.PA_PARALLEL
12.2.2
-
PACKAGE BODY: APPS.PA_PARALLEL
12.1.1
-
PACKAGE: APPS.PA_PARALLEL
12.2.2
-
PACKAGE: APPS.PA_PARALLEL
12.1.1
-
APPS.PA_PARALLEL dependencies on PA_PARALLEL
12.2.2
-
APPS.PA_PARALLEL dependencies on PA_PARALLEL
12.1.1
-
APPS.PA_PARALLEL dependencies on PA_IMPLEMENTATIONS_ALL
12.1.1
-
APPS.PA_PARALLEL dependencies on PA_IMPLEMENTATIONS_ALL
12.2.2
-
APPS.PA_PARALLEL dependencies on PA_PARALLEL_AUTOINSTALL
12.1.1
-
APPS.PA_PARALLEL dependencies on PA_PARALLEL_AUTOINSTALL
12.2.2