PY_SS_CAN3_VW

(SQL View)
Index Back

Year-End Forms for SS

This view will select year-end forms from guide table that meet the settings in Year-End Form Options page.

SELECT %subrec(PY_SS_CAN_SBR, A) FROM PS_PY_SS_CAN_GDE A , PS_PY_YEOPT_CO_CAN B WHERE A.COMPANY = B.COMPANY AND A.PY_TAX_YEAR = B.PY_TAX_YEAR AND A.TAXFORM_ID IN ('A','T','R','V')

# 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
5 SEQUENCE_NUMBER Number(2,0) SMALLINT NOT NULL Sequence Number
6 WAGE_LOSS_PLAN Character(3) VARCHAR2(3) NOT NULL Wage Loss Replacement Plan
7 PROVINCE Character(6) VARCHAR2(6) NOT NULL Province
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 YE_SLIP_PROCESS Character(1) VARCHAR2(1) NOT NULL Slip Process Type
A=Amended
C=Cancelled
D=Delete
N=Newly Reissued
O=Original
15 PY_YE_REPORT_URL Character(254) VARCHAR2(254) NOT NULL Report URL
16 PY_YE_BURST_ID Character(40) VARCHAR2(40) NOT NULL Stores the value used for bursting a PDF file into separate employee-level files.
17 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
18 REPORT_DEFN_ID Character(12) VARCHAR2(12) NOT NULL Report Name (see PSXPRPTDEFN).
19 BURST_FIELDNAME Character(30) VARCHAR2(30) NOT NULL Burst Field Name
20 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
21 PY_SLIP_FINAL_PRT Character(1) VARCHAR2(1) NOT NULL Final Print?

Y/N Table Edit