SCC_AFL_PRSNCD(SQL View) |
Index Back |
---|---|
Affiliation Codes for a PersonAffiliation Codes for a Person |
SELECT A.INSTITUTION ,A.EMPLID ,A.SCC_AFL_CODE ,A.START_DT ,A.END_DT ,B.SCC_AFL_DESCR ,B.SCC_AFL_DESCRSHORT , A.SCC_AFL_STATUS FROM PS_SCC_AFL_PERSON A ,PS_SCC_AFL_TBL B WHERE A.INSTITUTION = B.INSTITUTION AND A.SCC_AFL_CODE = B.SCC_AFL_CODE AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_SCC_AFL_TBL B1 WHERE B.INSTITUTION = B1.INSTITUTION AND B.SCC_AFL_CODE = B1.SCC_AFL_CODE AND B1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | SCC_AFL_CODE | Character(10) | VARCHAR2(10) NOT NULL | Affiliations Code |
4 | START_DT | Date(10) | DATE | Start Date |
5 | END_DT | Date(10) | DATE | end date |
6 | SCC_AFL_DESCR | Character(254) | VARCHAR2(254) NOT NULL | Affiliations Long Description |
7 | SCC_AFL_DESCRSHORT | Character(50) | VARCHAR2(50) NOT NULL | Affiliations Short Description |
8 | SCC_AFL_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Affiliation Status
ACT=Active ERR=Created In Error INA=Inactive |