RBF_ALCP_CNT_VW(SQL View) |
Index Back |
---|---|
The Contact Customer viewThis view returns all the customers the person belongs to. |
SELECT A.ALT_CAP_ID , C.PERSON_ID , A.BO_ID , C.BO_ID , B.START_DT , B.ROLE_TYPE_ID_1 , B.ROLE_TYPE_ID_2 , B.REL_TYPE_ID FROM PS_RBF_ALT_CAP A , PS_BO_REL B , PS_RD_PERSON C WHERE A.BO_ID = B.BO_ID_2 AND B.BO_ID_1 = C.BO_ID AND B.ROLE_TYPE_ID_1 = 8 AND B.ROLE_TYPE_ID_2 = 31 AND B.REL_TYPE_ID IN (508, 509) AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ALT_CAP_ID | Character(15) | VARCHAR2(15) NOT NULL | Alternate Capacity ID |
2 | PERSON_ID_CONT | Character(15) | VARCHAR2(15) NOT NULL |
Person ID
Prompt Table: RD_PERSON_NM_VW |
3 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
4 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
5 | START_DT | Date(10) | DATE | Start date field to store start date value. |
6 | ROLE_TYPE_ID_1 | Number(12,0) | DECIMAL(12) NOT NULL |
Role Type ID
Default Value: 8 |
7 | ROLE_TYPE_ID_2 | Number(12,0) | DECIMAL(12) NOT NULL |
Role Type ID
Default Value: 31 |
8 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |