WM_LOCATION_VW

(SQL View)
Index Back

Work Order Location view

Work Order Location view

SELECT %Substring(B.SETCNTRLVALUE,1,5) , A.LOCATION , A.DESCR , A.ADDRESS1 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)

  • Related Language Record: LOCATION_AM_LV2
  • # 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 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1