VCHR_TP_RC_BOL5

(SQL View)
Index Back

Voucher Recv Header Prompt


SELECT DISTINCT a.business_unit , c.vendor_id , a.bill_of_lading , a.receiver_id , a.receipt_dt , b.business_unit_po , b.po_id , d.po_dt , c.name1 , b.shipto_id , a.origin FROM ps_recv_hdr_fs a , ps_recv_ln_ship_fs b , ps_vendor c , PS_PO_HDR_FS d WHERE (a.ers_flag = 'N' OR a.ers_flag = ' ') 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_ship_status IN ('R','O','M','C') AND b.business_unit_po = d.business_unit AND b.po_id = d.po_id AND D.CC_USE_FLAG IN ('N',' ')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
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 PO_DT Date(10) DATE Date
9 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
10 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
11 ORIGIN Character(3) VARCHAR2(3) NOT NULL Origin