GPMY_CP8A_PY_VW

(SQL View)
Index Back

View to retreive CP8A payees

View to retreive CP8A payees

SELECT A.GPMY_CONTRIB_YEAR , A.COMPANY , A.GPMY_TAX_NBR ,A.EMPLID ,B.NAME FROM PS_GPMY_CP8A_HDR A ,PS_NAMES B WHERE A.EMPLID=B.EMPLID AND B.NAME_TYPE='PRI' AND B.EFFDT=( SELECT MAX(P1.EFFDT) FROM PS_NAMES P1 WHERE B.EMPLID=P1.EMPLID AND B.NAME_TYPE=P1.NAME_TYPE)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 GPMY_CONTRIB_YEAR Number(4,0) SMALLINT NOT NULL Contribution Year
2 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
3 GPMY_TAX_NBR Character(12) VARCHAR2(12) NOT NULL GPMY_TAX_NBR
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 NAME Character(50) VARCHAR2(50) NOT NULL Name