SUMLD_CFNODE_VW(SQL View) |
Index Back |
---|---|
Selected Chartfield Tree NodesThis 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 ,N.EFFDT ,D.DESCR FROM PS_LED_FLDS_TBL F ,PS_LED_SUMV_TBL V ,PSTREENODE N ,PS_TREE_NODE_TBL 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_TBL 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 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
3 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). |
4 | TREE_NAME_SETID | Character(5) | VARCHAR2(5) NOT NULL | TableSet |
5 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |
6 | CHARTFIELD_VALUE | Character(30) | VARCHAR2(30) NOT NULL | ChartField Value |
7 | EFFDT | Date(10) | DATE | Effective Date |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |