CUST_AL_SRCH

(SQL View)
Index Back

All Customers

Date Init. Issue # Description 010202 JJM 9435001 Removed PHONE, added PHONE2 011107 JJM 1166712000 Added NAME2 for enhanced search

SELECT DISTINCT A.setid , A.cust_id , A.name1 , A.name2 , B.phone , B.city , B.state , B.postal FROM ps_customer A , PS_CUST_ADDRESS B WHERE A.setid = B.setid AND A.cust_id = B.cust_id AND %EffdtCheck(cust_address, B, %currentdatein)

  • Related Language Record: CUST_VW2_LNG
  • # 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: SP_SETID_NONVW

    2 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: CUST_ALL_VW

    3 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    4 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
    5 PHONE2 Character(24) VARCHAR2(24) NOT NULL Telephone
    6 CITY Character(30) VARCHAR2(30) NOT NULL City
    7 STATE Character(6) VARCHAR2(6) NOT NULL State
    8 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal