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.

Goal

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;
else
 return true;


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

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.