Search Results pa_resource
Overview
APPS.PA_ACCUM_API is a public PL/SQL package body in the Oracle Projects (PA) module of Oracle E-Business Suite, available in both 12.1.1 and 12.2.2. Its classification in the ETRM repository is API, indicating it is intended to be called programmatically rather than only from internal product code. The package consolidates and retrieves project accumulation data — summarized transaction and resource amounts — for reporting, period-based processing, and downstream cost or revenue calculations. It centralizes the logic for resolving project accumulations by period, resource, task, and expenditure category, shielding callers from the underlying PA_TXN_ACCUM and PA_RESOURCE_ACCUM_DETAILS structures. The package header carries the identifier $Header: PAAAPIB.pls 120.2 2005/08/19 16:13:17 mwasowic ship $, and a helper procedure, GET_PERIOD_DATE_RANGE, resolves period start and end dates from either GL or PA period sources based on a period type flag ('G' for GL periods versus the PA default).
Key Procedures and Functions
The documented package exposes four procedures:
- GET_PROJ_TXN_ACCUM — Returns accumulated transaction amounts for a project, aggregating detail stored in PA_TXN_ACCUM and PA_TXN_ACCUM_DETAILS into summary values suitable for reporting or interface processing.
- GET_PROJ_RES_ACCUM — Returns accumulated resource-level amounts, drawing on PA_RESOURCE_ACCUM_DETAILS and PA_RESOURCE_LIST_MEMBERS to summarize quantities and costs by resource.
- GET_PROJ_ACCUM_ACTUALS — Returns accumulated actual amounts for a project across the applicable accumulation dimensions, reflecting the actual (transaction) side of project balances.
- GET_PROJ_ACCUM_BUDGETS — Returns accumulated budget amounts for a project, mirroring the actuals procedure for the budget (plan) side.
Parameter lists are not reproduced here; the API follows Oracle Projects conventions using IN/OUT and NOCOPY parameters, including error stage and error code outputs, as illustrated by GET_PERIOD_DATE_RANGE, which accepts period type, from-period, and to-period inputs and returns start and end dates along with x_err_stage and x_err_code.
Tables Accessed
The package reads and writes through APPS synonyms of the following tables:
- GL_PERIOD_STATUSES — Used to derive period start and end dates when resolving date ranges, filtered by set of books, application, and adjustment-period flag.
- PA_IMPLEMENTATIONS — Supplies the set of books and application context for period lookups.
- PA_PERIODS — Provides PA-defined period information used in date-range resolution.
- PA_TXN_ACCUM and PA_TXN_ACCUM_DETAILS — Store accumulated transaction summary and detail data returned by GET_PROJ_TXN_ACCUM.
- PA_RESOURCE_ACCUM_DETAILS and PA_RESOURCE_LIST_MEMBERS — Hold resource-level accumulation detail and resource list membership used by GET_PROJ_RES_ACCUM.
- PA_TASKS — Supplies task context for accumulations keyed to project tasks.
Usage Notes
PA_ACCUM_API is typically invoked from Oracle Projects concurrent programs, Oracle Forms-based inquiry and reporting screens, and custom PL/SQL extensions that require summarized project actuals, budgets, or resource accumulations. Because it is registered as an API, Oracle supports callers that respect committed interface contracts, but callers should validate inputs, check x_err_code and x_err_stage after every call, and avoid relying on undocumented internals. The package is referenced by two other packages and is a logical companion to period-processing utilities such as PA_PERIOD_PROCESS_PKG, from which it reads the application_id constant during GL period resolution. When the user searches for "pa_resource," this package is relevant because it surfaces resource-level accumulations through GET_PROJ_RES_ACCUM and the PA_RESOURCE_ACCUM_DETAILS table.
-
PACKAGE BODY: APPS.PA_ACCUM_API
12.1.1
-
PACKAGE BODY: APPS.PA_ACCUM_API
12.2.2
-
APPS.PA_ACCUM_API dependencies on PA_TXN_ACCUM
12.1.1
-
APPS.PA_ACCUM_API dependencies on PA_TXN_ACCUM
12.2.2
-
APPS.PA_ACCUM_API dependencies on PA_PERIODS
12.2.2
-
APPS.PA_ACCUM_API dependencies on PA_PERIODS
12.1.1
-
APPS.PA_FP_COPY_ACTUALS_PUB dependencies on PA_RESOURCE_ASSIGNMENTS
12.1.1
-
PACKAGE BODY: APPS.PA_GET_RESOURCE
12.2.2
-
PACKAGE BODY: APPS.PA_GET_RESOURCE
12.1.1
-
APPS.PA_GET_RESOURCE dependencies on PA_GET_RESOURCE
12.2.2
-
APPS.PA_GET_RESOURCE dependencies on PA_GET_RESOURCE
12.1.1
-
PACKAGE BODY: APPS.PA_FP_COPY_ACTUALS_PUB
12.1.1
-
APPS.PA_CREATE_RESOURCE dependencies on PA_GET_RESOURCE
12.1.1
-
APPS.PA_FP_COPY_ACTUALS_PUB dependencies on PA_RESOURCE_ASSIGNMENTS
12.2.2
-
APPS.PA_CREATE_RESOURCE dependencies on PA_GET_RESOURCE
12.2.2
-
APPS.PA_FP_COPY_ACTUALS_PUB dependencies on PA_FP_GEN_AMOUNT_UTILS
12.1.1
-
APPS.PA_FP_PLANNING_TRANSACTION_PUB dependencies on PA_RESOURCE_ASSIGNMENTS
12.1.1
-
APPS.PA_FP_PLANNING_TRANSACTION_PUB dependencies on PA_RESOURCE_ASSIGNMENTS
12.2.2
-
APPS.PA_FP_COPY_ACTUALS_PUB dependencies on PA_DEBUG
12.1.1
-
PACKAGE BODY: APPS.PA_FP_COPY_ACTUALS_PUB
12.2.2
-
APPS.PA_FP_COPY_ACTUALS_PUB dependencies on PA_FP_GEN_AMOUNT_UTILS
12.2.2
-
APPS.PA_FP_COPY_ACTUALS_PUB dependencies on PA_DEBUG
12.2.2
-
PACKAGE BODY: APPS.PA_CREATE_RESOURCE
12.1.1
-
PACKAGE BODY: APPS.PA_CREATE_RESOURCE
12.2.2
-
PACKAGE BODY: APPS.PA_FP_PLANNING_TRANSACTION_PUB
12.1.1
-
PACKAGE BODY: APPS.PA_FP_PLANNING_TRANSACTION_PUB
12.2.2