HR_RW_CFELG_VW(SQL View) |
Index Back |
---|
SELECT A.EMPLID ,A.EMPL_RCD ,A.REG_REGION , CASE WHEN J.CHECKBOX1 ='Y' THEN 'Y' ELSE 'N' END ,CASE WHEN A.LASTUPDDTTM IS NOT NULL THEN A.LASTUPDDTTM END FROM PS_JOB A LEFT OUTER JOIN PS_HR_RW_CONFIG J ON A.REG_REGION=J.REG_REGION WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_JOB A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.EMPL_RCD = A_ED.EMPL_RCD AND A_ED.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A_ES.EFFSEQ) FROM PS_JOB A_ES WHERE A.EMPLID = A_ES.EMPLID AND A.EMPL_RCD = A_ES.EMPL_RCD AND A.EFFDT = A_ES.EFFDT) AND A.HR_STATUS='A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | REG_REGION | Character(5) | VARCHAR2(5) NOT NULL | Regulatory Region |
4 | HR_RW_JOB_ELIGIBLE | Character(1) | VARCHAR2(1) NOT NULL |
Job Code Available for RemoteWork
N=No Y=Yes |
5 | LASTUPDDTTM | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |