Search Results pa_rbs_elements_pub




Overview

PA_RBS_ELEMENTS_PUB is a public PL/SQL application programming interface (API) package in the Oracle E-Business Suite Applications (APPS) schema, classified as a PUB-layer API within Oracle Projects. Its business purpose is to manage the element-level detail of a Resource Breakdown Structure (RBS), the hierarchical classification used throughout Oracle Projects to organize and report on resources such as personnel, expenditures, and billing categories. In Oracle EBS 12.1.1 and 12.2.2, the RBS is fundamental to project reporting, costing, budgeting, and burdening, and this package provides the supported, programmatic entry point for creating and maintaining those element records from outside the standard Project Resource Management forms. By exposing an API rather than requiring direct DML against the underlying tables, PA_RBS_ELEMENTS_PUB enforces the validation and integrity rules that preserve the RBS hierarchy and protect dependent reporting structures.

Key Procedures and Functions

The documented package metadata identifies three procedures:

  • PROCESS_RBS_ELEMENTS — The primary public entry point for creating, updating, or otherwise maintaining RBS element records. It accepts caller-supplied element data (including the associated resource type and other descriptive attributes) and processes it through the standard API validation and persistence logic, ensuring elements are correctly attached to their parent RBS structures.
  • POPULATEERRORSTACK — A supporting procedure that populates the standard FND_API global error stack (via the FND_MSG_PUB mechanism) whenever a validation or processing failure occurs. It allows calling programs to retrieve structured, multi-message diagnostics rather than a single generic error.

The package also exposes a private specification/body dependency on PA_RBS_ELEMENTS_PUB itself, reflecting internal helper routines that are not part of the documented public surface.

Tables Accessed

The package reads and writes the following tables through APPS synonyms:

  • PA_RBS_ELEMENTS — The core table holding individual RBS element records; this is the principal insert/update target of PROCESS_RBS_ELEMENTS.
  • PA_RBS_VERSIONS_B — Stores the version header information for an RBS, providing the version context into which elements are placed.
  • PA_RES_TYPES_TL — The translated resource type lookup, used to validate that a supplied resource type is valid and to resolve its descriptive name.
  • PLITBLM — The standard EBS temporary table used for storing multi-row (array) input data during API processing.

In addition, the package relies on the PA_NUM_TBL_TYPE, PA_VARCHAR2_1_TBL_TYPE, and PA_VARCHAR2_240_TBL_TYPE PL/SQL collection types, which are commonly used to pass numeric and character array parameters into Projects APIs.

Usage Notes

PA_RBS_ELEMENTS_PUB is a standard PL/SQL API and, as its PUB classification indicates, is intended for use by external callers: Oracle Projects forms and concurrent programs, other Oracle Projects packages (notably PA_RBS_HEADER_PUB, which references it), and custom extensions. It is typically invoked from server-side PL/SQL, a concurrent program, or a custom Oracle Forms or OAF page rather than by end users directly. The recommended invocation pattern is to begin a database transaction, call PROCESS_RBS_ELEMENTS, inspect the FND_API return status, retrieve any messages via POPULATEERRORSTACK, and commit only on success. Because the package manipulates core RBS structures, callers should validate that the target RBS version is in an open or editable state before invoking, and should avoid direct DML against PA_RBS_ELEMENTS to preserve referential and versioning integrity.