Not Getting The Warning Message On Save & Continue (Doc ID 2120594.1)

Last updated on MARCH 25, 2016

Applies to:

Oracle Fusion Sales - Version 11.1.10.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.10.0.0 version, Opportunities

ACTUAL BEHAVIOR
---------------
Not get the Warning message on Save & Continue

User have written a After insert trigger on Opportunity. This trigger gives a warning on Saving an opportunity, the trigger works fine when user save & Close the Opportunity, as in we get a Pop up with the Message. But when user hit on save & continue they do not see the Pop up window with the message, but when they reduce the size of the window, they see that the pop up message comes but it is behind the Opportunity Record Page.  Also below is the Script used is below, and user also tried the same on Before Insert trigger as well & they face the same issue

println('the object warning >>>')

// if the opty name not null
if (Name!=null) {
// raise a warning using the default declarative error message
adf.error.warn(null)}
return true

println('<<< the object warning')

EXPECTED BEHAVIOR
-----------------------
The window should pop up

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