BS: FS Holiday API Service / Method:GetElapsedBusinessTime - Time Unit Argument Problem
(Doc ID 1571539.1)
Last updated on MARCH 02, 2017
Siebel Field Service - Version 22.214.171.124 SIA  to 126.96.36.199  [Release V8] Information in this document applies to any platform.
ENVIRONMENT: ============= 188.8.131.52 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 184.108.40.206 and 220.127.116.11.
REPLICATION STEPS: ================== 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.
EXPECTED BEHAVIOR: ==================== 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.
BUSINESS IMPACT: ================ 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.
ACTUAL BEHAVIOR: ================ 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!