SUP_PRF_CONTACT(SQL View) |
Index Back |
---|---|
Supplier Contact Detail |
SELECT B.SETID , B.VENDOR_ID , B.CONTACT_NAME , B.CONTACT_TITLE , B.EMAILID ,A.ADDRESS1 , A.STATE ,A.CITY ,A.COUNTRY FROM PS_VENDOR_CNTCT B , PS_VENDOR_ADDR A WHERE b.VENDOR_ID = A.VENDOR_ID AND B.SETID = A.SETID AND A.ADDRESS_SEQ_NUM = B.ADDRESS_SEQ_NUM AND B.EFF_STATUS = 'A' AND %EffdtCheck(VENDOR_CNTCT B_ED, B, %CurrentDateIn) AND %EffdtCheck(VENDOR_ADDR A_ED, A, %CurrentDateIn) UNION SELECT B.SETID , B.VENDOR_ID , B.CONTACT_NAME , B.CONTACT_TITLE , B.EMAILID ,'' ,'' ,'' ,'' FROM PS_VENDOR_CNTCT B WHERE B.EFF_STATUS = 'A' AND %EffdtCheck(VENDOR_CNTCT B_ED, B, %CurrentDateIn) AND NOT EXISTS( SELECT 'x' FROM PS_VENDOR_ADDR ADR WHERE B.VENDOR_ID = ADR.VENDOR_ID AND B.SETID = ADR.SETID AND ADR.ADDRESS_SEQ_NUM = B.ADDRESS_SEQ_NUM ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | SetID | |
2 | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier | |
3 | Character(50) | VARCHAR2(50) NOT NULL | The individual contact name associated with a given bank/counterparty. | |
4 | CONTACT_TITLE | Character(35) | VARCHAR2(35) NOT NULL | The professional title for a given bank/counterparty contact person. |
5 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |
6 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
7 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
8 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
9 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |