Search Results pay_latest_balances
Overview
The PAY_LATEST_BALANCES table is a core data object within the Oracle E-Business Suite Payroll module (PAY). It serves as a high-performance repository for the most current balance values for an employee, either at the person or assignment level. Its primary role is to provide rapid access to the latest calculated payroll results, such as year-to-date totals, without requiring a computationally expensive re-aggregation of historical payroll run results. This table is fundamental to payroll reporting, real-time balance inquiries, and the calculation of subsequent payroll runs that may depend on prior period accumulations.
Key Information Stored
While the provided ETRM metadata does not list specific columns beyond the primary and foreign keys, the table's description and standard Oracle Payroll architecture define its critical data elements. The table stores a unique record identified by LATEST_BALANCE_ID. Each record links to a specific balance definition via the DEFINED_BALANCE_ID foreign key, which references the PAY_DEFINED_BALANCES table. Crucially, it holds the latest calculated VALUE for that particular balance. It also contains key identifiers to associate the balance value with the correct person (PERSON_ID) or assignment (ASSIGNMENT_ID), and context such as BUSINESS_GROUP_ID and potentially a time dimension like TAX_UNIT_ID or JURISDICTION_CODE to support legislative requirements.
Common Use Cases and Queries
This table is central to operational and compliance reporting. A common use case is generating a summary of year-to-date earnings and deductions for an employee. Payroll administrators and self-service users frequently query it for real-time balance checks. The table is also essential for payroll processing logic where a calculation depends on a running total from earlier periods. A typical query pattern involves joining to PAY_DEFINED_BALANCES and related dimension tables to retrieve a meaningful balance name and value.
- Sample Query: Retrieving latest balances for a specific assignment.
SELECT pdb.defined_balance_name, plb.value FROM pay_latest_balances plb, pay_defined_balances pdb WHERE plb.defined_balance_id = pdb.defined_balance_id AND plb.assignment_id = :assignment_id AND pdb.balance_type_id = (SELECT balance_type_id FROM pay_balance_types WHERE balance_name = 'Gross Earnings');
Related Objects
The PAY_LATEST_BALANCES table has a direct, documented relationship with the PAY_DEFINED_BALANCES table, which defines the balance's structure and rules. As per the provided metadata:
- Foreign Key Relationship: PAY_LATEST_BALANCES.DEFINED_BALANCE_ID references PAY_DEFINED_BALANCES. This join is mandatory to interpret the type of balance stored (e.g., Gross Earnings YTD).
In practice, this table is also closely related to other key payroll tables not listed in the excerpt. It is populated from the detailed PAY_BALANCES table, which holds the full historical ledger of balance feeds. It is frequently used in conjunction with PAY_BALANCE_TYPES, PAY_ASSIGNMENT_ACTIONS, and PAY_RUN_RESULTS for comprehensive payroll analysis and auditing.
-
Table: PAY_LATEST_BALANCES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_LATEST_BALANCES, object_name:PAY_LATEST_BALANCES, status:VALID, product: PAY - Payroll , description: Latest balance values for a person or assignment. , implementation_dba_data: HR.PAY_LATEST_BALANCES ,
-
Table: PAY_LATEST_BALANCES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_LATEST_BALANCES, object_name:PAY_LATEST_BALANCES, status:VALID, product: PAY - Payroll , description: Latest balance values for a person or assignment. , implementation_dba_data: HR.PAY_LATEST_BALANCES ,
-
APPS.PAY_BALANCE_UPLOAD dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.HR_DELETE dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.PAY_BALANCE_UPLOAD dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.PAY_US_GEO_UPD_PKG dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.PAY_PAYROLL_ACTIONS_PKG dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.PAY_CORE_UPGRADE_PKG dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.PAY_JP_DIMENSION_GENERATOR_PKG dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.PY_ROLLBACK_PKG dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.PY_ROLLBACK_PKG dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.PAY_JP_DIMENSION_GENERATOR_PKG dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.PAY_BALANCE_FEED_DEL_PKG dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.HRASSACT dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.PAY_BALANCE_PKG dependencies on PAY_LATEST_BALANCES
12.1.1
-
APPS.HRASSACT dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.PAY_BALANCE_PKG dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.PAY_US_GEO_UPD_PKG dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.PAY_PAYROLL_ACTIONS_PKG dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.PAY_CORE_UPGRADE_PKG dependencies on PAY_LATEST_BALANCES
12.2.2
-
APPS.HR_DELETE dependencies on PAY_LATEST_BALANCES
12.2.2
-
SYNONYM: PUBLIC.PAY_LATEST_BALANCES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PAY_LATEST_BALANCES, status:VALID,
-
VIEW: HR.PAY_LATEST_BALANCES#
12.2.2
owner:HR, object_type:VIEW, object_name:PAY_LATEST_BALANCES#, status:VALID,
-
TABLE: HR.PAY_LATEST_BALANCES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_LATEST_BALANCES, object_name:PAY_LATEST_BALANCES, status:VALID,
-
VIEW: APPS.PAY_ASG_LATEST_BALANCES_V1
12.1.1
-
VIEW: APPS.PAY_PER_LATEST_BALANCES_V1
12.2.2
-
VIEW: APPS.PAY_ASG_LATEST_BALANCES_V1
12.2.2
-
VIEW: HR.PAY_LATEST_BALANCES#
12.2.2
-
SYNONYM: APPS.PAY_LATEST_BALANCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_LATEST_BALANCES, status:VALID,
-
APPS.PAY_JP_DIMENSION_GENERATOR_PKG dependencies on PAY_ASSIGNMENT_LATEST_BALANCES
12.1.1
-
APPS.HRASSACT dependencies on PAY_DEFINED_BALANCES
12.1.1
-
VIEW: APPS.PAY_PER_LATEST_BALANCES_V1
12.1.1
-
SYNONYM: APPS.PAY_LATEST_BALANCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_LATEST_BALANCES, status:VALID,
-
APPS.PAY_JP_DIMENSION_GENERATOR_PKG dependencies on PAY_ASSIGNMENT_LATEST_BALANCES
12.2.2
-
APPS.HRASSACT dependencies on PAY_DEFINED_BALANCES
12.2.2
-
APPS.PAY_BALANCE_FEED_DEL_PKG dependencies on PAY_DEFINED_BALANCES
12.2.2
-
APPS.PAY_BALANCE_FEED_DEL_PKG SQL Statements
12.2.2
-
APPS.PAY_JP_DIMENSION_GENERATOR_PKG dependencies on PAY_PERSON_LATEST_BALANCES
12.1.1
-
TABLE: HR.PAY_LATEST_BALANCES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_LATEST_BALANCES, object_name:PAY_LATEST_BALANCES, status:VALID,
-
APPS.PAY_JP_DIMENSION_GENERATOR_PKG dependencies on PAY_PERSON_LATEST_BALANCES
12.2.2
-
VIEW: APPS.PAY_BALANCE_CONTEXT_VALUES_V1
12.1.1
-
VIEW: APPS.PAY_BALANCE_CONTEXT_VALUES_V1
12.2.2
-
APPS.HRASSACT dependencies on PAY_BALANCE_FEEDS_F
12.2.2
-
View: PAY_PER_LATEST_BALANCES_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PER_LATEST_BALANCES_V1, object_name:PAY_PER_LATEST_BALANCES_V1, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_PER_LATEST_BALANCES_V1 ,
-
View: PAY_PER_LATEST_BALANCES_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PER_LATEST_BALANCES_V1, object_name:PAY_PER_LATEST_BALANCES_V1, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_PER_LATEST_BALANCES_V1 ,
-
View: PAY_ASG_LATEST_BALANCES_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_ASG_LATEST_BALANCES_V1, object_name:PAY_ASG_LATEST_BALANCES_V1, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_ASG_LATEST_BALANCES_V1 ,
-
Table: PAY_DEFINED_BALANCES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_DEFINED_BALANCES, object_name:PAY_DEFINED_BALANCES, status:VALID, product: PAY - Payroll , description: Intersection between PAY_BALANCE_TYPES and PAY_BALANCE_DIMENSIONS. , implementation_dba_data: HR.PAY_DEFINED_BALANCES ,
-
APPS.HR_DELETE dependencies on PAY_PERSON_LATEST_BALANCES
12.1.1
-
PACKAGE BODY: APPS.PAY_CORE_UPGRADE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CORE_UPGRADE_PKG, status:VALID,
-
APPS.PY_ROLLBACK_PKG dependencies on PAY_DEFINED_BALANCES
12.2.2