LOCATION_AM_VW

(SQL View)
Index Back

Valid Locs-Discov.Tool Integ


SELECT %substring(B.SETCNTRLVALUE,1,5), A.LOCATION, %substring(A.DESCR,1,10) FROM PS_LOCATION_TBL A, PS_SET_CNTRL_REC B, PS_BUS_UNIT_TBL_AM C WHERE B.RECNAME = 'LOCATION_TBL' AND A.SETID = B.SETID AND C.BUSINESS_UNIT = B.SETCNTRLVALUE AND A.EFF_STATUS = 'A' AND A.EFFDT = (SELECT MAX(EFFDT) FROM PS_LOCATION_TBL D WHERE D.SETID = A.SETID AND D.LOCATION = A.LOCATION)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
3 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description