ReasonWonLostCode not updating the value using Groovy Script (Doc ID 2205506.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

On : 11.1.11.1.0 version, Opportunities

ACTUAL BEHAVIOR
---------------
Win/Loss Reason field not updated in the UI via groovy script

Need to update the Win/Loss Reason to Won when the Sales Stage is set to "Confirmed". Added a Field Trigger based in Sales Stage that will update the Win/Loss Reason. The script is working fine (there is no errors and the println shows that the field is actually updated to Won) but the value is not showing in the UI.

EXPECTED BEHAVIOR
-----------------------
The Reason value needs to be shown when the Opty Status is set to WON

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Navigator > Opportunities > Change Status to Won


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot auto populate the Reason code when the Status gets changed to WON

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