RS_CUST_VWL(SQL View) |
Index Back |
---|
SELECT A.SETID , A.CUST_ID , B.ADDRESS_SEQ_NUM , L.LANGUAGE_CD , L2.DESCR , L.NAME1 , L.NAME2 , L.NAME3 FROM %Table(CUSTOMER) A , %Table(CUST_ADDR_SEQ) B , %Table(CUSTOMER_LANG) L , %Table(CUST_ADDRSQ_LNG) L2 WHERE B.SETID = A.SETID AND B.CUST_ID = A.CUST_ID AND B.SOLD_TO_ADDR = 'Y' AND A.SETID = L.SETID AND A.CUST_ID = L.CUST_ID AND A.SETID = L2.SETID AND A.CUST_ID = L2.CUST_ID AND B.ADDRESS_SEQ_NUM = L2.ADDRESS_SEQ_NUM AND L.LANGUAGE_CD = L2.LANGUAGE_CD |
# | 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. |
3 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
7 | NAME2 | Character(40) | VARCHAR2(40) NOT NULL | Name 2 |
8 | NAME3 | Character(40) | VARCHAR2(40) NOT NULL | Name 3 |