Search Results pay_template_core_objects
Overview
The PAY_TEMPLATE_CORE_OBJECTS table is a core data dictionary object within the Oracle E-Business Suite Payroll module (PAY). Its primary function is to maintain a metadata registry of the fundamental database schema objects that are programmatically generated when an element template is created or modified. In the context of Oracle EBS 12.1.1 and 12.2.2, element templates are used to define the structure and rules for recurring and non-recurring earnings and deductions. This table acts as an audit and tracking mechanism, ensuring the system maintains a clear relationship between a logical template definition and the physical database objects, such as tables, views, and potentially packages, that are instantiated to support its runtime execution. It is a critical component for maintaining data integrity and object management within the complex payroll schema.
Key Information Stored
The table's structure is designed to catalog generated objects. While the full column list is not detailed in the provided metadata, the documented primary and foreign keys reveal its core purpose. The primary key, TEMPLATE_CORE_OBJECT_ID, uniquely identifies each record of a generated object. The foreign key, TEMPLATE_ID, is the crucial link that associates one or more generated core objects back to their source template in the PAY_ELEMENT_TEMPLATES table. Other columns in this table would typically store descriptive attributes of the generated object, such as the object name (e.g., PAY_ELEMENT_ENTRIES_F_*), object type (e.g., TABLE, VIEW), and potentially a status or version indicator. This allows administrators and the system itself to query what physical artifacts were created for a given payroll element template.
Common Use Cases and Queries
This table is primarily used for administrative, diagnostic, and upgrade-related activities. A common scenario involves investigating the impact of a template change or troubleshooting an issue with a specific element. For instance, a developer might need to identify all database objects created for a particular template to understand dependencies before a modification. A sample query would join to PAY_ELEMENT_TEMPLATES to get the template name:
SELECT pet.template_name, ptco.*
FROM pay_template_core_objects ptco,
pay_element_templates pet
WHERE ptco.template_id = pet.template_id
AND pet.template_name = 'MY_EARNINGS_TEMPLATE';
Another critical use case is during patch applications or upgrades, where scripts may need to validate or regenerate schema objects based on template definitions. This table provides the necessary mapping to execute such operations systematically.
Related Objects
The table has a direct, documented dependency on the PAY_ELEMENT_TEMPLATES table, which stores the master definition of the element templates themselves. The relationship is defined by a foreign key constraint where PAY_TEMPLATE_CORE_OBJECTS.TEMPLATE_ID references PAY_ELEMENT_TEMPLATES. This is a one-to-many relationship, as a single template (in PAY_ELEMENT_TEMPLATES) can generate multiple core schema objects (recorded in PAY_TEMPLATE_CORE_OBJECTS). While not listed in the provided metadata, this table is also intrinsically related to the various generated objects it tracks, such as specific element entry tables (e.g., PAY_ELEMENT_ENTRIES_F_* for a balance feed) and associated database views. It serves as the central reference point linking the template metadata to its physical implementation in the database schema.
-
Table: PAY_TEMPLATE_CORE_OBJECTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TEMPLATE_CORE_OBJECTS, object_name:PAY_TEMPLATE_CORE_OBJECTS, status:VALID, product: PAY - Payroll , description: Keeps track of the core schema objects generated from an element template. , implementation_dba_data: HR.PAY_TEMPLATE_CORE_OBJECTS ,
-
Table: PAY_TEMPLATE_CORE_OBJECTS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TEMPLATE_CORE_OBJECTS, object_name:PAY_TEMPLATE_CORE_OBJECTS, status:VALID, product: PAY - Payroll , description: Keeps track of the core schema objects generated from an element template. , implementation_dba_data: HR.PAY_TEMPLATE_CORE_OBJECTS ,
-
APPS.PQP_EARNINGS_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_SBT_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_ELEMENT_TEMPLATE_USER_INIT dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_IE_PENSION_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PQP_UK_VEHICLE_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_TCO_SHD dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_SIR_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_SIV_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PQP_UK_UNION_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PQP_NL_PENSION_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_SF_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_SIR_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_IE_PENSION_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_TCO_SHD dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PQP_GB_STAKEHOLDER_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PQP_GB_OSP_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PQP_NL_PGGM_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_SBC_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_SSR_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_CA_USER_INIT_EARN dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PQP_GB_OMP_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PQP_NL_SAVINGS_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_ETM_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_TCO_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_SBA_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PQP_GB_PENSIONS_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_SET_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_SDB_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PQP_GB_UNPAID_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_SBF_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PQP_NL_ABP_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_ETM_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_TCO_UPD dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_SGB_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PQP_EARNINGS_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_TCO_DEL dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_NL_LIFE_SAVINGS_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_US_USER_INIT_DEDN dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_ELEMENT_TEMPLATE_UTIL dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_SBF_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PQP_GB_UNPAID_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_TCO_INS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.2.2
-
APPS.PAY_CA_USER_INIT_EARN dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PQP_NL_PENSION_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PQP_UK_UNION_TEMPLATE dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_CA_USER_INIT_DEDN dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_SBA_BUS dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1
-
APPS.PAY_TCO_DEL dependencies on PAY_TEMPLATE_CORE_OBJECTS
12.1.1