How do we access the meaning of a lookup/picklist in groovy script? (Doc ID 1663938.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Fusion CRM Application Composer - Version 11.1.4.0.0 and later
Oracle Fusion CRM Application Composer Cloud Service - Version 11.1.7.0.0 and later
Information in this document applies to any platform.

Goal

When accessing a lookup field(fixed choice list) using groovy script, the lookup code is returned instead of its meaning.


For example :

App=Sales
object=Opportunity
Field=ReasonWonLostCode

is based on lookup  Win/Loss Reasons(MOO_WIN_LOSS_REASON)

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