C360_SHPADR_VW(SQL View) |
Index Back |
---|---|
Ship-To Cust Address |
SELECT B.SETID , B.CUST_ID , %subrec(ADDRESS_SBR,B) , %subrec(BUS_PHONE_SBR,B) , B.ALT_NAME1 , B.ALT_NAME2 , B.PHYSICAL_NATURE , B.VAT_SVC_PERFRM_FLG , C.NAME1 , B.LAST_MAINT_OPRID FROM PS_CUST_ADDR_SEQ A , PS_CUST_ADDRESS B , PS_CUSTOMER C WHERE A.SETID = B.SETID AND A.CUST_ID = B.CUST_ID AND A.ADDRESS_SEQ_NUM = B.ADDRESS_SEQ_NUM AND A.SHIP_TO_ADDR = 'Y' AND %Join(COMMON_KEYS, cust_addr_seq a, customer c) AND B.EFF_STATUS = 'A' AND %EffdtCheck(CUST_ADDRESS X, B, %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
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. |
3 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
4 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
5 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
6 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
7 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
8 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
9 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
10 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
11 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
12 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
13 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
14 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
15 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
16 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
17 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
18 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
19 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL | In City Limit |
20 | COUNTRY_CODE | Character(3) | VARCHAR2(3) NOT NULL | Int'l Prefix |
21 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |
22 | EXTENSION | Character(6) | VARCHAR2(6) NOT NULL | Phone Extension |
23 | FAX | Character(24) | VARCHAR2(24) NOT NULL | Fax Number |
24 | ALT_NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Alternate Name 1 |
25 | ALT_NAME2 | Character(40) | VARCHAR2(40) NOT NULL | Alternate Name 2 |
26 | PHYSICAL_NATURE | Character(1) | VARCHAR2(1) NOT NULL |
Physical Nature
G=Goods S=Services |
27 | VAT_SVC_PERFRM_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Where VAT Services Physically Performed Flag
1=Ship To Location 2=Ship From Location 3=Buyer's Location 4=Supplier's Location |
28 | EOEP_CHAR | Character(254) | VARCHAR2(254) NOT NULL | Long field |
29 | LAST_MAINT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Last Maintained By Operator ID |