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 184.108.40.206 SIA  to 220.127.116.11  [Release V8]
Information in this document applies to any platform.
18.104.22.168 SIA 
STATEMENT OF ISSUE:
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 22.214.171.124 and 126.96.36.199.
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!