Search Results pft_profcal_validx_pub




Overview

PFT_PROFCAL_VALIDX_PUB is a public PL/SQL package in the APPS schema that belongs to the Profitability and Cost Management (PFT) module family within Oracle E-Business Suite. Its name and structure indicate that it provides a public API layer for validating profitability calculation rule definitions prior to or during the profile calculation (ProfitCalc) process. The "VALIDX" portion of the name denotes validation index logic, while the "_PUB" suffix and the API classification of "PUB" confirm that this is a published, callable interface intended for consumption by other application modules rather than an internal implementation package.

The package encapsulates validation of indexing constructs — specifically value index counting and range definitions — that drive how profitability results are aggregated, bucketed, or assigned into calculation ranges. Because profitability computations are highly data-dependent and sensitive to hierarchy, dimension, and range configuration, a dedicated validation API ensures that rule definitions are internally consistent before execution begins. The package depends on FND_API, Oracle's standard application programming interface for messaging and error handling, and on the SYS.STANDARD package, indicating conformance to conventional EBS API error-handling patterns.

Key Procedures and Functions

The documented API surface for this package consists of a single procedure: PROCESS_SINGLE_RULE. As the name implies, this procedure processes validation for one calculation rule at a time. It is designed to evaluate the attributes and configuration of an individual rule, presumably resolving its associated ranges, counts, dimensions, and hierarchy groupings to determine whether the rule is valid for execution. The procedure is the entry point invoked by the master process control package PFT_PPROFCAL_MASTER_PUB, which is documented as referencing PFT_PROFCAL_VALIDX_PUB. The package also references itself internally, suggesting recursive or iterative validation logic that may traverse nested rule components. No parameter lists are documented in the available metadata, and none are asserted here.

Tables Accessed

The package reads and writes the following tables via APPS synonyms:

  • PFT_VAL_INDEX_COUNTING and PFT_VAL_INDEX_RANGES — the core tables storing value index counting and range definitions that the procedure validates.
  • FEM_DIMENSIONS_B, FEM_DIM_ATTRIBUTES_B, and FEM_DIM_ATTR_VERSIONS_B — Financials Enterprise Management dimension, attribute, and version metadata used to resolve dimension-attribute references within rules.
  • FEM_GLOBAL_VS_COMBO_DEFS — global value set and combination definitions that govern key and combination semantics.
  • FEM_HIER_DIMENSION_GRPS — hierarchy dimension group definitions used to confirm that referenced hierarchies are valid for the dimension involved.
  • FEM_MP_PROCESS_CTL_T — process control state used to coordinate validation within the broader calculation lifecycle.
  • PLITBLM — the standard EBS PL/SQL index-by table of VARCHAR2, used for in-memory collection handling.

Usage Notes

PFT_PROFCAL_VALIDX_PUB is not normally called directly by end users. It is invoked during the profitability calculation workflow, primarily by PFT_PPROFCAL_MASTER_PUB, which manages the overall profile calculation process and delegates per-rule validation to this package. In Oracle EBS 12.1.1 and 12.2.2, such validation typically occurs when a concurrent program for profitability processing is launched from the Profitability Manager responsibility, or when rules are submitted for execution from the relevant setup forms. Custom code that constructs or modifies profitability rule definitions should invoke this public API through FND_API conventions to ensure that index counting and range validation remain consistent with standard processing. Because the package is classified as PUB and is referenced by the master process package, it is considered a supported interface, but its single documented procedure indicates a narrow, focused responsibility within the larger ProfitCalc architecture.