INJ_SUM_SRCH

(SQL View)
Index Back

INJ_SUM_SRCH

New search record for the Injury Summary Component.

SELECT DISTINCT OPR.OPRID ,OPR.ROWSECCLASS ,C.EMPLID ,JOB.EMPL_RCD ,B.NAME ,B.LAST_NAME_SRCH ,A.PER_ORG FROM PS_PER_ORG_ASGN_VW A ,PS_PERSON_NAME B ,PS_INJURY_ILL_VW C ,PS_JOB JOB ,PSOPRDEFN OPR ,PS_SJT_CLASS_ALL CLS WHERE CLS.SCRTY_SET_CD = 'PPLJOB' AND ( CLS.SCRTY_TYPE_CD = '001' AND CLS.CLASSID = OPR.ROWSECCLASS ) AND A.EMPLID=B.EMPLID AND B.EMPLID=JOB.EMPLID AND JOB.EMPLID=C.EMPLID AND JOB.EMPL_RCD=C.EMPL_RCD AND JOB.DEPTID=CLS.SCRTY_KEY2 AND JOB.SETID_DEPT=CLS.SCRTY_KEY1

# 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 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security
3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
5 NAME Character(50) VARCHAR2(50) NOT NULL Name
6 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
7 PER_ORG Character(3) VARCHAR2(3) NOT NULL Defines the Organizational Relationship(s) that a Person has to the Organization. These are Employee, Contingent Worker, and Persons of Interest.
CWR=Contingent Worker
EMP=Employee
POI=Person of Interest