EB_CONVR_VW

(SQL View)
Index Back

eBilll Conversation List

eBilll Conversation List

SELECT A.SETID , A.BUSINESS_UNIT , A.CUST_ID , A.CONVER_DTTM_INIT , A.CONVER_DT , A.CONVER_SUBJECT , A.CONVER_SUB_TOPIC , A.CONVER_STATUS , B.CONVR_QUAL_FIELD , B.ITEM_LINE , B.CONVR_QUALIFIER_CD , A.OPRID , C.DESCRLONG , C.CONVER_DTTM , C.EB_UNREAD_FLG , C.CONVER_VISIBILITY FROM PS_CUST_CONVER_HDR A LEFT OUTER JOIN PS_CUST_CONVER_DTL B ON (A.SETID = B.SETID AND A.CUST_ID = B.CUST_ID AND A.CONVER_DTTM_INIT = B.CONVER_DTTM_INIT AND B.CONVR_QUALIFIER_CD IN ('I' , 'BI')) INNER JOIN PS_CUST_CONVER C ON (C.SETID = A.SETID AND C.CUST_ID = A.CUST_ID AND C.CONVER_DTTM_INIT = A.CONVER_DTTM_INIT AND C.CONVER_VISIBILITY = 'Y')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 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.
4 CONVER_DTTM_INIT DateTime(26) TIMESTAMP Initial Conversation DateTime
5 CONVER_DT Date(10) DATE Conversation Date
6 CONVER_SUBJECT Character(30) VARCHAR2(30) NOT NULL Conversation Subject
7 CONVER_SUB_TOPIC Character(30) VARCHAR2(30) NOT NULL Subject Topic
8 CONVER_STATUS Character(1) VARCHAR2(1) NOT NULL Conversation Status
C=Closed
N=New
O=Open
9 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
10 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
11 CONVR_QUALIFIER_CD Character(2) VARCHAR2(2) NOT NULL Conversation Qualifier Code
BA=Buy Agremt
BI=Invoice #
CP=Cust Pay
CT=Contract
D=Document
I=Item
L=Lading
P=PO Number
PY=Payment ID
QU=Quote
RM=RMA
SC=Case Num
SO=Sale Order
12 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
13 DESCRLONG Long Character CLOB Long Description
14 CONVER_DTTM DateTime(26) TIMESTAMP Conversation DateTime
15 EB_UNREAD_FLG Character(1) VARCHAR2(1) NOT NULL Unread
16 CONVER_VISIBILITY Character(1) VARCHAR2(1) NOT NULL Conversation Visibility