AR_CONTACT_VW(SQL View) |
Index Back |
---|---|
AR Contact View |
SELECT DISTINCT A.SETID , A.CONTACT_ID , A.NAME1 FROM PS_CONTACT A , PS_CONTACT_CUST B WHERE A.SETID = B.SETID AND A.CONTACT_ID = B.CONTACT_ID AND A.EFFDT = B.EFFDT AND A.EFF_STATUS = B.EFF_STATUS AND A.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_CONTACT B1 WHERE B1.SETID = A.SETID AND B1.CONTACT_ID = A.CONTACT_ID AND B1.EFFDT <= %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 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |