RSFD_CALL_RPT_V(SQL View) |
Index Back |
---|---|
Call report for dashboardListing of call report by person who created the call report. |
SELECT D.PERSON_ID , A.CALL_REPORT_ID , A.DESCR30 , A.CALL_REPORT_DATE , A.CALLRPT_EVENT_TYPE , A.CALLRPT_LOCATION , B.BO_ID_CUST , R.ROLE_TYPE_ID , TFA.TIMEFRAME_PERIOD , TFQ.TIMEFRAME_PERIOD , A.ROW_ADDED_DTTM , A.ROW_LASTMANT_DTTM , UTFA.TIMEFRAME_PERIOD , UTFQ.TIMEFRAME_PERIOD , 'Y' FROM PS_RD_CALL_REPORT A , PS_RD_CALLRPT_CONT B , PSOPRALIAS D , PS_RSFD_REP_VW P , PS_RSFD_TFP_ANN_VW TFA , PS_RSFD_TFP_QTR_VW TFQ , PS_RSFD_TFP_ANN_VW UTFA , PS_RSFD_TFP_QTR_VW UTFQ , PS_BO_ROLE R WHERE A.CALL_REPORT_ID = B.CALL_REPORT_ID AND A.ROW_ADDED_OPRID = D.OPRID AND D.PERSON_ID = P.PERSON_ID AND D.OPRALIASTYPE = 'PER' AND A.CALL_REPORT_DATE BETWEEN TFA.BEGIN_DT AND TFA.END_DT AND A.CALL_REPORT_DATE BETWEEN TFQ.BEGIN_DT AND TFQ.END_DT AND %DatePart(A.ROW_LASTMANT_DTTM) BETWEEN UTFA.BEGIN_DT AND UTFA.END_DT AND %DatePart(A.ROW_LASTMANT_DTTM) BETWEEN UTFQ.BEGIN_DT AND UTFQ.END_DT AND B.BO_ID_CUST = R.BO_ID AND R.ROLE_TYPE_ID IN (2, 9) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | CALL_REPORT_ID | Number(15,0) | DECIMAL(15) NOT NULL | Unique Identifier for Call Reports. |
3 | DESCR30 | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | CALL_REPORT_DATE | Date(10) | DATE | Date |
5 | CALLRPT_EVENT_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Call Report Event Type. Translate values: Meeting, Phone or Other.
MTG=Face to Face Meeting OTHE=Other PHON=Telephone |
6 | CALLRPT_LOCATION | Character(30) | VARCHAR2(30) NOT NULL | Location of the meeting being documented in the Call Report. |
7 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
8 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
9 | ACT_TF_ANNUAL | Character(32) | VARCHAR2(32) NOT NULL | Timeframe period used in dashboard for estimated close date range |
10 | ACT_TF_QTR | Character(32) | VARCHAR2(32) NOT NULL | Timeframe period used in dashboard for estimated close date range |
11 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
12 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
13 | RSD_UPD_TF_ANN | Character(32) | VARCHAR2(32) NOT NULL | Timeframe period used in dashboard for the annual period enclosing date when the record was updated. |
14 | RSD_UPD_TF_QTR | Character(32) | VARCHAR2(32) NOT NULL | Timeframe period used in dashboard for the quarterly period enclosing date when the record was updated. |
15 | INCL_IN_PLAN | Character(1) | VARCHAR2(1) NOT NULL | Include in Planning |