Search Results ff_exec
Overview
FF_EXEC is the core runtime execution engine for Oracle FastFormula in Oracle E-Business Suite Releases 12.1.1 and 12.2.2. FastFormula is the extensibility framework through which Oracle Applications expose configurable business rules without code modification, and every FastFormula-driven calculation — payroll run processing, absence accrual, compensation eligibility, benefits enrollment, grade rate derivation, and hundreds of other rule points — is ultimately dispatched through this package. The APPS.FF_EXEC package body is the compiled implementation behind the specification, and it owns the mechanics of preparing a formula for execution, resolving its context, and returning its result to the calling application.
The package resides in the APPS schema and carries a status of VALID. It is classified as an OTHER API in the ETRM extract, which reflects the fact that it is an internal engine rather than a published, externally supported integration interface. It is instantiated against a large dependency footprint that includes the FastFormula compiler and metadata layer, Oracle HRMS utility routines, and the generic wrapper packages used to bridge PL/SQL and generated formula code.
Key Procedures and Functions
The ETRM metadata documents three entry points in this package body:
- RESET_CACHES — Clears the session-level caches that FF_EXEC maintains for compiled formula information and formula context metadata. Formula compilation is expensive, and the engine caches compiled forms so that repeated executions within one session avoid recompilation. RESET_CACHES provides a controlled invalidation point when underlying definitions change.
- INIT_FORMULA — Initializes a formula for execution. This routine resolves the formula definition, establishes the runtime context in which the formula will run — the owning business group, the formula route, the user entity, and the associated database items — and prepares the execution environment so that the compiled body can be entered with a populated context.
- RUN_FORMULA — The primary execution entry point. Given an initialized formula and its input parameters, it drives the actual evaluation of the compiled formula body and returns the computed outputs to the caller.
The metadata does not publish parameter lists for these routines, and their signatures are therefore not reproduced here.
Tables Accessed
FF_EXEC reads and writes a well-defined set of FastFormula repository tables through APPS synonyms:
- FF_FORMULAS_F — The base formula definition table, holding formula identity, type, and ownership.
- FF_COMPILED_INFO_F — Stores compiled formula artifacts and associated compilation metadata used by the runtime engine.
- FF_DATABASE_ITEMS — Defines the database items available to formulas, including the SQL fragments that resolve each item at runtime.
- FF_FDI_USAGES_F — Records where individual database items are referenced by formulas, supporting dependency tracking and recompilation.
- FF_ROUTES and FF_ROUTE_CONTEXT_USAGES — Define formula routes and the context usages that determine which formula applies in a given runtime situation.
- FF_USER_ENTITIES — Describes the user entities to which formulas are attached.
- PLITBLM — The PL/SQL indexed table by millionth used for bulk parameter and context passing.
Usage Notes
FF_EXEC is an internal engine and is not intended for direct invocation by customers or partners. It is called by the standard application layers whenever a formula must be evaluated — most visibly during payroll processing, where FastFormula drives earnings, deductions, and calculation rules, and in HRMS configuration where validation and derivation formulas are executed. The package is referenced by 158 other database objects, which confirms its position as a shared low-level service rather than an application-facing API. Because its signature is undocumented in the ETRM extract, custom code should not bind directly to these routines; the supported integration path is through the higher-level FastFormula calling conventions and the wrapper packages in the same dependency chain. The RESET_CACHES entry point is significant operationally: formula changes made through the standard maintenance forms are expected to invalidate the session cache so that subsequent RUN_FORMULA calls pick up recompiled definitions.
-
PACKAGE BODY: APPS.FF_EXEC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FF_EXEC, status:VALID,
-
PACKAGE BODY: APPS.FF_EXEC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FF_EXEC, status:VALID,
-
PACKAGE: APPS.FF_WRAPPER_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FF_WRAPPER_PKG, status:VALID,
-
PACKAGE: APPS.PAY_ES_BENEFIT_UPLIFT_CALC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_ES_BENEFIT_UPLIFT_CALC, status:VALID,
-
PACKAGE: APPS.FF_WRAPPER_MAIN_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FF_WRAPPER_MAIN_PKG, status:VALID,
-
PACKAGE BODY: APPS.HRI_BPL_FAST_FORMULA_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_BPL_FAST_FORMULA_UTIL, status:VALID,
-
PACKAGE: APPS.PQP_ABSENCE_PLAN_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PQP_ABSENCE_PLAN_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.PQH_EMPLOYMENT_CATEGORY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_EMPLOYMENT_CATEGORY, status:VALID,
-
PACKAGE BODY: APPS.HR_FR_MMO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_FR_MMO, status:VALID,
-
PACKAGE: APPS.PAY_FR_REBATES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_FR_REBATES, status:VALID,
-
PACKAGE: APPS.FF_WRAPPER_MAIN_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FF_WRAPPER_MAIN_PKG, status:VALID,
-
PACKAGE: APPS.PAY_FR_REBATES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_FR_REBATES, status:VALID,
-
PACKAGE BODY: APPS.FFFUNC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FFFUNC, status:VALID,
-
PACKAGE: APPS.PAY_ES_BENEFIT_UPLIFT_CALC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_ES_BENEFIT_UPLIFT_CALC, status:VALID,
-
PACKAGE: APPS.PQP_ABSENCE_PLAN_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PQP_ABSENCE_PLAN_PROCESS, status:VALID,
-
PACKAGE: APPS.FF_WRAPPER_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FF_WRAPPER_PKG, status:VALID,
-
PACKAGE BODY: APPS.HRI_BPL_ASG_SUMMARIZATION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_BPL_ASG_SUMMARIZATION, status:VALID,
-
PACKAGE BODY: APPS.BEN_RULES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_RULES, status:VALID,
-
PACKAGE BODY: APPS.HR_US_ACCRUAL_PLANS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_US_ACCRUAL_PLANS, status:VALID,
-
PACKAGE BODY: APPS.PAY_KW_EFT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_KW_EFT, status:VALID,
-
PACKAGE: APPS.PAY_NL_PAYFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_NL_PAYFILE, status:VALID,
-
PACKAGE BODY: APPS.HRI_BPL_FAST_FORMULA_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_BPL_FAST_FORMULA_UTIL, status:VALID,
-
PACKAGE: APPS.PAY_SG_DEDUCTIONS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_SG_DEDUCTIONS, status:VALID,
-
PACKAGE: APPS.PQP_GB_ABSENCE_PLAN_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PQP_GB_ABSENCE_PLAN_PROCESS, status:VALID,
-
PACKAGE: APPS.PAY_SG_DEDUCTIONS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_SG_DEDUCTIONS, status:VALID,
-
PACKAGE: APPS.PQP_GB_ABSENCE_PLAN_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PQP_GB_ABSENCE_PLAN_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.PAY_JP_YEA_BAL_ADJ_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_JP_YEA_BAL_ADJ_PKG, status:VALID,
-
PACKAGE: APPS.FF_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FF_UTILS, status:VALID,
-
PACKAGE BODY: APPS.HRI_OLTP_DISC_UTLZTN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_OLTP_DISC_UTLZTN, status:VALID,
-
PACKAGE BODY: APPS.HRI_OLTP_DISC_UTLZTN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_OLTP_DISC_UTLZTN, status:VALID,
-
PACKAGE: APPS.HXC_FF_DICT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HXC_FF_DICT, status:VALID,
-
PACKAGE: APPS.PAY_AE_EFT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_AE_EFT, status:VALID,
-
PACKAGE BODY: APPS.HR_FR_MMO
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_FR_MMO, status:VALID,
-
PACKAGE BODY: APPS.PQH_EMPLOYMENT_CATEGORY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_EMPLOYMENT_CATEGORY, status:VALID,
-
PACKAGE BODY: APPS.HR_NI_CHK_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_NI_CHK_PKG, status:VALID,
-
PACKAGE BODY: APPS.BE_CALL_FF_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BE_CALL_FF_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_KW_EFT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_KW_EFT, status:VALID,
-
PACKAGE: APPS.PQP_GB_OMP_DAILY_ABSENCES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PQP_GB_OMP_DAILY_ABSENCES, status:VALID,
-
PACKAGE: APPS.PAY_KW_EFT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_KW_EFT, status:VALID,
-
PACKAGE: APPS.PAY_KW_EFT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_KW_EFT, status:VALID,
-
PACKAGE BODY: APPS.FFFUNC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FFFUNC, status:VALID,
-
PACKAGE BODY: APPS.BEN_COMP_OBJ_FILTER1
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_COMP_OBJ_FILTER1, status:VALID,
-
PACKAGE BODY: APPS.FF_CLIENT_ENGINE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FF_CLIENT_ENGINE, status:VALID,
-
PACKAGE: APPS.PAY_SA_EFT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_SA_EFT, status:VALID,
-
PACKAGE BODY: APPS.FF_CLIENT_ENGINE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FF_CLIENT_ENGINE, status:VALID,
-
PACKAGE: APPS.PAY_SA_EFT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_SA_EFT, status:VALID,
-
PACKAGE BODY: APPS.BEN_COMP_OBJ_FILTER1
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_COMP_OBJ_FILTER1, status:VALID,
-
PACKAGE: APPS.PQP_GB_OMP_DAILY_ABSENCES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PQP_GB_OMP_DAILY_ABSENCES, status:VALID,
-
PACKAGE: APPS.HXC_FF_DICT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HXC_FF_DICT, status:VALID,
-
PACKAGE BODY: APPS.PER_FASTFORMULA_EVENTS_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_FASTFORMULA_EVENTS_UTILITY, status:VALID,