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 8.1.1.7 SIA [21238] to 8.1.1.10 [23021] [Release V8]
Information in this document applies to any platform.

Symptoms

ENVIRONMENT:
=============
8.1.1.7 SIA [21238]

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 8.1.1.7 and 8.1.1.10.

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.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms