GINV_EECODES_VW

(SQL View)
Index Back

Valid EE Cds for AP Processes


SELECT DISTINCT A.SETID , A.ENTRY_EVENT , B.DESCR FROM PS_EE_EVENT_PRCS A , PS_EE_EVENT_HDR B , PS_EE_PRCS_HDR C WHERE A.SETID = B.SETID AND A.EE_PROCESS IN ('VCHRPOST', 'CASHCLRNG', 'PAYMENT') AND A.ENTRY_EVENT = B.ENTRY_EVENT AND A.EE_PROCESS = C.EE_PROCESS AND A.EFFDT = ( SELECT MAX(AA.EFFDT) FROM PS_EE_EVENT_PRCS AA WHERE A.SETID = AA.SETID AND A.ENTRY_EVENT = AA.ENTRY_EVENT AND A.EE_PROCESS = AA.EE_PROCESS AND AA.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 ENTRY_EVENT Character(10) VARCHAR2(10) NOT NULL Entry Event
3 DESCR Character(30) VARCHAR2(30) NOT NULL Description