IN_DEMAND_VW2

(SQL View)
Index Back

View on IN_Demand


SELECT 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.demand_line_no ,a.dt_timestamp ,m.descr ,a.in_fulfill_state ,a.qty_ship_base ,a.ship_id ,a.in_defer_depletion ,a.ship_to_cust_id ,a.carrier_id ,a.ship_type_id ,a.load_id ,a.location ,%DatePart(a.sched_dttm) ,%TimePart(a.sched_dttm) ,a.delivery_id , a.route_cd FROM ps_in_demand a , PS_MASTER_ITEM_TBL m WHERE m.setid = ( SELECT setid FROM ps_set_cntrl_rec sc WHERE setcntrlvalue = a.business_unit AND recname = 'MASTER_ITEM_TBL') AND m.inv_item_id = a.inv_item_id

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
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
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 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
9 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp
10 DESCR Character(30) VARCHAR2(30) NOT NULL Description
11 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
12 QTY_SHIP_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Ship Base
13 SHIP_ID Character(10) VARCHAR2(10) NOT NULL Shipping ID
14 IN_DEFER_DEPLETION Character(1) VARCHAR2(1) NOT NULL Defer Depletions

Y/N Table Edit

15 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
16 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
17 SHIP_TYPE_ID Character(10) VARCHAR2(10) NOT NULL Ship Via Code
18 LOAD_ID Character(10) VARCHAR2(10) NOT NULL Load ID
19 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
20 SCHED_DATE Date(10) DATE Schedule Date
21 SCHED_TIME Time(15) TIMESTAMP Schedule Time
22 DELIVERY_ID Character(10) VARCHAR2(10) NOT NULL Delivery ID
23 ROUTE_CD Character(6) VARCHAR2(6) NOT NULL A unique identifier assigned to a delivery route. Route codes can be associated with customer addresses for external orders or locations for internal orders. Route codes can be used to identify the appropriate delivery schedule for a customer/location if you are managing product shipments with your own vehicles.