EMVCHR_ORCV_VW1

(SQL View)
Index Back

Receiver Prompt


SELECT DISTINCT A.VENDOR_SETID , C.VENDOR_ID , A.BUSINESS_UNIT , A.RECEIVER_ID , A.RECEIPT_DT , B.BUSINESS_UNIT_PO , B.PO_ID , C.NAME1 , A.BILL_OF_LADING , A.ORIGIN , B.CURRENCY_CD , B.PACKSLIP_NO FROM PS_RECV_HDR_FS A , PS_RECV_LN_SHIP_FS B , PS_VENDOR C WHERE A.MATCH_STATUS_RECV IN ('T','P','N') AND A.ERS_FLAG = 'N' AND A.IN_PROCESS_FLG = 'N' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RECEIVER_ID = B.RECEIVER_ID AND A.VENDOR_SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND B.RECV_LN_MATCH_OPT IN ('N','P') AND B.RECV_SHIP_STATUS IN ('R','O','M','C') AND NOT EXISTS( SELECT 'X' FROM PS_PO_HDR_FS POHDR WHERE B.BUSINESS_UNIT_PO = POHDR.BUSINESS_UNIT AND B.PO_ID = POHDR.PO_ID AND POHDR.PO_STATUS = 'C')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
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 RECEIPT_DT Date(10) DATE Received Date
6 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
7 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
8 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
9 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
10 ORIGIN Character(3) VARCHAR2(3) NOT NULL Origin
11 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
12 PACKSLIP_NO Character(22) VARCHAR2(22) NOT NULL Packing Slip Number