RT_PRSNCM_ADDR

(SQL View)
Index Back

Person Address

Telemarketing person name and address view

SELECT A.PERSON_ID , B.CM_TYPE_ID , B.CM_USE_START_DT , B.CM_ID , B.PROFILE_CM_SEQ , B.CM_USE_END_DT , B.PRIMARY_IND , B.CM_NICKNAME , B.CM_PURPOSE_TYPE_ID , B.PHYSICAL_LOCATION , B.COUNTRY , B.ADDRESS1 , B.ADDRESS2 , B.ADDRESS3 , B.ADDRESS4 , B.CITY , B.NUM1 , B.NUM2 , B.HOUSE_TYPE , B.ADDR_FIELD1 , B.ADDR_FIELD2 , B.ADDR_FIELD3 , B.COUNTY , B.STATE , B.POSTAL , B.GEO_CODE , B.IN_CITY_LIMIT , B.ADDRESS1_AC , B.ADDRESS2_AC , B.ADDRESS3_AC , B.ADDRESS4_AC , B.CITY_AC , B.REGION_ID , B.TIMEZONE , B.CM_ID_PHONE FROM PS_RD_PERSON A , PS_BO_ROLECM_ADDR B WHERE A.BO_ID = B.BO_ID AND B.ROLE_TYPE_ID = 1 AND B.PRIMARY_IND = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
2 CM_TYPE_ID Number(6,0) INTEGER NOT NULL Contact Method Type ID
3 CM_USE_START_DT Date(10) DATE Contact Method Use Start Date
4 CM_ID Number(31,0) DECIMAL(31) NOT NULL Contact Method ID
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 CM_USE_END_DT Date(10) DATE End date of a Contact Method Use
7 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
N=No
Y=Yes
8 CM_NICKNAME Character(30) VARCHAR2(30) NOT NULL Nickname of a Contact Method
9 CM_PURPOSE_TYPE_ID Number(6,0) INTEGER NOT NULL Relationship Contact Method Purpose ID

Prompt Table: CM_PURP_TYPE

10 PHYSICAL_LOCATION Character(30) VARCHAR2(30) NOT NULL Physical Location (Free-Form)
11 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

12 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
13 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
14 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
15 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
16 CITY Character(30) VARCHAR2(30) NOT NULL City
17 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
18 NUM2 Character(4) VARCHAR2(4) NOT NULL Number 2
19 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat Reference
WW=House Trailer Reference
20 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
21 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
22 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
23 COUNTY Character(30) VARCHAR2(30) NOT NULL County
24 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: %EDIT_STATE

25 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
26 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
27 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

Default Value: Y

28 ADDRESS1_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS1_AC
29 ADDRESS2_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS2_AC
30 ADDRESS3_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS3_AC
31 ADDRESS4_AC Character(55) VARCHAR2(55) NOT NULL Alternate Character Address 4.
32 CITY_AC Character(30) VARCHAR2(30) NOT NULL CITY_AC
33 REGION_ID Character(15) VARCHAR2(15) NOT NULL This field stores the region id value.

Prompt Table: RB_REGION

34 TIMEZONE Character(9) VARCHAR2(9) NOT NULL Time Zone

Prompt Table: PSTIMEZONE

35 CM_ID_PHONE Number(31,0) DECIMAL(31) NOT NULL CM_ID_PHONE

Prompt Table: CM_PHONE