GVT_IRR_ADJ_SRC(SQL View) |
Index Back |
---|---|
Federal IRR ADJ SRC view |
SELECT DISTINCT %Sql(SCRTY_SEL_PKEY, OPR,B) , %Sql(SCRTY_SEL_USF2SBR,D,B) FROM PSOPRDEFN OPR , PS_SJT_CLASS_ALL CLS , PS_GVT_IRR_CONTROL A , PS_JOB B , PS_PERSON_NAME D , PS_GVT_IRR_FIN_DTA E WHERE CLS.SCRTY_SET_CD = 'PPLJOB' AND ( CLS.SCRTY_TYPE_CD = '001' AND CLS.CLASSID = OPR.ROWSECCLASS ) AND CLS.SCRTY_KEY1 = B.SETID_DEPT AND CLS.SCRTY_KEY2 = B.DEPTID AND A.EMPLID = E.EMPLID AND A.EMPL_RCD = E.EMPL_RCD AND A.EMPLID = D.EMPLID AND (E.GVT_IRR_FIN_CD_TP = 'L' OR E.GVT_IRR_FIN_CD_TP = 'D') AND B.EMPLID=A.EMPLID AND B.EMPL_RCD =A.EMPL_RCD AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_JOB B1 WHERE B1.EMPLID=B.EMPLID AND B1.EMPL_RCD=B.EMPL_RCD AND B1.EFFDT <= A.EFFDT) AND B.EFFSEQ = ( SELECT MAX(B2.EFFSEQ) FROM PS_JOB B2 WHERE B2.EMPLID=B.EMPLID AND B2.EMPL_RCD=B.EMPL_RCD AND B2.EFFDT = B.EFFDT) |
# | 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 Record |
5 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
6 | NAME_PSFORMAT | Character(50) | VARCHAR2(50) NOT NULL | A Person's name in the Peoplesoft Format (basically LN,FN MI |
7 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
8 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
9 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
10 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
11 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
12 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
13 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
14 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
15 | 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 |
16 | POI_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines the Transactional usage of POIs in HRMS. |
17 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
18 | SETID_DEPT | Character(5) | VARCHAR2(5) NOT NULL |
Department Set ID
Prompt Table: SETID_TBL |
19 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: PERS_DEPT_VW |
20 | SETID_LOCATION | Character(5) | VARCHAR2(5) NOT NULL | Location Set ID |
21 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
22 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
23 | REG_REGION | Character(5) | VARCHAR2(5) NOT NULL | Regulatory Region |
24 | HR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
HR Status
A=Active I=Inactive |