My Oracle Support Banner

Fusion Absence Management: When Withdraw Absence Via Rest API It Is Not Displaying Correct Duration Value (Doc ID 3031052.1)

Last updated on SEPTEMBER 05, 2024

Applies to:

Oracle Fusion Absence Management Cloud Service - Version 11.13.24.01.0 and later
Information in this document applies to any platform.

Symptoms

When Withdrawing Absence from HCM Absence using the Rest API, the duration hours are not getting displayed correctly both on UI and also in REST API PATCH Response.

 

Scenario:

Step 1:

REST API URL: /hcmRestApi/resources/latest/absences

Method: POST

 

Created an absence for 10 hours whereas the scheduled hours are 8
Absence was created successfully. Duration is shown as 10 in the API Response
On UI - Duration is displaying as 10 HRS - When clicked on the create absence - its noticed the Scheduled Duration is 8 HRS (this is good) and Duration is showing as 10 (this is also fine)

Step 2:

REST API URL: /hcmRestApi/resources/11.13.18.05/absences/{absencesUniqID}

Method: PATCH

Execute the PATCH to withdraw the absence.

Executed the patch payload to withdraw the absence
Response Duration is showing as 8 (instead of 10) and End Duration is showing as 10.
UI - Seeing the duration as 8 hours - when clicked on the absence it shows scheduled duration as 8 and duration is displaying 10 hrs

EXPECTED BEHAVIOR
-----------------------
Duration hours of withdrawn absence should be 10 - instead it is showing as 8 hours.

Changes

 Code changes delivered in 24B - Bug: 36334393

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.