My Oracle Support Banner

In Lead Object When We Update Any Value And Save It Is Throwing Reason Is Mandate Error (Doc ID 2616786.1)

Last updated on JANUARY 07, 2020

Applies to:

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


When we are trying to update any value and save it is throwing error.

Error --> Reason is mandate

We have added Before update trigger for standard field Reason reject and comments.

Trigger script --->

if ((RejectReasonCode == null || RejectReasonCode == ''))
throw new oracle.jbo.ValidationException('Reason is Mandate')
else if (RejectComment == null || RejectComment == '')
throw new oracle.jbo.ValidationException('Comment is Mandate')
return true



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.