VC_TOP_GROUPLNG

(SQL View)
Index Back

Group Tree View

Variable Comp: this view returns the root group of a given tree.

SELECT A.TREE_NAME , A.EFFDT , A2.LANGUAGE_CD , A2.DESCR FROM PSTREENODE A , PSTREEDEFNLANG A2 , PSTREEDEFN A3 WHERE A3.SETID = ' ' AND A3.SETCNTRLVALUE = ' ' AND A3.EFF_STATUS = 'A' AND A3.VALID_TREE = 'Y' AND A3.TREE_STRCT_ID = 'VC_GROUP_STRUCT' AND A.TREE_NAME = A3.TREE_NAME AND A.EFFDT = A3.EFFDT AND A.SETID = A3.SETID AND A.SETCNTRLVALUE = A3.SETCNTRLVALUE AND A.TREE_BRANCH = ' ' AND A.PARENT_NODE_NUM = 0 AND A2.SETID = A3.SETID AND A2.SETCNTRLVALUE = A3.SETCNTRLVALUE AND A2.TREE_NAME = A3.TREE_NAME AND A2.EFFDT = A3.EFFDT

  • Related Language Record for VC_TOP_GROUP_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
    2 TREE_EFFDT Date(10) DATE NOT NULL Effective date of the Tree
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description