Results for “psb_entity_set_pvt”

38 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PSB_ENTITY_SET_PVT is a private PL/SQL package body in the APPS schema that supports the entity set infrastructure of Oracle E-Business Suite's Public Sector Budgeting (PSB) module. Entity sets are the grouping mechanism through which budgeting structures—positions, employees, organizations, and other budget entities—are organized for processing within worksheet-driven budget preparation. The package provides the low-level data manipulation and validation layer that the corresponding public API and Oracle Forms-based maintenance screens depend upon. Because the API classification is PVT, the package is not intended for direct invocation by external or customer code; it is expected to be called only by other PSB packages and by the forms that maintain entity set definitions. The body was compiled as VALID and references a broad set of PSB tables and shared foundation utilities, indicating a central role in entity set record maintenance.

Key Procedures and Functions

The documented package exposes six procedures, each addressing a standard maintenance or validation operation:

  • INSERT_ROW — Creates a new entity set record in the underlying PSB_ENTITY_SET table, applying the column defaulting and audit conventions used throughout the PSB schema.
  • LOCK_ROW — Issues a locking read against an existing entity set row, typically used within a transaction to prevent concurrent modification before an update or delete.
  • UPDATE_ROW — Modifies an existing entity set record, generally after a successful LOCK_ROW call.
  • DELETE_ROW — Removes an entity set record from PSB_ENTITY_SET.
  • COPY_ENTITY_SET — Duplicates an entity set, including its membership and related configuration, to accelerate the creation of similar sets.
  • CHECK_REFERENCES — Validates whether an entity set is referenced by dependent data, protecting referential integrity before deletion or modification.

No parameter lists are documented in the ETRM metadata, and the procedures should be treated as internal implementation units rather than a published interface.

Tables Accessed

The body references a substantial set of PSB tables through APPS synonyms. The core table is PSB_ENTITY_SET, which stores the entity set header and is the target of INSERT_ROW, UPDATE_ROW, DELETE_ROW, and COPY_ENTITY_SET. PSB_ENTITY and PSB_ENTITY_S hold the entity definitions themselves, while PSB_ENTITY_ASSIGNMENT and PSB_SET_RELATIONS (with PSB_SET_RELATIONS_S) capture membership and set-to-set relationships that support copying and reference checking. Attribute-related configuration is read from PSB_ATTRIBUTES and PSB_ATTRIBUTE_VALUES / PSB_ATTRIBUTE_VALUES_S. Budgeting and formula context comes from PSB_BUDGET_REVISIONS, PSB_CONSTRAINT_FORMULAS and its _S table, PSB_PARAMETER_FORMULAS and its _S table, PSB_ACCOUNT_POSITION_SETS and PSB_ACCOUNT_POSITION_SET_LINES, PSB_PAY_ELEMENTS and its option and rate tables, and PSB_POSITION_SET_LINE_VALUES. PSB_WORKSHEETS and PSB_DATA_EXTRACTS round out the dependency list, reflecting use of entity sets during worksheet generation and extract processing.

Usage Notes

Because PSB_ENTITY_SET_PVT is a private package, it is invoked indirectly. Oracle Forms maintaining entity sets in the Public Sector Budgeting responsibility call these procedures through the forms' PL/SQL program units, and other PSB packages—notably PSB_ENTITY_SET_PVT's own callers, the two packages documented as referencing it—use it during entity set copy and validation flows. The presence of FND_API, FND_MSG_PUB, FND_MESSAGE, and FND_GLOBAL in the dependency list indicates that the procedures participate in the standard EBS API error-handling and message stack model, and APP_EXCEPTION is referenced for exception propagation. Customizations that bypass the documented interface and call these procedures directly risk violating referential expectations and are not supported. Any extension should instead target the corresponding public API or the standard maintenance forms.