C360_DS_QT_SRCH(SQL View) |
Index Back |
---|---|
Customer Docstatus Work ScrCustomer Docstatus Work Scroll record |
SELECT R.SETID , A.SOLD_TO_CUST_ID ,A.BUSINESS_UNIT , A.ORDER_NO , 'RFQ' , A.ORDER_DATE , A.ORDER_NO , ' ' , A.ORDER_STATUS FROM PS_ORD_HEADER A ,PS_SET_CNTRL_REC R WHERE A.ORDER_TYPE_CD = 'QUO' AND R.SETCNTRLVALUE=A.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 | 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 | 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 |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
9 | STATUS_FIELD | Character(30) | VARCHAR2(30) NOT NULL | Payment Status |