Person Does Not Retain StateId When GetEntity() Is Performed
(Doc ID 2042428.1)
Last updated on OCTOBER 10, 2022
Applies to:
Oracle Financial Services Revenue Management and Billing - Version 2.3.0.0.0 to 2.3.0.0.0 [Release 2] Information in this document applies to any platform.
Symptoms
On : 4.2.0.0.0 version, System Wide
ACTUAL BEHAVIOR --------------- Person does not retain StateId when getEntity() is performed
The situation revolves around a person who has Country_CD but no State is associated with it, for example, GB(Great Britain); The person object, and the DTO does not retain the StateId, therefore, whenever you try to update without resetting the StateId, it will throw a null pointer exception.
EXPECTED BEHAVIOR ----------------------- The person object should be able to retain the StateID so that no error occurs
STEPS ----------------------- The issue can be reproduced at will with the following steps: In Custom Code:
Person_Id person_id = new Person_Id("0123456790"); Person person = person_id.getEntity(); Person_DTO personDTO = person.getDTO(); person.setDTO(PersonDTO);
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!