RS_EMPL_PRIDVW

(SQL View)
Index Back

Project ID Prompt View-EMPLID

This is a view used as a promopt view for Project ID when PGM is installed. The Set control value is set to EMPLID.

SELECT DISTINCT D.EMPLID ,A.PROJECT_ID ,B.DESCR FROM %Table(PROJECT_TEAM_VW) A , %Table(PROJECT) B , %Table(PERSONAL_DATA) D WHERE B.EFF_STATUS <> 'I' AND A.TEAM_MEMBER = D.EMPLID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND A.TEAM_MEMBER_CLASS = 'L' AND A.TEAM_MEMBER_IND = 'E' AND A.SCHED_NUM = ( SELECT MIN(E.SCHED_NUM) FROM %Table(PROJECT_TEAM_VW) E WHERE E.BUSINESS_UNIT = A.BUSINESS_UNIT AND E.PROJECT_ID = A.PROJECT_ID AND E.TEAM_MEMBER = A.TEAM_MEMBER AND E.TEAM_MEMBER_CLASS = A.TEAM_MEMBER_CLASS AND E.TEAM_MEMBER_IND = A.TEAM_MEMBER_IND)

  • Related Language Record: RS_EMPRID_LNGVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description