VC_PLAN_UME2_VW

(SQL View)
Index Back

Plan member view

Variable Comp: this records returns all members of a plan without eligibility status.

SELECT DISTINCT A.VC_PLAN_ID , A.VC_PAYOUT_PRD_ID , A.GB_GROUP_ID , A.EMPLID , A.EMPL_RCD FROM PS_VC_MEM_DATA A WHERE NOT EXISTS ( SELECT 'X' FROM PS_VC_PLAN_MEM B WHERE A.VC_PLAN_ID = B.VC_PLAN_ID AND A.VC_PAYOUT_PRD_ID = B.VC_PAYOUT_PRD_ID AND A.GB_GROUP_ID = B.GB_GROUP_ID AND A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 VC_PLAN_ID Character(10) VARCHAR2(10) NOT NULL VC Plan ID

Prompt Table: VC_PLAN_TBL

2 VC_PAYOUT_PRD_ID Character(10) VARCHAR2(10) NOT NULL Payout Period ID
3 GB_GROUP_ID Character(15) VARCHAR2(15) NOT NULL Group Build ID.
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record