How To Get The Sales Stage ID or Sales Stage Name for an Opportunity Via Groovy Script

(Doc ID 2023360.1)

Last updated on FEBRUARY 14, 2017

Applies to:

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


On : version, Opportunities

Is it possible to use get the ID of Sales Stages from within a Groovy Script rather than having to hard code the ID which may vary between different environments? Is the only way to achieve this to create a custom object to store the relationship between "Sales Stage Name" and "Sales Stage Id"?


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