ST_GROUP_VW6

(SQL View)
Index Back

Group View6

View of all active grants with a valuation record. Used for prompting on Emplid for the unconfirm valuation process

SELECT DISTINCT A.STOCK_ID , A.EMPLID , A.NAME FROM PS_ST_GROUP_VW A WHERE EXISTS ( SELECT 'X' FROM PS_ST_GRANT_VALUE B WHERE B.STOCK_ID = A.STOCK_ID AND B.EMPLID = A.EMPLID AND B.GRANT_NBR = A.GRANT_NBR AND B.ST_VALUE_REASON = 'I' ) AND NOT EXISTS ( SELECT 'X' FROM PS_ST_GRANT_VALUE C WHERE C.STOCK_ID = A.STOCK_ID AND C.EMPLID = A.EMPLID AND C.GRANT_NBR = A.GRANT_NBR AND C.ST_VALUE_REASON = 'R' )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 STOCK_ID Character(10) VARCHAR2(10) NOT NULL Company's Stock Identification Symbol
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 NAME Character(50) VARCHAR2(50) NOT NULL Name