SUMTREE_ACT2_VW(SQL View) |
Index Back |
---|---|
Summary Trees - Account |
SELECT a.setid , a.tree_node , a.effdt , b.descr FROM PSTREENODE a , ps_tree_node_tbl b WHERE a.setid = 'SHARE' AND a.tree_name = 'ACCTROLLUP2' AND a.setid = b.setid AND a.tree_node=b.tree_node AND a.tree_level_num = 4 AND b.effdt = ( SELECT MAX(effdt) FROM ps_tree_node_tbl WHERE setid=b.setid AND tree_node=b.tree_node AND effdt <= a.effdt) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | ACCOUNT_SUM | Character(20) | VARCHAR2(20) NOT NULL | Summary Account Node |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |