RS_EM_BU_PRIDVW

(SQL View)
Index Back

ProjID Prompt View EMPLID-BU

This is a view used as a promopt view for Project ID under certain selected business unit when PGM is installed. The Set control value is set to EMPLID and BUSINESS_UNIT.

SELECT DISTINCT D.EMPLID ,A.BUSINESS_UNIT ,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_EMPIDBULNGVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Prompt Table: SP_BU_PC_NONVW

    3 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description