RSF_TR_C_LNG_VW

(SQL View)
Index Back

Related Language View of Child

Related language view that shows all Child Territory Organizations along with the Parent territory organization.

SELECT A.TREE_NAME , B.PARENT_NODE_NAME , B.TREE_NODE , D.LANGUAGE_CD , D.DESCR FROM %Table(PSTREEDEFN) A , %Table(PSTREENODE) B , %Table(RSF_TERRITORY) C , %Table(RSF_TERR_LNG) D WHERE A.TREE_STRCT_ID = 'TERRITORY_TREE' AND B.SETID = A.SETID AND B.SETCNTRLVALUE = A.SETCNTRLVALUE AND B.EFFDT = A.EFFDT AND B.PARENT_NODE_NAME <> ' ' AND %EffdtCheck(PSTREEDEFN D, A, %CurrentDateIn) AND B.TREE_NAME = C.TREE_NAME AND B.TREE_NODE = C.TERRITORY_ID AND C.TREE_NAME = D.TREE_NAME AND C.TERRITORY_ID = D.TERRITORY_ID

  • Related Language Record for RSF_TR_ORG_C_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
    2 TERRITORY_PARENT Character(20) VARCHAR2(20) NOT NULL Territory Parent
    3 TERRITORY_ID Character(20) VARCHAR2(20) NOT NULL Territory ID
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description