Opportunity Revenue Field Trigger Loses Functionality
(Doc ID 2200832.1)
Last updated on JULY 10, 2017
Applies to:Oracle Fusion Sales Cloud Service - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
Customer has 4 Custom Fields On Opportunity Revenue used in a groovy script.
Script is run via Field Trigger on one of the Fields used in this script.
Problem is that the trigger losses its functionality and stops updating the
fields it is suppose to be updating when value of the fields it is set on,
Issue happens for when there are more that 1 revenue line.
I have also been able to reproduce it internally using only 2 fields and a
very simplistic script.
So what I did was make Custom Field1 and Custom Field2 and make a Field
trigger on Custom Filed1 with this line of code
For just 1 line of revenue it works OK, but when starting to add more lines
and changing values in Field1, it stops updating the Field2.
1 - Make 2 Custom Fields on Opportunity Revenue(Field1 and Field2)
2 - Make Field Trigger on Field1
3 - Put Code setAttribute('Field1',Field1)
4- Go To a Opportunity
5 - Add more than 1 revenue line
6 - Start Changing value in Field1
7 - Notice That at one point Field Trigger is going to stop updating the
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