VNDR_ADDR_S2_VW

(SQL View)
Index Back

Supplier Addr EffDt Search VW


SELECT a.setid , a.vendor_id , a.address_seq_num , a.effdt , a.eff_status , a.name1 , a.name2 , a.emailid , a.country , a.address1 , a.address2 , a.address3 , a.address4 , A.CITY , a.num1 , a.num2 , a.house_type , a.addr_field1 , a.addr_field2 , a.addr_field3 , a.county , a.state , a.postal , a.geo_code , a.in_city_limit , a.name1_wthd , a.name2_wthd , b.descr FROM PS_VENDOR_ADDR a LEFT OUTER JOIN PS_VNDR_ADDR_SCROL b ON b.setid = a.setid AND b.vendor_id = a.vendor_id AND b.address_seq_num = a.address_seq_num WHERE a.effdt = ( SELECT MAX(i.effdt) FROM PS_VENDOR_ADDR i WHERE i.setid = a.setid AND i.vendor_id = a.vendor_id AND i.address_seq_num = a.address_seq_num AND i.eff_status = 'A' AND i.effdt <= %CurrentDateIn)

  • Related Language Record: VNDR_ADDRS2_LVW
  • Parent record: VENDOR
  • # 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 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A

    6 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    7 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
    8 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
    9 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
    10 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
    11 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
    12 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
    13 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
    14 CITY Character(30) VARCHAR2(30) NOT NULL City
    15 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
    16 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
    17 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
    AB=House Boat
    WW=Trailer
    18 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
    19 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
    20 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
    21 COUNTY Character(30) VARCHAR2(30) NOT NULL County
    22 STATE Character(6) VARCHAR2(6) NOT NULL State

    Prompt Table: %EDIT_STATE

    23 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
    24 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
    25 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

    Y/N Table Edit

    26 NAME1_WTHD Character(40) VARCHAR2(40) NOT NULL Name 1
    27 NAME2_WTHD Character(40) VARCHAR2(40) NOT NULL Name 2
    28 DESCR Character(30) VARCHAR2(30) NOT NULL Description