SCP_RCTSHP_VW

(SQL View)
Index Back

Receipt Ship To


SELECT DISTINCT A.SHIPTO_ID , C.DESCRSHORT , C.DESCR ,B.NAME1 , A.VENDOR_ID , A.SETID ,A.oprid , A.PO_ID , A.RECEIVER_ID FROM PS_SCP_RJCTRCPT_VW A , PS_VENDOR B , PS_SHIPTO_TBL C WHERE A.VENDOR_ID = B.VENDOR_ID AND A.SETID = B.SETID AND A.SETID = C.SETID AND A.SHIPTO_ID = C.SHIPTO_ID AND C.EFF_STATUS = 'A' AND C.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_SHIPTO_TBL E WHERE C.SETID = E.SETID AND C.SHIPTO_ID = E.SHIPTO_ID AND E.EFF_STATUS = 'A' )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
2 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
5 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
6 SETID Character(5) VARCHAR2(5) NOT NULL SetID
7 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
8 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
9 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number