HOME | SOLUTIONS | INDUSTRIES | SERVICES | ABOUT US | NEWS & EVENTS | SUPPORT CENTER | CONTACT

 
Product Documentation
Dovetail SelfService
Knowledge Base
Support Forums
Employee Blogs
Contact Us

CaseTimeAndExpenses not working as expected (Article # 220)

View products that this article applies to.

Problem:

Using the CaseTimeAndExpenses  object can result in an error, such as:
Input string was not in a correct format.

Example:
Dim CaseCloseSetup As New Support.CloseCaseSetup(caseIDNum)
Dim caseTimeExp As New FChoice.Toolkits.Clarify.Support.CaseTimeAndExpenses

caseTimeExp.TotalPhoneTime = New TimeSpan(2, 30, 0)
CaseCloseSetup.CaseIDNum = caseIDNum
CaseCloseSetup.CaseTimeAndExpenses = caseTimeExp
tlktres = supptlkt.CloseCase(CaseCloseSetup)


Resolution:

It does appear to be a bug in the CaseTimeAndExpenses object.
There is an open CR for this issue.

Fortunately, the workaround is easy, just use the additional fields to set the values you want.
Example:
CaseCloseSetup.AdditionalFields.Append("actl_phone_time", AdditionalFieldType.Long, 3600)

Applies To:

Copyright © 2008 Dovetail Software, Inc. All rights reserved.

 

support center | blogs | terms & conditions | contact