SP_PYSTAT_OPRVW

(SQL View)
Index Back

Pay Cycle Stat View


SELECT DISTINCT d.oprid , A.PAY_CYCLE , C.DESCR FROM PS_PYCYCL_STAT A , PS_PYCYCL 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) AND c.active_flag <>'I'

  • Related Language Record: SP_PYSTAT_OPRLG
  • # 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 DESCR Character(30) VARCHAR2(30) NOT NULL Description