HRS_LASTNOTS_VW(SQL View) |
Index Back |
---|---|
Last Contact NotesLast Contact Notes |
SELECT A.HRS_PERSON_ID , A.HRS_NOTES_ID , A.HRS_OWNER_ID , HRS_CNTCT_DT FROM PS_HRS_APP_NOTES_I A WHERE A.HRS_CNTCT_DT > ( SELECT %DatePart(MAX(B.HRS_ROW_ADD_DTTM)) FROM PS_HRS_CRSPNOTF_I B WHERE A.HRS_PERSON_ID = B.HRS_PERSON_ID) AND A.HRS_CNTCT_DT = ( SELECT MAX(C.HRS_CNTCT_DT) FROM PS_HRS_APP_NOTES_I C WHERE A.HRS_PERSON_ID=C.HRS_PERSON_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | HRS_PERSON_ID | Number(15,0) | DECIMAL(15) NOT NULL | Person Id |
2 | HRS_NOTES_ID | Number(10,0) | DECIMAL(10) NOT NULL | Notes |
3 | HRS_OWNER_ID | Character(11) | VARCHAR2(11) NOT NULL | Owner ID |
4 | HRS_CNTCT_DT | Date(10) | DATE | Contact Date |