FA_EMPL_GP_VW(SQL View) |
Index Back |
---|---|
FA Enrolled Employee ViewFA Enrolled Employee View |
SELECT DISTINCT A.GP_PAYGROUP ,A.EMPLID ,C.NAME ,C.LAST_NAME_SRCH ,B.FA_TYPE ,B.FA_ELIG_DT FROM PS_JOB A , PS_PER_ORG_ASG_FA B , PS_PERSON_NAME C WHERE A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND A.EMPL_STATUS = 'A' AND B.FA_TYPE <> ' ' AND B.FA_PAY_PROGRAM <> ' ' AND B.FA_ELIG_DT < %CurrentDateIn AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_JOB D WHERE D.EMPLID = A.EMPLID AND D.EMPL_RCD = A.EMPL_RCD AND D.EFFDT <=%CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(E.EFFSEQ) FROM PS_JOB E WHERE E.EMPLID = A.EMPLID AND E.EMPL_RCD = A.EMPL_RCD AND E.EFFDT = A.EFFDT) AND C.EMPLID = A.EMPLID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL |
Global Payroll pay group
Prompt Table: HR_GP_PYGRP_VW |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
5 | FA_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
This field will define the Festive Advance Holiday Type.
CHR=Christmas CNY=Chinese New Year DEP=Deepavali HAR=Hari Raya N=Value Not Applicable |
6 | FA_ELIG_DT | Date(10) | DATE | Festive Advance Eligibility Date |