PC_PARNT_ACT_VW

(SQL View)
Index Back

Parent Activity Prompt table

This view selects all Summary Activities on the Project's WBS tree.

SELECT %Substring(A.SETCNTRLVALUE, 1, 15) , A.TREE_NAME , A.EFFDT , %Substring(A.TREE_NODE, 1, 15) , B.DESCR FROM PSTREENODE A , PS_PROJ_ACTIVITY B WHERE A.SETCNTRLVALUE = B.PROJECT_ID AND A.TREE_NODE = B.ACTIVITY_ID AND B.SUMMARY_ACT = 'Y' AND A.EFFDT = ( SELECT MAX (C.EFFDT) FROM PSTREEDEFN C WHERE C.EFFDT <= %CurrentDateIn AND A.SETCNTRLVALUE = C.SETCNTRLVALUE AND A.TREE_NAME = C.TREE_NAME)

  • Related Language Record: PC_PARNT_ACT_LG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
    2 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
    3 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    4 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description