Validation Error On Opportunity Revenue
(Doc ID 2603571.1)
Last updated on DECEMBER 22, 2020
Applies to:
Oracle Fusion Sales Cloud Service - Version 11.13.19.07.0 and laterInformation in this document applies to any platform.
Goal
On : 11.13.19.07.0 version, Opportunities
Validation Error on Opportunity Revenue
We created a groovy script in the opportunityRevenue triggered by a custom field.
Shortly, this groovy script must provide an error every time I add a product in the Opportunity revenue that has a different class than the previous one inserted.
Example:
1. If opportunity revenue is blank, user can insert a product belonging to any class.
2. When insert a new product, the system must provide an error if the class is different rather than the previuos one (case 1).
In the code we insert " throw new oracle.jbo.JboException("message") " when the validation of class fails but is printed only when we click "save" on Opportunity.
Why errors appears only when we click save? It is possible to print error immediately when user choose the product?
Solution
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
Goal |
Solution |
References |