Miscalculation of Days in Business Service "FS Holiday API Service" Method "GetElapsedBusinessTime"

(Doc ID 2394846.1)

Last updated on MAY 09, 2018

Applies to:

Siebel Field Service - Version 15.0 [IP2015] and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
Business service "FS Holiday API Service" Method "GetElapsedBusinessTime"  produces different results when using similar input parameters.


EXPECTED BEHAVIOR
-----------------------
"FS Holiday API Service" Method "GetElapsedBusinessTime" should calculated correctly and produces same result with similar input parameters.

STEPS
-----------------------

  1. Navigate to Administration Data -Locale and check the 24 hour clock  for ENU locale.
  2. Navigate to Administration application -> System preferences , and set "Default Time Zone" system preference to:  (GMT+02:00) Harare, Pretoria
  3. Restart the server after steps 1,2
  4. Navigate to Administration Service -> Schedule and define a schedule with 5 days as follow:

           5 days:  Monday to Friday, start time : 00:00, end time: 23:59
           Shift start flag is checked for all days except Friday

       5. Save the schedule's ROW_ID, Menu > About Record.

       6. Navigate to Administration - Business Service > simulator and simulate:

Business Service: FS Holiday API Service
Method: GetElapsedBusinessTime

Inputs:

Schedule Time Zone = UTC+02.00  
Start Time = 03/12/2018 01:00:00
Calender Id = row id saved in step 5
End Time = 03/12/2018 23:00:00
Time Unit = Days

Output:

Business Time: 1

 

7. Simulate with another input paaramteres, similar only difference being that start days falls on Tuesday

 

Business Service: FS Holiday API Service
Method: GetElapsedBusinessTime

Inputs:

Schedule Time Zone = UTC+02.00  
Start Time = 03/13/2018 01:00:00
Calender Id = row id saved in step 5
End Time = 03/13/2018 23:00:00
Time Unit = Days

Output:

Business Time: 2 

 

Changes

 

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