TREE_NODE_VW(SQL View) |
Index Back |
---|---|
Tree Node Prompt TableTree Node prompt table for 'summer' trees. |
SELECT A.SETID ,A.TREE_NAME ,A.TREE_NODE ,A.EFFDT ,B.DESCR FROM PSTREENODE A , PS_TREE_NODE_TBL B 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))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | TREE_NAME_SETID | Character(5) | VARCHAR2(5) NOT NULL | TableSet |
2 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL |
Tree Name
Prompt Table: TREEDEFN_VW |
3 | TREE_NODE | Character(20) | VARCHAR2(20) NOT NULL | Node name |
4 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |