CUST_ADDR_SRCH(SQL View) |
Index Back |
|---|---|
Customer Address Search |
| SELECT A.SETID , A.CUST_ID , A.POSTAL , A.PHONE , A.CITY , A.STATE , B.DESCR , C.DESCR FROM ((PS_CUST_ADDRESS A LEFT OUTER JOIN PS_COUNTRY_TBL B ON B.COUNTRY = A.COUNTRY ) LEFT OUTER JOIN PS_STATE_TBL C ON C.COUNTRY = A.COUNTRY AND C.STATE = A.STATE ) WHERE %EffdtCheck(cust_address, a, %currentdatein) |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | Character(5) | VARCHAR2(5) NOT NULL | SetID | |
| 2 | 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. | |
| 3 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
| 4 | PHONE2 | 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 | COUNTRY_NAME | Character(30) | VARCHAR2(30) NOT NULL | Country |
| 8 | STATE_NAME | Character(30) | VARCHAR2(30) NOT NULL | State Name |