RMA_RETURNED_VW

(SQL View)
Index Back

RMA returned qty by demand

RMA returned qty by demand

SELECT RL.REF_BUS_UNIT_IN , 'OM' , RL.REF_BUS_UNIT_OM , RL.REF_ORDER_NO , RL.REF_LINE_NBR , RL.REF_SCHED_NBR , RL.REF_INV_ITEM_ID , RL.REF_DEMD_LINE_NBR , RL.REF_BUS_UNIT_BI , RL.INVOICE , RL.LINE_SEQ_NUM , RL.PARENT_PROD_ID , RL.PRODUCT_ID , RL.UNIT_OF_MEASURE , RL.QTY_RETURNED , RL.BUSINESS_UNIT , RL.RMA_ID , RL.RMA_LINE_NBR FROM PS_RMA_LINE RL WHERE RL.RMA_LINE_STATUS <> 'X' AND (RL.REF_BUS_UNIT_IN <> ' ' OR RL.INVOICE <> ' ')

# 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 BUSINESS_UNIT_BI Character(5) VARCHAR2(5) NOT NULL Billing Business Unit
10 INVOICE Character(22) VARCHAR2(22) NOT NULL Invoice
11 LINE_SEQ_NUM Number(5,0) INTEGER NOT NULL Sequence
12 PARENT_PROD_ID Character(18) VARCHAR2(18) NOT NULL Parent Product Id
13 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
14 UOM_QTY_RETURN Character(3) VARCHAR2(3) NOT NULL UOM of Qty Returned
15 QTY_RETURNED Number(16,4) DECIMAL(15,4) NOT NULL Qty Returned
16 BUS_UNIT_RMA Character(5) VARCHAR2(5) NOT NULL RMA Business Unit
17 RMA_ID Character(10) VARCHAR2(10) NOT NULL RMA Number
18 RMA_LINE_NBR Number(5,0) INTEGER NOT NULL RMA Line Number