| SUMLD_CFNODELNG(SQL View) | Index Back | 
|---|---|
| Selected CF Tree Nodes - RLRThis View is used to prompt the valid values for certain Summary Ledger Chartfield. The values are from tree nodes selected and are stored in LED_SUMV_TBL table. The first three keys (SETID, LEDGER, CHARTFIELD) are matched with the values on the panel. | 
| SELECT F.SETID ,F.LEDGER ,F.CHARTFIELD ,N.SETID ,N.TREE_NAME ,N.TREE_NODE ,D.LANGUAGE_CD ,N.EFFDT ,D.DESCR FROM PS_LED_FLDS_TBL F ,PS_LED_SUMV_TBL V ,PSTREENODE N ,PS_TREE_NODE_LANG D WHERE V.LEDGER=F.LEDGER AND V.SETID=F.SETID AND V.FIELD_SEQUENCE=F.FIELD_SEQUENCE AND N.TREE_NAME=F.TREE_NAME AND N.TREE_NODE=V.SELECT_VALUE AND D.TREE_NODE=N.TREE_NODE AND D.SETID=N.SETID AND D.EFFDT=( SELECT MAX(EFFDT) FROM PS_TREE_NODE_LANG WHERE SETID=D.SETID AND TREE_NODE=D.TREE_NODE AND EFFDT<=N.EFFDT) | 
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description | 
|---|---|---|---|---|
| 1 | Character(5) | VARCHAR2(5) NOT NULL | SetID | |
| 2 | Character(10) | VARCHAR2(10) NOT NULL | Ledger | |
| 3 | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). | |
| 4 | Character(5) | VARCHAR2(5) NOT NULL | TableSet | |
| 5 | Character(18) | VARCHAR2(18) NOT NULL | Tree Name | |
| 6 | Character(30) | VARCHAR2(30) NOT NULL | ChartField Value | |
| 7 | Character(3) | VARCHAR2(3) NOT NULL | Language Code | |
| 8 | Date(10) | DATE | Effective Date | |
| 9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |