Search Results pay_template_ff_usages
Overview
The PAY_TEMPLATE_FF_USAGES table is a core technical object within the Oracle E-Business Suite Payroll module (PAY). It functions as a junction table that establishes a many-to-many relationship between element templates and shadow formulas. Its primary role is to enable the association of multiple fast formulas with a single shadow object, which is a critical design pattern for implementing complex payroll calculations. By linking templates, formulas, and optional exclusion rules, this table provides the underlying data structure that allows the payroll engine to determine which specific calculation logic (formula) should be executed for a given element entry under defined conditions.
Key Information Stored
The table stores the linkage identifiers that connect related payroll entities. The primary key, TEMPLATE_FF_USAGE_ID, uniquely identifies each association record. The core foreign key columns define the relationships: TEMPLATE_ID references a specific element template in PAY_ELEMENT_TEMPLATES, FORMULA_ID points to the associated calculation logic in PAY_SHADOW_FORMULAS, and EXCLUSION_RULE_ID can optionally reference a rule in PAY_TEMPLATE_EXCLUSION_RULES to define scenarios where this particular formula association should not be applied. This structure allows a single element template to be linked to multiple formulas, with the system typically selecting the appropriate one based on context or exclusion logic.
Common Use Cases and Queries
This table is central to troubleshooting payroll calculation issues and auditing formula assignments. A common use case involves identifying all formulas linked to a specific element template to understand the calculation flow. Developers and functional consultants may query this table to verify configurations during implementation or support. A typical diagnostic query joins to related tables to provide meaningful names:
SELECT petf.template_name, psf.formula_name, ptfu.* FROM pay_template_ff_usages ptfu, pay_element_templates_f petf, pay_shadow_formulas psf WHERE ptfu.template_id = petf.element_template_id AND ptfu.formula_id = psf.formula_id AND petf.template_name = '&TEMPLATE_NAME';
Another critical scenario is during payroll runs, where the engine queries this table to resolve which formula to execute for an element entry based on the associated template and applicable exclusion rules.
Related Objects
PAY_TEMPLATE_FF_USAGES is a junction table with defined foreign key relationships to three key payroll objects, as documented in the ETRM metadata:
- PAY_ELEMENT_TEMPLATES: Linked via
PAY_TEMPLATE_FF_USAGES.TEMPLATE_ID. This is the master table for element templates, which define the characteristics of earnings and deductions. - PAY_SHADOW_FORMULAS: Linked via
PAY_TEMPLATE_FF_USAGES.FORMULA_ID. This table stores the metadata for fast formulas used in payroll calculations. - PAY_TEMPLATE_EXCLUSION_RULES: Linked via
PAY_TEMPLATE_FF_USAGES.EXCLUSION_RULE_ID. This table holds rules that can prevent a specific template-formula association from being used.
The table's primary key constraint is PAY_TEMPLATE_FF_USAGES_PK on the TEMPLATE_FF_USAGE_ID column.
-
Table: PAY_TEMPLATE_FF_USAGES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TEMPLATE_FF_USAGES, object_name:PAY_TEMPLATE_FF_USAGES, status:VALID, product: PAY - Payroll , description: Allows multiple formulas to be associated with a shadow object. , implementation_dba_data: HR.PAY_TEMPLATE_FF_USAGES ,
-
Table: PAY_TEMPLATE_FF_USAGES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TEMPLATE_FF_USAGES, object_name:PAY_TEMPLATE_FF_USAGES, status:VALID, product: PAY - Payroll , description: Allows multiple formulas to be associated with a shadow object. , implementation_dba_data: HR.PAY_TEMPLATE_FF_USAGES ,
-
APPS.PAY_SF_BUS dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_TFU_SHD dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_TFU_SHD dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_TFU_INS dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_ELEMENT_TEMPLATE_UTIL dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_TFU_BUS dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_TER_BUS dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_TFU_DEL dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_TFU_INS dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_SET_BUS dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_ELEMENT_TEMPLATE_UTIL dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_SF_BUS dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_SET_BUS dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_TFU_BUS dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_TFU_UPD dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_TFU_DEL dependencies on PAY_TEMPLATE_FF_USAGES
12.1.1
-
APPS.PAY_TER_BUS dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_TFU_UPD dependencies on PAY_TEMPLATE_FF_USAGES
12.2.2
-
APPS.PAY_TFU_INS dependencies on FND_MESSAGE
12.1.1
-
APPS.PAY_TFU_INS dependencies on FND_MESSAGE
12.2.2
-
TABLE: HR.PAY_TEMPLATE_FF_USAGES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TEMPLATE_FF_USAGES, object_name:PAY_TEMPLATE_FF_USAGES, status:VALID,
-
VIEW: HR.PAY_TEMPLATE_FF_USAGES#
12.2.2
-
APPS.PAY_TFU_SHD SQL Statements
12.2.2
-
SYNONYM: APPS.PAY_TEMPLATE_FF_USAGES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_TEMPLATE_FF_USAGES, status:VALID,
-
SYNONYM: PUBLIC.PAY_TEMPLATE_FF_USAGES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PAY_TEMPLATE_FF_USAGES, status:VALID,
-
VIEW: HR.PAY_TEMPLATE_FF_USAGES#
12.2.2
owner:HR, object_type:VIEW, object_name:PAY_TEMPLATE_FF_USAGES#, status:VALID,
-
APPS.PAY_TFU_SHD SQL Statements
12.1.1
-
SYNONYM: APPS.PAY_TEMPLATE_FF_USAGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_TEMPLATE_FF_USAGES, status:VALID,
-
APPS.PAY_TFU_INS SQL Statements
12.2.2
-
TABLE: HR.PAY_TEMPLATE_FF_USAGES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TEMPLATE_FF_USAGES, object_name:PAY_TEMPLATE_FF_USAGES, status:VALID,
-
APPS.PAY_TFU_INS SQL Statements
12.1.1
-
Table: PAY_SHADOW_FORMULAS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_SHADOW_FORMULAS, object_name:PAY_SHADOW_FORMULAS, status:VALID, product: PAY - Payroll , description: Element Template Shadow Formulas , implementation_dba_data: HR.PAY_SHADOW_FORMULAS ,
-
APPS.PAY_TFU_INS dependencies on PAY_TEMPLATE_FF_USAGES_S
12.1.1
-
Table: PAY_ELEMENT_TEMPLATES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_ELEMENT_TEMPLATES, object_name:PAY_ELEMENT_TEMPLATES, status:VALID, product: PAY - Payroll , description: Element Templates , implementation_dba_data: HR.PAY_ELEMENT_TEMPLATES ,
-
Table: PAY_ELEMENT_TEMPLATES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_ELEMENT_TEMPLATES, object_name:PAY_ELEMENT_TEMPLATES, status:VALID, product: PAY - Payroll , description: Element Templates , implementation_dba_data: HR.PAY_ELEMENT_TEMPLATES ,
-
Table: PAY_SHADOW_FORMULAS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_SHADOW_FORMULAS, object_name:PAY_SHADOW_FORMULAS, status:VALID, product: PAY - Payroll , description: Element Template Shadow Formulas , implementation_dba_data: HR.PAY_SHADOW_FORMULAS ,
-
APPS.PAY_TFU_SHD dependencies on FND_MESSAGE
12.2.2
-
APPS.PAY_TFU_INS dependencies on DUAL
12.2.2
-
APPS.PAY_TFU_INS dependencies on PAY_TEMPLATE_FF_USAGES_S
12.2.2
-
PACKAGE BODY: APPS.PAY_TFU_SHD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_TFU_SHD, status:VALID,
-
APPS.PAY_TFU_SHD dependencies on FND_MESSAGE
12.1.1
-
PACKAGE BODY: APPS.PAY_TFU_DEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_TFU_DEL, status:VALID,
-
Table: PAY_TEMPLATE_EXCLUSION_RULES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TEMPLATE_EXCLUSION_RULES, object_name:PAY_TEMPLATE_EXCLUSION_RULES, status:VALID, product: PAY - Payroll , description: Controls the exclusion of an object from an Element Template , implementation_dba_data: HR.PAY_TEMPLATE_EXCLUSION_RULES ,
-
PACKAGE BODY: APPS.PAY_TFU_DEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_TFU_DEL, status:VALID,
-
PACKAGE BODY: APPS.PAY_TFU_INS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_TFU_INS, status:VALID,
-
PACKAGE BODY: APPS.PAY_TFU_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_TFU_BUS, status:VALID,
-
Table: PAY_TEMPLATE_EXCLUSION_RULES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TEMPLATE_EXCLUSION_RULES, object_name:PAY_TEMPLATE_EXCLUSION_RULES, status:VALID, product: PAY - Payroll , description: Controls the exclusion of an object from an Element Template , implementation_dba_data: HR.PAY_TEMPLATE_EXCLUSION_RULES ,
-
APPS.PAY_TFU_INS dependencies on DUAL
12.1.1