The GetElapsedBusinessTime Method From FS Holiday API Service Business Service (Doc ID 1581676.1)

Last updated on JUNE 29, 2017

Applies to:

Siebel Field Service - Version 8.0.0.12 SIA[20444] and later
Information in this document applies to any platform.

Goal

User is on Siebel 8.0.0.12 FP, and  using ESN language for Siebel Field Service.

The requirement is to use the GetElapsedBusinessTime method from FS Holiday API Service Business Service in order to get the working days between two dates.

However, the return value "Business Time" is always returning the time in Hours. It doesn't matter if the Time Unit has the value 'Days'.

Which argument value needs the business service to return the time in Days?

 

Steps:

1. Go to Administration - Business Service > Simulator to reproduce the issue:

business service and method:

Business Service Name: FS Holiday API Service
Business Service Method: GetElapsedBusinessTime

3. Enter the following inputs:

Calender Id=1-19B65P
Schedule Time Zone= (GMT-04:00) Caracas, La Paz
Time Unit= Days
Start Time= 12/24/2012 10:00:00
End Time= 12/26/2012 11:00:00

4. Click on Run, and here are the output:

Business Time: 19.00


 

Solution

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