RSEC_DQ_CADD_VW(SQL View) |
Index Back |
---|---|
Deep Query for CustomerThis view is used for deep query all Customer (Company and Consumer) addresses |
SELECT A.SYNCID , A.BO_ID , C.PROFILE_CM_SEQ , C.CM_ID , C.ADDRESS1 , C.ADDRESS1_AC , C.CITY , C.CITY_AC , C.STATE , C.POSTAL , C.COUNTRY , C.REGION_ID FROM PS_BO A , PS_BO_ROLE B , PS_BO_CM_VW C WHERE A.BO_ID = B.BO_ID AND A.BO_ID = C.BO_ID AND C.BO_CM_START_DT <= %CurrentDateIn AND C.BO_CM_END_DT > %CurrentDateIn AND C.CM_TYPE_ID = 1 AND B.ROLE_TYPE_ID IN (2, 9) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | 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. |
2 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
3 | 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. |
4 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
5 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
6 | ADDRESS1_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS1_AC |
7 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
8 | CITY_AC | Character(30) | VARCHAR2(30) NOT NULL | CITY_AC |
9 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
10 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
11 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
12 | REGION_ID | Character(15) | VARCHAR2(15) NOT NULL |
This field stores the region id value.
Prompt Table: RD_REGION_VW |