Search Results ff_contexts
Overview
The FF_CONTEXTS table is a core metadata repository within the Oracle E-Business Suite FastFormula (FF) engine. It serves as the master definition table for formula contexts, which are variables or parameters that allow formulas to be dynamically evaluated based on specific runtime data. For instance, a payroll calculation formula might require an EMPLOYEE_ID context to determine which employee's data to process. This table defines all such available contexts across the system, enabling the modular and reusable design of FastFormulas in modules like Oracle HRMS and Oracle Payroll. Its integrity is critical for ensuring formulas can correctly resolve their input parameters during execution.
Key Information Stored
The table's structure is designed to uniquely identify and name each context. The primary columns, as indicated by the primary key constraints, are CONTEXT_ID and CONTEXT_NAME. The CONTEXT_ID is the unique numeric identifier (primary key FF_CONTEXTS_PK), while CONTEXT_NAME is the unique textual name of the context (unique key FF_CONTEXTS_UK2), such as 'EMPLOYEE_ID', 'DATE_EARNED', or 'ASSIGNMENT_ID'. These two columns form the essential reference point for the FastFormula engine and related components to look up and validate context usage. The table likely contains additional descriptive columns not detailed in the excerpt, but these two are the definitive keys for all relationships.
Common Use Cases and Queries
This table is primarily referenced for setup, diagnostic, and impact analysis queries. Common scenarios include identifying all defined contexts in the system, troubleshooting formula compilation errors related to missing contexts, and analyzing which formulas or system components use a specific context before making changes. A fundamental query retrieves the master list of contexts:
- SELECT context_id, context_name FROM hr.ff_contexts ORDER BY context_name;
To investigate the usage of a specific context, one would join to the foreign key tables listed in the metadata, such as FF_FUNCTION_CONTEXT_USAGES, to see which formula functions are dependent on it. This is essential for understanding the downstream impact of any modification.
Related Objects
The FF_CONTEXTS table is a central reference point for numerous other FastFormula and payroll objects. As per the provided metadata, its CONTEXT_ID column is referenced as a foreign key by several important tables: FF_FTYPE_CONTEXT_USAGES (links contexts to formula types), FF_FUNCTION_CONTEXT_USAGES (links contexts to formula functions), FF_ROUTE_CONTEXT_USAGES (links contexts to formula routes), PAY_ACTION_CONTEXTS (links contexts to payroll actions), and PAY_BALANCE_CONTEXT_VALUES (stores specific values for contexts in balance calculations). This network of relationships underscores its role as the authoritative source for context definitions that integrate formulas with the broader HR and payroll data model.
-
Table: FF_CONTEXTS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:FF.FF_CONTEXTS, object_name:FF_CONTEXTS, status:VALID, product: FF - FastFormula , description: Identifies the context for specific formulas, for example EMPLOYEE_ID. , implementation_dba_data: HR.FF_CONTEXTS ,
-
Table: FF_CONTEXTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:FF.FF_CONTEXTS, object_name:FF_CONTEXTS, status:VALID, product: FF - FastFormula , description: Identifies the context for specific formulas, for example EMPLOYEE_ID. , implementation_dba_data: HR.FF_CONTEXTS ,
-
APPS.PAY_FR_RULES dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_ZA_IRP5_MAGTAPE_PKG dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_US_W2_GENERIC_EXTRACT dependencies on FF_CONTEXTS
12.1.1
-
APPS.HR_GBBAL dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_US_1099R_UDFS dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_CA_BALANCE_VIEW_PKG dependencies on FF_CONTEXTS
12.1.1
-
APPS.PY_W2_DBITEMS dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_NL_SOE dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_GBATGN dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_ZA_IRP5_ARCHIVE_PKG dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_US_MMREF_REPORTING dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_IN_BAL_UPL_STRUCT dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_T4_AMEND_MAG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_IE_P35 dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_FR_BAL_UPLOAD dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_T4AEOY_ARCHIVE dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_ZA_IRP5_ARCHIVE_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_US_GEOCODE_ENGINE_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.FF_ARCHIVE_API dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_DATABASE_ITEMS_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_RULES_DBI_PKG dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_1099R_PKG dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_BALANCE_PKG dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_GB_COURT_ORDER_UPGRADE dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_BALANCE_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_BALANCE_VIEW_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.HRASSACT dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_US_1099R_UDFS dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_RL1_AMEND_MAG dependencies on FF_CONTEXTS
12.2.2
-
APPS.FF_FCU_BUS dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_ACTION_CONTEXTS_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_YEPP_MISS_ASSIGN_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_US_ARCHIVE dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_US_MMREF_REPORTING1 dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_FR_ARC_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PY_ZA_BAL dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_NL_ANNUAL_SI_FILE dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_US_GEO_UPD_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_BALANCE_VIEW_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_GB_EOY_ARCHIVE dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_ZA_IRP5_MAGTAPE_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_IE_LEGISLATIVE_ARCHIVE dependencies on FF_CONTEXTS
12.2.2
-
APPS.PER_ZA_UTILITY_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_PAYVIBAL_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_US_W2_GENERIC_EXTRACT dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CORE_UTILS dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_US_SQWL_ERROR dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_ARCHIVE dependencies on FF_CONTEXTS
12.2.2