WR_LOCN_EFF_VW

(SQL View)
Index Back

WR Location Eff View


SELECT DISTINCT A.BUSINESS_UNIT AS BUSINESS_UNIT_WR , A.WR_LOCATION , B.DESCR FROM PS_WM_WR_HDR A , PS_LOCATION_TBL B WHERE B.SETID = ( SELECT I.SETID FROM PS_SET_CNTRL_REC I WHERE I.SETCNTRLVALUE = A.WR_LOCATION AND I.REC_GROUP_ID = 'FS_26' AND I.RECNAME = 'LOCATION_TBL') AND B.LOCATION = A.WR_LOCATION AND B.EFFDT = ( SELECT MAX(J.EFFDT) FROM PS_LOCATION_TBL J WHERE J.SETID = B.SETID AND J.LOCATION = B.LOCATION AND J.EFF_STATUS = 'A')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_WR Character(5) VARCHAR2(5) NOT NULL Work Request Business Unit

Prompt Table: SP_BU_WR_NONVW

2 WR_LOCATION Character(10) VARCHAR2(10) NOT NULL Service Location

Prompt Table: WR_LOCATION_VW

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