BO_REP_CADDR_VW(SQL View) |
Index Back |
---|---|
Contact AddressThis is the record for the Contact Address view. |
SELECT DISTINCT A.BO_ID , A.ROLE_TYPE_ID , A.BO_ID_CONTACT , A.ROLE_TYPE_ID_CNTCT , A.PROFILE_CM_SEQ , A.BO_REL_ID , A.CM_TYPE_ID , A.CM_ID , A.PRIMARY_IND , A.CM_NICKNAME , A.CM_PURPOSE_TYPE_ID , A.PHYSICAL_LOCATION , %subrec(CM_ADDRESS_SBR, B) FROM PS_BO_CNTCT_CM_VW A , PS_CM B WHERE A.CM_ID = B.CM_ID AND B.CM_TYPE_ID = 1 AND A.CM_USE_START_DT <= %CurrentDateIn AND A.CM_USE_END_DT > %CurrentDateIn AND A.BO_CM_START_DT <= %CurrentDateIn AND A.BO_CM_END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
2 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type 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 | 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. |
6 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |
7 | CM_TYPE_ID | Number(6,0) | INTEGER NOT NULL | Contact Method Type ID |
8 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
9 | PRIMARY_IND | Character(1) | VARCHAR2(1) NOT NULL |
Flag that indicates whether or not it is Primary
N=No Y=Yes |
10 | CM_NICKNAME | Character(30) | VARCHAR2(30) NOT NULL | Nickname of a Contact Method |
11 | CM_PURPOSE_TYPE_ID | Number(6,0) | INTEGER NOT NULL |
Relationship Contact Method Purpose ID
Prompt Table: CM_PURP_TYPE |
12 | PHYSICAL_LOCATION | Character(30) | VARCHAR2(30) NOT NULL | Physical Location (Free-Form) |
13 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
14 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
15 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
16 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
17 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
18 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
19 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
20 | NUM2 | Character(4) | VARCHAR2(4) NOT NULL | Number 2 |
21 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat Reference WW=House Trailer Reference |
22 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
23 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
24 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
25 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
26 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
27 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
28 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
29 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit Default Value: Y |
30 | CROSS_STREET_1 | Character(50) | VARCHAR2(50) NOT NULL | Cross Street of a location |
31 | CROSS_STREET_2 | Character(50) | VARCHAR2(50) NOT NULL | Cross Street of a location |
32 | ADDRESS_SUB_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Address Sub Type Field
ADDR=Address INT=Intersection Default Value: ADDR |
33 | ADDRESS1_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS1_AC |
34 | ADDRESS3_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS3_AC |
35 | ADDRESS2_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS2_AC |
36 | ADDRESS4_AC | Character(55) | VARCHAR2(55) NOT NULL | Alternate Character Address 4. |
37 | CITY_AC | Character(30) | VARCHAR2(30) NOT NULL | CITY_AC |
38 | REGION_ID | Character(15) | VARCHAR2(15) NOT NULL |
This field stores the region id value.
Prompt Table: RD_REGION_VW |
39 | TIMEZONE | Character(9) | VARCHAR2(9) NOT NULL |
Time Zone
Prompt Table: PSTIMEZONE |
40 | CM_ID_PHONE | Number(31,0) | DECIMAL(31) NOT NULL |
CM_ID_PHONE
Prompt Table: CM_PHONE |
41 | TAX_CD | Character(8) | VARCHAR2(8) NOT NULL | Tax Code |