CM_ROLE_COMPS(SQL View) |
Index Back |
---|---|
Competencies of RoleCM_ROLE_COMPS is a table that contains the competencies or competency clusters that profile a role (position, jobcode, job task, or job family). Release 9 Job Profile Managment (JPM): Table became a view to JPM data. Ownership of table transferred from Human Resources to JPM. This view returns: 1) all Role items that are not tied to a Cluster. 2) the Clusters that tied to this Role. |
SELECT CASE X.JPM_RLAT_NAME WHEN 'POSITION' THEN %Substring(X.JPM_RLAT_KEY1 ,1 ,8) ELSE ' ' END ,CASE X.JPM_RLAT_NAME WHEN 'JOB_FAMILY' THEN %Substring(X.JPM_RLAT_KEY1 ,1 ,6) ELSE ' ' END ,X.JPM_CAT_SETID ,CASE X.JPM_RLAT_NAME WHEN 'JOB_CODE' THEN %Substring(X.JPM_RLAT_KEY1 ,1 ,6) ELSE ' ' END ,CASE X.JPM_RLAT_NAME WHEN 'JOB_TASK' THEN %Substring(X.JPM_RLAT_KEY1 ,1 ,6) ELSE ' ' END ,X.EFFDT ,CASE ITEMS.JPM_SOURCE_ID2 WHEN ' ' THEN %Substring(ITEMS.JPM_CAT_ITEM_ID ,1 ,8) ELSE ' ' END ,CASE ITEMS.JPM_SOURCE_ID2 WHEN ' ' THEN ' ' ELSE %Substring(P2.JPM_LGCY_PRFL_ID ,1 ,6) END ,ITEMS.JPM_IMPORTANCE ,0 ,ITEMS.JPM_RATING1 ,ITEMS.FP_SKIL_HIR ,ITEMS.FP_SKIL_TEN ,ITEMS.FP_SKIL_PRM FROM PS_JPM_JP_ITEMS ITEMS LEFT OUTER JOIN PS_JPM_PROFILE P2 ON ITEMS.JPM_SOURCE_ID2 = P2.JPM_PROFILE_ID ,PS_JPM_JP_X_RLAT X ,PS_JPM_PROFILE WHERE X.JPM_PROFILE_ID = PS_JPM_PROFILE.JPM_PROFILE_ID AND PS_JPM_PROFILE.JPM_JP_TYPE = 'ROLE' AND ITEMS.JPM_PROFILE_ID = PS_JPM_PROFILE.JPM_PROFILE_ID AND ((ITEMS.JPM_SOURCE_ID2 = ' ' AND ITEMS.JPM_CAT_TYPE IN('COMPETENCY','NVQ UNIT') AND ITEMS.JPM_ITEM_KEY_ID = ( SELECT MAX(ITMKEY.JPM_ITEM_KEY_ID) FROM PS_JPM_JP_ITEMS ITMKEY WHERE ITEMS.JPM_PROFILE_ID = ITMKEY.JPM_PROFILE_ID AND ITEMS.JPM_CAT_TYPE = ITMKEY.JPM_CAT_TYPE AND ITEMS.JPM_CAT_ITEM_ID = ITMKEY.JPM_CAT_ITEM_ID AND ITEMS.EFFDT = ITMKEY.EFFDT)) OR (ITEMS.JPM_SOURCE_ID2 <> ' ' AND ITEMS.JPM_ITEM_KEY_ID = ( SELECT MAX(ITMKEY.JPM_ITEM_KEY_ID) FROM PS_JPM_JP_ITEMS ITMKEY WHERE ITEMS.JPM_PROFILE_ID = ITMKEY.JPM_PROFILE_ID AND ITEMS.JPM_SOURCE_ID2 = ITMKEY.JPM_SOURCE_ID2 ))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL |
Position Number
Prompt Table: %RECNAME_EDIT |
2 | JOB_FAMILY | Character(6) | VARCHAR2(6) NOT NULL |
Job Family
Prompt Table: JOB_FAMILY_TBL |
3 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SETID_TBL |
4 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL |
Job Code
Prompt Table: JOBCODE_TBL |
5 | JOB_TASK | Character(6) | VARCHAR2(6) NOT NULL |
Job Task
Prompt Table: JOB_TASK_TBL |
6 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
7 | COMPETENCY | Character(8) | VARCHAR2(8) NOT NULL |
Competency
Prompt Table: COMPETENCY_TBL |
8 | CM_CLUSTER | Character(6) | VARCHAR2(6) NOT NULL |
Competency Cluster
Prompt Table: CM_CLUSTER_TBL |
9 | CM_IMPORTANCE | Character(1) | VARCHAR2(1) NOT NULL |
Competency Importance
1=1-Low 2=2-Below Average 3=3-Average 4=4-Above Average 5=5-High |
10 | CM_IMPORTANCE_NBR | Number(3,0) | SMALLINT NOT NULL | Competency Importance |
11 | PROFICIENCY | Character(1) | VARCHAR2(1) NOT NULL |
Proficiency
Prompt Table: REVW_RATING_TBL |
12 | FP_SKIL_HIR | Character(1) | VARCHAR2(1) NOT NULL |
Hiring Requirements
N=No Y=Yes Y/N Table Edit Default Value: N |
13 | FP_SKIL_TEN | Character(1) | VARCHAR2(1) NOT NULL |
Tenure Requirements
N=No Y=Yes Y/N Table Edit Default Value: N |
14 | FP_SKIL_PRM | Character(1) | VARCHAR2(1) NOT NULL |
Promotion Requirements
N=No Y=Yes Y/N Table Edit Default Value: N |