SCP_SUPPLOC_VW1

(SQL View)
Index Back

Supplier Location

Prompt record to show contract id's for Supplier PO Search page.

SELECT DISTINCT A.SETID , A.VENDOR_ID , A.VNDR_LOC , C.DESCR FROM PS_VENDOR_LOC A , PS_VENDOR B , PS_VNDR_LOC_SCROL C WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.VNDR_LOC = C.VNDR_LOC AND A.EFFDT = ( SELECT MAX(F.EFFDT) FROM PS_VENDOR_LOC F WHERE A.SETID = F.SETID AND A.VENDOR_ID = F.VENDOR_ID AND A.VNDR_LOC = F.VNDR_LOC AND F.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 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description