RIM_CMP_LE_ADD

(SQL View)
Index Back

RIM Companies in Leads

RIM Companies in Leads - This view is used for the Dataset Rule to yield all Companies named in Leads the User is entitled to.

SELECT DISTINCT LE.BO_ID_CUST , LE.PERSON_ID , MB.PERSON_ID , MG.PERSON_ID_MANAGER , LE.ROW_ADDED_DTTM , LE.ROW_ADDED_OPRID , LE.ROW_LASTMANT_DTTM , LE.ROW_LASTMANT_OPRID , CO.SYNCID , CO.SYNCDTTM FROM PS_RSF_LEAD LE , PS_RIM_COMPANY_VW CO , PS_RSF_LE_SLSREP MB , PS_RSF_ACC_SUSER MG WHERE LE.BO_ID_CUST = CO.BO_ID_CUST AND LE.LEAD_ID = MB.LEAD_ID AND LE.ROLE_TYPE_ID_CUST <> 9 AND LE.PERSON_ID = MG.PERSON_ID

# 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_OWNER Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
3 PERSON_ID_MBR Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
4 PERSON_ID_MANAGER Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
5 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
6 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
7 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
8 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
9 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.
10 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time