SPF_SRVPR_BU_VW

(SQL View)
Index Back

Service Provider View

Service Provider View for Business Unit

SELECT DISTINCT B.BUSINESS_UNIT , D.PERSON_ID ,A.NAME ,C.VENDOR_ID FROM PS_SPB_PERSON_TBL A , PS_SPF_WORDERREC B , PS_SPB_SERVICE_PRV C , PSOPRALIAS D WHERE A.PERSON_ID = C.PERSON_ID AND A.PERSON_ID = B.WO_CONID AND A.PERSON_ID = D.PERSON_ID AND (A.SPRO_PERSON_TYPE IN ('SP', 'PC')) AND (C.SP_FUNCTION_TYPE IN ('INDP','PROV')) AND C.ACTIVE_FLG = 'Y' AND D.OPRALIASTYPE = 'SPP' AND C.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_SPB_SERVICE_PRV E WHERE E.PERSON_ID = C.PERSON_ID AND E.SP_FUNCTION_TYPE = C.SP_FUNCTION_TYPE AND E.EFFDT <= %CurrentDateIn) AND A.USER_ACC_STATUS <> '0'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
3 NAME Character(50) VARCHAR2(50) NOT NULL Name
4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier