IN_RTV_QTY_VW2

(SQL View)
Index Back

SELECT BUSINESS_UNIT_PO , RTV_ID , RTV_LN_NBR , RTV_DISTRIB_NUM , UNIT_OF_MEASURE , SUM(QTY_REQUESTED - QTY_BACKORDER) , BUSINESS_UNIT , DEMAND_SOURCE , SOURCE_BUS_UNIT , ORDER_NO , ORDER_INT_LINE_NO , SCHED_LINE_NBR , DEMAND_LINE_NO , INV_ITEM_ID FROM PS_IN_DEMAND WHERE RTV_ID <> ' ' AND IN_FULFILL_STATE < '90' GROUP BY BUSINESS_UNIT_PO, RTV_ID, RTV_LN_NBR, RTV_DISTRIB_NUM, UNIT_OF_MEASURE, BUSINESS_UNIT, DEMAND_SOURCE, SOURCE_BUS_UNIT, ORDER_NO, ORDER_INT_LINE_NO, SCHED_LINE_NBR, DEMAND_LINE_NO, INV_ITEM_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
2 RTV_ID Character(10) VARCHAR2(10) NOT NULL Return To Vendor ID
3 RTV_LN_NBR Number(5,0) INTEGER NOT NULL Return To Vendor Line
4 RTV_DISTRIB_NUM Number(5,0) INTEGER NOT NULL RTV Distribution Number
5 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
6 QTY_REQUESTED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested
7 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
8 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
9 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
10 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
11 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
12 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
13 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
14 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID