RD_CUST_ADDR_VW(SQL View) |
Index Back |
---|---|
RD_CUST_ADDR_VWThis view RD_CUST_ADDR_VW is used to search customer/ contact by Address, City, State,Country,Postal code in the CDM components ( Company configurable search pages ) |
SELECT A.BO_ID , A.ROLE_TYPE_ID , E.ADDRESS1 , E.ADDRESS1_AC , E.ADDRESS2 , E.ADDRESS2_AC , E.ADDRESS3 , E.ADDRESS3_AC , E.ADDRESS4 , E.ADDRESS4_AC , E.CITY , E.CITY_AC , E.COUNTRY , E.STATE , E.POSTAL , %subrec(RB_AUDIT_SBR, B) FROM PS_BO_ROLE A , PS_RD_COMPANY B , PS_BO_SRCH_ADD E WHERE A.BO_ID = B.BO_ID AND E.BO_CM_USE_TYPE = 'R' AND E.PRIMARY_IND = 'Y' AND E.BO_ID = A.BO_ID AND E.ROLE_TYPE_ID = A.ROLE_TYPE_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
2 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
3 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
4 | ADDRESS1_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS1_AC |
5 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
6 | ADDRESS2_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS2_AC |
7 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
8 | ADDRESS3_AC | Character(55) | VARCHAR2(55) NOT NULL | ADDRESS3_AC |
9 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
10 | ADDRESS4_AC | Character(55) | VARCHAR2(55) NOT NULL | Alternate Character Address 4. |
11 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
12 | CITY_AC | Character(30) | VARCHAR2(30) NOT NULL | CITY_AC |
13 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
14 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
15 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
16 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
17 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
18 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
19 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
20 | 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. |
21 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |