RA_DS_TEAM_VW(SQL View) |
Index Back |
---|---|
Program Team ViewProgram team view used by dataset security |
SELECT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , B.BO_ID_PERSON , B.BO_ROLE_TYPE_ID , C.PERSON_ID , %subrec(RB_AUDIT_SBR, A) FROM PS_RA_PROGRAM_TBL A , PS_RA_CMP_TEAM B , PS_RD_PERSON C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RA_CAMPAIGN_ID = B.RA_CAMPAIGN_ID AND B.BO_ID_PERSON = C.BO_ID UNION SELECT AA.BUSINESS_UNIT , AA.RA_CAMPAIGN_ID , BB.BO_ID_PERSON , BB.BO_ROLE_TYPE_ID , CC.PERSON_ID , %subrec(RB_AUDIT_SBR, AA) FROM PS_RA_PROGRAM_TBL AA , PS_RAE_EVTTEAM BB , PS_RD_PERSON CC WHERE AA.BUSINESS_UNIT = BB.BUSINESS_UNIT AND AA.RA_CAMPAIGN_ID = BB.RAE_EVENT_ID AND BB.BO_ID_PERSON = CC.BO_ID UNION SELECT AAA.BUSINESS_UNIT , AAA.RA_CAMPAIGN_ID , BBB.BO_ID_PERSON , 0 , CCC.PERSON_ID , %subrec(RB_AUDIT_SBR, AAA) FROM PS_RA_PROGRAM_TBL AAA , PS_RY_DLG_TEAM BBB , PS_RD_PERSON CCC WHERE AAA.BUSINESS_UNIT = BBB.BUSINESS_UNIT AND AAA.DIALOG_ID = BBB.DIALOG_ID AND BBB.BO_ID_PERSON = CCC.BO_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | RA_CAMPAIGN_ID | Character(15) | VARCHAR2(15) NOT NULL | Marketing - Campaign Identification field. Character field that will contain a generated campaign or free form entered campaign id. |
3 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
4 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
5 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
6 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
7 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
8 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
9 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
10 | 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. |
11 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |