RSF_TER_DS2_LVW

(SQL View)
Index Back

Territory Prompt

Territory Prompt for New Territory

SELECT A.TREE_NAME , A.TERRITORY_ID ,D.LANGUAGE_CD , D.DESCR FROM PS_RSF_TERRITORY A , PSTREENODE B ,PS_RSF_TR_NEW_TREE C , PS_RSF_TERR_LNG D WHERE B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PSTREEDEFN B_ED WHERE B.SETID = B_ED.SETID AND B.SETCNTRLVALUE = B_ED.SETCNTRLVALUE AND B.TREE_NAME = B_ED.TREE_NAME AND B_ED.EFFDT <= %CurrentDateIn) AND A.TREE_NAME = C.TREE_NAME AND B.TREE_NAME = A.TREE_NAME AND A.TERRITORY_ID = B.TREE_NODE AND A.TREE_NAME = D.TREE_NAME AND A.TERRITORY_ID = D.TERRITORY_ID

  • Related Language Record for RSF_TERR_DS2_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
    2 TO_TERRITORY Character(20) VARCHAR2(20) NOT NULL New Territory
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description