My Oracle Support Banner

How To Build A Query Using Groovy Script? (Doc ID 2002806.1)

Last updated on NOVEMBER 04, 2019

Applies to:

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

Goal

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.

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.