My Oracle Support Banner

How to validate Field at creation & edit level (Doc ID 2513045.1)

Last updated on NOVEMBER 14, 2019

Applies to:

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


On : N/A version, Accounts, Contacts, Households

Field Level Validation Rule Not Working in Custom Object

We have a custom object called - MLE_UN_NUMBER.

It has a standard field called 'UN Number' with api name - RecordName.

I have written a field validation rule to ensure that the length of the field is never more than 6 characters. The syntax used is as below -

if (length(RecordName)> 6)
 return false;
 return true;

But even after using this validation, the custom object allows entry of UN number more than 6 characters.


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

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