SET_LOC_BU_VW

(SQL View)
Index Back

Valid Location SetID with BU

This view shows all SETIDs and what BU control them that are valid to be used for a Location. These setids must have setcntrlvalues that exist in the BUS_UNIT_TBL_HR (ie are actually controlled by a business unit)

SELECT SETID , SETCNTRLVALUE FROM PS_SET_CNTRL_REC A WHERE A.RECNAME = 'LOCATION_TBL' AND A.SETCNTRLVALUE IN ( SELECT BUSINESS_UNIT FROM PS_BUS_UNIT_TBL_HR)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 SETCNTRLVALUE Character(20) VARCHAR2(20) NOT NULL Tree Definition User Key Value