VNDR_ADDR_VW

(SQL View)
Index Back

SELECT DISTINCT A.SETID , A.VENDOR_ID , A.ADDRESS_SEQ_NUM , C.DESCR FROM PS_VENDOR_ADDR A , PS_VNDR_ADDR_SCROL C WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_VENDOR_ADDR B WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.ADDRESS_SEQ_NUM = B.ADDRESS_SEQ_NUM AND B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' AND A.SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.ADDRESS_SEQ_NUM = C.ADDRESS_SEQ_NUM

  • Related Language Record: VNDR_ADDR_VWLNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
    2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
    3 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description