VC_TREE_DEF2LNG(SQL View) |
Index Back |
---|---|
Group Tree ViewVariable Comp: this view returns tree defined for variable comp. |
SELECT A.TREE_NAME , A3.LANGUAGE_CD , A3.DESCR FROM PSTREEDEFN A , PSTREEDEFNLANG A3 WHERE A.SETID = ' ' AND A.SETCNTRLVALUE = ' ' AND A.EFF_STATUS = 'A' AND A.VALID_TREE = 'Y' AND A.TREE_STRCT_ID = 'VC_GROUP_STRUCT' AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PSTREEDEFN WHERE A.TREE_NAME = TREE_NAME AND A.SETID = SETID AND A.SETCNTRLVALUE = SETCNTRLVALUE AND EFFDT <= %CurrentDateIn) AND A.SETID = A3.SETID AND A.SETCNTRLVALUE = A3.SETCNTRLVALUE AND A.TREE_NAME = A3.TREE_NAME AND A.EFFDT = A3.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |