PY_SS_NRA1_VW

(SQL View)
Index Back

View Form 1042-S

View Form 1042-S

SELECT %subrec(PY_SS_NRA_SBR, A) FROM PS_PY_SS_1042S_GDE A , PS_PY_YEOPT_CO_USA B WHERE A.YE_FORM_VIEWING_DT <= %CurrentDateIn AND A.COMPANY = B.W2_REPORTING_CO AND A.PY_TAX_YEAR = B.PY_TAX_YEAR AND A.TAXFORM_ID ='Z' AND A.PY_1042S_FNL_PRINT = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 PY_TAX_YEAR Number(4,0) SMALLINT NOT NULL Represents the year for personal income tax purposes.
3 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
4 TAXFORM_ID Character(1) VARCHAR2(1) NOT NULL Tax Form Identification
A=T4A Slip
B=Business Payrolls Survey - CAN
C=WCB Assessable Earnings
E=Record of Employment
F=940 - Annual Employer's FUTA
I=W-2VI
J=W-2cVI
M=W-2GU
N=W-2cGU
P=W-2PR
Q=W-2cPR
R=RL-1 Slip
S=W-2AS
T=T4 Slip
U=W-2cAS
V=RL-2 Slip
W=W-2
X=W-2c
Y=1099-R
Z=1042-S
5 SEQUENCE_NUMBER Number(2,0) SMALLINT NOT NULL Sequence Number
6 PY_BATCH_NBR Number(4,0) SMALLINT NOT NULL Batch Number
7 PY_BATCH_YR Number(4,0) SMALLINT NOT NULL Batch Year
8 PY_YE_FORM_SEQNUM Number(2,0) SMALLINT NOT NULL A sequential number to indicate the number of W2/W-2c that have been issued/generated for an employee. Initial copy will have a value of 1. Used in Self Service Year-End Forms.
9 YE_FORM_ISSUE_DT Date(10) DATE This field is used in Payroll for North America Self Service Year-End Forms. It stores the date when the forms were generated.
10 YE_FORM_VIEWING_DT Date(10) DATE This field is used in Payroll for North America Self Service Year-End Forms. It stores the date that determines when the forms become viewable in Self Service.
11 ATTACHSYSFILENAME Character(128) VARCHAR2(128) NOT NULL Unique Sys Filename
12 ATTACHUSERFILE Character(64) VARCHAR2(64) NOT NULL Attached File
13 PY_YE_FILEURLID Character(30) VARCHAR2(30) NOT NULL URL ID used to store and retrieve year-end pdf forms.
14 PY_YE_REPORT_URL Character(254) VARCHAR2(254) NOT NULL Report URL
15 PY_YE_BURST_ID Character(40) VARCHAR2(40) NOT NULL Stores the value used for bursting a PDF file into separate employee-level files.
16 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
17 REPORT_DEFN_ID Character(12) VARCHAR2(12) NOT NULL Report Name (see PSXPRPTDEFN).
18 BURST_FIELDNAME Character(30) VARCHAR2(30) NOT NULL Burst Field Name
19 PY_YE_NOTIFY_FLG Character(1) VARCHAR2(1) NOT NULL Indicates whether notification of availability for viewing a year-end form has been sent to employee. Y - notification already sent to employee N - notification not yet sent to employee
20 PY_1042S_FNL_PRINT Character(1) VARCHAR2(1) NOT NULL Identifies whether final run or not.
21 PY_AMEND_NO Number(2,0) SMALLINT NOT NULL 1042S Amendment Number
22 IRS_INCOME_CD_1042 Character(2) VARCHAR2(2) NOT NULL This field is to store the income code associated with the tax 1042 earnings. This income code is required on 1042S form.
23 TAX_RT Signed Number(12,10) DECIMAL(10,10) NOT NULL Tax Rate (after form)