SS_GROUP_SELECT

(SQL View)
Index Back

Group Id Select for SS Apps

Displays a manager's current, active, pre-defined self-service groups for use in self-service applications that use the "Group Id" Access Type.

SELECT A.MANAGER_ID , A.GB_GROUP_ID , A.DESCR , A.VERSION , A.LASTUPDDTTM , A.APPROVER_ID FROM PS_GB_GROUP_TBL A WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_GB_GROUP_TBL A1 WHERE A1.GB_GROUP_ID = A.GB_GROUP_ID AND A1.EFFDT <= %CurrentDateIn) AND A.SELF_SERVICE = 'Y' AND A.EFF_STATUS = 'A' AND EXISTS ( SELECT 'X' FROM PS_GB_GRP_RES_TBL B WHERE B.GB_GROUP_ID = A.GB_GROUP_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 MANAGER_ID Character(11) VARCHAR2(11) NOT NULL Manager ID
2 GB_GROUP_ID Character(15) VARCHAR2(15) NOT NULL Group Build ID.
3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
4 VERSION Number(10,0) DECIMAL(10) NOT NULL Version. Internal PeopleTools version for controlling caching of object. - Version/Table reference
5 LASTUPDDTTM DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
6 APPROVER_ID Character(11) VARCHAR2(11) NOT NULL Approver EmplID