EM_VEND_PRIM_VW

(SQL View)
Index Back

View of vouchering suppliers

Used as a prompt table for supplier id on voucher record and used to display primary address on voucher panels

SELECT DISTINCT sec.oprid , a.setid , a.vendor_id , a.effdt , b.vendor_name_short FROM PS_VENDOR_ADDR a , ps_vendor b , ps_vendor_user sec WHERE b.vendor_status = 'A' AND a.setid = b.setid AND a.vendor_id = b.vendor_id AND b.setid = sec.setid AND b.vendor_id = sec.vendor_id AND a.eff_status = 'A' AND a.address_seq_num = b.prim_addr_seq_num

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 SETID Character(5) VARCHAR2(5) NOT NULL SetID
3 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
4 EFFDT Date(10) DATE Effective Date

Default Value: %date

5 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name