RD_CALLRPT_CUST(SQL View) |
Index Back |
---|---|
Customer's Call ReportsThis view shows Customer Contact's Call Reports. |
SELECT C.SETID , R.BO_ID_2 , R.BO_ID_1 , R.ROLE_TYPE_ID_1 , A.BO_NAME , A.BO_NAME_UPPER , R.REL_TYPE_ID , R.BO_REL_ID , B.SYNCID , R.ROW_LASTMANT_DTTM FROM PS_BO_NAME A , PS_RD_PERSON B , PS_RD_COMPANY C , PS_BO_REL R WHERE R.REL_TYPE_ID IN (9, 10, 46, 47) AND R.START_DT <= %CurrentDateIn AND R.ROLE_TYPE_ID_1 = 8 AND R.BO_ID_1 = B.BO_ID AND R.BO_ID_2 = C.BO_ID AND R.BO_ID_2 = A.BO_ID AND A.PRIMARY_IND = 'Y' AND R.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
3 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
4 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
5 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
6 | BO_NAME_UPPER | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
7 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
8 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |
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 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |