My Oracle Support Banner

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 SEPTEMBER 09, 2021

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

ISSUE STATEMENT

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")


STEPS

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="<ROW_ID"
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

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.