SAL_RATVW_LNG

(SQL View)
Index Back

Salary Ratecd View

This view joins the sal_ratecd_tbl with the comp_ratecd_tbl for multiple component step defaulting on job.

SELECT A.SETID ,A.SAL_ADMIN_PLAN ,A.GRADE ,A.EFFDT ,B.EFF_STATUS ,A.STEP ,A.COMP_RATECD ,L.LANGUAGE_CD ,L.DESCRSHORT FROM PS_SAL_RATECD_TBL A, PS_COMP_RATECD_TBL B, PS_COMP_RATCD_LANG L WHERE A.COMP_RATECD = B.COMP_RATECD AND L.COMP_RATECD=B.COMP_RATECD AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_COMP_RATECD_TBL C WHERE B.COMP_RATECD = C.COMP_RATECD AND C.EFFDT <= A.EFFDT AND C.EFF_STATUS = 'A' )

  • Related Language Record for SAL_RATECD_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_HR.SETID

    Prompt Table: SETID_TBL

    2 SAL_ADMIN_PLAN Character(4) VARCHAR2(4) NOT NULL Salary Administration Plan

    Prompt Table: SAL_PLAN_TBL

    3 GRADE Character(3) VARCHAR2(3) NOT NULL Salary Grade
    4 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive
    6 STEP Number(2,0) SMALLINT NOT NULL Step
    7 COMP_RATECD Character(6) VARCHAR2(6) NOT NULL Comp Rate Code

    Prompt Table: BASE_RATECD_VW

    8 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    9 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description