My Oracle Support Banner

No Error is Received As Expected Via Groovy when Saving Opportunity (Doc ID 2446328.1)

Last updated on SEPTEMBER 12, 2018

Applies to:

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

Symptoms

On : 11.13.18.05.0 version, Opportunities

ACTUAL BEHAVIOR
---------------

A validation rule was created on Opportunity Revenue object, with the following content:

type: Validation Rules
Rule Name: RequiredLeadEntity
Error Message: Lead Entity is Required

Rule Definition:
if (PrimaryFlag == 'Y')
return true;
if(ForecastTerritory_Id_Id_c == null)
return false;
else
return true;

According to groovy script, an error message should pop up when the user is saving the Opportunity without having a value for Lead Entity (Custom field)

However, the error message is not appearing,even if the Lead Entity (custom field) is populated at Opty Revenue.

Instead, the user is redirected to the Opportunities landing page.

EXPECTED BEHAVIOR
-----------------------
According to groovy script, an error message should popup when the user is saving the Opportunity without having a value for Lead Entity (Custom field).

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Open any Opportunity
2. Modify the data and don't keep any value for Lead Entity and click on save
3. No error message populated
4. User is redirected to Opportunity landing Page


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.