EX_CUR_LOC_VW

(SQL View)
Index Back

Location Table View

View of locations with most current descriptions.

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

  • Related Language Record: EX_LOCATIO_L_V3
  • # 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 TXN_LOCATION Character(5) VARCHAR2(5) NOT NULL Expense Location
    3 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    4 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description