Results for “ffbv_formula”

15 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

FFBV_FORMULA is an APPS-owned, read-only database view in Oracle E-Business Suite (12.1.1 and 12.2.2) delivered within the FastFormula (FF) product family. It is documented in ETRM as a "Discoverer view for ff_formulas_f," meaning its primary purpose is to expose FastFormula header and text data in a reporting-friendly format consumable by Oracle Business Intelligence Discoverer (and, in later deployments, by BI Publisher, OBIEE, and custom SQL reporting). The view's defining characteristic is that it does not simply mirror the base table; it decorates the raw FastFormula rows with decoded lookup values and an inline business-group security flag, so that downstream reports can present meaningful labels and enforce row-level access without requiring the report author to reproduce that logic.

As a view rather than a table, FFBV_FORMULA carries no independent storage. Its status is VALID, and it is defined WITH READ ONLY, which prevents DML against the view and confirms its purely analytical role.

Underlying Base Objects

Per the documented metadata, FFBV_FORMULA is defined over two referenced base objects:

The view aliases FF_FORMULAS_F as FF and layers the HR_BIS and HR_API calls on top of it. Because these are PL/SQL function calls, each query execution invokes them per row, which is the principal performance consideration for large extracts.

Key Columns

Common Use Cases and Queries

Typical scenarios include auditing which formulas exist for a given legislation, extracting formula text for migration or version control, and building Discoverer/BIP reports restricted to the user's business group.

List all valid formulas for a legislation:

SELECT formula_name, effective_start_date, effective_end_date, compile_flag
FROM   apps.ffbv_formula
WHERE  legislation_code = 'US'
AND    SYSDATE BETWEEN effective_start_date AND effective_end_date;

Extract formula source for review:

SELECT formula_name, formula_text
FROM   apps.ffbv_formula
WHERE  formula_name = 'MY_FORMULA';

Enforce security and expose only permitted rows:

SELECT formula_name, business_group_id, bg_security_flag_code
FROM   apps.ffbv_formula
WHERE  bg_security_flag_code = 'Y';

Because the view is read-only and relies on HR_BIS functions, queries should be executed within an APPS or suitably privileged reporting responsibility context so that the security profile globals resolve correctly.