ADD_INSTRUCT_VW(SQL View) |
Index Back |
---|---|
add instructorsView used to limit the instructors that can be added |
SELECT A.EMPLID , B.NAME , A.PER_ORG FROM PS_PER_ORG_ASGN A , PS_PERSONAL_DATA B , PS_JOB C WHERE A.EMPLID = B.EMPLID AND C.EMPLID = B.EMPLID AND C.EMPL_RCD = A.EMPL_RCD AND C.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_JOB D WHERE D.EMPLID = C.EMPLID AND D.EMPL_RCD = C.EMPL_RCD AND D.EFFDT <= %CurrentDateIn) AND C.EFFSEQ = ( SELECT MAX(E.EFFSEQ) FROM PS_JOB E WHERE E.EMPLID = C.EMPLID AND E.EMPL_RCD = C.EMPL_RCD AND E.EFFDT = C.EFFDT) AND C.HR_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
3 | 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 Default Value: PER_ORG_INST.PER_ORG |