SP_PYSTAT_OPRLG

(SQL View)
Index Back

Pay Cycle Stat View


SELECT DISTINCT d.oprid , A.PAY_CYCLE , C.LANGUAGE_CD , C.DESCR FROM PS_PYCYCL_STAT A , PS_PYCYCL_LG C , ps_sec_pycycl_opr d WHERE A.PAY_CYCLE = C.PAY_CYCLE AND (A.pay_cycle = d.pay_cycle OR ((%Substring(A.pay_cycle, 1, 3) = 'XPC' OR %Substring(A.pay_cycle, 1, 3) = 'RST') AND %Substring(A.pay_cycle, 1, 3) = d.pay_cycle)) AND A.PAY_CYCLE_SEQ_NUM = ( SELECT MAX(B.PAY_CYCLE_SEQ_NUM) FROM PS_PYCYCL_STAT B WHERE B.PAY_CYCLE = A.PAY_CYCLE)

  • Related Language Record for SP_PYSTAT_OPRVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 PAY_CYCLE Character(6) VARCHAR2(6) NOT NULL Pay Cycle
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description