SET_LOC_CURR_VW

(SQL View)
Index Back

View of location table

*Business Unit/ SetID 08/06/97* View of the Location table for allowing correct selection of a location code in conjunction with a view such as SET_LOC_DEP_VW.

SELECT A.SETID , A.LOCATION , A.DESCR FROM PS_LOCATION_TBL A WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_LOCATION_TBL B WHERE A.SETID = B.SETID AND A.LOCATION = B.LOCATION AND B.EFFDT <= %CurrentDateIn ) AND A.EFF_STATUS = 'A'

  • Related Language Record: SET_LOC_CUR_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location SetID
    2 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description