RIM_CMP_ACC_MBR(SQL View) |
Index Back |
---|---|
RIM Accounts as MemberRIM Accounts - This view is used for the Dataset Rule to yield all Accounts where the User is an Account Member. |
SELECT DISTINCT A.BO_ID_CUST , C.PERSON_ID , %subrec(RB_AUDIT_SBR, A) FROM PS_RIM_COMPANY_VW A , PS_BO_REL B , PS_RD_PERSON C , PS_BO_BASIC_ORG D WHERE A.BO_ID_CUST = D.BO_ID AND D.ROLE_TYPE_ID=2 AND A.BO_ID_CUST = B.BO_ID_2 AND B.BO_ID_1 = C.BO_ID AND B.REL_TYPE_ID IN (32, 104) AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
2 | PERSON_ID_ACCT | Character(15) | VARCHAR2(15) NOT NULL | This field stores the Person ID of the account team owner or account team member. |
3 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
4 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
5 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
6 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
7 | 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. |
8 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |