Search Results start_of_time
Overview
PYW2DATA is a US-specific Oracle HRMS/Applications payroll reporting package body owned by APPS. Its stated purpose is to set up the data required to produce W2 and State Quarterly Wage Reporting output. The package is responsible for assembling the reporting structures, formulas, and magnetic media layouts that the payroll reporting engine consumes when generating year-end tax forms and quarterly state wage reports.
The package header history indicates an initial creation in March 1995 and continued enrichment through the late 1990s. Much of that change activity centered on state-specific reporting formats, including the ICESA and SSA_SQWL layouts, as well as formats for Rhode Island and Hawaii (referred to historically as SSA states). The notes explicitly recorded that the package is US specific, and several revisions involved commenting out state formats and formula dependencies in order to ship a controlled production baseline. This historical context is important: PYW2DATA is a setup-orchestration package rather than a calculation engine, and its contents are tuned to the exact reporting formats and formulas delivered at a given release.
Key Procedures and Functions
The documented API surface for this package consists of a single routine:
- SETUP — The public entry point that performs the package's data preparation work. Consistent with the package purpose and the documented table references, SETUP is the routine that registers or arranges the reporting data needed by the W2 and State Quarterly Wage Reporting processes. No documented parameter list is available in the reference metadata; callers should treat SETUP as the package's initialization routine and rely on the delivered definition of state formats and formulas that it establishes.
Internal helper logic referenced in the historical notes (such as the employer and employee level cursors, overflow flag handling, and format selection performed by format codes like ICESA, SSA_SQWL, IASQWL, RISQWL, and HISQWL) is not exposed as a documented public API and should not be treated as callable by external code.
Tables Accessed
The documented table references are via APPS synonyms, indicating the package operates on the standard HRMS payroll reporting data model:
- FF_FORMULAS_F — FastFormula definitions. The package references formula records so that the reporting logic tied to W2 and state quarterly formats can be identified and used. The historical notes confirm that the package was sensitive to formula names and lookup formulas, and that some formula-dependent formats were deliberately disabled at certain points.
- PAY_MAGNETIC_BLOCKS — Defines the blocks that make up a magnetic media report layout. The package uses these definitions to construct the reporting structure for the supported W2 and quarterly formats.
- PAY_MAGNETIC_RECORDS — Defines individual records within magnetic media blocks. These supply the record-level detail that the reporting process emits.
- PAY_REPORT_FORMAT_MAPPINGS_F — Maps report formats to their underlying definitions, allowing the package to associate a given W2 or state quarterly format with the correct structure.
The package is documented as read-oriented against this configuration data; it prepares and resolves reporting setup rather than writing payroll transaction data.
Usage Notes
PYW2DATA is invoked as part of the W2 and State Quarterly Wage Reporting process within Oracle Payroll, which is US legislative/statutory reporting functionality. In practice it is called by the reporting concurrent programs or by the HRMS reporting engine when a run is prepared, rather than directly by end users or through a data-entry form. Because the sole documented routine is SETUP, customizations should avoid calling internal cursors or format-specific logic and instead rely on the delivered package behavior.
Two practical cautions follow from the documented history. First, because the supported formats and the formulas they depend on have been added, removed, and commented out across releases, any customization or extension that assumes a particular format or formula exists must be validated against the specific EBS 12.1.1 or 12.2.2 release being used. Second, the package is explicitly US specific; it should not be expected to participate in non-US statutory reporting. When troubleshooting reports such as W2, ICESA, or SSA_SQWL output, this package and its formula, magnetic block, magnetic record, and report format mapping references are the appropriate starting point.
-
APPS.PYW2DATA SQL Statements
12.1.1
-
APPS.PYSQDATA SQL Statements
12.1.1
-
APPS.PYW2DATA SQL Statements
12.2.2
-
APPS.PYSQDATA SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PYW2DATA
12.2.2
-
PACKAGE BODY: APPS.PYSQDATA
12.2.2
-
PACKAGE BODY: APPS.PYSQDATA
12.1.1
-
PACKAGE BODY: APPS.PYW2DATA
12.1.1
-
Lookup Type: PAY_PIT_PERIOD_TYPE
12.1.1
product: PAY - Payroll , meaning: Payroll Point In Time Definition Period Type , description: Payroll Point In Time Definition Period Type ,
-
Lookup Type: PAY_PIT_PERIOD_TYPE
12.2.2
product: PAY - Payroll , meaning: Payroll Point In Time Definition Period Type , description: Payroll Point In Time Definition Period Type ,
-
APPS.PAY_CA_DBI_ROE SQL Statements
12.2.2
-
APPS.PAY_CA_DBI_ROE SQL Statements
12.1.1
-
APPS.PAY_UK_BAL_UPLOAD SQL Statements
12.1.1
-
APPS.HR_PUMP_GET SQL Statements
12.2.2
-
APPS.HR_PUMP_GET SQL Statements
12.1.1
-
APPS.PAY_UK_BAL_UPLOAD SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PAY_CA_DBI_ROE
12.2.2
-
PACKAGE BODY: APPS.PAY_CA_DBI_ROE
12.1.1
-
APPS.PAY_BALANCE_UPLOAD SQL Statements
12.1.1
-
APPS.PAY_CA_BAL_UPLOAD SQL Statements
12.2.2
-
APPS.PAY_CA_BAL_UPLOAD SQL Statements
12.1.1
-
APPS.PAY_BALANCE_UPLOAD SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PAY_CH_BAL_UPLOAD
12.1.1
-
PACKAGE BODY: APPS.PAY_CH_BAL_UPLOAD
12.2.2
-
APPS.PAY_ES_CALC_SS_EARNINGS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PAY_JP_BAL_UPLOAD
12.2.2
-
APPS.PAY_ES_CALC_SS_EARNINGS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PAY_JP_BAL_UPLOAD
12.1.1
-
PACKAGE BODY: APPS.PAY_CORE_DATES
12.1.1
-
VIEW: APPS.HR_EDWBV_WRK_SPRTN_FCV
12.1.1
-
PACKAGE BODY: APPS.PAY_CORE_DATES
12.2.2
-
PACKAGE: APPS.HR_GENERAL
12.1.1
-
APPS.PAY_ES_TWR_CALC_PKG SQL Statements
12.2.2
-
APPS.PAY_ES_TWR_CALC_PKG SQL Statements
12.1.1
-
View: HR_EDWBV_WRK_SPRTN_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HR_EDWBV_WRK_SPRTN_FCV, object_name:HR_EDWBV_WRK_SPRTN_FCV, status:VALID, product: HRI - Human Resources Intelligence , implementation_dba_data: APPS.HR_EDWBV_WRK_SPRTN_FCV ,
-
APPS.PAY_AU_RETRO_UPGRADE SQL Statements
12.1.1
-
PACKAGE: APPS.HR_GENERAL
12.2.2
-
PACKAGE BODY: APPS.PAY_NO_BAL_UPLOAD
12.1.1
-
PACKAGE BODY: APPS.PAY_NO_BAL_UPLOAD
12.2.2
-
PACKAGE BODY: APPS.PAY_UK_BAL_UPLOAD
12.2.2
-
PACKAGE BODY: APPS.PAY_UK_BAL_UPLOAD
12.1.1
-
PACKAGE BODY: APPS.PAY_FI_BAL_UPLOAD
12.1.1
-
View: HR_EDWBV_WRK_SPRTN_FCV
12.2.2
product: HRI - Human Resources Intelligence (Obsolete) , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.PAY_FI_BAL_UPLOAD
12.2.2
-
PACKAGE BODY: APPS.PAY_DK_BAL_UPLOAD
12.1.1
-
PACKAGE BODY: APPS.PAY_KW_BAL_UPLOAD
12.2.2
-
APPS.PAY_AU_RETRO_UPGRADE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PAY_DK_BAL_UPLOAD
12.2.2
-
PACKAGE BODY: APPS.PAY_KW_BAL_UPLOAD
12.1.1
-
PACKAGE BODY: APPS.PAY_ES_TWR_CALC_PKG
12.2.2