Show / Hide Table of Contents

GetCaseTimeAndExpenses(GetCaseTimeAndExpensesSetup,IDbTransaction) Method

Setup object for API invocation.

Database transaction under which the API will be invoked.

Captures all the summed times (such as phone log time, billable and non-billable expense, etc) for a Case about to be closed. This overload takes a setup object and a database transaction.

Syntax

'Declaration

Public Overloads Function GetCaseTimeAndExpenses( _
   ByVal _setupParam_ As GetCaseTimeAndExpensesSetup, _
   ByVal _transaction_ As IDbTransaction _
) As GetCaseTimeAndExpensesResult
public GetCaseTimeAndExpensesResult GetCaseTimeAndExpenses( 
   GetCaseTimeAndExpensesSetup _setupParam_,
   IDbTransaction _transaction_
)

Parameters

setupParam

Setup object for API invocation.

transaction

Database transaction under which the API will be invoked.

Return Value

A GetCaseTimeAndExpensesResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.

Remarks

There are a number of bugs with the default Clarify close Case summation on the form. There are not sufficient fields defined in the close_case record for the graphical fields they show. Hence, the data doesn't always make sense. For example, the total phone time captured should be the total of the phone time captured for the Case and for all general subcases. But the GUI form points that field to the total for the phone logs captured for the Case (not showing the Subcase). Hence, this API defines the data as captured from the real data.

Example

Developer Walkthrough - Transaction Support

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

SupportToolkit Class
SupportToolkit Members
Overload List

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.