Unable To Set The "City" Field As Mandatory Using Groovy (Doc ID 2163068.1)

Last updated on SEPTEMBER 05, 2016

Applies to:

Oracle Fusion Sales - Version 11.1.10.0.0 to 11.1.10.0.0 [Release 1.0]
Oracle Fusion Sales Cloud Service - Version 11.1.10.0.0 to 11.1.10.0.0 [Release 1.0]
Information in this document applies to any platform.

Goal

With Groovy, user wants to write Validation rule
Application-->Common-->Account Object-->Validation rule-->Object level
Error message: Please enter the City value.

Also, customer is trying to access the City value in one custom Text field on Account Object but is getting an error.
 

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