Siebel Reports Administration Guide > Smart Reports > Designing a Smart Report >

About the Account Service Detail Smart Report


The report summarizes the service-related information pertaining to the account. It contains information about currently open service requests, customer satisfaction, and the historical service request resolution for the account.

In this repot, the specialized graphical components and the related sections (including the data collection section) in Account Service Detail report are described. Except for specialized graphical elements and the related data collection sections, the contents of all Smart Reports are very similar and therefore are not described in remaining reports.

About the Order Of Merit Graphic in a Smart Report

The Order Of Merit graphic is determined in the Finish method of the ssOrderOfMeritHeader1 frame according to the following logic. Add values according to Table 13.

Table 13. Thermometer Variables for Order of Merit Graphic
Thermometer Variable
Value If Above Target (Trigger)

Customer Satisfaction

3

Open Service Request

2

Revenue

1

If the result is greater than 4, then the arrow direction is up. If the result is 3 or 4, then the arrow direction is facing right (push). Otherwise, the arrow direction is down.

About Data Collection and Calculation in the Account Service Detail Smart Report

Service requests for an Account are collected and stored in memory lists in the rptAllServiceRequests report section. Open Service Requests are stored in a separate list for use in the ensuing detail sections. Closure times for closed service requests are divided up into an array of lists that will be used in the rptClosureTimesBySeverity section to feed the line graphs, traffic lights, and calculated summary data.

As the arrays are populated, totals and counts are maintained to facilitate calculation of averages and standard deviations. High and low closure times are also stored for each severity, as determined by the Status field of the Service Request data row.

About the Dashboard Function in the Account Service Detail Smart Report

The thermometers in this dashboard function are like other Smart Report thermometers. They are, however, different in that they reside as frames within a single frame instead of in separate flows belonging to a subpage in a parallel section. The Start method of each thermometer sets the data, trigger, maximum, and minimum variables from report-level variables calculated or collected earlier in the report.

About Revenue Thermometer in the Account Service Detail Smart Report

Table 14 reflects the variables for use with the Revenue Thermometer.

Table 14. Variables for the Revenue Thermometer
Thermometer
Report-Level Variable
Calculation Point
Comment

MaximumValue

revenueHigh

dsRevenueLOV

Collected once for each report.

MinimumValue

revenueLow

dsRevenueLOV

Collected once for each report.

TriggerDataValue

revenueAverage

dsRevenueLOV

Collected once for each report.

DataValue

totalRevenue

sifAllOpportunities

The sum of the revenues for all opportunities associated with this account.

About the Open Service Request Thermometer in the Account Service Detail Smart Report

Table 15 reflects the variables for use with the Open Service Request Thermometer.

Table 15. Variables for the Open Service Request Thermometer
Thermometer Variable
Report-Level Variable
Calculation Point
Comment

MaximumValue

NA

Local

TriggerDataValue * 1.5.

MinimumValue

NA

Local

Fixed at zero.

TriggerDataValue

avgOpenSRs

dsTargetOpenSRsLOV

Collected once for each report.

DataValue

countOpenSRs

sifAllServiceRequests

The count of open service requests for this account.

About the Customer Satisfaction Thermometer in the Account Service Detail Smart Report

Table 16 reflects the variables for use with the Customer Satisfaction Thermometer.

Table 16. Variables for the Customer Satisfaction Thermometer
Thermometer
Variable
Report-Level
Variable
Calculation Point
Comment

MaximumValue

CustomersatisfactionHigh

ssList_Of_ValuesQuery1

Collected once for each report.

MinimumVales

CustomerSatisfactionLow

ssList_Of_ValuesQuery1

Collected once for each report.

TriggerDataValue

CustomerSatisfactionTarget

ssList_Of_ValuesQuery1

Collected once for each report.

DataValue

TotalSatisfactionScore,
countSurveys

local

The ratio of the total satisfaction score to the number of surveys.

About the rptAllServiceRequestsMethod in the Account Service Detail Smart Report

The method overrides of the sifAllServiceRequests (single input filter class) perform list storage, array storage, and calculations. Table 17 shows the methods that can be overridden for sifAllServiceRequests.

Table 17. Methods Overrides for sifAllServiceRequests
Method
Scope
Comment

Fetch

sisAllServiceRequests

Stores a list of data rows for open service requests. Calculates the closure time for closed service requests and stores them in an array of lists, one list for each severity. Accumulates total closure time and a count for each severity. Tracks high and low closure time for each severity and stores them in arrays.

Finish

sifAllServiceRequests

Calculates average closure time and standard deviation for each severity and stores the values in arrays.

About the Closure Time Summary Data Display Section in the Account Service Detail Smart Report

The following section describes the Closure Time Summary Data display.

About the rptClosureTimesAllSeverities Section in the Account Service Detail Smart Report

This is an outer report section that produces one blank data row for each Service Request Severity. This makes possible the reuse of rptClosureTimesBySeverity report section for a variable number of severities. Table 18 shows the relevant variables for rptClosureTimesAllSeverities.

Table 18. Relevant Variables for rptClosureTimesAllSeverities
Variable Name
Scope
Type
Storage
Visibility
Comment

MaxSeverity

