TREE_NODE_LG(SQL View) |
Index Back |
---|---|
Tree Node Prompt Table RLRTree Node prompt table for 'summer' trees. |
SELECT A.SETID ,A.TREE_NAME ,A.EFFDT ,A.TREE_NODE ,L.LANGUAGE_CD ,L.DESCR FROM PSTREENODE A , PS_TREE_NODE_TBL B , PS_TREE_NODE_LANG L WHERE B.SETID = A.SETID AND B.TREE_NODE = A.TREE_NODE AND (B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_TREE_NODE_TBL WHERE SETID = A.SETID AND TREE_NODE = A.TREE_NODE AND EFF_STATUS = 'A' AND EFFDT <= A.EFFDT) OR (NOT EXISTS ( SELECT 'X' FROM PS_TREE_NODE_TBL WHERE SETID = A.SETID AND TREE_NODE = A.TREE_NODE AND EFF_STATUS = 'A' AND EFFDT <= A.EFFDT) AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_TREE_NODE_TBL WHERE SETID = A.SETID AND TREE_NODE = A.TREE_NODE AND EFFDT <= A.EFFDT))) AND L.SETID = B.SETID AND L.TREE_NODE = B.TREE_NODE AND L.EFFDT = B.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL |
Tree Name
Prompt Table: TREEDEFN_VW |
3 | TREE_EFFDT | Date(10) | DATE NOT NULL | Effective date of the Tree |
4 | TREE_NODE | Character(20) | VARCHAR2(20) NOT NULL | Node name |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |