SAL_GRADEVW_LNG(SQL View) |
Index Back |
---|---|
Current Salary Ranges by GradeSAL_GRADE_VW is a view of the Salary Grade table which retrieves current ranges. It is used in the Salary Administration application. |
SELECT a.setid , A.SAL_ADMIN_PLAN ,B.GRADE ,A.LANGUAGE_CD ,A.DESCR FROM PS_SAL_PLAN_LANG A ,PS_SAL_GRADE_TBL B WHERE a.setid = b.setid and B.SAL_ADMIN_PLAN = A.SAL_ADMIN_PLAN AND A.EFFDT = (SELECT MAX(C.EFFDT) FROM PS_SAL_PLAN_TBL C WHERE C.SAL_ADMIN_PLAN = A.SAL_ADMIN_PLAN AND C.EFFDT <= %CURRENTDATEIN AND C.SETID = A.SETID) AND B.EFFDT = (SELECT MAX(D.EFFDT) FROM PS_SAL_GRADE_TBL D WHERE D.SAL_ADMIN_PLAN = B.SAL_ADMIN_PLAN AND D.GRADE = B.GRADE AND D.EFFDT <= %CURRENTDATEIN AND D.SETID = A.SETID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | SAL_ADMIN_PLAN | Character(4) | VARCHAR2(4) NOT NULL | Salary Administration Plan |
3 | GRADE | Character(3) | VARCHAR2(3) NOT NULL | Salary Grade |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |