CAT_CATGRY_VWLN

(SQL View)
Index Back

Tree/Category view


SELECT a.setid , b.category_type , a.tree_name , b.effdt , c.language_cd , b.category_cd , c.descr60 FROM PSTREENODE a , ps_itm_CAT_TBL b , ps_itm_cat_tbl_lng c WHERE a.setid = b.setid AND a.setid = c.setid AND a.tree_node = b.category_id AND a.EFFDT = ( SELECT MAX(EFFDT) FROM PSTREENODE WHERE A.SETID = SETID AND EFFDT <= %CurrentDateIn AND TREE_NAME = a.TREE_NAME) AND b.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ITM_CAT_TBL WHERE B.SETID = SETID AND EFFDT <= %CurrentDateIn AND CATEGORY_ID = B.CATEGORY_ID AND CATEGORY_TYPE = B.CATEGORY_TYPE)

  • Related Language Record for CAT_CATEGORY_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 CATEGORY_TYPE Character(3) VARCHAR2(3) NOT NULL Category Type
    PSF=User Def
    UNS=UN/SPSC

    Default Value: INSTALLATION_PO.CATEGORY_TYPE

    3 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
    4 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
    7 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description