BO_CUSTCM_ADDR

(SQL View)
Index Back

Current Adr key Profile_cm_seq

Current address keyed by PROFILE_CM_SEQ only

SELECT A.PROFILE_CM_SEQ ,A.BO_ID ,A.CM_TYPE_ID ,A.BO_CM_START_DT , A.BO_CM_END_DT ,A.CM_NICKNAME ,A.CM_PURPOSE_TYPE_ID ,A.CM_ID ,A.PHYSICAL_LOCATION , %subrec(CM_ADDRESS_SBR, B) FROM %Table(BO_CM) A , %Table(CM) B WHERE A.CM_ID = B.CM_ID AND B.CM_TYPE_ID = 1 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 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.
2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID

Prompt Table: BO

3 CM_TYPE_ID Number(6,0) INTEGER NOT NULL Contact Method Type ID

Prompt Table: CM_TYPE

4 BO_CM_START_DT Date(10) DATE The date that a Contact Method of a Business Object takes effect.
5 BO_CM_END_DT Date(10) DATE End date of a Contact Method of a Business Object
6 CM_NICKNAME Character(30) VARCHAR2(30) NOT NULL Nickname of a Contact Method
7 CM_PURPOSE_TYPE_ID Number(6,0) INTEGER NOT NULL Relationship Contact Method Purpose ID

Prompt Table: CM_PURP_TYPE

8 CM_ID Number(31,0) DECIMAL(31) NOT NULL Contact Method ID

Prompt Table: CM

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

Prompt Table: COUNTRY_TBL

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

Prompt Table: %EDIT_STATE

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

Y/N Table Edit

Default Value: Y

27 CROSS_STREET_1 Character(50) VARCHAR2(50) NOT NULL Cross Street of a location
28 CROSS_STREET_2 Character(50) VARCHAR2(50) NOT NULL Cross Street of a location
29 ADDRESS_SUB_TYPE Character(4) VARCHAR2(4) NOT NULL Address Sub Type Field
ADDR=Address
INT=Intersection

Default Value: ADDR

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

Prompt Table: RD_REGION_VW

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

Prompt Table: PSTIMEZONE

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

Prompt Table: CM_PHONE

38 TAX_CD Character(8) VARCHAR2(8) NOT NULL Tax Code