RS_XS_WRKRDUEDT(SQL View) |
Index Back |
---|
SELECT A.EMPLID , MAX(CASE WHEN B.END_DATE <= %CurrentDateIn THEN %Dttm(B.END_DATE, %TIMEIN('00.00.00.000000')) ELSE %Dttm(B.START_DATE, %TIMEIN('00.00.00.000000')) END) FROM PS_RS_POOL_MEMBER A , PS_RS_MEMBER_DATES B WHERE A.POOL_ID = B.POOL_ID AND A.MEMBER_ID = B.MEMBER_ID AND (B.START_DATE <= %CurrentDateIn OR B.END_DATE <= %CurrentDateIn) GROUP BY A.EMPLID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | DTTM_IN_EFFECT | DateTime(26) | TIMESTAMP | Effective Date-Time |