PY_MOD_NAME_VW(SQL View) |
Index Back |
---|---|
Payslip Self ServicePayslip Self Service employee name search |
SELECT DISTINCT A.COMPANY ,A.PAYGROUP ,B.OPRID ,A.EMPLID ,B.NAME FROM PS_JOB A , PS_PERS_SRCH_GBL B , PS_PY_MOD_APGRP_VW C WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_JOB JOB2 WHERE A.EMPLID = JOB2.EMPLID AND A.EMPL_RCD = JOB2.EMPL_RCD AND JOB2.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB JOB3 WHERE JOB3.EMPLID = A.EMPLID AND JOB3.EMPL_RCD = A.EMPL_RCD AND JOB3.EFFDT = A.EFFDT) AND A.EMPLID = B.EMPLID AND C.COMPANY = A.COMPANY AND C.PAYGROUP = A.PAYGROUP |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL |
Company
Prompt Table: COMPANY_TBL |
2 | PAYGROUP | Character(3) | VARCHAR2(3) NOT NULL |
Pay Group
Prompt Table: PAYGROUP_TBL |
3 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
4 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
5 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |