Fusion Global Human Resources : Autocomplete Rule Errors out on Edit Contact Information
(Doc ID 2871950.1)
Last updated on MAY 18, 2023
Applies to:
Oracle Fusion Global Human Resources Cloud Service - Version 11.13.21.10.0 and laterInformation in this document applies to any platform.
Symptoms
Issue :
Autocomplete Rule Errors out when we Edit Contact Information.
Scenario :
We have an autocomplete rule on Family and Emergency Contacts Page for two conditions:
1) DOB is required if Contact Relationship Type is dependent (Child, Spouse, Domestic Partner or Domestic Partner Child). If not, we provide an Error.
2) NID is required if Contact Relationship is Child, Spouse, Domestic Partner or Domestic Partner Child and age of the child>1.
Now our rules are working as expected when we try to add a new dependent, but when we try to edit an existing relationship type for example:
If User try to change Relationship Type from Domestic Partner to Ex-Domestic Partner, it throws an error which is as follows:
• Exception in expression "oracle.apps.hcm.people.core.protectedModel.entity.ContactRelationshipDEO" validation rule "DOB_Required_for_Dependents" : java.lang.NullPointerException : Cannot invoke method reset() on null object
at "oracle.apps.hcm.people.core.protectedModel.entity.ContactRelationshipDEO" validation rule "DOB_Required_for_Dependents" line 2
• Exception in expression "oracle.apps.hcm.people.core.protectedModel.entity.ContactRelationshipDEO" validation rule "NID_Required_for_Dependents_whose_age_is_greater_than_1" : java.lang.NullPointerException : Cannot invoke method reset() on null object
at "oracle.apps.hcm.people.core.protectedModel.entity.ContactRelationshipDEO" validation rule "NID_Required_for_Dependents_whose_age_is_greater_than_1" line 1
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 |
Cause |
Solution |
References |