COMP_SUMMARY_VW

(SQL View)
Index Back

Person Competencies

COMPETENCIES contains the competency ratings for each employee, applicant or contractor evaluation.

SELECT B.EMPLID , B.COMPETENCY , B.EFFDT , B.PROFICIENCY , B.YR_LAST_USED , B.YR_ACQUIRED , A.REVIEW_DT FROM PS_CM_EVALUATIONS A , PS_COMPETENCIES B WHERE A.EMPLID = B.EMPLID AND B.EFFDT <= %CurrentDateIn AND A.EVALUATION_ID = B.EVALUATION_ID AND A.EVALUATION_ID = ( SELECT MAX(AA.EVALUATION_ID) FROM PS_CM_EVALUATIONS AA WHERE AA.EMPLID = A.EMPLID AND AA.EVALUATION_TYPE = 'A' AND AA.REVIEW_DT = ( SELECT MAX(AAA.REVIEW_DT) FROM PS_CM_EVALUATIONS AAA WHERE AAA.EMPLID = A.EMPLID AND AAA.EVALUATION_TYPE = 'A' AND AAA.REVIEW_DT <= %CurrentDateIn))

  • Parent record: CM_EVALUATIONS
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: PERSON

    2 COMPETENCY Character(8) VARCHAR2(8) NOT NULL Competency

    Prompt Table: COMPETENCY_TBL

    3 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    4 PROFICIENCY Character(1) VARCHAR2(1) NOT NULL Proficiency

    Prompt Table: REVW_RATING_TBL

    5 YR_LAST_USED Number(4,0) SMALLINT NOT NULL Year Last Used
    6 YR_ACQUIRED Number(4,0) SMALLINT NOT NULL Year Acquired
    7 REVIEW_DT Date(10) DATE Review Date