PY_MOD_EDESC_VW

(SQL View)
Index Back

Paychk Mod Company Earnings

This view is used to show the latest company earnings.

SELECT DISTINCT A.COMPANY , A.PAYGROUP , A.DESCR , A.ERNCD , A.PAYMENT_TYPE FROM PS_PY_MOD_PGRP_ERN A , PS_EARNINGS_TBL B WHERE B.ERNCD = A.ERNCD AND B.EFF_STATUS = 'A' AND B.PAYMENT_TYPE <> 'S' AND B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PS_EARNINGS_TBL B_ED WHERE B.ERNCD = B_ED.ERNCD AND B_ED.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
2 PAYGROUP Character(3) VARCHAR2(3) NOT NULL Pay Group
3 PY_MOD_DESCR_LABEL Character(30) VARCHAR2(30) NOT NULL Earnings Type
4 ERNCD Character(3) VARCHAR2(3) NOT NULL Earnings Code
5 PAYMENT_TYPE Character(1) VARCHAR2(1) NOT NULL Payment Type
A=Amounts Only
B=Both Hours and Amount OK
E=Either Hours or Amount OK
F=Flat Amount
H=Hours Only
S=Defined by Salary System
U=Unit/Override Rate