SPB_INTRNL_VNDR

(SQL View)
Index Back

Spro Internal supplier view


SELECT A.SETID , A.VENDOR_ID , B.NAME1 FROM PS_VENDOR_SPRO A , PS_VENDOR B WHERE A.EFFDT = ( SELECT MAX (C.EFFDT) FROM PS_VENDOR_SPRO C WHERE A.SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND C.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' AND A.INTERNAL_SUPPLIER = 'YES' AND A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.SPB_SUPPLIER_TYPE IN ('B','R')

# 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 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1