PY_SS_NRA4_VW

(SQL View)
Index Back

Year-End Forms 1042-S Admin

This view will select year-end Forms 1042-S for Admin from guide table that meet the settings in Year-End Form Options page.

SELECT DISTINCT D.OPRID ,A.EMPLID ,A.PY_TAX_YEAR ,A.COMPANY FROM PS_PY_SS_1042S_GDE A , PS_PY_YEOPT_CO_USA B , PSOPRDEFN D WHERE A.COMPANY = B.W2_REPORTING_CO AND A.PY_TAX_YEAR = B.PY_TAX_YEAR AND A.TAXFORM_ID ='Z'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 PY_TAX_YEAR Number(4,0) SMALLINT NOT NULL Represents the year for personal income tax purposes.
4 W2_REPORTING_CO Character(3) VARCHAR2(3) NOT NULL W-2 Reporting Company