Search Results summerize_project_totals




Overview

PA_BUDGET_UTILS is a foundational PL/SQL utility package in the Oracle EBS Projects (PA) module, owned by APPS and classified as an OTHER API. It centralizes the low-level logic that governs project and task budget creation, versioning, and validation. Rather than exposing a single business transaction, the package provides the shared building blocks used by the Budgets form, concurrent processes, and other APIs that must create drafts, resolve baseline or original versions, determine budget amount and entry-method codes, and verify that budget rules are honored before data is committed.

The package maintains global variables—including G_ENTRY_LEVEL_CODE, G_BGT_INTG_FLAG, G_PROJECT_ID, and the project, functional, and transaction currency globals—that are populated on demand and reused across calls, particularly when the project context changes. This caching pattern reduces repeated lookups of project currency information during interactive budgeting sessions.

The user search term "summerize_project_totals" corresponds directly to the documented procedure SUMMERIZE_PROJECT_TOTALS, which aggregates budget line amounts to produce project-level totals. Note that the packaged identifier retains the historical spelling "SUMMERIZE" (rather than "SUMMARIZE"), a naming artifact carried forward for backward compatibility. Custom code must reference the procedure using the exact packaged spelling.

Key Procedures and Functions

The documented interface comprises twenty-nine procedures and functions, grouped by purpose below.

Tables Accessed

The package reads and writes against the core budgeting and project tables through APPS synonyms. PA_PROJECTS_ALL, PA_PROJECTS, and PA_TASKS supply project and task context. PA_BUDGET_VERSIONS, PA_BUDGET_VERSIONS_S, PA_BUDGET_LINES, and PA_BUDGET_LINES_S hold budget version headers and detail lines, including draft and baselined data. PA_BUDGET_TYPES supplies budget type definitions, while PA_BUDGET_ENTRY_METHODS and PA_BUDGETARY_CONTROL_OPTIONS drive entry-method and rule-checking behavior. PA_RESOURCE_ASSIGNMENTS, PA_RESOURCE_ASSIGNMENTS_S, and PA_RESOURCE_LIST_MEMBERS support resource list and membership validation, and PA_PROJECT_TYPES together with PA_PROJ_FP_OPTIONS govern project-type-level budgeting options.

Usage Notes

PA_BUDGET_UTILS is referenced by twenty-six other packages, confirming its role as a shared dependency rather than an end-user entry point. It is typically invoked indirectly: the Budgets form calls it to populate globals and validate entries, budget-related concurrent programs use it when creating or deleting drafts, and custom extensions call individual functions (for example, GET_BASELINED_VERSION_ID or SUMMERIZE_PROJECT_TOTALS) to obtain version identifiers or aggregated totals. Because the package caches project currency and project ID in package globals, callers operating in long-lived sessions should be aware that the cached context refreshes only when the incoming project ID differs from G_PROJECT_ID.