Getting Error while trying to use an attribute in the return command of groovy script (Doc ID 2204649.1)

Last updated on NOVEMBER 16, 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 create a custom field that displays the hidden attribute value for OrderHeaderId.

Used following script to get the value of the hidden attribute - 'return OrderHeaderId'.

Getting an error when trying to use this attribute.
 

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