GPES_PERSDAT_VW

(SQL View)
Index Back

Personal Data View for Taxes

Personal Data View for Taxes

SELECT A.EMPLID , D.EFFDT , D.EFF_STATUS , A.NAME , D.STATE , D.COUNTRY , C.BIRTHDATE , B.NATIONAL_ID , C.BIRTHPLACE , C.BIRTHCOUNTRY FROM PS_PERSON_NAME A , PS_PERS_NID B , PS_PERSON C , PS_ADDRESSES D WHERE A.EMPLID = B.EMPLID AND A.EMPLID = C.EMPLID AND A.EMPLID = D.EMPLID AND B.COUNTRY = 'ESP' AND B.PRIMARY_NID = 'Y' AND D.ADDRESS_TYPE = 'HOME'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EFFDT Date(10) DATE Effective Date

Default Value: %date

3 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
4 NAME Character(50) VARCHAR2(50) NOT NULL Name
5 STATE Character(6) VARCHAR2(6) NOT NULL State
6 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
7 BIRTHDATE Date(10) DATE Date of Birth
8 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
9 BIRTHPLACE Character(30) VARCHAR2(30) NOT NULL Birth Location
10 BIRTHCOUNTRY Character(3) VARCHAR2(3) NOT NULL Birth Country