PO_SSRCVSHP_VW

(SQL View)
Index Back

SELECT B.BUSINESS_UNIT , B.VOUCHER_ID , A.BUSINESS_UNIT , A.RECEIVER_ID , A.RECV_LN_NBR , A.RECV_SHIP_SEQ_NBR , A.RECV_SHIP_STATUS , A.RECEIPT_UM , A.DESCR254_MIXED , A.PACKSLIP_NO , A.SHIPTO_ID , A.QTY_SH_ACCPT_VUOM , A.QTY_SH_INSPD_VUOM , A.QTY_SH_RECVD_VUOM , A.QTY_SH_REJCT_VUOM , A.QTY_SH_RTN_VUOM , A.REJECT_REASON , A.RMA_ID , A.RMA_LINE_NBR , A.INV_ITEM_ID , A.ITM_ID_VNDR , A.RECEIPT_DTTM , C.RECV_STATUS FROM PS_RECV_LN_SHIP_FS A , PS_VCHR_LN_FS B , PS_RECV_HDR_FS C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT_RECV AND A.RECEIVER_ID = B.RECEIVER_ID AND A.RECV_LN_NBR = B.RECV_LN_NBR AND A.RECV_SHIP_SEQ_NBR = B.RECV_SHIP_SEQ_NBR AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.RECEIVER_ID = C.RECEIVER_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
3 BUSINESS_UNIT_RECV Character(5) VARCHAR2(5) NOT NULL Receiving Business Unit
4 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
5 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
6 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence
7 RECV_SHIP_STATUS Character(1) VARCHAR2(1) NOT NULL Receipt Schedule Status
C=Closed
H=Hold
O=Open
R=Received
X=Canceled
8 RECEIPT_UM Character(3) VARCHAR2(3) NOT NULL Receiving UOM
9 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
10 PACKSLIP_NO Character(22) VARCHAR2(22) NOT NULL Packing Slip Number
11 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
12 QTY_SH_ACCPT_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Accept QTY in Supplier UOM
13 QTY_SH_INSPD_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Inspected Qty in Supplier UOM
14 QTY_SH_RECVD_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Receipt QTY in Supplier UOM
15 QTY_SH_REJCT_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Reject QTY in Supplier UOM
16 QTY_SH_RTN_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Qty Returned in PO UOM
17 REJECT_REASON Character(10) VARCHAR2(10) NOT NULL Reject Reason Code
DAM=Damaged Goods
FAL=Failed Inspection
INC=Incomplete Shipment
LAT=Late Shipment
RLY=Early Shipment
WRG=Wrong Goods or Service

Prompt Table: REJECT_REASONS

18 RMA_ID Character(10) VARCHAR2(10) NOT NULL RMA Number
19 RMA_LINE_NBR Number(5,0) INTEGER NOT NULL RMA Line Number
20 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
21 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
22 RECEIPT_DTTM DateTime(26) TIMESTAMP Receipt Datetime
23 RECV_STATUS Character(1) VARCHAR2(1) NOT NULL Receipt Status
C=Closed Receipt
H=Hold Receipt
M=Moved to Destination
N=PO Not Received
O=Open
P=PO Partially Received
R=Fully Received
X=Canceled