PROD_SABKD_VW

(SQL View)
Index Back

Product & Group Booked View


select oh.business_unit, oh.sold_to_cust_id, oh.order_date, oh.order_no, ol.order_int_line_no, pg.product_group, ol.product_id, ol.price, ol.qty_ordered, ol.unit_of_measure from PS_SET_CNTRL_REC sc, PS_ORD_HEADER oh, PS_ORD_LINE ol, PS_PROD_RPTGP_VW pg where sc.recname = 'PROD_RPTGP_VW' and sc.setid = pg.setid and sc.setcntrlvalue = ol.business_unit and ol.business_unit = oh.business_unit and ol.order_no = oh.order_no and ol.product_id = pg.product_id and ol.ord_line_status <> 'X' and pg.primary_flag = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_OM_NONVW

2 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer

Prompt Table: CUST_SLD_VW

3 ORDER_DATE Date(10) DATE Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
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_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
6 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL Product Group

Prompt Table: PROD_RPTGP_VW

7 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID

Prompt Table: PROD_ITEM

8 PRICE Signed Number(16,4) DECIMAL(14,4) NOT NULL This is price per unit for calculating the service charge.
9 QTY_ORDERED Signed Number(16,4) DECIMAL(14,4) NOT NULL Order Qty
10 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage

Prompt Table: PROD_UOM