C360_CNT_QO_VW

(SQL View)
Index Back

Comprehensive Customer View

Order Summary

SELECT R.SETID ,H.SOLD_TO_CUST_ID , H.BUSINESS_UNIT , H.ORDER_NO ,H.CNTRCT_ID , H.ORDER_DATE , H.ORDER_STATUS , H.CUSTOMER_PO , H.SHIP_TO_CUST_ID FROM PS_ORD_HEADER H ,PS_SET_CNTRL_REC R WHERE H.ORDER_TYPE_CD = 'QUO' AND H.SOURCE_CD IN ('CA', 'RCA') AND R.SETCNTRLVALUE=H.BUSINESS_UNIT AND R.RECNAME='CUSTOMER' AND R.REC_GROUP_ID='FS_23'

# 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 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
5 ORDER_DATE Date(10) DATE Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
6 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract
7 ORDER_STATUS Character(3) VARCHAR2(3) NOT NULL Order Status
C=Closed
O=Open
P=Pending
X=Canceled
8 CUSTOMER_PO Character(25) VARCHAR2(25) NOT NULL Customer PO
9 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer