04/16/2013 - VID 16465791 - When Insp item is Return to Vendor, PPV transaction not Reversed

CM_TRINV_RTV_VW

(SQL View)
Index Back

SELECT A.BUSINESS_UNIT , A.INV_ITEM_ID , A.SEQ_NBR , A.DT_TIMESTAMP , A.TRANSACTION_GROUP , A.RTV_ID , A.RTV_LN_NBR , A.RTV_DISTRIB_NUM , B.RECEIVER_ID , B.RECV_LN_NBR , B.RECV_SHIP_SEQ_NBR FROM PS_TRANSACTION_INV A , PS_RTV_LN_DISTRIB B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT_PO AND B.RTV_ID = A.RTV_ID AND B.RTV_LN_NBR = A.RTV_LN_NBR AND B.RTV_DISTRIB_NUM = A.RTV_DISTRIB_NUM AND A.TRANSACTION_GROUP IN ('012','013')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
4 DT_TIMESTAMP DateTime(26) TIMESTAMP NOT NULL Date Timestamp
5 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
6 RTV_ID Character(10) VARCHAR2(10) NOT NULL Return To Vendor ID
7 RTV_LN_NBR Number(5,0) INTEGER NOT NULL Return To Vendor Line
8 RTV_DISTRIB_NUM Number(5,0) INTEGER NOT NULL RTV Distribution Number
9 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
10 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
11 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence