SCR_ADDR_PHN_VW

(SQL View)
Index Back

Supplier Address Telephone Nbr

Supplier Address Telephone Nbrs Record

SELECT A.SETID ,A.VENDOR_ID ,A.ADDRESS_SEQ_NUM ,A.PHONE_TYPE ,A.COUNTRY_CODE ,A.PHONE ,A.EXTENSION ,A.EFFDT ,A.EFFDT ,A.LOCATION_DESCR ,A.PHONE_TYPE ,A.COUNTRY_CODE ,A.PHONE ,A.EXTENSION , 'N' FROM PS_VENDOR_ADDR_PHN A , PS_SCR_ADDR_SEL_VW B WHERE A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_VENDOR_ADDR_VW C WHERE A.SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.ADDRESS_SEQ_NUM = C.ADDRESS_SEQ_NUM AND C.EFFDT <= %CurrentDateIn) AND A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.ADDRESS_SEQ_NUM = B.ADDRESS_SEQ_NUM

  • 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 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
    5 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
    6 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
    7 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
    8 SCR_EFFDT Date(10) DATE Approved Changes Take Effect
    9 EFFDT Date(10) DATE Effective Date
    10 LOCATION_DESCR Character(30) VARCHAR2(30) NOT NULL Location
    11 SCR_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
    12 SCR_COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
    13 SCR_PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
    14 SCR_EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
    15 SCR_REMOVE Character(1) VARCHAR2(1) NOT NULL Remove Contact

    Y/N Table Edit