C360_DS_IT_SRCH

(SQL View)
Index Back

SELECT C.SETID , A.CUST_ID , A.BUSINESS_UNIT , A.ITEM , 'ITM' , A.POST_DT , A.ITEM ,A.ITEM_LINE ,A.DUE_DT , ' ' , A.ITEM_STATUS FROM PS_ITEM A , ps_customer C WHERE c.setid IN ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.business_unit AND RECNAME = 'CUSTOMER') AND C.cust_id = A.cust_id

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
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 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 C360_DOC_ID Character(25) VARCHAR2(25) NOT NULL Document ID
5 C360_DOC_TYPE Character(3) VARCHAR2(3) NOT NULL Document Type
CNT=Contract
INV=Invoice
ITM=Item
PMT=Payment
RFQ=Quotation
RMA=Returned Material
SO=Sales Order
6 DOCSTAT_DATE Date(10) DATE Document Date
7 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.
8 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
9 DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
10 DESCR Character(30) VARCHAR2(30) NOT NULL Description
11 STATUS_FIELD Character(30) VARCHAR2(30) NOT NULL Payment Status