TD_PRDTREEVWLNG

(SQL View)
Index Back

Product Trees

Returns only product trees from Trade Promotion tree tables

SELECT A.SETID , A.TD_TREE_ID , A.EFFDT , B.DESCR , C.TD_TREE_BRANCH , C.DESCR , B.LANGUAGE_CD FROM PS_TD_TREE_HDR A , PS_TD_TREE_HDR_LNG B , PS_TD_TREE_NODE C WHERE %Join(COMMON_KEYS, TD_TREE_HDR A, TD_TREE_NODE C) AND %Join(COMMON_KEYS, TD_TREE_HDR A, TD_TREE_HDR_LNG B) AND A.TD_TREE_TYPE = 'P'

  • Related Language Record for TD_PROD_TREE_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 TD_TREE_ID Character(8) VARCHAR2(8) NOT NULL Tree ID
    3 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 TD_TREE_BRANCH Character(20) VARCHAR2(20) NOT NULL Tree Branch Node ID
    6 TD_BRANCH_DESCR Character(30) VARCHAR2(30) NOT NULL Tree Branch
    7 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code