JPM_GRP_EMP2_VW

(SQL View)
Index Back

Person Profile Group members

Prompt view for person profile group profiles. The profile type must be a member of the profile group type. This view excludes profiles that are already in the group.

SELECT B.JPM_JP_GRP_TYPE , D.JPM_JP_GROUP , A.JPM_PROFILE_ID , A.EMPLID , C.NAME , A.JPM_JP_TYPE FROM PS_JPM_PROFILE A , PS_JPM_JP_GTYP_MBR B , PS_PERSON_NAME C , PS_JPM_JP_GROUPS D WHERE A.JPM_JP_TYPE = B.JPM_JP_TYPE AND A.EMPLID = C.EMPLID AND A.JPM_PROFILE_USAGE = 'P' AND A.JPM_JP_PRFL_STATUS = 'A' AND B.JPM_JP_GRP_TYPE = D.JPM_JP_GRP_TYPE AND NOT EXISTS ( SELECT 'X' FROM PS_JPM_JP_GMEMB E WHERE A.JPM_PROFILE_ID = E.JPM_PROFILE_ID AND D.JPM_JP_GRP_TYPE = E.JPM_JP_GRP_TYPE AND D.JPM_JP_GROUP = E.JPM_JP_GROUP )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 JPM_JP_GRP_TYPE Character(12) VARCHAR2(12) NOT NULL Group type to which a JPM profile group belongs
2 JPM_JP_GROUP Character(12) VARCHAR2(12) NOT NULL ID of the Profile Group to which a JPM profile belongs
3 JPM_PROFILE_ID Character(12) VARCHAR2(12) NOT NULL The id, autoassigned or user assigned of the profile. This id is used to group items and other related material together into one coherent profile.
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 NAME Character(50) VARCHAR2(50) NOT NULL Name
6 JPM_JP_TYPE Character(12) VARCHAR2(12) NOT NULL Profile Type name for a JPM Profile Type

Prompt Table: JPM_JP_GTYP_MBR