RS_EMPL_RMPIDVW

(SQL View)
Index Back

Project ID Prompt View-EMPLID

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

SELECT DISTINCT A.EMPLID ,A.PROJECT_ID ,B.DESCR ,A.ASSIGNMENT_ID FROM %Table(RS_ASSIGNMENT) A , %Table(PROJECT) B , %Table(RS_WRKR_ADD_VW) D , %Table(RS_ASSGN_STS) E WHERE B.EFF_STATUS <> 'I' AND A.EMPLID = D.EMPLID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND E.ASSIGNMENT_ID = A.ASSIGNMENT_ID AND E.LASTUPDDTTM = ( SELECT MAX(F.LASTUPDDTTM) FROM %Table(RS_ASSGN_STS) F WHERE F.ASSIGNMENT_ID = E.ASSIGNMENT_ID ) AND (E.ASSIGN_STS = 'A' OR E.ASSIGN_STS = 'V')

  • Related Language Record: RS_EMRMPIDLNGVW
  • # 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
    4 ASSIGNMENT_ID Character(15) VARCHAR2(15) NOT NULL Work Assignment ID