WM_PCRATE_VW_LG

(SQL View)
Index Back

Rate Set


SELECT B.BUSINESS_UNIT , B.PC_TEMPLATE_ID , B.LANGUAGE_CD , A.EFFDT , B.DESCR FROM PS_PC_RATE A , PS_PC_RATE_HDR_LG B , PS_PC_RATE_HDR D WHERE %Join(COMMON_KEYS, PC_RATE_HDR D, PC_RATE_HDR_LG B) AND %Join(COMMON_KEYS, PC_RATE_HDR D, PC_RATE A) AND A.TEMPLATE_TYPE='R' AND A.EFFDT = ( SELECT MAX(RATE.EFFDT) FROM PS_PC_RATE RATE WHERE RATE.BUSINESS_UNIT = A.BUSINESS_UNIT AND RATE.PC_TEMPLATE_ID = A.PC_TEMPLATE_ID AND RATE.TEMPLATE_TYPE = A.TEMPLATE_TYPE)

  • Related Language Record for WM_PC_RATE_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit
    2 PC_TEMPLATE_ID Character(15) VARCHAR2(15) NOT NULL Rate Template ID
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description