Search Results validate_tax_code
Overview
PAY_GB_EOY_MAGTAPE is an Oracle E-Business Suite PL/SQL package owned by the APPS schema and classified as an "OTHER" API within the ETRM repository. As its name implies, the package supports the United Kingdom legislative requirement for End-of-Year (EOY) magnetic media reporting, historically known as the Magnetic Media or "Magtape" submission process to HM Revenue & Customs (HMRC). The package encapsulates control logic, validation routines, and payroll version interrogation used during the generation of statutory year-end returns for GB payrolls.
The package header alone exposes the public interface; the body contains the implementation that coordinates with Oracle Payroll and Oracle HR foundation tables. It is referenced by sixteen other packages, indicating it forms part of a broader dependency chain within the GB payroll legislative solution rather than being an isolated utility.
Key Procedures and Functions
- EOY_CONTROL — A procedure that acts as the primary driver for end-of-year processing within this package. It orchestrates the control flow of the magnetic media generation, typically invoked as the entry point from a concurrent program or another payroll process.
- VALIDATE_INPUT — A function that validates a supplied input value, with an optional validation mode parameter defaulting to 'FULL_CHAR'. This supports character-level and format checking of data prior to submission, ensuring that only well-formed values are passed downstream.
- VALIDATE_TAX_CODE — A function that validates a GB tax code against an effective date and an assignment identifier. This is the routine most closely associated with the user search term "validate_tax_code". It returns a VARCHAR2 result, permitting the caller to receive a descriptive outcome rather than a simple boolean.
- VALIDATE_TAX_CODE_YRFIL — A related function that validates a tax code in the context of a specific assignment action and, as the "yrfil" suffix suggests, in relation to year-end filing (YRF) data. It performs a similar check to VALIDATE_TAX_CODE but keyed on the assignment action rather than the assignment plus effective date.
- GET_PAYROLL_VERSION — A function returning a VARCHAR2 value that supplies the payroll version string, used to identify the applicable legislative or product version driving the EOY submission.
Tables Accessed
The package references a set of tables via APPS synonyms that span payroll processing, HR assignment data, and Oracle Applications file registration. The payroll core tables include PAY_PAYROLL_ACTIONS, PAY_ASSIGNMENT_ACTIONS, and PAY_ALL_PAYROLLS_F, which hold payroll run and assignment action context needed to determine which assignments and payroll actions are in scope for year-end processing. PER_ALL_ASSIGNMENTS_F provides the assignment records against which tax codes are validated.
Oracle HR tables include HR_ORGANIZATION_INFORMATION and HR_SOFT_CODING_KEYFLEX, supporting organisation-level and costing context. Fast Formula infrastructure is represented by FF_FORMULAS_F, FF_FORMULA_TYPES, FF_GLOBALS_F, FF_USER_ENTITIES, and FF_ARCHIVE_ITEMS. File and version control for the transmitted magnetic media uses AD_FILES and AD_FILE_VERSIONS. FND_CONCURRENT_REQUESTS supplies concurrent request context, and DUAL is used for singleton queries.
Usage Notes
PAY_GB_EOY_MAGTAPE is typically invoked indirectly through the GB end-of-year concurrent programs rather than being called directly by end users. Its validation functions, particularly VALIDATE_TAX_CODE and VALIDATE_TAX_CODE_YRFIL, may be called from custom code or from other payroll packages that must confirm tax code correctness before submission. Because the package forms part of the legislative dependency chain referenced by sixteen other packages, modifications should be assessed carefully for regression impact. All invocations occur within Oracle Payroll, and callers should pass a valid assignment or assignment action identifier and effective date to obtain meaningful validation results.
-
PACKAGE: APPS.PAY_GB_EOY_MAGTAPE
12.1.1
-
PACKAGE: APPS.PAY_GB_EOY_MAGTAPE
12.2.2
-
PACKAGE: APPS.JA_TH_AR_TAX_INVOICE
12.2.2
-
PACKAGE: APPS.JA_TH_AR_TAX_INVOICE
12.1.1
-
PACKAGE BODY: APPS.JA_TH_AR_TAX_INVOICE
12.1.1
-
PACKAGE BODY: APPS.JA_TH_AR_TAX_INVOICE
12.2.2
-
PACKAGE: APPS.JA_ZZ_VALIDATE_INVOICE_GDF
12.2.2
-
PACKAGE: APPS.JA_ZZ_VALIDATE_INVOICE_GDF
12.1.1
-
APPS.JA_ZZ_VALIDATE_INVOICE_GDF SQL Statements
12.1.1
-
APPS.JA_ZZ_VALIDATE_INVOICE_GDF SQL Statements
12.2.2
-
PACKAGE: APPS.RCV_TRANSACTIONS_INTERFACE_SV1
12.2.2
-
PACKAGE: APPS.RCV_TRANSACTIONS_INTERFACE_SV1
12.1.1
-
PACKAGE BODY: APPS.JA_ZZ_VALIDATE_INVOICE_GDF
12.2.2
-
PACKAGE BODY: APPS.JA_ZZ_VALIDATE_INVOICE_GDF
12.1.1
-
PACKAGE BODY: APPS.RCV_TRANSACTIONS_INTERFACE_SV1
12.1.1
-
PACKAGE BODY: APPS.RCV_TRANSACTIONS_INTERFACE_SV1
12.2.2
-
PACKAGE BODY: APPS.PAY_GB_EOY_MAGTAPE
12.1.1
-
PACKAGE BODY: APPS.PYUDET
12.1.1
-
PACKAGE: APPS.RCV_ROI_TRANSACTION
12.1.1
-
APPS.PAY_GB_EOY_MAGTAPE dependencies on HR_GB_UTILITY
12.1.1
-
APPS.PAY_GB_EOY_MAGTAPE dependencies on HR_GB_UTILITY
12.2.2
-
PACKAGE BODY: APPS.PAY_GB_EOY_MAGTAPE
12.2.2
-
PACKAGE: APPS.RCV_ROI_TRANSACTION
12.2.2
-
APPS.PYUDET dependencies on FF_FORMULAS_F
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on AP_TAX_CODES
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on AP_TAX_CODES
12.1.1
-
APPS.PYUDET dependencies on FF_FORMULAS_F
12.2.2
-
PACKAGE BODY: APPS.PYUDET
12.2.2
-
APPS.RCV_ROI_TRANSACTION dependencies on RCV_HEADERS_INTERFACE
12.1.1
-
APPS.RCV_ROI_TRANSACTION dependencies on RCV_HEADERS_INTERFACE
12.2.2
-
APPS.RCV_ROI_TRANSACTION dependencies on RCV_HEADERS_INTERFACE
12.1.1
-
PACKAGE BODY: APPS.JAI_OPEN_API_PKG
12.2.2
-
APPS.OKL_PROCESS_SALES_TAX_PVT SQL Statements
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on RCV_SHIPMENT_LINE_SV
12.1.1
-
APPS.RCV_ROI_TRANSACTION dependencies on RCV_HEADERS_INTERFACE
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV dependencies on RCV_TRANSACTIONS_INTERFACE_SV1
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on RCV_SHIPMENT_LINE_SV
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on RCV_SHIPMENT_LINE_SV
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on RCV_SHIPMENT_LINE_SV
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV dependencies on RCV_TRANSACTIONS_INTERFACE_SV1
12.2.2
-
APPS.OKL_PROCESS_SALES_TAX_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKL_PROCESS_SALES_TAX_PVT
12.1.1
-
APPS.RCV_ROI_TRANSACTION dependencies on RCV_TRANSACTIONS_INTERFACE_SV1
12.2.2
-
APPS.RCV_ROI_TRANSACTION dependencies on RCV_TRANSACTIONS_INTERFACE_SV1
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV dependencies on RCV_TRANSACTIONS_INTERFACE_SV
12.1.1
-
PACKAGE BODY: APPS.OKL_PROCESS_SALES_TAX_PVT
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV dependencies on RCV_TRANSACTIONS_INTERFACE_SV
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on RCV_ERROR_PKG
12.1.1
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV1 dependencies on RCV_ERROR_PKG
12.2.2
-
APPS.RCV_TRANSACTIONS_INTERFACE_SV dependencies on RCV_TRANSACTIONS_INTERFACE
12.1.1