RD_ACCT_TM_VW(SQL View) |
Index Back |
---|---|
Account Team ViewView used with CDM components to display account team. |
SELECT REL.REL_TYPE_ID , REL.BO_ID_1 , REL.ROLE_TYPE_ID_1 , REL.BO_ID_2 , REL.ROLE_TYPE_ID_2 , REL.BO_REL_ID , REL.START_DT , REL.END_DT , B.ACCT_OWNER , %subrec(RB_AUDIT_SBR, REL) FROM %Table(BO_REL) REL , %Table(RD_ACCT_REL_VW) B WHERE REL.REL_TYPE_ID = B.REL_TYPE_ID AND EXISTS ( SELECT 'X' FROM %Table(BO_REL_CAT_ITEM) CAT WHERE BO_REL_CATEGORY_ID IN (19, 20) AND REL.REL_TYPE_ID = CAT.REL_TYPE_ID) AND REL.START_DT <= %CurrentDateIn AND REL.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
2 | BO_ID_1 | Signed Number(32,0) | DECIMAL(31) NOT NULL |
Business Object ID 1
Prompt Table: RB_PRSN_BO_VW |
3 | ROLE_TYPE_ID_1 | Number(12,0) | DECIMAL(12) NOT NULL |
Role Type ID
Default Value: 17 Prompt Table: RB_VALID_ROLTYP |
4 | BO_ID_2 | Signed Number(32,0) | DECIMAL(31) NOT NULL |
Business Object ID 2
Prompt Table: BO |
5 | ROLE_TYPE_ID_2 | Number(12,0) | DECIMAL(12) NOT NULL |
Role Type ID
Prompt Table: RB_VALID_ROLTYP |
6 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |
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 | ACCT_OWNER | Character(1) | VARCHAR2(1) NOT NULL |
Account Team Owners....................
N=No Y=Yes |
10 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
11 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
12 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
13 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
14 | 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. |
15 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |