VNDR_ADDRVW2_LG

(SQL View)
Index Back

Active Supplier Addresses RLR


SELECT DISTINCT A.SETID , A.VENDOR_ID , A.ADDRESS_SEQ_NUM , B.LANGUAGE_CD , B.DESCR FROM PS_VENDOR_ADDR A , PS_VNDR_ADDRSCR_LG B WHERE A.EFF_STATUS = 'A' AND 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(A2.EFFDT) FROM PS_VENDOR_ADDR A2 WHERE A2.SETID = A.SETID AND A2.VENDOR_ID = A.VENDOR_ID AND A2.ADDRESS_SEQ_NUM = A.ADDRESS_SEQ_NUM AND A2.EFFDT <= %CurrentDateIn)

  • Related Language Record for VENDOR_ADDR_VW2
  • # 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 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description