QUO_SCHCOM_SRCH

(SQL View)
Index Back

Quote Sched Commsn Srch Record


select s.business_unit, s.order_no, s.order_int_line_no, s.sched_line_nbr, s.ord_sch_status, s.ship_to_cust_id from PS_ORD_SCHEDULE s, ps_ord_header h, ps_ord_line l, ps_prod_item p where h.business_unit = l.business_unit and h.order_no = l.order_no and h.order_type_cd = 'QUO' and h.commsn_level <> '1' and h.business_unit = s.business_unit and h.order_no = s.order_no and l.order_int_line_no = s.order_int_line_no and p.setid = (select setid from ps_set_cntrl_rec sc where sc.setcntrlvalue = h.business_unit and sc.recname = 'PROD_ITEM') and l.product_id = p.product_id and p.comm_flag = 'Y'

# 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_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
4 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
5 ORD_SCH_STATUS Character(1) VARCHAR2(1) NOT NULL Schedule Status
C=Closed
O=Open
P=Pending
X=Canceled
6 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer