EM_VND_RMADR_VW

(SQL View)
Index Back

Active Supplier Remit Addresse

View of supplier addresses that are active - used for prompting

SELECT a.setid , a.vendor_id , a.address_seq_num , b.descr , a.address1 ,a.city FROM PS_VENDOR_ADDR a , ps_vndr_addr_scrol b WHERE a.setid = b.setid AND a.vendor_id = b.vendor_id AND a.address_seq_num = b.address_seq_num AND a.effdt = ( SELECT MAX(c.effdt) FROM PS_VENDOR_ADDR c WHERE c.setid = a.setid AND c.vendor_id = a.vendor_id AND c.address_seq_num = a.address_seq_num AND c.effdt <= %CurrentDateIn) AND a.eff_status = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 REMIT_ADDR_SEQ_NUM Number(5,0) INTEGER NOT NULL Remitting Location
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
6 CITY Character(30) VARCHAR2(30) NOT NULL City