Results for “pay_mx_hourly_earnings_v”

44 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PAY_MX_HOURLY_EARNINGS_V is a reporting view owned by the APPS schema within the Oracle E-Business Suite Payroll module (PAY). It is a Mexican (MX) localization object, designed to expose hourly earnings balances for assignments processed through payroll runs. The view consolidates payroll action data, assignment action data, and balance definitions into a single denormalized structure suitable for statutory reporting, earnings analysis, and downstream integration with external payroll processing or government-mandated reporting formats.

The view is of particular relevance in EBS 12.1.1 and 12.2.2 environments where the Mexican payroll localization is enabled. It serves as a bridge between the transactional payroll action tables and the balance calculation utilities, allowing report developers and integrators to retrieve earnings values in both run-level and year-to-date terms without navigating the complexity of the underlying balance architecture. Because it references the PAY_AC_UTILITY and PAY_MX_UTILITY packages via calling functions, the view dynamically resolves balance names, reporting names, and calculated values at query time.

Underlying Base Objects

The view is defined over several payroll base objects and utilities, per the documented ETRM metadata:

Key Columns

The view exposes a rich set of columns organized around assignment actions and balance values:

Common Use Cases and Queries

This view is typically used in Mexican localization reporting where hourly earnings must be reported alongside hours worked. Common scenarios include statutory earnings reporting, reconciliation of payroll run results against expected hourly balances, and data extraction for external interfaces.

A typical query to retrieve hourly earnings for a specific assignment and payroll action is shown below:

SELECT assignment_id,
       tax_unit_id,
       date_paid,
       earn_bal_name,
       earn_run_val,
       earn_ytd_val,
       hours_run_val,
       hours_ytd_val
FROM  apps.pay_mx_hourly_earnings_v
WHERE  assignment_id = :p_assignment_id
AND    action_status = 'C';

For period-based reporting, developers often filter on date_paid and action_status to include only completed payroll runs, aggregating earn_run_val and hours_run_val by assignment or tax unit. Because the value columns are populated through package function calls, performance can be affected on large data sets; restricting by assignment_id, payroll_action_id, or date ranges is recommended. The view does not expose all balance attributes, so it should be treated as a specialized hourly earnings extract rather than a general-purpose balance reporting view.