After R11 upgrade, previously created groovy code showing a validation error (Doc ID 2204690.1)

Last updated on NOVEMBER 16, 2016

Applies to:

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

Goal

After upgrade to R11, customer is having issues with a previously created code.

The script is showing a validation error. Throwing validation error: "Illegal argument to get/setAttribute variable"

def foundRows = vo.findByKey(key(oppId),1)
def found = foundRows.size() == 1 ? foundRows[0] : null;
if(found != null){
stageName = found.getAttribute('SalesStage')
businessUnitName = found.getAttribute('PrimaryOrganizationName_transient')
}

 

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