RF_ALL_LOC_VW

(SQL View)
Index Back

View for all Locations

Returns all active locations for all setids

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

  • Related Language Record: RF_ALL_LOC_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location SetID

    Prompt Table: SP_SETID_NONVW

    2 LOCATION Character(15) VARCHAR2(15) NOT NULL This field stores the Location Code.

    Prompt Table: LOCATION_TBL

    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description