EM_RMVND_LOC_VW

(SQL View)
Index Back

Supplier Location View

View of supplier location descriptions.

SELECT DISTINCT A.SETID , A.VENDOR_ID , C.NAME1 , A.REMIT_LOC , B.DESCR FROM PS_VENDOR_LOC A , PS_VNDR_LOC_SCROL B , PS_VENDOR C WHERE A.EFFDT = ( SELECT MAX(I.EFFDT) FROM PS_VENDOR_LOC I WHERE I.SETID = A.SETID AND I.VENDOR_ID = A.VENDOR_ID AND I.REMIT_LOC = A.REMIT_LOC AND I.EFFDT <= %CurrentDateIn AND I.EFF_STATUS = 'A') AND B.SETID = A.SETID AND B.VENDOR_ID = A.VENDOR_ID AND B.VNDR_LOC = A.REMIT_LOC AND C.SETID = A.SETID AND C.VENDOR_ID = A.VENDOR_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REMIT_SETID Character(5) VARCHAR2(5) NOT NULL Remit SetID
2 REMIT_VENDOR Character(10) VARCHAR2(10) NOT NULL Remit Vendor
3 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
4 REMIT_LOC Character(10) VARCHAR2(10) NOT NULL Remit to Location
5 DESCR Character(30) VARCHAR2(30) NOT NULL Description