CUST_ALL_V2(SQL View) |
Index Back |
---|---|
All CustomersUses SETID_CUSTOMER as prompting Set Control Field. Date Init Issue Description 110204 JJM F-CJORG-L1CX3 Sprinklebacks - Margin Adjustments |
SELECT DISTINCT A.setid , A.cust_id , A.name1 , 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) AND B.eff_status='A' |
# | 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 | 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 |