CA_SLDTO_PRC_VW(SQL View) |
Index Back |
---|---|
Sold to Customer view |
SELECT A.SETID , A.CUST_ID , A.NAME1 , A.ADDRESS_SEQ_SOLD , A.CNTCT_SEQ_SOLD , A.CURRENCY_CD , A.CUST_LEVEL , A.CUR_RT_TYPE , A.CUST_ID , A.NAME1 FROM PS_CUSTOMER A WHERE A.SOLD_TO_FLG = 'Y' AND A.CUST_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. |
3 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
4 | ADDRESS_SEQ_SOLD | Number(5,0) | INTEGER NOT NULL | Primary Address - Sold To |
5 | CNTCT_SEQ_SOLD | Number(5,0) | INTEGER NOT NULL | Primary Contact - Sold To |
6 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
7 | CUST_LEVEL | Character(1) | VARCHAR2(1) NOT NULL |
Customer Level
N=New P=Prospect R=Regular S=Short-Term T=Temporary |
8 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical. |
9 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
10 | EOEP_CHAR | Character(254) | VARCHAR2(254) NOT NULL | Long field |