FS Holiday API Service Does not Work with Multiple Weekdays (Doc ID 1581739.1)

Last updated on MARCH 02, 2017

Applies to:

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

Symptoms

ISSUE STATEMENT
----------------
FS Holiday Service , GetElapsedBusinessTime method result is wrong when there are multiple weekdays.

EXPECTED BEHAVIOR
------------------
FS Holiday Service , GetElapsedBusinessTime method should result in correct values.

STEPS TO REPRODUCE
-------------------
Create a Service Schedule in Administration - Service > Schedules as the following:

Monday 8:00 to 12:00 ('Shift Start Flag' checked ), 13:00 to 17:00
Tuesday 8:00 to 12:00 ('Shift Start Flag' checked ), 13:00 to 17:00
Wednesday 8:00 to 12:00 ('Shift Start Flag' checked ), 13:00 to 17:00
Thursday 8:00 to 12:00 ('Shift Start Flag' checked ), 13:00 to 17:00
Friday 8:00 to 12:00 ('Shift Start Flag' checked ), 13:00 to 17:00

To simulate business service and method:
- user logs into Field Service application via service_enu, Siebel Server has the same timezone as SADMIN.
- navigate to Administration - Business Service > Simulator, simulates the business service and method using the 5 inputs and values:

Business Service = FS Holiday API Service
Method = GetElapsedBusinessTime

Inputs:

Schedule Time Zone = (GMT-07:00) Mountain Time (US & Canada)

Start Time = 11/29/2012 09:00:00

Calendar Id = 1-1USW5P

End Time = 11/29/2012 15:00:00

Time Unit = Hours

FINDINGS
-------------

The expected Output should be the following:

Business Time = 5.00

But the result isn't 5.00, it is 2.00.



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