CA_PPD_ADDR_VW(SQL View) |
Index Back |
---|
SELECT A.SETID , A.CUST_ID , A.ADDRESS_SEQ_NUM , A.ADDRESS1 , A.ADDRESS2 , A.CITY , A.STATE , A.COUNTRY FROM PS_CUST_ADDRESS A WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_CUST_ADDRESS WHERE SETID = A.SETID AND CUST_ID = A.CUST_ID AND ADDRESS_SEQ_NUM = A.ADDRESS_SEQ_NUM AND EFF_STATUS = 'A') AND A.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: CUSTOMER |
3 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
4 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
5 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
6 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
7 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: STATE_TBL |
8 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |