FO_SC_CUST_VW

(SQL View)
Index Back

All Customers

Customer Search with SETID opened for free entry

SELECT DISTINCT A.setid , A.cust_id , A.name1 , B.phone , B.city , B.state , B.postal , A.cust_status 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) AND B.eff_status='A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
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 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
5 CITY Character(30) VARCHAR2(30) NOT NULL City
6 STATE Character(6) VARCHAR2(6) NOT NULL State
7 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
8 CUST_STATUS Character(1) VARCHAR2(1) NOT NULL Customer Status
A=Active
I=Inactive
T=Template