INRSV_DMDITM_VW

(SQL View)
Index Back

Demand Order Lines View


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 , b.descr FROM ps_IN_DEMAND a , PS_MASTER_ITEM_TBL b , ps_set_cntrl_rec c WHERE A.IN_FULFILL_STATE = '20' AND A.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'MASTER_ITEM_TBL' AND B.SETID = C.SETID AND A.INV_ITEM_ID = B.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 SL_DEMAND_SOURCE Character(2) VARCHAR2(2) NOT NULL Demand Source selection
IN=Material Request
OM=Sales Order
PL=Planning Requisition
PO=Sourced Demand
PR=Purchasing Requisition
RT=Material Return
SF=Production Request
WM=Work Order Demand
3 SL_SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Business Unit selection
4 SL_ORDER_NO Character(10) VARCHAR2(10) NOT NULL Order Number selection
5 SL_ORDER_INT_LINE Number(5,0) INTEGER NOT NULL Order Line selection
6 SL_SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL 05/07/04 PWF Added field for new 8.9 data model changes
7 SL_INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item selection
8 DESCR Character(30) VARCHAR2(30) NOT NULL Description