RSP_ACCTTEAM_VW(SQL View) |
Index Back |
---|---|
View for account team.View used by account list to join with account team. |
SELECT A.BO_ID_2 , BO.BO_NAME , 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 BO WHERE A.BO_ID_1 = BO.BO_ID AND A.REL_TYPE_ID IN (31, 32, 101, 102, 103, 104, 105, 106) AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn |
# | 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 | Character(50) | VARCHAR2(50) NOT NULL | Name Description of 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 |