Results for “get_balances”

50+ results




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

Overview

The APPS.PAY_AU_PAYTAX_PKG package body implements Australian payroll tax processing within Oracle E-Business Suite 12.1.1 and 12.2.2. It supports the calculation, aggregation, and reporting of payroll tax obligations for Australian legal employers, including grouping rules, threshold handling, and the archival of balance information required for statutory tax reporting. The package is classified as OTHER in the ETRM metadata and is owned by APPS. Its header version (pyaupyt.pkb 120.21.12010000.3, dated 2008/09/26) reflects a long evolution of legislative and functional changes, most notably the Payroll Tax Grouping enhancements delivered in 2005, the Legal Employer enhancement adding tax_unit_id in 2004, and the addition of termination state breakdown balances in 2006.

Key Procedures and Functions

The package exposes eight documented procedures and functions:

  • GET_BALANCES — Retrieves payroll balance values used in the tax calculation and reporting flow. The change list records that a tax_unit_id parameter was added to support the Legal Employer enhancement.
  • POPULATE_DEFINED_BALANCE_IDS — Populates the set of defined balance identifiers used by the package for subsequent balance retrieval and archiving operations.
  • GET_TAX — Core tax calculation routine. It was modified in 2002 to honour a user-supplied override threshold and again to use the NOCOPY compiler hint for performance.
  • RANGE_CODE — Supports range-based logic associated with payroll tax grouping and related categorization.
  • INITIALIZATION_CODE — Initialization logic invoked before processing; the change list notes historical back-out of certain changes to this routine.
  • ASSIGNMENT_ACTION_CODE — Assignment-action processing logic, also subject to the 2008 back-out referenced in the change list.
  • ARCHIVE_CODE — Drives archival of balance and employee detail data, including flexfield values such as State Code and organization developer flexfields.
  • SPAWN_ARCHIVE_REPORTS — Submits the concurrent requests that produce the archived payroll tax reports.

Tables Accessed

The package reads and writes through APPS synonyms across several functional areas. Payroll and assignment data come from PAY_ASSIGNMENT_ACTIONS, PAY_ASSIGNMENT_ACTIONS_S, PAY_PAYROLL_ACTIONS, and PAY_ACTION_INFORMATION (with its _S shadow), while balance definitions and values are drawn from PAY_BALANCE_TYPES, PAY_BALANCE_DIMENSIONS, and PAY_DEFINED_BALANCES. Employee and assignment context is sourced from PER_ALL_PEOPLE_F and PER_PERIODS_OF_SERVICE. Organization and legal employer information is taken from HR_ALL_ORGANIZATION_UNITS and HR_ORGANIZATION_INFORMATION, with flexfield values from HR_SOFT_CODING_KEYFLEX. Concurrent request submission and status for the spawned archive reports rely on FND_CONCURRENT_REQUESTS, and formula definitions are referenced via FF_FORMULAS_F.

Usage Notes

PAY_AU_PAYTAX_PKG is typically invoked indirectly rather than called directly by end users. It is exercised through Australian payroll tax calculation and reporting flows, through concurrent programs that archive payroll tax balances and spawn archive reports, and potentially through payroll action and assignment action processing logic. Custom code extending Australian payroll tax reporting should call the documented procedures rather than manipulating the underlying balance tables directly, since the package encapsulates threshold override handling, tax grouping rules, and flexfield archival behaviour. Because the package is referenced by one other package, dependency impact analysis should precede any modification. The NTT NUMBER reference in the ETRM excerpt corresponds to the legacy header line number format in the source listing rather than a documented parameter or identifier.