OMCLS_CPKT_P_VW

(SQL View)
Index Back

OMCLOSE - Config Kits View

OMCLOSE - Config Kits View Date Initials Issue Description 062504 twh F-KNANN-V59N4 Replace demand table references with IN_DEMAND

SELECT SH.SOURCE_BUS_UNIT , SH.ORDER_NO , SH.ORDER_INT_LINE_NO , SH.SCHED_LINE_NBR , SH.PARENT_PROD_ID , SH.PRODUCT_ID , CP.CONFIG_CODE , SUM(QTY_SHIPPED) , SH.IN_FULFILL_STATE , SH.QTY_BACKORDER FROM PS_IN_DEMAND SH , PS_CP_OPT_HDR CP WHERE SH.SOURCE_BUS_UNIT = CP.BUSINESS_UNIT AND SH.ORDER_NO = CP.ORDER_NO AND SH.ORDER_INT_LINE_NO = CP.ORDER_INT_LINE_NO AND SH.PARENT_PROD_ID = CP.PARENT_ITEM_ID AND SH.PRODUCT_ID = CP.PRODUCT_ID AND SH.DEMAND_SOURCE = 'OM' AND CP.QTY_CODE = 'ORD' AND CP.MFG_PURCH_FLG = 'K' GROUP BY SH.SOURCE_BUS_UNIT, SH.ORDER_NO, SH.ORDER_INT_LINE_NO, SH.SCHED_LINE_NBR, SH.PARENT_PROD_ID, SH.PRODUCT_ID, CP.CONFIG_CODE, SH.IN_FULFILL_STATE, SH.QTY_BACKORDER

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
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 PARENT_PROD_ID Character(18) VARCHAR2(18) NOT NULL Parent Product Id
6 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
7 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator
8 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
9 IN_FULFILL_STATE Character(2) VARCHAR2(2) NOT NULL Inventory Fulfillment State
10=Pending
20=Unfulfilled
30=Releasable
40=Released
50=Confirmed
60=Shipped
70=Depleted
90=Canceled
10 QTY_BACKORDER Signed Number(17,4) DECIMAL(15,4) NOT NULL Backorder Qty