Results for “pay_p45_pkg”

50+ results




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

Overview

PAY_P45_PKG is a UK-specific Oracle Payroll package that supports the P45 form (form name PAYWSR45), which is invoked from the PAYGBTAX form. Its principal business purpose is to gather, validate, archive, and expose the payroll and assignment data required to produce a P45 — the statutory UK end-of-employment tax document issued when an employee leaves an assignment. The package body is registered in Oracle E-Business Suite 12.1.1 and 12.2.2 under the APPS schema with an API classification of OTHER. It encapsulates report request error handling, archive-package integration, P45 formula resolution, student loan determination, and form query data retrieval. The header comment dates the package to 1994, and its revision history documents two decades of maintenance fixes covering year-2000 date handling, NLS date formatting, taxable-pay subquery correlation, and multi-period-of-service leaver scenarios — evidence of its long-standing role in UK payroll compliance.

Key Procedures and Functions

The package exposes 19 documented procedures and functions, which fall into several functional groups.

Tables Accessed

The package reads and writes a defined set of payroll and HR tables through APPS synonyms.

Usage Notes

PAY_P45_PKG is invoked primarily through the PAYGBTAX form when the user opens the P45 form (PAYWSR45), and secondarily from concurrent report submission paths via SPAWN_REPORTS. Six other packages reference it, confirming it is a shared dependency in the UK payroll processing chain rather than an isolated form handler. Customizations should avoid direct calls to internal archive routines and instead use the documented entry points such as GET_DATA and GET_FORM_QUERY_DATA. Because the package manipulates archived payroll balances and PAYE/taxable pay data, testing must account for NLS date formats and multiple periods of service for leavers, as documented in the package history.