How to Hide Columns from Opportunity Revenue List in Outlook (Doc ID 2151696.1)

Last updated on JUNE 20, 2016

Applies to:

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

Goal

Customer is trying to hide CurrencyCodeString or InternalStatusCode using below code but facing some issues, they need assistance with the script:

1st Attempt:
get_form().get_subform().get_widget("opportunity.revenue.Field.CurrencyCodeString").set_visible(false);
get_form().get_subform().get_widget("opportunity.revenue.Field.InternalStatusCode").set_visible(false);

2nd Attempt:
get_form().get_widget("opportunity.FormView.revenue.CurrencyCodeString").set_visible(false);
get_form().get_widget("opportunity.FormView.revenue.InternalStatusCode").set_visible(false);

However, they were able to hide the StatusCode and CloseReasonCode on the Revenue Form (After Shown event) with the following:

get_form().get_widget("revenue.Field.StatusCode").set_visible(false);
get_form().get_widget("revenue.Field.CloseReasonCode").set_visible(false);
 

Solution

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