RF_COMPET_UP_VW(SQL View) |
Index Back |
---|---|
Person Competency Update viewView used to update the person's competencies |
SELECT A.PERSON_ID , A.EVALUATION_ID , A.COMPETENCY , A.EFFDT , A.YR_LAST_USED , A.HOW_VERIFIED , A.PROFICIENCY , A.PROFICIENCY_NUM , A.INTEREST_LEVEL , A.YEARS_OF_EXP , A.YR_ACQUIRED , %subrec(RB_AUDIT_SBR, A) FROM PS_RB_COMPETENCIES A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_RB_COMPETENCIES B , PS_RB_EVALUATIONS C , PS_INSTALLATION D WHERE A.PERSON_ID = B.PERSON_ID AND B.EVALUATION_ID = A.EVALUATION_ID AND B.COMPETENCY = A.COMPETENCY AND B.EFFDT <= %CurrentDateIn AND C.EVALUATION_TYPE = D.EVALUATION_TYPE AND C.EVALUATION_ID = A.EVALUATION_ID AND C.PERSON_ID = A.PERSON_ID ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL |
Person ID
Prompt Table: RD_PERSON |
2 | EVALUATION_ID | Character(2) | VARCHAR2(2) NOT NULL | This is the evaluation identifiction number field. |
3 | COMPETENCY | Character(8) | VARCHAR2(8) NOT NULL |
Competency - this field is brought over from HRMS
Prompt Table: COMPETENCY_TBL |
4 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
5 | YR_LAST_USED | Number(4,0) | SMALLINT NOT NULL | YR_LAST_USED field is used on the HCM COMPETENCY record which contains the competencies for each employee. |
6 | HOW_VERIFIED | Character(1) | VARCHAR2(1) NOT NULL |
This field indicates how something was verified.
E=Employee Claim J=On the Job Training N=Not Verified O=Employer Observation T=By Test V=NVQ Authority |
7 | PROFICIENCY | Character(1) | VARCHAR2(1) NOT NULL |
Proficiency Field. This Field is imported into CRM DB from Human Resources Database.
Prompt Table: REVW_RATING_TBL |
8 | PROFICIENCY_NUM | Number(2,0) | SMALLINT NOT NULL | Numeric version of PROFICIENCY used for calculations. |
9 | INTEREST_LEVEL | Character(1) | VARCHAR2(1) NOT NULL |
This is the interest level field.
Default Value: 2 Prompt Table:
INT_RATING_VW
|
10 | YEARS_OF_EXP | Number(5,1) | DECIMAL(4,1) NOT NULL | Years of Work Experience |
11 | YR_ACQUIRED | Number(4,0) | SMALLINT NOT NULL | YR_ACQUIRED field is used on the HCM COMPETENCY record which contains the competencies for each employee. |
12 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
13 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
14 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
15 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
16 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
17 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |