My Oracle Support Banner

BS: FS Holiday API Service / Method:GetElapsedBusinessTime - Time Unit Argument Problem (Doc ID 1571539.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Field Service - Version SIA [21238] to [23021] [Release V8]
Information in this document applies to any platform.


============= SIA [21238]

When using Business Service FS Holiday API Service and method GetElapsedBusinessTime it always send a result in "Hours" even when entering "Seconds" in Time Unit argument.

You can simulate this by creating a service schedule and capture the ROW_ID. Behaviour is the same on versions and

1. Create a service schedule and capture the ROW_ID

2. Enter in the business service simulator as input arguments:
Start Time = 07/17/2013 09:40:01
End Time = 07/17/2013 09:41:30
Schedule Time Zone = (GMT+01:00) Brussels, Copenhagen, Madrid, Paris
Time Unit = Seconds
Calender Id = ROW ID of the service calender you created.
(make sure you're calendar is open on the day in cause (07/17/2013 = Wednesday)).

3. The result is now 0.01 which is a result in hours and with a fault margin.

If the Time Unit = Seconds then the result should be in seconds and not in hours.
The GetElapsedBusinessTime method should either allow Minutes and Seconds as Time Unit values or at least it should return the elapsed time with the corresponding precision down to a second.

Technically the problem is with the GetElapsedBusinessTime function, which is used at customer's site to calculate the time needed by individual people to work on service request activities. The maximum precession of the function is 1/100 of an hour (36 seconds), which is not enough for the usage at customer's site.

The GetElapsedBusinessTime method not allowing Minutes and Seconds as Time Unit values and no option to return the elapsed time with the corresponding precision down to a second.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.