TREE_SUMFLD_VW

(SQL View)
Index Back

select distinct d.setcntrlvalue, c.chartfield, a.tree_name, a.effdt, a.eff_status, a.descr from PSTREEDEFN a, ps_led_defn_tbl b, ps_led_flds_tbl c, ps_set_cntrl_tbl d where a.tree_name = c.tree_name and b.setid = c.setid and b.ledger = c.ledger and b.ledger_type = 'S' and ((d.setid = a.setid) or exists ( select 'x' from ps_set_cntrl_tree e where e.setcntrlvalue = d.setcntrlvalue and e.setid = a.setid and e.tree_name = a.tree_name))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETCNTRLVALUE Character(20) VARCHAR2(20) NOT NULL Tree Definition User Key Value
2 FIELDNAME Character(18) VARCHAR2(18) NOT NULL Field Name (see PSDBFIELD).
3 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
4 EFFDT Date(10) DATE NOT NULL Effective Date
5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
6 DESCR Character(30) VARCHAR2(30) NOT NULL Description