AccountServiceDetail

Integer

Static

Public

Total number of possible service request severities.

currentSeverity

AccountServiceDetail

Integer

Static

Public

Used by the inner report section.

The Fetch method overrides to result in subreport executing once for each severity. Table 19 shows the scope for this method.

Table 19. Fetch Method Override
Method
Scope
Comment

Fetch

dsOneBlankRowPerSeverity

Produces one blank row for each service request severity.

About the rptClosureTimesBySeverity Section in the Account Service Detail Smart Report

This is an inner report section that produces identically formatted closure time summary information for each service request severity. Service request data was collected earlier and stored in an array of lists. The data list used for an instance of this report section is specified by the currentSeverity variable. The components in this report section are described below.

dsGatherOneList. The code in dsGatherOneList class sorts the list by resolution time so that the medium closure time can be determined. The rows are then pulled from the list in correct sort order and passed to sifClosureTimes class. Table 20 explains how the Start and Fetch methods affects each class.

Table 20. Methods for dsGatherOneList
Method
Scope
Comment

Start

dsGatherOneList

Sorts the list of service requests by resolution time.

Fetch

dsGatherOneList

Pulls the service request data rows from the list in proper sort order.

Start

sifClosureTimes

Establishes graph horizontal boundaries as plus or minus 2 standard deviations from the mean. Establishes the median position in the data list.

Fetch

sifClosureTimes

Produces a data row for each of a predetermined number of buckets that correspond to a time increment. The time increments are represented by the x-axis of the graph. The count of service requests with closure times falling within the time increment is represented on the y-axis.

Before frame. Code in the Before frame produces and positions the graph target closure time marker. Table 21 reflects the method that needs changing to produce the closure time marker.

Table 21. Method to Produce the Closure Time Marker
Method
Scope
Comment

Finish

ssFrmP1

Dynamically produces the visual line element representing the closure time goal.

Summary data values. Summary data values are calculated in code. Table 22 reflects the method to use to calculate the summary data values.

Table 22. Methods for Calculating Summary Data Values
Method
Scope
Comment

Finish

txtSeverityLabel

From currentSeverity variable.

Finish

txtGoal

From targetResolutionTime array.

Finish

txtMedian

From medianResolutionTime array.

Finish

txtHigh

From highResolutionTime array.

Finish

txtLow

From lowResolutionTime array.

Finish

txtMean

From meanResolutionTime array.

Finish

tstStdDeviation

FromstdDevResolution Time array.

Finish

txtTotal

From countClosedSRs array.

Traffic lights. Traffic lights are resized, repositioned, and colored in code. Table 23 shows how code is used in methods to change Traffic lights.

Table 23. Methods Used for Traffic Lights
Method
Scope
Comment

Finish

dotTop

Green light. Mean closure time is faster than the target.

Finish

dotMiddle

Yellow light. Mean closure time is slower than the target, but not by more than one standard deviation.

FInish

dotBottom

Red light. Mean closure tine is slower than target by more than one standard deviation.

Closure time. Closure time graph y-axis labels are customized in code. Table 24 shows the method to use to produce better performance for the Closure Time class.

Table 24. Method Used for Closure Time
Method
Scope
Comment

CustomYLabels

ssSummaryGraph1

Produces improved graph performance over a wide range of sample sizes.

sifClosureTimes. Code in the sifClosureTimes class initializes the graph boundaries, establishes the sorted list position of the median closure time and counts service requests for each time increment, or bucket. One data row represents each bucket on the graph. Table 25 shows the variables for use with this class.

Table 25. Variables for Use With sifClosureTimes Class
Variable Name
Scope
Type
Storage
Visibility
Comment

graphMax

sifClosureTimes

Double

Static

Public

Closure time for right edge of graph.

graphMin

sifClosureTimes

Double

Static

Public

Closure time for left edge of graph.

meanResolutionTime()

AccountServiceDetail

Double

Static

Public

Array populated in sifAllServiceRequests.

stdDevResolutionTime()

AccountServiceDetail

Double

Static

Public

Array populated in sifAllServiceRequests.

targetResolutionTime()

AccountServiceDetail

Double

Static

Public

Set from LOV for each severity.

NOTE:  If modified, these LOVs must be maintained in the format dd:hh:mm.

targResTimeUnits()

AccountServiceDetail

Double

Static

Public

Used to scale summary data to hours, days, or weeks.

targResTimeGraphPercent

AccountServiceDetail

Double

Static

Public

Scales position of target indicator.

currentSeverity

AccountServiceDetail

Integer

Static

Public

Set by outer report section. Used as an index into all arrays sized to MaxSeverities.

maxBuckets

sifClosureTimes

Integer

Static

Public

Determines horizontal resolution of graphs.

bucketIncrement

sifClosureTimes

Double

Static

Public

Width in minutes of closure time bucket.

ResolutionTimeList()

sifLCsureTimes

AcList

Static

Public

Array of data lists populated in sifAllServiceRequests.

countClosedSRs()

AccountServiceDetail

Integer

Static

Public

Array populated in sifAllServiceRequests.

Siebel Reports Administration Guide Copyright © 2009, Oracle and/or its affiliates. All rights reserved. Legal Notices.