Opportunity Revenue Field Trigger Loses Functionality (Doc ID 2200832.1)

Last updated on JULY 10, 2017

Applies to:

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

Symptoms

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,
changes.
Issue happens for when there are more that 1 revenue line.


==Reproduced Internally==
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
setAttribute('Field2',Field1).
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.


==STEPS==
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

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