You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to show the custom error message for a required field instead of system generated

Received Response
25
Views
4
Comments
edited Aug 20, 2020 5:33PM in Sales 4 comments

Summary

How to show the custom error message for a required field instead of system generated

Content

HI All,

 

How to show the custom error message for a required field instead of system generated error message.

 

I have scenario where user miss to skip the required field it generates the system error message Instead of that I wanted to make it Custom error message. I tried with throw new oracle.jbo.ValidationException("Please Enter Primary Contact to create Opportunity Record") but its not working still shows the system default.

 

Groovy Script: Field level for Primary Contact required flag is true and below is the condition

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!