SP_REP_BU_OPRVW

(SQL View)
Index Back

Replace Business Unit View

Replace Business Unit View

SELECT DISTINCT O.OPRID , A.PERSON_ID , B.BUSINESS_UNIT , B.DESCR FROM PS_SPB_SERVICE_COD A , PS_BUS_UNIT_TBL_FS B , PS_SEC_BU_OPR O WHERE O.BUSINESS_UNIT = B.BUSINESS_UNIT AND (B.BUSINESS_UNIT IN ( SELECT C.BUSINESS_UNIT FROM PS_SPF_REQ_LINE C , PS_SPF_REQ_LINE_JD D WHERE C.RECRUITER = A.PERSON_ID AND C.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.SP_REQ_ID = D.SP_REQ_ID AND C.LINE_NBR = D.LINE_NBR AND D.VMS_SUPPLIER_ID <> ' ' AND C.TEAM_ID = ' ') OR B.BUSINESS_UNIT IN( SELECT W.BUSINESS_UNIT FROM PS_SPF_WORDERREC W , PS_SPF_WORDERREC_1 W1 WHERE W.RECRUITER = A.PERSON_ID AND W.BUSINESS_UNIT = W1.BUSINESS_UNIT AND W.WORK_ORDER_ID = W1.WORK_ORDER_ID AND W1.VMS_SUPPLIER_ID <> ' ' AND W.TEAM_ID = ' '))

  • Related Language Record: SP_REP_BU_NLGVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
    3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description