VNDR_NEW_LOC

(SQL View)
Index Back

Prompt supplier loc View

Prompt supplier loc View

SELECT DISTINCT A.SETID , A.VENDOR_ID , A.VNDR_LOC , B.DESCR , V.NAME1 , A.EFFDT FROM PS_VENDOR_LOC A , PS_VNDR_LOC_SCROL B , PS_VENDOR V WHERE A.EFF_STATUS = 'A' AND 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.VNDR_LOC = A.VNDR_LOC AND I.EFFDT <= %CurrentDateIn) AND B.SETID = A.SETID AND B.VENDOR_ID = A.VENDOR_ID AND B.VNDR_LOC = A.VNDR_LOC AND A.SETID = V.SETID AND A.VENDOR_ID = V.VENDOR_ID

  • Related Language Record: VNDR_NEW_LC_LN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 FROM_VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Supplier ID
    3 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    6 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date