CM_CDH_VW

(SQL View)
Index Back

Contact Method

This is the record for the Contact Method CDH table.

SELECT A.CM_ID ,A.CM_TYPE_ID ,A.DESCR ,A.DESCRSHORT ,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 ,%Substring(A.STATE_CDH,1,2) ,A.POSTAL ,A.GEO_CODE ,A.IN_CITY_LIMIT ,A.PROVINCE_CDH ,A.CROSS_STREET_1 ,A.CROSS_STREET_2 ,A.ADDRESS_SUB_TYPE ,A.ADDRESS1_AC ,A.ADDRESS2_AC ,A.ADDRESS3_AC ,A.ADDRESS4_AC ,A.CITY_AC ,A.REGION_ID ,A.TIMEZONE ,A.CM_ID_PHONE ,A.TAX_CD ,%subrec(CM_PHON_PGR_SBR,A) ,A.ALT_PHONE ,%subrec(CM_EMAIL_SBR,A) ,%subrec(GEO_CODE_SBR,A) ,A.CM_CONCAT ,A.CM_CONCAT_UPPER ,A.SOURCE_IND ,%subrec(RB_AUDIT_SBR,A) FROM PS_CM_CDH A WHERE NOT EXISTS ( SELECT 'X' FROM PS_CM B WHERE A.CM_ID = B.CM_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CM_ID Number(31,0) DECIMAL(31) NOT NULL Contact Method ID
2 CM_TYPE_ID Number(6,0) INTEGER NOT NULL Contact Method Type ID

Prompt Table: CM_TYPE

3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
4 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description

Default Value: CM.DESCR

5 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

6 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
7 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
8 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
9 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
10 CITY Character(30) VARCHAR2(30) NOT NULL City
11 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
12 NUM2 Character(4) VARCHAR2(4) NOT NULL Number 2
13 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat Reference
WW=House Trailer Reference
14 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
15 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
16 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
17 COUNTY Character(30) VARCHAR2(30) NOT NULL County
18 STATE_CDH Character(60) VARCHAR2(60) NOT NULL State
19 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
20 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
21 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

Default Value: Y

22 PROVINCE_CDH Character(60) VARCHAR2(60) NOT NULL PROVINCE field is used in the Contract Transaction Message
23 CROSS_STREET_1 Character(50) VARCHAR2(50) NOT NULL Cross Street of a location
24 CROSS_STREET_2 Character(50) VARCHAR2(50) NOT NULL Cross Street of a location
25 ADDRESS_SUB_TYPE Character(4) VARCHAR2(4) NOT NULL Address Sub Type Field
ADDR=Address
INT=Intersection

Default Value: ADDR

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

Prompt Table: RD_REGION_VW

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

Prompt Table: PSTIMEZONE

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

Prompt Table: CM_PHONE

34 TAX_CD Character(8) VARCHAR2(8) NOT NULL Tax Code
35 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL This field stores the Country Code values.
36 PHONE Character(24) VARCHAR2(24) NOT NULL This field stores the Telephone number.
37 EXTENSION Character(6) VARCHAR2(6) NOT NULL This field stores the Phone extension.
38 PASSWORD Character(254) VARCHAR2(254) NOT NULL Password
39 ALT_PHONE Character(24) VARCHAR2(24) NOT NULL Alternate phone number for one-time use. Not part of customer data model.
40 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email address to store the address of email.
41 EMAIL_DOMAIN Character(50) VARCHAR2(50) NOT NULL Email Domain
42 HTML_FLAG Character(1) VARCHAR2(1) NOT NULL Field to determine if an Email Address can receive HTML Based Email.
N=No
Y=Yes
43 LATITUDE Signed Number(32,20) DECIMAL(30,20) NOT NULL LATITUDE
44 LONGITUDE Signed Number(32,20) DECIMAL(30,20) NOT NULL LONGITUDE
45 RD_ADDR_INTERSECT Character(1) VARCHAR2(1) NOT NULL This field is used to determine if the associated address is at an intersection or not.
N=No
Y=Yes

Y/N Table Edit

Default Value: N

46 CM_CONCAT Character(100) VARCHAR2(100) NOT NULL Concatenated Contact Method
47 CM_CONCAT_UPPER Character(100) VARCHAR2(100) NOT NULL Uppper Concatenated Contact Method
48 SOURCE_IND Character(4) VARCHAR2(4) NOT NULL EIP Source Indicator
CRM=CRM
EBS=EBIZ Suite
EXT=External
HRMS=HCM
SCM=SCM
49 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
50 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
51 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
52 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
53 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
54 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time