IN_SDA_QRYPM_VW

(SQL View)
Index Back

Sup/Dmd Dbrd Par MSRs View

Par MSRs - used as query view for pivot grid

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 , %DatePart(A.SCHED_DTTM) , A.QTY_REQUESTED_BASE - A.QTY_BACKORDER_BASE , A.QTY_SHIP_BASE , A.IN_FULFILL_STATE , A.LOCATION , B.CART_GROUP , M.INV_ITEM_GROUP , M.INV_PROD_FAM_CD , M.UNIT_MEASURE_STD FROM PS_IN_DEMAND A , PS_CART_ATTRIB_INV B , PS_MASTER_ITEM_TBL M , PS_SET_CNTRL_REC C WHERE A.IN_FULFILL_STATE BETWEEN '10' AND '60' AND A.IN_PROCESS_DATE IS NOT NULL AND A.DEMAND_SOURCE = 'IN' AND B.BUSINESS_UNIT = A.SOURCE_BUS_UNIT AND B.ORDER_BU = A.BUSINESS_UNIT AND B.LOCATION = A.LOCATION AND M.SETID = C.SETID AND C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.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 SCHED_SHIP_DATE Date(10) DATE Scheduled Ship Date
10 QTY_REQUESTED_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested Base
11 QTY_SHIP_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Ship Base
12 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
13 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
14 CART_GROUP Character(5) VARCHAR2(5) NOT NULL Par Location Group
15 INV_ITEM_GROUP Character(15) VARCHAR2(15) NOT NULL Item Group
16 INV_PROD_FAM_CD Character(10) VARCHAR2(10) NOT NULL Family
17 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure