VENDOR_SRCH_VW

(SQL View)
Index Back

Supplier Header Table


SELECT A.SETID , A.VENDOR_ID , B.ADDRESS_SEQ_NUM , B.EFFDT , A.VENDOR_NAME_SHORT , A.NAME1 , %Upper(A.NAME1) , A.NAME2 , A.VENDOR_STATUS , A.VENDOR_CLASS , A.VENDOR_PERSISTENCE , A.CORPORATE_SETID , A.CORPORATE_VENDOR , A.CUST_SETID , A.CUST_ID , A.ENTERED_BY , A.AR_NUM , A.WTHD_SW , A.VAT_SW , A.VNDR_STATUS_PO , A.VNDR_TIN , B.ADDRESS1 , %Upper(B.ADDRESS1) , B.CITY , %Upper(B.CITY) , B.STATE , B.POSTAL , B.COUNTRY , B.NAME1_WTHD , %Upper(B.NAME1_WTHD) , A.CREATED_DTTM , A.CREATED_BY_USER , A.LAST_MODIFIED_DATE , A.LAST_ACTIVITY_DT , A.OFAC_STATUS , B.EFF_STATUS FROM PS_VENDOR A , PS_VENDOR_ADDR B WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_VENDOR_ADDR C WHERE C.SETID = B.SETID AND C.VENDOR_ID = B.VENDOR_ID AND C.ADDRESS_SEQ_NUM = B.ADDRESS_SEQ_NUM AND C.EFFDT <= %CurrentDateIn )

  • Related Language Record: VENDOR_VW2_LANG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SETID_TBL

    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 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
    6 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    7 NAME1_UPPER Character(40) VARCHAR2(40) NOT NULL Uppercase Name
    8 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
    9 VENDOR_STATUS Character(1) VARCHAR2(1) NOT NULL Vendor Status
    A=Approved
    D=Denied
    E=Unapproved
    I=Inactive
    X=To Be Archived
    10 VENDOR_CLASS Character(1) VARCHAR2(1) NOT NULL Vendor Classification
    A=Attorney
    E=Employee
    H=HCM
    R=Outside Party

    Default Value: R

    11 VENDOR_PERSISTENCE Character(1) VARCHAR2(1) NOT NULL Persistence
    O=One Time
    P=Permanent
    R=Regular
    S=Single Payment Supplier

    Default Value: R

    12 CORPORATE_SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: VENDOR.SETID

    13 CORPORATE_VENDOR Character(10) VARCHAR2(10) NOT NULL Corporate Vendor
    14 CUST_SETID Character(5) VARCHAR2(5) NOT NULL Customer SetID

    Default Value: VENDOR.SETID

    Prompt Table: SETID_TBL

    15 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.

    Prompt Table: CUSTOMER_FS

    16 ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered by
    17 AR_NUM Character(15) VARCHAR2(15) NOT NULL Our Customer Number
    18 WTHD_SW Character(1) VARCHAR2(1) NOT NULL Withholding Applicable Flag
    B=Global and 1099
    G=Global
    T=1099

    Y/N Table Edit

    Default Value: N

    19 VAT_SW Character(1) VARCHAR2(1) NOT NULL Display VAT Flag
    H=Hide VAT checkbox
    N=Display VAT checkbox off
    Y=Display VAT checkbox on

    Y/N Table Edit

    Default Value: VENDOR_CONTROL.VAT_SW

    20 VNDR_STATUS_PO Character(1) VARCHAR2(1) NOT NULL Open For Ordering
    N=No
    Y=Yes

    Y/N Table Edit

    Default Value: Y

    21 VNDR_TIN Character(1) VARCHAR2(1) NOT NULL Vendor Tax Id Number
    22 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
    23 ADDRESS1_UPPER Character(55) VARCHAR2(55) NOT NULL Uppercase Address
    24 CITY Character(30) VARCHAR2(30) NOT NULL City
    25 CITY_UPPER Character(30) VARCHAR2(30) NOT NULL Uppercase City
    26 STATE Character(6) VARCHAR2(6) NOT NULL State
    27 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
    28 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
    29 NAME1_WTHD Character(40) VARCHAR2(40) NOT NULL Name 1
    30 NAME1_WTHD_UPPER Character(40) VARCHAR2(40) NOT NULL Uppercase Withhold Name
    31 CREATED_DTTM DateTime(26) TIMESTAMP Created Date and time
    32 CREATED_BY_USER Character(30) VARCHAR2(30) NOT NULL Created By
    33 LAST_MODIFIED_DATE DateTime(26) TIMESTAMP Last modified date
    34 LAST_ACTIVITY_DT Date(10) DATE Last Activity Date
    35 OFAC_STATUS Character(1) VARCHAR2(1) NOT NULL OFAC Status
    B=Blocked
    C=Cleared
    R=Review
    V=Valid
    36 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive