Search Results format_precedence_init




Overview

PA_RESOURCE_PREC_PUB is a public PL/SQL package in the APPS schema that supports Oracle Projects' resource planning functionality. Its specific role is to compute and apply the precedence, or ranking, of resources displayed on project resource plan layouts. In Oracle Projects, resources such as expenditures, people, and organizations can appear in many rows of a plan; the precedence setup determines the order in which these rows are presented and how competing entries are prioritized when a plan is formatted. This package encapsulates that logic so that it can be reused consistently across the planning forms and concurrent processes that render the resource planning user interface.

The package is registered with an API classification of PUB, meaning Oracle treats it as a public interface that other application code may call. Its name follows the Oracle Projects naming convention in which the _PUB suffix marks a public wrapper, while the underlying implementation resides in the package body.

Key Procedures and Functions

The documented ETRM metadata identifies a single public procedure or function: FORMAT_PRECEDENCE_INIT.

  • FORMAT_PRECEDENCE_INIT — Initialization routine associated with resource plan format precedence. Based on its name and the package context, this procedure is invoked to initialize the precedence information used when formatting resource plans. It establishes the internal state or working structures needed so that subsequent formatting logic can rank resource rows according to the configured precedence rules. Callers invoke it before other precedence-dependent processing so that a consistent ordering basis is available.

No additional procedures or functions are documented for this package. Parameter signatures are not reproduced here, and callers should inspect the actual package specification in the APPS schema for the current interface.

Tables Accessed

The ETRM dependency listing shows that APPS.PA_RESOURCE_PREC_PUB references the table or view APPS.PA_PLAN_RES_FORMAT. This object stores resource plan format definitions, including the formatting attributes that drive how plan rows are displayed. The package reads this data as the source of the precedence settings that FORMAT_PRECEDENCE_INIT initializes. The dependency metadata does not reveal the full set of SQL operations, so the package may perform only read access against PA_PLAN_RES_FORMAT, or it may supplement reads with writes to related structures; the documented dependency identifies PA_PLAN_RES_FORMAT as the principal data source.

The package also relies on the standard SYS.STANDARD package, which is a normal dependency of virtually all PL/SQL units.

Usage Notes

PA_RESOURCE_PREC_PUB is referenced by at least one other package, APPS.PA_RESOURCE_MAPPING, indicating that it participates in a larger resource mapping and formatting chain within Oracle Projects. It also references itself, which may reflect an internal call path within the package body. Typical invocation occurs when a user opens or runs a resource plan and the application must apply the precedence configuration before rendering resource rows. This can happen through Oracle Projects resource plan forms, through concurrent programs that generate or refresh plan output, or through custom extensions that need to reproduce standard plan formatting behavior.

Because the package is classified as PUB, it is a supported integration point; nevertheless, custom code should call it only in the sequence expected by the standard formatting logic, typically initializing precedence before invoking dependent formatting routines. Sites upgrading between 12.1.1 and 12.2.2 should verify the package status remains VALID after patching, since invalid state would break dependent components such as PA_RESOURCE_MAPPING.