AVSTAFFSAVWLNG(SQL View) |
Index Back |
---|---|
Staff tableContains all staff and volunteers defined by the institution for the advancement product. |
SELECT A.INSTITUTION , A.STAFF_ID , A.STAFF_TYPE , A.EFFDT , A.LANGUAGE_CD , A.DESCR , A.DESCRSHORT FROM PS_AV_STAFFLNG A ,PS_AV_STAFF D WHERE A.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_AV_STAFF X WHERE X.INSTITUTION = A.INSTITUTION AND X.STAFF_ID = A.STAFF_ID AND X.STAFF_TYPE = A.STAFF_TYPE AND X.EFFDT <= %CurrentDateIn) AND D.EFF_STATUS='A' AND A.INSTITUTION=D.INSTITUTION AND A.STAFF_ID=D.STAFF_ID AND A.STAFF_TYPE=D.STAFF_TYPE AND A.EFFDT=D.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: AV_OPR_DEF_TBL.INSTITUTION Prompt Table: INSTITUTN_SCRTY |
2 | STAFF_ID | Character(11) | VARCHAR2(11) NOT NULL |
Staff ID
Prompt Table: AV_PEOPLE_SRCH |
3 | STAFF_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Staff Type
STF=Staff UNT=Unit VOL=Volunteer |
4 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %DATE |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL |
Short Description
Default Value: AV_STAFF.DESCR |