AR_CONVR_RVW_VW(SQL View) |
Index Back |
---|---|
All Active CustomersConversation Highlights |
SELECT C.SETID , B.CUST_ID , B.CONVER_DTTM_INIT , B.BUSINESS_UNIT , B.CONVR_QUAL_FIELD3 , B.CONVR_QUAL_FIELD , B.ITEM_LINE FROM PS_CUSTOMER A , PS_CUST_CONVER_DTL B , PS_CUST_CONVER C , PS_ITEM D WHERE A.SETID = B.SETID AND A.SETID = C.SETID AND A.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = D.BUSINESS_UNIT AND RECNAME = 'CUST_CONVER') AND A.CUST_ID = B.CUST_ID AND A.CUST_ID = C.CUST_ID AND B.CONVR_QUAL_FIELD3 = D.CUST_ID AND B.CONVER_DTTM_INIT = C.CONVER_DTTM_INIT AND B.CONVER_DT = C.CONVER_DT AND B.CONVER_SEQ_NUM = C.CONVER_SEQ_NUM AND B.BUSINESS_UNIT = D.BUSINESS_UNIT AND B.CONVR_QUAL_FIELD = D.ITEM AND B.ITEM_LINE = D.ITEM_LINE AND A.CUST_STATUS = 'A' AND A.CUST_LEVEL <> 'P' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.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. |
3 | CONVER_DTTM_INIT | DateTime(26) | TIMESTAMP | Initial Conversation DateTime |
4 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUARDS_NONVW |
5 | CONVR_QUAL_FIELD3 | Character(15) | VARCHAR2(15) NOT NULL | Conversation Qualifier Field3 |
6 | ITEM | Character(30) | VARCHAR2(30) NOT NULL | Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number. |
7 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |