Results for “pay_ie_p35_xml_pkg”
46 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.PAY_IE_P35_XML_PKG is a PL/SQL package body in the Oracle E-Business Suite Payroll module that supports statutory year-end reporting for the Republic of Ireland. Its principal business function is the extraction and formatting of payroll data required for the Irish Revenue Commissioners' P35 end-of-year return, rendered as an XML document. Rather than producing a flat-file or fixed-format output, the package assembles an XML structure rooted at the P35LFile element, which mirrors the Revenue On-Line Service (ROS) P35 upload schema. The header identifier $Header: pyiep35p.pkb 120.11.12010000.1 2008/07/27 confirms the package has been maintained under the standard Oracle Applications source control and shipped as part of the 12.1.1 file system, and it remains present in 12.2.2. As an OTHER-classified API, it is not published for general customer extension; it is invoked internally by the Irish payroll legislative reporting flow.
Key Procedures and Functions
- WRITETOCLOB — Serialises the in-memory XML fragments collected in the package-level
vXMLTableinto a temporary CLOB, prepending the XML declaration. The declaration's encoding attribute is not hard-coded: the function callsGET_IANA_CHARSET, which reads theFND_ISO_CHARACTER_SET_MAPlookup for the session'sUSERENV('LANGUAGE')territory suffix. This corrected a prior defect (Bug 5852148) where UTF-8 was assumed unconditionally. - POPULATE_P35_REP — Builds the P35 report data set, driving the selection of assignment, payroll action, and soft-coding information for the reporting period.
- POPULATE_PLSQL_TABLE — Loads the extracted rows into a PL/SQL associative array (indexed table) for subsequent XML assembly; the
PLITBLMdependency reflects this in-memory table handling. - GET_START_DATE — Returns the beginning of the P35 reporting period, derived from payroll action or tax-year context.
- GET_END_DATE — Returns the close of the P35 reporting period, complementing
GET_START_DATE.
Tables Accessed
The package reads configuration and reference data through APPS synonyms. FND_LOOKUP_VALUES supplies the ISO/IANA character-set mapping. FND_PROFILE_OPTIONS and FND_PROFILE_OPTION_VALUES supply site and responsibility level settings, typically business group, legislation, and date-track parameters. HR_ASSIGNMENT_SETS and HR_ASSIGNMENT_SET_AMENDMENTS restrict processing to the assignment population in scope for the return. HR_SOFT_CODING_KEYFLEX contributes key flexfield segment values used to derive P35 classification. Payroll transactional data is drawn from PAY_ALL_PAYROLLS_F, PAY_PAYROLL_ACTIONS, PAY_ASSIGNMENT_ACTIONS, and PAY_ACTION_INFORMATION, which together identify the payroll runs and action results falling within the reporting year. DBMS_LOB and PLITBLM are Oracle-supplied packages used for CLOB manipulation and PL/SQL table iteration respectively.
Usage Notes
Because ETRM records zero referencing packages, PAY_IE_P35_XML_PKG is best understood as a leaf-level reporting component invoked from the Irish payroll year-end concurrent program or its immediate caller, rather than as a shared utility. It is not documented as a callable public API and should not be invoked directly from custom code; the supported integration point is the seeded concurrent program that submits the P35 extract. During execution, HR_UTILITY.SET_LOCATION and HR_UTILITY.TRACE calls emit progress and character-set diagnostics, so enabling HR tracing assists troubleshooting. In 12.1.1 and 12.2.2 the package is applied through standard AD patch delivery; the identified bug-fix references (4705094, 5852148) indicate that the current shipped version post-dates those corrections, and customers should ensure the latest Irish payroll legislative patch level is installed before generating a P35 return.
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
SYNONYM: PUBLIC.DBMS_LOB 12.1.1
-
SYNONYM: PUBLIC.DBMS_LOB 12.2.2
-
VIEW: APPS.PER_ASSIGNMENTS_F 12.1.1
-
VIEW: APPS.PER_ASSIGNMENTS_F 12.2.2
-
SYNONYM: PUBLIC.PLITBLM 12.1.1
-
12.2.2 DBA Data 12.2.2
-
SYNONYM: PUBLIC.PLITBLM 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
eTRM - PER Tables and Views 12.1.1
Table to store NQF Training info for a person
-
eTRM - PER Tables and Views 12.1.1
Table to store NQF Training info for a person