SHIP_ORD_VW

(SQL View)
Index Back

OM Shipping Hist & Order View

08/11/04 PWF F-KNANN-V59N4 Change record in view from SHIP_INF_INV to IN_DEMAND

SELECT oh.business_unit , ol.product_id , %DatePart (sh.ship_dttm) , %TimePart (sh.ship_dttm) , oh.order_no , ol.order_int_line_no , oh.sold_to_cust_id , ol.price , sh.qty_shipped , sh.unit_of_measure FROM PS_ORD_HEADER oh , PS_ORD_LINE ol , PS_IN_DEMAND sh WHERE ol.business_unit = sh.source_bus_unit AND ol.business_unit = oh.business_unit AND ol.order_no = oh.order_no AND ol.order_no = sh.order_no AND ol.order_int_line_no = sh.order_int_line_no AND sh.demand_source = 'OM' AND SH.IN_FULFILL_STATE >='50'

# 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_OM.BUSINESS_UNIT

Prompt Table: SP_BU_OM_NONVW

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

Prompt Table: PROD_ITEM

3 SHIP_DATE Date(10) DATE Item Shipping Date
4 SHIP_TIME Time(15) TIMESTAMP Ship Time
5 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
6 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
7 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer

Prompt Table: CUST_SLD_VW

8 PRICE Signed Number(16,4) DECIMAL(14,4) NOT NULL This is price per unit for calculating the service charge.
9 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
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