PY_MOD_ERN_SSVW(SQL View) |
Index Back |
---|---|
Paychk Mod Company EarningsThis view is used to show paycheck modeling active earnings. |
SELECT DISTINCT A.COMPANY , A.PAYGROUP , A.ERNCD , A.PAYMENT_TYPE , B.DESCR FROM PS_PY_MOD_PGRP_ERN A , PS_EARNINGS_TBL B WHERE B.ERNCD = A.ERNCD AND B.PAYMENT_TYPE = A.PAYMENT_TYPE AND B.EFF_STATUS = 'A' 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 | ERNCD | Character(3) | VARCHAR2(3) NOT NULL | Earnings Code |
4 | 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 |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |