VNDRADDR_SES_VW

(SQL View)
Index Back

Supplier Addr EffDt Search VW


SELECT v.setid , v.vendor_id , a.address_seq_num , a.effdt , a.eff_status , a.name1 , a.name2 , a.emailid , a.country , c.descr , A.CITY , a.county , a.state , D.DESCR , a.postal , a.address1 , a.address2 , a.address3 , a.address4 , a.DESCR , R1.address1 , R1.address2 , R1.address3 , R1.DESCR , I1.address1 , I1.address2 , I1.address3 , I1.DESCR , C1.address1 , C1.address2 , C1.address3 , C1.DESCR , A.NAME1_WTHD , A.NAME2_WTHD , %Cast(a.address1 %Concat ' ' %Concat a.address2 %Concat ' ' %Concat a.address3 %Concat ' ' %Concat a.descr %Concat ' ' %Concat R1.address1 %Concat ' ' %Concat R1.address2 %Concat ' ' %Concat R1.address3 %Concat ' ' %Concat R1.descr %Concat ' ' %Concat I1.address1 %Concat ' ' %Concat I1.address2 %Concat ' ' %Concat I1.address3 %Concat ' ' %Concat I1.descr %Concat ' ' %Concat C1.address1 %Concat ' ' %Concat C1.address2 %Concat ' ' %Concat C1.address3 %Concat ' ' %Concat C1.descr , LONG , CHARACTER) FROM PS_VENDOR V LEFT OUTER JOIN PS_VNDR_ADDR_S2_VW R1 ON V.REMIT_SETID = R1.SETID AND V.REMIT_VENDOR = R1.VENDOR_ID AND V.REMIT_ADDR_SEQ_NUM = R1.ADDRESS_SEQ_NUM LEFT OUTER JOIN PS_VNDR_ADDR_S2_VW I1 ON V.SETID = I1.SETID AND V.PRIMARY_VENDOR = I1.VENDOR_ID AND V.PRIM_ADDR_SEQ_NUM = I1.ADDRESS_SEQ_NUM LEFT OUTER JOIN PS_VNDR_ADDR_S2_VW C1 ON V.CORPORATE_SETID = C1.SETID AND V.CORPORATE_VENDOR = C1.VENDOR_ID AND C1.ADDRESS_SEQ_NUM = 1 , (PS_VNDR_ADDR_S2_VW A LEFT OUTER JOIN PS_COUNTRY_TBL C ON C.COUNTRY = A.COUNTRY LEFT OUTER JOIN PS_STATE_TBL D ON D.COUNTRY = A.COUNTRY AND D.STATE = A.STATE) WHERE A.SETID = V.SETID AND A.VENDOR_ID = V.VENDOR_ID

  • Related Language Record: VNDRADD_SES_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 COUNTRY_NAME Character(30) VARCHAR2(30) NOT NULL Country
    11 CITY Character(30) VARCHAR2(30) NOT NULL City
    12 COUNTY Character(30) VARCHAR2(30) NOT NULL County
    13 STATE Character(6) VARCHAR2(6) NOT NULL State

    Prompt Table: %EDIT_STATE

    14 STATE_NAME Character(30) VARCHAR2(30) NOT NULL State Name
    15 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
    16 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
    17 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
    18 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
    19 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
    20 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    21 ADDRESS1_REMIT_TO Character(55) VARCHAR2(55) NOT NULL Remit To Address Line 1
    22 ADDRESS2_REMIT_TO Character(55) VARCHAR2(55) NOT NULL Remit To Address Line 1
    23 ADDRESS3_REMIT_TO Character(55) VARCHAR2(55) NOT NULL Remit To Address Line 3
    24 DESCR1 Character(30) VARCHAR2(30) NOT NULL Descr
    25 ADDRESS1_VNDR Character(55) VARCHAR2(55) NOT NULL Vendor Address Line 1
    26 ADDRESS2_VNDR Character(55) VARCHAR2(55) NOT NULL Vendor Address Line 2
    27 ADDRESS3_VNDR Character(55) VARCHAR2(55) NOT NULL Vendor Address Line 3
    28 DESCR2 Character(30) VARCHAR2(30) NOT NULL Descr2
    29 ADDRESS1_OTHER Character(55) VARCHAR2(55) NOT NULL Address 1 Other
    30 ADDRESS2_OTHER Character(55) VARCHAR2(55) NOT NULL Address 2 Other
    31 ADDRESS3_OTHER Character(55) VARCHAR2(55) NOT NULL Address 3 Other
    32 DESCR3 Character(30) VARCHAR2(30) NOT NULL Description
    33 NAME1_WTHD Character(40) VARCHAR2(40) NOT NULL Name 1
    34 NAME2_WTHD Character(40) VARCHAR2(40) NOT NULL Name 2
    35 SES_VN_ADDR_CONCAT Long Character CLOB All Vendor Addresses