Results for “psb_worksheet_consolidate”

50+ results




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

Overview

PSB_WORKSHEET_CONSOLIDATE is an Oracle Application Object Library (APPS) PL/SQL package within the Oracle E-Business Suite Public Sector Budgeting (PSB) module. This package serves as the consolidation engine for budget worksheets, allowing budget analysts and administrators to merge multiple lower-level worksheet entries into a single aggregated worksheet. The consolidation process is central to the "roll-up" budgeting methodology used by public sector agencies, where funds are budgeted at the department, cost center, or organizational level and subsequently combined into a higher-level view for approval and reporting.

From a technical standpoint, the package provides the server-side logic that joins worksheet data with budget groups, account position sets, and employee/pay element structures. Its API classification in the ETRM is "OTHER," meaning it is not a fully documented public API but remains a valid, compiled schema object. The package has two documented subprograms and is referenced by one other package, PSB_WORKSHEET_CONSOLIDATE_PVT, which typically contains the private implementation logic used by the public wrapper package.

Key Procedures and Functions

  • CONSOLIDATE_WORKSHEETS — Executes the primary consolidation operation. It accepts worksheet identifiers and combines their position, account, and attribute values into a target consolidated worksheet. In production it orchestrates the insert, update, and delete operations across the worksheet line tables, ensuring that the consolidated result reflects the latest position data.
  • VALIDATE_CONSOLIDATION — Performs the pre-consolidation validation checks. It verifies that the source worksheets share compatible budget groups, account position sets, and attribute definitions, and that no conflicting position set lines prevent a valid roll-up. It returns success or failure to the caller before any data is modified.

These two procedures form a validate-then-execute pattern common in EBS budget utilities. The package itself does not expose an extensive parameter list in the documented metadata; parameter details are maintained in the package specification rather than the ETRM excerpt.

Tables Accessed

The documented tables span the core PSB configuration and transactional structures:

All tables are accessed through APPS synonyms, ensuring schema portability and dependency tracking in the ETRM.

Usage Notes

PSB_WORKSHEET_CONSOLIDATE is typically invoked from the Public Sector Budgeting worksheet consolidation form and from concurrent programs that batch-process multiple worksheet groups. Because it depends on FND_API and the standard SYS.STANDARD package, it follows Oracle's standard error-handling conventions and can be called safely within a transaction managed by an Oracle Forms block or a PL/SQL concurrent program. Custom code should invoke CONSOLIDATE_WORKSHEETS only after VALIDATE_CONSOLIDATION returns success, and should commit explicitly when used outside the standard PSB form flow. The package is referenced by PSB_WORKSHEET_CONSOLIDATE_PVT, indicating that direct calls are normally routed through the private implementation package.