CUST_CONVER_VW(SQL View) |
Index Back |
---|---|
Customer Conversations |
SELECT C.SETID , C.CUST_ID , C.CONVER_DTTM_INIT , C.CONVER_DT , C.CONVER_SEQ_NUM , C.CONVER_DTTM , C.DESCRLONG , C.OPRID , C.CONVER_VISIBILITY , C.CONTACT_ID FROM PS_CUST_CONVER_HDR H , PS_CUST_CONVER C WHERE H.SETID = C.SETID AND H.CUST_ID = C.CUST_ID AND H.CONVER_DTTM_INIT = C.CONVER_DTTM_INIT AND C.CONVER_DTTM_INIT = ( SELECT MAX(CONVER_DTTM_INIT) FROM PS_CUST_CONVER WHERE SETID= C.SETID AND CUST_ID = C.CUST_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: CUST_CONVER_HDR.SETID Prompt Table: SP_SETID_NONVW |
2 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
Default Value: CUST_CONVER_HDR.CUST_ID Prompt Table: CUSTOMER |
3 | CONVER_DTTM_INIT | DateTime(26) | TIMESTAMP |
Initial Conversation DateTime
Default Value: CUST_CONVER_HDR.CONVER_DTTM_INIT |
4 | CONVER_DT | Date(10) | DATE |
Conversation Date
Default Value: %date |
5 | CONVER_SEQ_NUM | Number(6,0) | INTEGER NOT NULL | Conversation Sequence Number |
6 | CONVER_DTTM | DateTime(26) | TIMESTAMP |
Conversation DateTime
Default Value: %datetime |
7 | DESCRLONG | Long Character | CLOB | Long Description |
8 | OPRID | Character(30) | VARCHAR2(30) NOT NULL |
A user's ID (see PSOPRDEFN).
Prompt Table: PSOPRDEFN_SRCH |
9 | CONVER_VISIBILITY | Character(1) | VARCHAR2(1) NOT NULL |
Conversation Visibility
Y/N Table Edit |
10 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Contact Identifier for Treasury Contacts
Prompt Table: CONTACT_ALL_VW |