How To Build A Query Using Groovy Script?
Last updated on JUNE 20, 2017
Applies to:Oracle Fusion Sales Cloud Service - Version 18.104.22.168.0 and later
Oracle Fusion Sales - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
How to build a query using Groovy Script?
The example script on OpportunityVO shows a filter using multiple criterias on the same attribute. For example a search with a condition like 'where value > 20 and value < 30'
or Opportunity Name starting with 'A' need to be used. On adding multiple conditions to same attribute using ensureCriteriaItem() was not working as expected.
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