BO_CR_ADDR_VW(SQL View) |
Index Back |
---|---|
Company Rep AddressesThis is the customer contact view of addresses. |
SELECT B.SETID , B.COMPANYID , A.BO_ID_CONTACT , A.ROLE_TYPE_ID_CNTCT , A.CM_TYPE_ID , A.CM_USE_START_DT , A.CM_ID , A.PROFILE_CM_SEQ , A.CM_USE_END_DT , A.PRIMARY_IND , A.CM_NICKNAME , A.CM_PURPOSE_TYPE_ID , A.PHYSICAL_LOCATION , A.COUNTRY , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.CITY , A.NUM1 , A.NUM2 , A.HOUSE_TYPE , A.ADDR_FIELD1 , A.ADDR_FIELD2 , A.ADDR_FIELD3 , A.COUNTY , A.STATE , A.POSTAL , A.GEO_CODE , A.IN_CITY_LIMIT , A.ADDRESS1_AC , A.ADDRESS2_AC , A.ADDRESS3_AC , A.ADDRESS4_AC , A.CITY_AC , A.REGION_ID , A.TIMEZONE , A.CM_ID_PHONE FROM PS_RD_COMPANY B , PS_BO_REP_ADDR_VW A WHERE B.BO_ID = A.BO_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | COMPANYID | Character(15) | VARCHAR2(15) NOT NULL | Company ID |
3 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
4 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
5 | CM_TYPE_ID | Number(6,0) | INTEGER NOT NULL | Contact Method Type ID |
6 | CM_USE_START_DT | Date(10) | DATE | Contact Method Use Start Date |
7 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
8 | PROFILE_CM_SEQ | Number(31,0) | DECIMAL(31) NOT NULL | The Contact Method Profile ID is a key field that is used to reference the details of a Contact Method in various CM tables. |
9 | CM_USE_END_DT | Date(10) | DATE | End date of a Contact Method Use |
10 | PRIMARY_IND | Character(1) | VARCHAR2(1) NOT NULL |
Flag that indicates whether or not it is Primary
N=No Y=Yes |
11 | CM_NICKNAME | Character(30) | VARCHAR2(30) NOT NULL | Nickname of a Contact Method |
12 | CM_PURPOSE_TYPE_ID | Number(6,0) | INTEGER NOT NULL |
Relationship Contact Method Purpose ID
Prompt Table: CM_PURP_TYPE |
13 | PHYSICAL_LOCATION | Character(30) | VARCHAR2(30) NOT NULL | Physical Location (Free-Form) |
14 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
15 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
16 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
17 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
18 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
19 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
20 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
21 | NUM2 | Character(4) | VARCHAR2(4) NOT NULL | Number 2 |
22 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat Reference WW=House Trailer Reference |
23 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
24 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
25 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
26 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
27 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
28 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
29 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
30 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit Default Value: Y |
31 | ADDRESS1_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS1_AC |
32 | ADDRESS2_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS2_AC |
33 | ADDRESS3_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS3_AC |
34 | ADDRESS4_AC | Character(55) | VARCHAR2(55) NOT NULL | Alternate Character Address 4. |
35 | CITY_AC | Character(30) | VARCHAR2(30) NOT NULL | CITY_AC |
36 | REGION_ID | Character(15) | VARCHAR2(15) NOT NULL |
This field stores the region id value.
Prompt Table: RB_REGION |
37 | TIMEZONE | Character(9) | VARCHAR2(9) NOT NULL |
Time Zone
Prompt Table: PSTIMEZONE |
38 | CM_ID_PHONE | Number(31,0) | DECIMAL(31) NOT NULL |
CM_ID_PHONE
Prompt Table: CM_PHONE |