EX_LOCATION_VW

(SQL View)
Index Back

Location Table View

View of locations.

SELECT A.SETID ,A.TXN_LOCATION , A.EFFDT , A.EFF_STATUS , A.DESCR , A.DESCRSHORT , A.COUNTRY , A.STATE 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_LOCATION_L_V
  • # 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
    7 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
    8 STATE Character(6) VARCHAR2(6) NOT NULL State