RS_XS_CONTACTS(SQL View) |
Index Back |
---|---|
PTSF Staffing ContactsThis view selects currently effective contacts and contacts that have changed since the last time the index was updated. |
SELECT A.SETID , A.CONTACT_ID , %TrimSubstr(A.SETID,1,5) %Concat '' %Concat %TrimSubstr(A.CONTACT_ID,1,15) AS SOID , %Coalesce( L.DTTM_MODIFIED, %dttm(A.EFFDT, %TimeIn('23.59.00.000000'))) AS LASTUPDDTTM FROM %Table(CONTACT) A LEFT OUTER JOIN PS_RS_SRCH_LOG L ON L.DOCUMENT = %TrimSubstr(A.SETID,1,5) %Concat '' %Concat %TrimSubstr(A.CONTACT_ID,1,15) WHERE %EffdtCheck(CONTACT X, A, %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
3 | SOID | Character(29) | VARCHAR2(29) NOT NULL | Service Order Line Key |
4 | 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. |