AV_STAFF_SA_VW

(SQL View)
Index Back

Staff table

Contains all staff and volunteers defined by the institution for the advancement product.

SELECT INSTITUTION , STAFF_ID , STAFF_TYPE , EFFDT , EFF_STATUS , DESCR , DESCRSHORT , END_DT FROM PS_AV_STAFF A 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 A.EFF_STATUS='A'

  • Related Language Record: AVSTAFFSAVWLNG
  • # 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 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A

    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    7 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description

    Default Value: AV_STAFF.DESCR

    8 END_DT Date(10) DATE end date