Search Results context_id
Overview
The HR.FF_CONTEXTS table is a core metadata repository within the Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 architecture, specifically for the Oracle HRMS and Payroll modules. It serves as the master definition table for formula contexts. A context is a unique identifier that describes the business objects or entities a formula can act upon, such as an employee, an assignment, or a payroll run. By defining these contexts, the system establishes the framework for how formulas retrieve and process data, ensuring calculations are performed against the correct data scope and relationships. This table is part of the APPS_TS_SEED tablespace, indicating its role as a fundamental, seeded setup component.
Key Information Stored
The table stores the essential attributes that define a formula context. The primary and most critical column is CONTEXT_ID (NUMBER), which serves as the system's unique numeric identifier for each context record. The CONTEXT_NAME (VARCHAR2(30)) provides the unique, human-readable name for the context, such as 'EMPLOYEE' or 'ASSIGNMENT'. The CONTEXT_LEVEL (NUMBER) is a unique power-of-two value used internally for bitmask operations and context combination logic. Finally, the DATA_TYPE (VARCHAR2) column specifies the data type of the context value, typically 'N' for number, 'T' for text, or 'D' for date, which governs how context values are handled within formulas.
Common Use Cases and Queries
This table is primarily referenced during the design, debugging, and analysis of FastFormula logic. Common scenarios include identifying all available contexts for formula development or troubleshooting context-related errors in payroll calculations. A fundamental query retrieves the complete list of defined contexts:
SELECT CONTEXT_ID, CONTEXT_NAME, DATA_TYPE FROM HR.FF_CONTEXTS ORDER BY CONTEXT_NAME;
To investigate the usage of a specific context, such as one related to assignments, a developer or analyst might join this table with its dependent usage tables. Furthermore, the CONTEXT_ID is a key lookup value used by various formula-related APIs and setup interfaces to correctly associate contexts with formula types, functions, and balance definitions.
Related Objects
As a central metadata table, HR.FF_CONTEXTS is referenced by numerous other objects that utilize formula contexts. Key foreign key relationships, as documented, include: FF_FTYPE_CONTEXT_USAGES, FF_FUNCTION_CONTEXT_USAGES, and FF_ROUTE_CONTEXT_USAGES, which link contexts to formula types, functions, and routes. Crucially, it is referenced by PAY_ACTION_CONTEXTS and PAY_BALANCE_CONTEXT_VALUES, directly tying context definitions to payroll action execution and balance initialization logic. The object also has associated database triggers (FF_CONTEXTS_BRD, _BRI, _BRU) for enforcing business rules during data manipulation.
-
APPS.PAY_US_ARCHIVE dependencies on FF_CONTEXTS
12.2.2
-
APPS.HRSTRDBI dependencies on FF_FTYPE_CONTEXT_USAGES
12.2.2
-
APPS.PAY_DBI_STARTUP_PKG dependencies on FF_CONTEXTS
12.1.1
-
APPS.HRSTRDBI dependencies on FF_FTYPE_CONTEXT_USAGES
12.1.1
-
APPS.PAY_US_ARCHIVE dependencies on FF_CONTEXTS
12.1.1
-
APPS.PAY_US_SQWL_ARCHIVE dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_DBI_STARTUP_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.FF_DATA_DICT dependencies on HR_S_ROUTE_CONTEXT_USAGES
12.1.1
-
APPS.FF_DATA_DICT dependencies on HR_S_FUNCTION_CONTEXT_USAGES
12.1.1
-
APPS.FF_DATA_DICT dependencies on HR_S_FUNCTION_CONTEXT_USAGES
12.2.2
-
APPS.PAY_ZA_ARCHIVE_DBITEMS_PKG dependencies on FF_ROUTE_CONTEXT_USAGES
12.1.1
-
APPS.PY_W2_DBITEMS dependencies on FF_ROUTE_CONTEXT_USAGES
12.2.2
-
APPS.JTF_DSP_SECTION_GRP dependencies on JTF_DSP_CONTEXT_B
12.1.1
-
APPS.IBE_DSP_SECTION_GRP dependencies on IBE_DSP_CONTEXT_B
12.1.1
-
APPS.FF_DATA_DICT dependencies on HR_S_CONTEXTS
12.2.2
-
APPS.PAY_US_SQWL_ARCHIVE dependencies on FF_ARCHIVE_ITEM_CONTEXTS
12.2.2
-
APPS.HRSTRDBI dependencies on FF_CONTEXTS
12.2.2
-
APPS.FF_DATA_DICT dependencies on HR_S_ROUTE_CONTEXT_USAGES
12.2.2
-
APPS.HRSTRDBI dependencies on FF_CONTEXTS
12.1.1
-
APPS.PY_W2_DBITEMS dependencies on FF_ROUTE_CONTEXT_USAGES
12.1.1
-
TABLE: HR.FF_CONTEXTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:FF.FF_CONTEXTS, object_name:FF_CONTEXTS, status:VALID,
-
APPS.PAY_CA_GROUP_LEVEL_BAL_PKG dependencies on FF_CONTEXTS
12.2.2
-
APPS.PAY_CA_GROUP_LEVEL_BAL_PKG dependencies on FF_CONTEXTS
12.1.1
-
APPS.FF_DATA_DICT dependencies on HR_S_CONTEXTS
12.1.1
-
APPS.BEN_US_DATABASE_ITEMS_PKG dependencies on FF_ROUTE_CONTEXT_USAGES
12.2.2
-
APPS.PAY_ZA_ARCHIVE_DBITEMS_PKG dependencies on FF_ROUTE_CONTEXT_USAGES
12.2.2
-
APPS.JTF_DSP_SECTION_GRP dependencies on JTF_DSP_CONTEXT_B
12.2.2
-
VIEW: HR.FF_FTYPE_CONTEXT_USAGES#
12.2.2
-
APPS.IBE_DSP_SECTION_GRP dependencies on IBE_DSP_CONTEXT_B
12.2.2
-
APPS.HRSTRDBI dependencies on FF_FORMULA_TYPES_S
12.2.2
-
TABLE: HR.PAY_ACTION_CONTEXTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_ACTION_CONTEXTS, object_name:PAY_ACTION_CONTEXTS, status:VALID,
-
APPS.HR_US_W2_MT dependencies on FF_CONTEXTS
12.1.1
-
APPS.HR_US_W2_MT dependencies on FF_CONTEXTS
12.2.2
-
APPS.FF_DATA_DICT dependencies on HR_S_FTYPE_CONTEXT_USAGES
12.2.2
-
APPS.HRSTRDBI dependencies on FF_FORMULA_TYPES_S
12.1.1
-
VIEW: HR.HR_S_ROUTE_CONTEXT_USAGES#
12.2.2
-
VIEW: HR.PAY_LEGISLATION_CONTEXTS#
12.2.2
-
APPS.FF_CON_SHD SQL Statements
12.1.1
-
APPS.PAY_US_SQWL_ARCHIVE dependencies on FF_ARCHIVE_ITEMS_S
12.2.2
-
VIEW: HR.FF_ROUTE_CONTEXT_USAGES#
12.2.2
-
APPS.JTF_DSPMGRVALIDATION_GRP dependencies on JTF_DSP_CONTEXT_B
12.2.2
-
APPS.BEN_US_DATABASE_ITEMS_PKG dependencies on FF_ROUTE_CONTEXT_USAGES
12.1.1
-
TABLE: HR.FF_FTYPE_CONTEXT_USAGES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:FF.FF_FTYPE_CONTEXT_USAGES, object_name:FF_FTYPE_CONTEXT_USAGES, status:VALID,
-
TABLE: HR.PAY_BALANCE_CONTEXT_VALUES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_BALANCE_CONTEXT_VALUES, object_name:PAY_BALANCE_CONTEXT_VALUES, status:VALID,
-
APPS.PY_W2_DBITEMS SQL Statements
12.2.2
-
APPS.PAY_ZA_ARCHIVE_DBITEMS_PKG dependencies on FF_CONTEXTS
12.2.2
-
VIEW: HR.FF_ARCHIVE_ITEM_CONTEXTS#
12.2.2
-
VIEW: HR.FF_CONTEXTS#
12.2.2
-
APPS.PY_W2_DBITEMS SQL Statements
12.1.1
-
APPS.PAY_SG_IRAS_AMEND_ARCHIVE dependencies on FF_CONTEXTS
12.2.2