SPB_SELF_OPR_VW

(SQL View)
Index Back

Self Oprid person based view

The view which gets the personid from an oprid in the loopkup

SELECT DISTINCT A.PERSON_ID , B.OPRID , A.FIRST_NAME , A.LAST_NAME FROM PS_SPB_PERSON_TBL A , PS_SPB_SERVICE_COD C , PSOPRALIAS B WHERE (A.SPRO_PERSON_TYPE = 'SC' OR A.SPRO_PERSON_TYPE = 'BH' OR A.SPRO_PERSON_TYPE = 'PC') AND A.USER_ACC_STATUS = '1' AND C.PERSON_ID = A.PERSON_ID AND C.SP_COOD_STATUS = 'A' AND B.PERSON_ID = A.PERSON_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
4 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name