VNDR_APHN_EFFVW

(SQL View)
Index Back

Supplier Address Telephone Nbr


SELECT %subrec(VENDOR_APHN_SBR, a) FROM PS_VENDOR_ADDR_PHN a WHERE a.effdt = ( SELECT MAX(i.effdt) FROM PS_VENDOR_ADDR_PHN i WHERE i.setid = a.setid AND i.vendor_id = a.vendor_id AND i.address_seq_num = a.address_seq_num AND i.phone_type = a.phone_type AND i.effdt <= %CurrentDateIn)

  • Parent record: VENDOR_ADDR
  • # 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 PHONE_TYPE Character(4) VARCHAR2(4) NOT NULL Phone Type
    BUSN=Business Phone
    CAMP=Campus Phone
    CELL=Cellular Phone
    DORM=Dormitory Phone
    FAX=FAX
    HOME=Home Phone
    MAIN=Main
    OTR=Other
    PGR1=Pager 1
    PGR2=Pager 2
    TELX=Telex
    6 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
    7 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
    8 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension