QUO_SRCH_RES_VW(SQL View) |
Index Back |
---|---|
Quote Header Search Record |
SELECT o.business_unit , o.order_no , o.order_status , o.sold_to_cust_id , o.bill_to_cust_id , o.ref_order_nbr , c1.name1 , c2.name1 FROM ps_ord_header o , PS_CUSTOMER c1 , PS_CUSTOMER c2 , ps_set_cntrl_rec s WHERE order_type_cd BETWEEN 'QUO' AND 'QUO' AND s.setcntrlvalue = o.business_unit AND s.recname = 'CUSTOMER' AND s.setid = c1.setid AND s.setid = c2.setid AND o.sold_to_cust_id = c1.cust_id AND o.bill_to_cust_id = c2.cust_id |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_OM2.BUSINESS_UNIT Prompt Table: SP_BU_OM_NONVW |
2 | 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 |
3 | ORDER_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Order Status
C=Closed O=Open P=Pending X=Canceled |
4 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Sold To Customer
Prompt Table: CUST_SLD_VW |
5 | BILL_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Customer
Prompt Table: CUST_BLL_VW |
6 | REF_ORDER_NBR | Character(15) | VARCHAR2(15) NOT NULL | Reference Order Number |
7 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
8 | NAME2 | Character(40) | VARCHAR2(40) NOT NULL | Name 2 |