Results for “validate_consolidation”
8 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:
- PSB_BUDGET_GROUPS — Defines the budget group that scopes the consolidation.
- PSB_ACCOUNT_POSITION_SETS and PSB_ACCOUNT_POSITION_SETS_S — Store the account position set headers used to align accounts during consolidation.
- PSB_ACCOUNT_POSITION_SET_LINES and PSB_ACCT_POSITION_SET_LINES_S — Provide the line-level position definitions applied to worksheet rows.
- PSB_ATTRIBUTES, PSB_ATTRIBUTES_S, PSB_ATTRIBUTE_VALUES, and PSB_ATTRIBUTE_VALUES_S — Hold worksheet attributes and their values, which must be preserved or aggregated during consolidation.
- PSB_ELEMENT_POS_SET_GROUPS and PSB_ELEMENT_POS_SET_GROUPS_S — Link element position sets to groups, controlling how pay elements are consolidated.
- PSB_EMPLOYEES, PSB_EMPLOYEES_S, and PSB_PAY_ELEMENTS — Supply employee and pay element data for personnel-related worksheet lines.
- PSB_DATA_EXTRACTS — Supports extraction of consolidated data for downstream reporting.
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.