DMD_CNC_INV_VW

(SQL View)
Index Back

Cnc/Hold Vw - DEMAND_INV

08/30/04 tw Updated to use IN_DEMAND. 11/18/04 dmw: change view to select non-OM orders

SELECT DISTINCT A.BUSINESS_UNIT , A.DEMAND_SOURCE , A.SOURCE_BUS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.INV_ITEM_ID , A.SHIP_TO_CUST_ID , A.LOCATION , %DatePart(A.SCHED_DTTM) , A.SCHED_DTTM , A.HOLD_FLAG , ' ' , LAST_PROCESS_INST FROM PS_IN_DEMAND A WHERE A.IN_FULFILL_STATE IN ('30','40','50') AND A.DEMAND_SOURCE <> 'OM'

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

Prompt Table: SP_BUIN_NONVW

2 DEMAND_SOURCE Character(2) VARCHAR2(2) NOT NULL Demand Source
IN=Material Request
OM=Sales Order
PL=Planning Requisition
PO=Purchase Order
PR=Purchasing Requisition
RT=Material Return
SF=Production Request
WM=Work Order
3 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
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

Prompt Table: DEMAND_PICK_VW

5 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
6 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
8 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
9 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
10 SCHED_DATE Date(10) DATE Schedule Date
11 SCHED_DTTM DateTime(26) TIMESTAMP 08/16/01 JNW (CN#PL900-1.0): Added
12 HOLD_FLAG Character(1) VARCHAR2(1) NOT NULL Hold
N=Hold
Y=Hold
13 RTV_ID Character(10) VARCHAR2(10) NOT NULL Return To Vendor ID
14 LAST_PROCESS_INST Number(10,0) DECIMAL(10) NOT NULL Process Instance