Not Able To Use Date Function Date() In Groovy (Doc ID 1990089.1)

Last updated on OCTOBER 03, 2016

Applies to:

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

Symptoms

Environment:
-------------------
caro-test

Statement of Issue:
-----------------------------
User need to calculate the Date + n months to be returned in a date field. He used the following code inside a date type text formula field:
1st try:
---------
import org.codehaus.groovy.runtime.TimeCategory

Possible solutions: wait(), dump(), any(), run(), run(), run() at "OpportunityEO.Lafarge_FinishDate_c" expression line 18
----------------------------------------------------------------------------------------------------------------------------------------

Cause

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