CAT_TREE_VW_LNG

(SQL View)
Index Back

Category working scroll view


SELECT DISTINCT a.setid , a.tree_name , a.tree_node , a.tree_node_num , a.effdt , b.language_cd , a.parent_node_num , b.descr60 , b.category_type FROM PSTREENODE a , ps_itm_cat_tbl_lng b , pstreedefn c WHERE a.setid = b.setid AND a.tree_node = b.category_cd AND b.effdt = ( SELECT MAX(b1.effdt) FROM ps_itm_cat_tbl b1 WHERE b1.setid = b.setid AND b1.category_id = b.category_id AND b1.eff_status = 'A' AND b1.effdt <= %CurrentDateIn) AND a.setid = c.setid AND a.setcntrlvalue = c.setcntrlvalue AND a.tree_name = c.tree_name AND a.effdt = c.effdt AND c.effdt = ( SELECT MAX(c1.effdt) FROM pstreedefn c1 WHERE c1.setid = c.setid AND c1.setcntrlvalue = c.setcntrlvalue AND c1.tree_name = c.tree_name AND c1.eff_status = 'A' AND c1.effdt <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
3 TREE_NODE Character(20) VARCHAR2(20) NOT NULL Node name
4 TREE_NODE_NUM Number(10,0) DECIMAL(10) NOT NULL Internal beginning node range number
5 EFFDT Date(10) DATE Effective Date

Default Value: %date

6 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
7 PARENT_NODE_NUM Number(10,0) DECIMAL(10) NOT NULL Parent Node Number
8 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
9 CATEGORY_TYPE Character(3) VARCHAR2(3) NOT NULL Category Type
PSF=User Def
UNS=UN/SPSC