Search Results gross_earnings
Overview
PAY_NZ_ER_CAL_MTH_BAL_V is a New Zealand localisation view owned by the APPS schema in Oracle E-Business Suite (12.1.1 and 12.2.2). It is catalogued under the PAY — Payroll product and is documented as VALID in the ETRM repository. The view aggregates calendar-month payroll balance information for New Zealand employers, consolidating assignment-level balances into a single organisation-wide monthly summary. Because the user search term is "gross_earnings", this view is directly relevant: GROSS_EARNINGS is the primary aggregated measure produced by the view.
Functionally, the view acts as an employer-level ("ER") reporting layer over the more granular PAY_NZ_ASG_CAL_MTH_BAL_V (assignment calendar-month balances). It filters to New Zealand PAYE information element types and returns one row per organisation and effective date. It is therefore intended for statutory returns, reconciliation, and downstream integrations that require monthly aggregated New Zealand payroll totals rather than individual assignment detail.
Underlying Base Objects
The documented view text joins PAY_NZ_ASG_CAL_MTH_BAL_V to several base objects. The ETRM metadata lists the following referenced objects:
- PAY_NZ_ASG_CAL_MTH_BAL_V (VIEW) — the assignment-level source of the aggregated balances.
- PAY_ELEMENT_TYPES_F (SYNONYM) — restricts rows to the 'PAYE INFORMATION' and 'WITHHOLDING TAX INFORMATION RECORD' element types.
- PAY_ASSIGNMENT_ACTIONS (SYNONYM), PAY_PAYROLL_ACTIONS (SYNONYM), PAY_RUN_RESULTS (SYNONYM) — resolve the latest valid payroll run result per assignment.
- PER_ASSIGNMENTS_F (VIEW) — provides the latest effective assignment record per person.
- FND_SESSIONS (SYNONYM) — supplies the effective date used for date-range logic.
- PAY_NZ_TAX (PACKAGE), HR_GENERAL (PACKAGE), HR_SECURITY (PACKAGE) — supporting New Zealand tax calculations and security/date utilities.
The joins apply a "latest effective row" pattern: EXEC MAX on EFFECTIVE_START_DATE for element types and assignments, and MAX on ASSIGNMENT_ACTION_ID for the payroll action, ensuring only the most current record within each session month is included.
Key Columns
- ORGANIZATION_ID — the business group / organisation for which the balances are aggregated.
- EFFECTIVE_DATE — the session-derived effective date anchoring the calendar-month aggregation.
- GROSS_EARNINGS — total gross earnings for the month; the primary search term and the driver of the view's calculated net check.
- EARNINGS_NOT_LIABLE_FOR_ACC_EP — earnings excluded from ACC (Accident Compensation Corporation) earners' premium liability.
- PAYE_DEDUCTIONS — Pay As You Earn tax withheld.
- CHILD_SUPPORT_DEDUCTIONS — court-ordered child support withheld.
- STUDENT_LOAN_DEDUCTIONS — student loan repayments withheld.
- KIWISAVER_EE_CONTRIBUTIONS — employee KiwiSaver contributions (added for Bug 5846247).
- KIWISAVER_ER_CONTRIBUTIONS — employer KiwiSaver contributions (added for Bug 5846247).
The WHERE clause also enforces a non-negative net earnings condition: GROSS_EARNINGS minus (PAYE + Child Support + Student Loan) must be greater than or equal to zero, which suppresses anomalous negative-net records.
Common Use Cases and Queries
Typical scenarios include month-end New Zealand payroll reconciliation, statutory PAYE reporting, and extracts feeding general ledger or third-party payroll providers. A representative query follows:
SELECT organization_id, effective_date, gross_earnings, paye_deductions, kiwisaver_ee_contributions, kiwisaveer_er_contributions FROM apps.pay_nz_er_cal_mth_bal_v WHERE effective_date BETWEEN :start_date AND :end_date ORDER BY organization_id, effective_date;SELECT gross_earnings FROM apps.pay_nz_er_cal_mth_bal_v WHERE organization_id = :org_id AND effective_date = :month_end;- Aggregate net pay for a period:
SELECT organization_id, SUM(gross_earnings - (paye_deductions + child_support_deductions + student_loan_deductions)) net_pay FROM apps.pay_nz_er_cal_mth_bal_v GROUP BY organization_id;
Because the view relies on FND_SESSIONS for its effective date, queries executed outside an active payroll session context may return no rows; session context should be established before use in custom reports or integrations.
-
View: PAY_NZ_ER_CAL_MTH_BAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ER_CAL_MTH_BAL_V, object_name:PAY_NZ_ER_CAL_MTH_BAL_V, status:VALID, product: PAY - Payroll , description: New Zealand localisation view. , implementation_dba_data: APPS.PAY_NZ_ER_CAL_MTH_BAL_V ,
-
VIEW: APPS.PAY_NZ_ER_CAL_MTH_BAL_V
12.2.2
-
View: PAY_NZ_ER_CAL_MTH_BAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ER_CAL_MTH_BAL_V, object_name:PAY_NZ_ER_CAL_MTH_BAL_V, status:VALID, product: PAY - Payroll , description: New Zealand localisation view. , implementation_dba_data: APPS.PAY_NZ_ER_CAL_MTH_BAL_V ,
-
VIEW: APPS.PAY_NZ_ER_CAL_MTH_BAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ER_CAL_MTH_BAL_V, object_name:PAY_NZ_ER_CAL_MTH_BAL_V, status:VALID,
-
VIEW: APPS.PAY_NZ_ER_CAL_MTH_BAL_V
12.1.1
-
VIEW: APPS.PAY_NZ_ASG_CAL_MTH_BAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ASG_CAL_MTH_BAL_V, object_name:PAY_NZ_ASG_CAL_MTH_BAL_V, status:VALID,
-
View: PAY_AC_EMP_SUM_ACTION_INFO_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_AC_EMP_SUM_ACTION_INFO_V, object_name:PAY_AC_EMP_SUM_ACTION_INFO_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_AC_EMP_SUM_ACTION_INFO_V ,
-
VIEW: APPS.PAY_NZ_ASG_CAL_MTH_BAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ASG_CAL_MTH_BAL_V, object_name:PAY_NZ_ASG_CAL_MTH_BAL_V, status:VALID,
-
VIEW: APPS.PAY_NZ_ER_CAL_MTH_BAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ER_CAL_MTH_BAL_V, object_name:PAY_NZ_ER_CAL_MTH_BAL_V, status:VALID,
-
VIEW: APPS.PAY_AC_EMP_SUM_ACTION_INFO_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_AC_EMP_SUM_ACTION_INFO_V, object_name:PAY_AC_EMP_SUM_ACTION_INFO_V, status:VALID,
-
View: PAY_AC_EMP_SUM_ACTION_INFO_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_AC_EMP_SUM_ACTION_INFO_V, object_name:PAY_AC_EMP_SUM_ACTION_INFO_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_AC_EMP_SUM_ACTION_INFO_V ,
-
APPS.PAY_US_HR_HELPDESK SQL Statements
12.2.2
-
VIEW: APPS.PAY_AC_EMP_SUM_ACTION_INFO_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_AC_EMP_SUM_ACTION_INFO_V, object_name:PAY_AC_EMP_SUM_ACTION_INFO_V, status:VALID,
-
View: PAY_CA_EOY_RL1_REG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_CA_EOY_RL1_REG_V, object_name:PAY_CA_EOY_RL1_REG_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_CA_EOY_RL1_REG_V ,
-
VIEW: APPS.PAY_CA_EOY_RL1_REG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_CA_EOY_RL1_REG_V, object_name:PAY_CA_EOY_RL1_REG_V, status:VALID,
-
VIEW: APPS.PAY_AC_EMP_SUM_ACTION_INFO_V
12.2.2
-
View: PAY_CA_EOY_RL1_REG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_CA_EOY_RL1_REG_V, object_name:PAY_CA_EOY_RL1_REG_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_CA_EOY_RL1_REG_V ,
-
VIEW: APPS.PAY_CA_EOY_RL1_REG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_CA_EOY_RL1_REG_V, object_name:PAY_CA_EOY_RL1_REG_V, status:VALID,
-
VIEW: APPS.PAY_AC_EMP_SUM_ACTION_INFO_V
12.1.1
-
PACKAGE BODY: APPS.PAY_US_HR_HELPDESK
12.2.2
-
VIEW: APPS.PAY_CA_EOY_RL1_REG_V
12.1.1
-
VIEW: APPS.PAY_CA_EOY_RL1_REG_V
12.2.2
-
PACKAGE: APPS.PAY_NZ_EMS
12.1.1
-
View: PAY_NZ_ASG_CAL_MTH_BAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ASG_CAL_MTH_BAL_V, object_name:PAY_NZ_ASG_CAL_MTH_BAL_V, status:VALID, product: PAY - Payroll , description: New Zealand localisation view. , implementation_dba_data: APPS.PAY_NZ_ASG_CAL_MTH_BAL_V ,
-
PACKAGE: APPS.PAY_NZ_EMS
12.2.2
-
View: PAY_NZ_ASG_CAL_MTH_BAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_NZ_ASG_CAL_MTH_BAL_V, object_name:PAY_NZ_ASG_CAL_MTH_BAL_V, status:VALID, product: PAY - Payroll , description: New Zealand localisation view. , implementation_dba_data: APPS.PAY_NZ_ASG_CAL_MTH_BAL_V ,
-
APPS.PAY_MX_TRR_PKG SQL Statements
12.1.1
-
APPS.PAY_MX_TRR_PKG SQL Statements
12.2.2
-
APPS.HR_PERSON_RECORD SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PAY_PAYUSTOT_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PAY_PAYUSTOT_XMLP_PKG
12.1.1
-
APPS.PAY_US_HR_HELPDESK dependencies on PAY_AC_EMP_SUM_ACTION_INFO_V
12.2.2
-
APPS.HR_PERSON_RECORD dependencies on PAY_AC_EMP_SUM_ACTION_INFO_V
12.1.1
-
PACKAGE BODY: APPS.HR_PERSON_RECORD
12.1.1
-
PACKAGE BODY: APPS.PAY_US_TAX_BALANCE_PERF
12.1.1
-
PACKAGE BODY: APPS.PAY_US_PAYSLIP_SIMULATION_MAIN
12.2.2
-
PACKAGE BODY: APPS.PAY_US_TAX_BALANCE_PERF
12.2.2
-
APPS.PAY_US_PAYSLIP_SIMULATION_MAIN dependencies on PAY_BALANCE_TYPES
12.2.2
-
APPS.PAY_AU_RECON_SUMMARY SQL Statements
12.2.2
-
APPS.PAY_US_PAYSLIP_SIMULATION_MAIN dependencies on PAY_DEFINED_BALANCES
12.2.2
-
PACKAGE BODY: APPS.PAY_MX_TRR_PKG
12.2.2
-
PACKAGE BODY: APPS.PAY_MX_TRR_PKG
12.1.1
-
PACKAGE BODY: APPS.PAY_US_TAX_BALS_PKG
12.1.1
-
PACKAGE BODY: APPS.PAY_US_TAX_BALS_PKG
12.2.2
-
APPS.PAY_AU_PAYMENT_SUMMARY SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PAY_IE_NES_REPORT_PKG
12.2.2
-
PACKAGE BODY: APPS.PAY_AU_RECON_SUMMARY
12.2.2
-
PACKAGE BODY: APPS.PAY_US_TAXBAL_VIEW_PKG
12.1.1
-
PACKAGE BODY: APPS.PAY_AU_REC_DET_PAYSUM_MODE
12.2.2
-
PACKAGE BODY: APPS.PAY_US_TAXBAL_VIEW_PKG
12.2.2