API hr_sa_contract_api Does Not Populate Expiry Date Field as per Type, Duration and Duration Units. (Doc ID 2205161.1)

Last updated on NOVEMBER 23, 2016

Applies to:

Oracle HRMS (Saudi Arabia) - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Application Programming Interface

ACTUAL BEHAVIOR
---------------
The contact hr_sa_contract_api does not populate the expire date when we pass the p_type as 'SPECIFIED_PERIOD' . This is working fine in PUI form but via API.

EXPECTED BEHAVIOR
-----------------------
API behavior should be the same as Form.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Created script using hr_contract_api/hr_sa_contract_api with p_type as 'SPECIFIED_PERIOD'
2. executed the script and verified that record is creating without any issues.
3. But EXPIRE DATE is not populating as per the p_type, p_duration, p_DURATION_UNITS .
4. After creating from API with expire date NULL, we CANNOT update from application form also.

Sample Code to reproduce the issue:

 

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