VC_MEM_PRD_VW

(SQL View)
Index Back

Current Plan information

Variable Comp: this view returns information for the current plan.

SELECT E.VC_PLAN_ID , C.VC_PAYOUT_PRD_ID , B.EFFDT , E.DESCR50 , B.TREE_NAME , D.AS_OF_DATE , C.PRD_BGN_DT , C.PRD_END_DT , E.VC_PLAN_MEM_CRIT , B.VC_PRORATION_IND FROM PS_VC_PLAN_EFFDT B , PS_VC_PAYPRD_TBL C , PS_VC_ELIGSTAT_TBL D , PS_VC_PLAN_TBL E , PS_VC_PAYPRD_TBL F WHERE D.VC_PRCS_COMPLETE = 'Y' AND D.VC_PLAN_ID = B.VC_PLAN_ID AND D.VC_PLAN_ID = E.VC_PLAN_ID AND D.VC_PAYOUT_PRD_ID = C.VC_PAYOUT_PRD_ID AND F.VC_PLAN_ID = C.VC_PLAN_ID AND F.VC_PAYOUT_PRD_ID = C.VC_PAYOUT_PRD_ID AND %EffdtCheck(VC_PLAN_EFFDT, B, F.PRD_END_DT) AND B.EFF_STATUS = 'A' AND B.VC_PLAN_ID = C.VC_PLAN_ID AND EXISTS ( SELECT 'X' FROM PS_VC_PLAN_MEM A WHERE A.VC_PLAN_ID = D.VC_PLAN_ID AND A.VC_PAYOUT_PRD_ID = D.VC_PAYOUT_PRD_ID)

  • Related Language Record: VC_MEM_PRD_LANG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 VC_PLAN_ID Character(10) VARCHAR2(10) NOT NULL VC Plan ID
    2 VC_PAYOUT_PRD_ID Character(10) VARCHAR2(10) NOT NULL Payout Period ID
    3 EFFDT Date(10) DATE Effective Date
    4 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
    5 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
    6 AS_OF_DATE Date(10) DATE As of Date
    7 PRD_BGN_DT Date(10) DATE Period Begin Date
    8 PRD_END_DT Date(10) DATE Pay Period End Date
    9 VC_PLAN_MEM_CRIT Character(2) VARCHAR2(2) NOT NULL Plan Member Criteria
    A=Ad Hoc Award
    E=Empl VC Record
    G=Empl VC Record with Groups
    T=Define Tree/Group
    10 VC_PRORATION_IND Character(2) VARCHAR2(2) NOT NULL Calculate Proration