RD_DQ_A_ADD_VW1

(SQL View)
Index Back

AltCap address in srch results

This view is used in Alternate Capacity search result grid. It picks the address in the first address book entry.

SELECT A.BO_ID , A.PROFILE_CM_SEQ , A.CM_ID , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.ADDRESS1_AC , A.CITY , A.COUNTY , A.CITY_AC , A.STATE , A.POSTAL , A.COUNTRY , A.GEO_CODE FROM PS_RD_DQ_A_ADD_VW A , PS_BO_ABE_DTL B WHERE A.BO_ID = B.BO_ID AND A.PROFILE_CM_SEQ = B.PROFILE_CM_SEQ AND B.ABE_SEQ = 1

# 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 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.
3 CM_ID Number(31,0) DECIMAL(31) NOT NULL Contact Method ID
4 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
5 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
6 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
7 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
8 ADDRESS1_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS1_AC
9 CITY Character(30) VARCHAR2(30) NOT NULL City
10 COUNTY Character(30) VARCHAR2(30) NOT NULL County
11 CITY_AC Character(30) VARCHAR2(30) NOT NULL CITY_AC
12 STATE Character(6) VARCHAR2(6) NOT NULL State
13 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
14 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
15 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code