Search Results copy_blattributes
Overview
PA_FP_CALC_UTILS is a utility package in the APPS schema that supports the calculation engine for Oracle Projects' Financial Planning (FP) functionality in Oracle E-Business Suite releases 12.1.1 and 12.2.2. Its primary business role is to provide shared computational and data-manipulation routines used during the generation, spreading, and rollup of financial plan amounts, budget lines, and funding requirements. Rather than exposing a user-facing API, the package acts as an internal helper layer that other Financial Planning packages—most notably PA_FP_CALC_PLAN_PKG—invoke to perform discrete calculation, caching, and temporary-table maintenance steps. The package is classified as OTHER in the ETRM catalog, indicating that it is not a published or supported public API, but rather an internal implementation component subject to change between releases.
Key Procedures and Functions
The ETRM metadata documents seven procedures and functions within this package. Their names and documented purposes are as follows:
- POPULATE_SPREADCALC_TMP — Populates the spread calculation temporary tables (PA_FP_SPREAD_CALC_TMP and related structures) used to stage distributed plan amounts prior to committing them to budget lines.
- CACHE_RATES — Caches exchange or planning rates into temporary storage (for example, PA_FP_GEN_RATE_TMP) so that repeated rate lookups during a calculation run do not require repeated access to the underlying rate tables.
- COPY_BLATTRIBUTES — Copies descriptive and control attributes associated with budget lines, supporting the propagation of budget-line characteristics during planning operations.
- BLK_UPDATE_BUDGET_LINES — Performs bulk (array or set-based) updates to budget lines in PA_BUDGET_LINES, optimizing the write-back of plan calculations that would otherwise require row-by-row DML.
- CHECK_ZEROQTY_BLS — Validates budget lines for zero quantities, typically to identify or exclude lines that should not participate in further calculation or rollup.
- UPDATE_DFFCOLS — Updates descriptive flexfield columns on the relevant plan or budget records, ensuring that DFF segments are populated or refreshed as part of the planning process.
- INSERTFUNDING_REQDLINES — Inserts funding requirement detail lines derived from the plan calculation, supporting the funding-request side of Financial Planning.
Tables Accessed
The package interacts with a defined set of application tables through APPS synonyms. Budget data is read and written primarily via PA_BUDGET_LINES, PA_BUDGET_LINES_S, and PA_BUDGET_VERSIONS. Project and plan configuration context comes from PA_PROJECTS_ALL, PA_FIN_PLAN_TYPES_B, PA_PROJ_FP_OPTIONS, and PA_IMPLEMENTATIONS_ALL. Resource and assignment data is drawn from PA_RESOURCE_ASGN_CURR and the temporary table PA_FP_RES_ASSIGNMENTS_TMP. Calendar-based calculations rely on GL_PERIODS. Staging and intermediate computation results are held in the Financial Planning temporary tables PA_FP_GEN_RATE_TMP, PA_FP_ROLLUP_TMP, PA_FP_SPREAD_CALC_TMP, PA_FP_SPREAD_CALC_TMP1, and PA_FP_SPREAD_CALC_TMP2. These temporary structures are central to the package's design, allowing large plan calculations to be staged before final persistence.
Usage Notes
PA_FP_CALC_UTILS is not intended for direct invocation by end users or custom extensions. It is referenced by one other package, PA_FP_CALC_PLAN_PKG, and is also self-referential, confirming its role as a subordinate utility module within the Financial Planning calculation stack. It is typically triggered indirectly when a user submits a Financial Planning calculation or generation process from the Projects forms or a concurrent program, such as those that generate, spread, or roll up financial plans and budgets. Because the package manipulates temporary Financial Planning tables and performs bulk DML against budget lines, it should be treated as version-dependent internal code; customizations should avoid calling it directly and instead use supported Financial Planning APIs. The presence of PA_VARCHAR2_1_TBL_TYPE among its referenced types reflects the common Oracle Projects pattern of passing collections of single-character flags or indicators into bulk operations.
-
PACKAGE: APPS.PA_FP_CALC_UTILS
12.1.1
-
PACKAGE: APPS.PA_FP_CALC_UTILS
12.2.2
-
APPS.PA_FP_CALC_UTILS dependencies on FND_GLOBAL
12.2.2
-
APPS.PA_FP_CALC_UTILS dependencies on FND_GLOBAL
12.1.1
-
APPS.PA_FP_CALC_UTILS dependencies on PA_FP_ROLLUP_TMP
12.1.1
-
APPS.PA_FP_CALC_UTILS dependencies on PA_FP_ROLLUP_TMP
12.2.2
-
APPS.PA_FP_CALC_UTILS dependencies on PA_FP_CALC_UTILS
12.1.1
-
PACKAGE BODY: APPS.PA_FP_CALC_UTILS
12.1.1
-
APPS.PA_FP_CALC_UTILS SQL Statements
12.1.1
-
APPS.PA_FP_CALC_UTILS dependencies on PA_FP_CALC_UTILS
12.2.2
-
APPS.PA_FP_CALC_UTILS SQL Statements
12.2.2
-
APPS.PA_FP_CALC_UTILS dependencies on PA_DEBUG
12.2.2
-
PACKAGE BODY: APPS.PA_FP_CALC_UTILS
12.2.2
-
APPS.PA_FP_CALC_UTILS dependencies on PA_DEBUG
12.1.1
-
APPS.PA_FP_CALC_UTILS dependencies on FND_MSG_PUB
12.1.1
-
APPS.PA_FP_CALC_UTILS dependencies on FND_MSG_PUB
12.2.2
-
APPS.PA_FP_CALC_PLAN_PKG dependencies on PA_FP_ROLLUP_TMP
12.2.2
-
APPS.PA_FP_CALC_PLAN_PKG dependencies on PA_FP_ROLLUP_TMP
12.1.1
-
APPS.PA_FP_CALC_PLAN_PKG SQL Statements
12.2.2
-
APPS.PA_FP_CALC_PLAN_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PA_FP_CALC_PLAN_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_FP_CALC_PLAN_PKG
12.2.2