Siebel 8.1.1.7 version - GetElapsedBusinessTime Method of FS Holiday API Service Returning Incorrect Value when Start Date and End Date Ends with Same Time (Doc ID 2031078.1)

Last updated on JANUARY 15, 2017

Applies to:

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

Symptoms

On :  8.1.1.7 SIA [21238] version, Client Functionality

ACTUAL BEHAVIOR  
---------------
GetElapsedBusinessTime method of FS Holiday API Service returning incorrect value when Start Date and End Date ends with same time (eg - Start Date="06/15/2015 11:52:49" and End Date="06/17/2015 11:52:49")


EXPECTED BEHAVIOR
-----------------------
GetElapsedBusinessTime method of FS Holiday API Service should return correct value even when Start Date and End Date ends with same time (eg - Start Date="06/15/2015 11:52:49" and End Date="06/17/2015 11:52:49")


STEPS TO REPRODUCE
-------------------------
Navigate to Administration Business Service - Simulator
Import the BS as below,

<?xml version="1.0" encoding="UTF-8"?><?Siebel-Property-Set EscapeNames="true"?><Test_spcService
Service_spcName="FS Holiday API Service"
Method_spcName="GetElapsedBusinessTime"
Iterations="1"
></Test_spcService
>

Import Inputs as below,

<?xml version="1.0" encoding="UTF-8"?><?Siebel-Property-Set EscapeNames="true"?><PropertySet
Start_spcTime="06/15/2015 11:52:49"
Schedule_spcTime_spcZone="GMT"
End_spcTime="06/17/2015 11:52:49"
Calender_spcId="1-2YEL"
Time_spcUnit="Days"
></PropertySet
>

Run the Simulator

Findings:

Results are as below,


TEST-1
---------
Start time - 06/15/2015 11:52:49
End Time - 06/17/2015 11:52:49

Result - 3

TEST-2
-------
Start time - 06/15/2015 11:52:49
End Time - 06/17/2015 11:52:50

Result - 2

TEST -3
--------
Start time - 06/15/2015 11:52:49
End Time - 06/17/2015 11:52:48

Result - 2

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