My Oracle Support Banner

Lost Override Context On Nested Function Calls (Doc ID 2953279.1)

Last updated on JUNE 02, 2023

Applies to:

Oracle Insurance Policy Administration J2EE - Version 11.3.0.19 and later
Information in this document applies to any platform.

Symptoms

On : 11.3.0.19 version, General

ACTUAL BEHAVIOR
---------------
When there are Function calls inside Functions, it appears that the context of the original Override is lost.
This results in Copybooks choosing to use Global Overrides when they should have used a Plan/Product Override.

In the Loan and Not Taken Transactions, there are the AgreementRequestInitiated and AgreementRequestSubmitted Events that make a call to Function-CreateAgreementRequest, a Global Override Function.
This in turn makes a call to another Function, Function-CreateBusinessEventCollection, another Global Override Function. Inside this function, the Copybook calls CopyBook-BusinessEvent-ProductCategoryName which has a Global Override and a Whole Life Products Override. When this action is selected, the CopyBook being selected is the Global Override for Annuity, when it should have gone to the Whole Life Products override since both Loan and Not Taken were being run on a GIFE Policy.


EXPECTED BEHAVIOR
-----------------------
Correct CopyBook Override is taken when context is passed through Functions.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a Product Override Transaction call a Global Function that calls a Global Function which contains a Copybook with a Global Override and a Product Override that matches the original Transaction.
2. Observe the Global Copybook get utilized when it should use the Override.


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


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