Results for “calc_asg_run”

42 results




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

Overview

HR_NZBAL is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that implements the New Zealand statutory balance calculation engine for Oracle Payroll. Its principal business function is to compute assignment-level Year-To-Date (YTD), Quarter-To-Date (QTD), Period-To-Date (PTD), and four-weekly balance values that satisfy New Zealand payroll reporting and legislative requirements, including holiday pay accrual and gross earnings definitions used by Inland Revenue reporting and the Holidays Act.

The package is classified in ETRM as an OTHER API, meaning it is an internal engine rather than a published, externally supported interface. It is validated and confirmed as VALID in both Oracle EBS 12.1.1 and 12.2.2. It is referenced by nine other packages, including HR_NZ_HOLIDAYS, PAY_NZ_QES_PKG, PAY_NZ_REC_PKG, and PAY_NZ_SOE_PKG, and serves as the underlying calculation layer for the PAY_NZ_BALANCES_V, PAY_NZ_BALANCES_BY_ACTION_V, PAY_NZ_BALANCES_BY_DATE_V2, PAY_NZ_BALANCES_MATRIX_V, and PAY_PAYNZBAL_VALUES_V views.

Key Procedures and Functions

ETRM documents 30 procedures and functions, organised as a consistent trio pattern: a base calculation routine, an _ACTION variant, and a _DATE variant. The core routines are:

Tables Accessed

The package reads and derives values from the following documented tables via APPS synonyms:

Usage Notes

HR_NZBAL is typically invoked indirectly. Standard invocations occur through New Zealand payroll balance views (PAY_NZ_BALANCES_V and its variants), through the New Zealand payroll processes in PAY_NZ_QES_PKG, PAY_NZ_REC_PKG, and PAY_NZ_SOE_PKG, and through the holiday calculation package HR_NZ_HOLIDAYS. Because it is an OTHER-class API, Oracle does not support direct calls from customer code; customisations that require New Zealand balance values should query the dependent views rather than call HR_NZBAL directly. Where tight integration is unavoidable, the _DATE variants are generally preferred in custom code for deterministic point-in-time results, while the _ACTION variants are intended for invocation within payroll action processing. As with all APPS-owned packages, customer extensions should be placed in a separate custom schema to avoid patch conflicts.