GPTH_PERSON_VW(SQL View) |
Index Back |
---|---|
Personal Info ViewPersonal Info View |
SELECT E.PHONE_TYPE , A.EMPLID , A.BIRTHDATE , E.COUNTRY_CODE , E.PHONE , E.EXTENSION , F.PHONE_TYPE , F.PHONE , F.EXTENSION , G.NATIONAL_ID , H.NATIONAL_ID AS GPTH_PER_TAX_ID , I.NATIONAL_ID AS GPTH_SI_EE_ACCT FROM PS_PERSON A LEFT OUTER JOIN PS_PERSONAL_PHONE E ON (A.EMPLID = E.EMPLID AND E.PHONE_TYPE = 'HOME') LEFT OUTER JOIN PS_PERSONAL_PHONE F ON (A.EMPLID = F.EMPLID AND F.PHONE_TYPE = 'BUSN') LEFT OUTER JOIN PS_PERS_NID G ON (A.EMPLID = G.EMPLID AND G.NATIONAL_ID_TYPE = 'PID' AND G.COUNTRY='THA') LEFT OUTER JOIN PS_PERS_NID H ON (A.EMPLID = H.EMPLID AND H.NATIONAL_ID_TYPE = 'TAX ID' AND H.COUNTRY='THA') LEFT OUTER JOIN PS_PERS_NID I ON (A.EMPLID = I.EMPLID AND I.NATIONAL_ID_TYPE = 'SSO ID' AND I.COUNTRY='THA') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PHONE_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Phone Type
BUSN=Business CAMP=Campus CELL=Mobile DORM=Dormitory FAX=FAX HOME=Home MAIN=Main OTR=Other PGR1=Pager 1 PGR2=Pager 2 TELX=Telex WORK=Work |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | BIRTHDATE | Date(10) | DATE | Date of Birth |
4 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | Country Code |
5 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |
6 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | Phone number extension |
7 | GPTH_HOME_PHONE_TY | Character(4) | VARCHAR2(4) NOT NULL | Phone Type |
8 | HOME_PHONE | Character(24) | VARCHAR2(24) NOT NULL | Home Phone # |
9 | GPTH_HOME_EXT | Character(6) | VARCHAR2(6) NOT NULL | Phone number extension |
10 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
11 | GPTH_PER_TAX_ID | Character(20) | VARCHAR2(20) NOT NULL | Person Tax ID |
12 | GPTH_SI_EE_ACCT | Character(20) | VARCHAR2(20) NOT NULL | Payee Social Security Number |