RD_ACCTMCONT_VW(SQL View) |
Index Back |
---|---|
View for account contactView used by account list to join with account main contact |
SELECT A.BO_ID_2 , BO.BO_NAME_DISPLAY , A.REL_TYPE_ID , A.BO_ID_1 , A.ROLE_TYPE_ID_1 , A.ROLE_TYPE_ID_2 , A.START_DT , A.END_DT , A.BO_REL_ID FROM PS_BO_REL A , PS_BO_NAME BO WHERE A.BO_ID_1 = BO.BO_ID AND BO.PRIMARY_IND = 'Y' AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn AND A.REL_TYPE_ID IN ( SELECT REL_TYPE_ID FROM PS_BO_REL_CAT_ITEM WHERE BO_REL_CATEGORY_ID =2) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_2 | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID 2 |
2 | BO_NAME_DISPLAY | Character(80) | VARCHAR2(80) NOT NULL | Full name of the Business Object |
3 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
4 | BO_ID_1 | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID 1 |
5 | ROLE_TYPE_ID_1 | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
6 | ROLE_TYPE_ID_2 | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
7 | START_DT | Date(10) | DATE | Start date field to store start date value. |
8 | END_DT | Date(10) | DATE | This field stores the end date values. |
9 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |