SAL_GRADE_VW1(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.DESCR ,B.MIN_RT_ANNUAL ,B.MID_RT_ANNUAL ,B.MAX_RT_ANNUAL ,B.CURRENCY_CD FROM PS_SAL_PLAN_TBL 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_SALARY | Character(5) | VARCHAR2(5) NOT NULL | Salary 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | MIN_RT_ANNUAL | Number(19,3) | DECIMAL(18,3) NOT NULL | Minimum Pay Rate-Annual |
6 | MID_RT_ANNUAL | Number(19,3) | DECIMAL(18,3) NOT NULL | Midpoint Pay Rate-Annual |
7 | MAX_RT_ANNUAL | Number(19,3) | DECIMAL(18,3) NOT NULL | Maximum Pay Rate-Annual |
8 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Default Value: OPR_DEF_TBL_HR.EXCHNG_TO_CURRENCY Prompt Table: CURRENCY_CD_TBL |